# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_route_device_nm.yml ******************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/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_hotfixf5bhqjk5/tests/tests_route_device_nm.yml:6 Thursday 14 March 2024 21:26:23 +0000 (0:00:00.036) 0:00:00.036 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tests_route_device_nm.yml:9 Thursday 14 March 2024 21:26:24 +0000 (0:00:01.000) 0:00:01.037 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/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_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:3 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.011) 0:00:01.049 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:17 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.368) 0:00:01.417 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:22 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.268) 0:00:01.686 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:26 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.015) 0:00:01.702 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:51 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.008) 0:00:01.711 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:8 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.023) 0:00:01.734 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:24 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.009) 0:00:01.744 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:30 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.009) 0:00:01.753 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:35 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.016) 0:00:01.770 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:40 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.008) 0:00:01.778 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tests_route_device_nm.yml:11 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.008) 0:00:01.787 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:3 Thursday 14 March 2024 21:26:24 +0000 (0:00:00.018) 0:00:01.805 ******** ok: [sut] TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:11 Thursday 14 March 2024 21:26:25 +0000 (0:00:00.740) 0:00:02.546 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:15 Thursday 14 March 2024 21:26:25 +0000 (0:00:00.012) 0:00:02.559 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:26:25 +0000 (0:00:00.013) 0:00:02.572 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:26:25 +0000 (0:00:00.014) 0:00:02.586 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003679", "end": "2024-03-14 21:26:26.020374", "rc": 0, "start": "2024-03-14 21:26:26.016695" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.294) 0:00:02.881 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.011) 0:00:02.893 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:17 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.012) 0:00:02.905 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.014) 0:00:02.920 ******** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.009) 0:00:02.929 ******** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.008) 0:00:02.937 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.012) 0:00:02.949 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.011) 0:00:02.960 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003625", "end": "2024-03-14 21:26:26.307910", "rc": 0, "start": "2024-03-14 21:26:26.304285" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.206) 0:00:03.167 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.011) 0:00:03.178 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 March 2024 21:26:26 +0000 (0:00:00.011) 0:00:03.189 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 14 March 2024 21:26:28 +0000 (0:00:02.378) 0:00:05.568 ******** 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.007950", "end": "2024-03-14 21:26:28.951075", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-03-14 21:26:28.943125" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004266", "end": "2024-03-14 21:26:29.210356", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-03-14 21:26:29.206090" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004056", "end": "2024-03-14 21:26:29.410186", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-03-14 21:26:29.406130" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.701) 0:00:06.270 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.021797", "end": "2024-03-14 21:26:29.638326", "rc": 0, "start": "2024-03-14 21:26:29.616529" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.229) 0:00:06.499 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.011) 0:00:06.511 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.009) 0:00:06.520 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.010) 0:00:06.530 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.009) 0:00:06.540 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:21 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.008) 0:00:06.549 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.012) 0:00:06.561 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.011) 0:00:06.573 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710451588.9470994, "block_size": 4096, "blocks": 0, "ctime": 1710451588.9470994, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34531, "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": 1710451588.9470994, "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_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.209) 0:00:06.783 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface1] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:23 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.017) 0:00:06.801 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest1" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:26 Thursday 14 March 2024 21:26:29 +0000 (0:00:00.019) 0:00:06.820 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.034) 0:00:06.855 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.017) 0:00:06.873 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003702", "end": "2024-03-14 21:26:30.223250", "rc": 0, "start": "2024-03-14 21:26:30.219548" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.209) 0:00:07.082 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.011) 0:00:07.093 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:28 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.011) 0:00:07.105 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.015) 0:00:07.120 ******** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.009) 0:00:07.130 ******** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.009) 0:00:07.139 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.016) 0:00:07.156 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.029) 0:00:07.185 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003599", "end": "2024-03-14 21:26:30.543909", "rc": 0, "start": "2024-03-14 21:26:30.540310" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.217) 0:00:07.403 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.011) 0:00:07.414 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 March 2024 21:26:30 +0000 (0:00:00.011) 0:00:07.426 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 14 March 2024 21:26:32 +0000 (0:00:02.288) 0:00:09.715 ******** 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.007803", "end": "2024-03-14 21:26:33.082072", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-03-14 21:26:33.074269" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004095", "end": "2024-03-14 21:26:33.341314", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-03-14 21:26:33.337219" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004270", "end": "2024-03-14 21:26:33.542327", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-03-14 21:26:33.538057" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 14 March 2024 21:26:33 +0000 (0:00:00.688) 0:00:10.403 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.024296", "end": "2024-03-14 21:26:33.775405", "rc": 0, "start": "2024-03-14 21:26:33.751109" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 14 March 2024 21:26:33 +0000 (0:00:00.232) 0:00:10.636 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 14 March 2024 21:26:33 +0000 (0:00:00.011) 0:00:10.647 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 March 2024 21:26:33 +0000 (0:00:00.009) 0:00:10.656 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 14 March 2024 21:26:33 +0000 (0:00:00.011) 0:00:10.668 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 14 March 2024 21:26:33 +0000 (0:00:00.011) 0:00:10.679 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:32 Thursday 14 March 2024 21:26:33 +0000 (0:00:00.010) 0:00:10.690 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:26:33 +0000 (0:00:00.015) 0:00:10.705 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:26:33 +0000 (0:00:00.011) 0:00:10.717 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710451593.0783322, "block_size": 4096, "blocks": 0, "ctime": 1710451593.0783322, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35117, "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": 1710451593.0783322, "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_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:26:34 +0000 (0:00:00.205) 0:00:10.922 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:26:34 +0000 (0:00:00.012) 0:00:10.935 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:26:34 +0000 (0:00:00.017) 0:00:10.953 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:26:34 +0000 (0:00:00.021) 0:00:10.974 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:26:34 +0000 (0:00:00.022) 0:00:10.997 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:26:34 +0000 (0:00:00.014) 0:00:11.011 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:26:36 +0000 (0:00:02.383) 0:00:13.395 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.955) 0:00:14.350 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.023) 0:00:14.373 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.023) 0:00:14.396 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.023) 0:00:14.420 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.058) 0:00:14.478 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.030) 0:00:14.508 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.037) 0:00:14.546 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.063) 0:00:14.609 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.027) 0:00:14.637 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.025) 0:00:14.663 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:26:37 +0000 (0:00:00.044) 0:00:14.707 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:26:38 +0000 (0:00:00.593) 0:00:15.300 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:26:38 +0000 (0:00:00.055) 0:00:15.355 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:26:38 +0000 (0:00:00.020) 0:00:15.376 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:26:38 +0000 (0:00:00.020) 0:00:15.397 ******** 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, 32d17359-289c-4a1e-b604-ac611a9be743 [006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df [007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 32d17359-289c-4a1e-b604-ac611a9be743 (not-active) [008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:26:39 +0000 (0:00:00.696) 0:00:16.093 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:26:39 +0000 (0:00:00.025) 0:00:16.118 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 32d17359-289c-4a1e-b604-ac611a9be743", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 32d17359-289c-4a1e-b604-ac611a9be743 (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:26:39 +0000 (0:00:00.025) 0:00:16.144 ******** 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, 32d17359-289c-4a1e-b604-ac611a9be743\n[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df\n[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 32d17359-289c-4a1e-b604-ac611a9be743 (not-active)\n[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 32d17359-289c-4a1e-b604-ac611a9be743", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 32d17359-289c-4a1e-b604-ac611a9be743 (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:26:39 +0000 (0:00:00.025) 0:00:16.170 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:26:39 +0000 (0:00:00.029) 0:00:16.199 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the IPv4 routes from the route table main] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:73 Thursday 14 March 2024 21:26:39 +0000 (0:00:00.442) 0:00:16.641 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-4", "route" ], "delta": "0:00:00.004039", "end": "2024-03-14 21:26:40.022294", "rc": 0, "start": "2024-03-14 21:26:40.018255" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.150 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.150 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_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:78 Thursday 14 March 2024 21:26:40 +0000 (0:00:00.253) 0:00:16.895 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the IPv6 routes from the route table main] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:89 Thursday 14 March 2024 21:26:40 +0000 (0:00:00.025) 0:00:16.921 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003985", "end": "2024-03-14 21:26:40.271331", "rc": 0, "start": "2024-03-14 21:26:40.267346" } 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_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:94 Thursday 14 March 2024 21:26:40 +0000 (0:00:00.220) 0:00:17.141 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the interface1 MAC address] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:99 Thursday 14 March 2024 21:26:40 +0000 (0:00:00.029) 0:00:17.170 ******** ok: [sut] => { "changed": false, "cmd": [ "cat", "/sys/class/net/ethtest1/address" ], "delta": "0:00:00.003553", "end": "2024-03-14 21:26:40.520301", "rc": 0, "start": "2024-03-14 21:26:40.516748" } STDOUT: fa:b5:3c:f8:e0:1c TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:26:40 +0000 (0:00:00.224) 0:00:17.394 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:26:40 +0000 (0:00:00.040) 0:00:17.435 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:26:40 +0000 (0:00:00.036) 0:00:17.472 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:26:40 +0000 (0:00:00.025) 0:00:17.498 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:26:40 +0000 (0:00:00.026) 0:00:17.525 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:26:42 +0000 (0:00:02.280) 0:00:19.805 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:26:43 +0000 (0:00:00.801) 0:00:20.607 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:26:43 +0000 (0:00:00.054) 0:00:20.662 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:26:43 +0000 (0:00:00.024) 0:00:20.686 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:26:43 +0000 (0:00:00.026) 0:00:20.713 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:26:43 +0000 (0:00:00.040) 0:00:20.754 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:26:43 +0000 (0:00:00.044) 0:00:20.798 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:26:44 +0000 (0:00:00.042) 0:00:20.840 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:26:44 +0000 (0:00:00.059) 0:00:20.900 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:26:44 +0000 (0:00:00.024) 0:00:20.924 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:26:44 +0000 (0:00:00.026) 0:00:20.951 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:26:44 +0000 (0:00:00.037) 0:00:20.988 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:26:44 +0000 (0:00:00.414) 0:00:21.402 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:26:44 +0000 (0:00:00.036) 0:00:21.439 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:26:44 +0000 (0:00:00.019) 0:00:21.459 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:26:44 +0000 (0:00:00.019) 0:00:21.478 ******** 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": "fa:b5:3c:f8:e0:1c", "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, 39fad6f4-a1cc-4087-839e-a221ea0126df TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.450) 0:00:21.928 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.025) 0:00:21.954 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.051) 0:00:22.006 ******** 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": "fa:b5:3c:f8:e0:1c", "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, 39fad6f4-a1cc-4087-839e-a221ea0126df\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, 39fad6f4-a1cc-4087-839e-a221ea0126df" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.024) 0:00:22.030 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.024) 0:00:22.055 ******** 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_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:122 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.234) 0:00:22.289 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [Assert that no warning is logged for nm provider] ************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:129 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.022) 0:00:22.312 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Bring down test devices and profiles] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:140 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.026) 0:00:22.338 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.048) 0:00:22.386 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.042) 0:00:22.429 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.037) 0:00:22.467 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.068) 0:00:22.535 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:26:45 +0000 (0:00:00.039) 0:00:22.574 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:26:48 +0000 (0:00:02.326) 0:00:24.901 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:26:48 +0000 (0:00:00.841) 0:00:25.743 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:26:48 +0000 (0:00:00.024) 0:00:25.767 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:26:48 +0000 (0:00:00.023) 0:00:25.791 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:26:48 +0000 (0:00:00.024) 0:00:25.815 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.042) 0:00:25.858 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.030) 0:00:25.889 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.039) 0:00:25.928 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.076) 0:00:26.005 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.025) 0:00:26.030 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.039) 0:00:26.069 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.082) 0:00:26.152 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.436) 0:00:26.588 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.039) 0:00:26.628 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.020) 0:00:26.649 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:26:49 +0000 (0:00:00.020) 0:00:26.669 ******** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:26:50 +0000 (0:00:00.671) 0:00:27.340 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:26:50 +0000 (0:00:00.025) 0:00:27.366 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:26:50 +0000 (0:00:00.025) 0:00:27.392 ******** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:26:50 +0000 (0:00:00.025) 0:00:27.418 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:26:50 +0000 (0:00:00.024) 0:00:27.443 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete interface1] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:151 Thursday 14 March 2024 21:26:50 +0000 (0:00:00.230) 0:00:27.674 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 March 2024 21:26:50 +0000 (0:00:00.037) 0:00:27.711 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.012240", "end": "2024-03-14 21:26:51.069651", "rc": 0, "start": "2024-03-14 21:26:51.057411" } TASK [Assert interface1 is absent] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:153 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.243) 0:00:27.955 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.036) 0:00:27.991 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.033) 0:00:28.025 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.214) 0:00:28.239 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface0] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:155 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.024) 0:00:28.264 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest0" }, "changed": false } TASK [Delete interface0] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:158 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.067) 0:00:28.331 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.049) 0:00:28.381 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.009553", "end": "2024-03-14 21:26:51.738235", "rc": 0, "start": "2024-03-14 21:26:51.728682" } TASK [Assert interface0 is absent] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:160 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.230) 0:00:28.611 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.041) 0:00:28.652 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:26:51 +0000 (0:00:00.034) 0:00:28.687 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.214) 0:00:28.901 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert interface0 profile and interface1 profile are absent] ************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:162 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.023) 0:00:28.925 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=ethtest0) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=ethtest1) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.042) 0:00:28.968 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/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_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.036) 0:00:29.004 ******** 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_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.022) 0:00:29.027 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.226) 0:00:29.253 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.074) 0:00:29.328 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.019383", "end": "2024-03-14 21:26:52.694093", "rc": 1, "start": "2024-03-14 21:26:52.674710" } 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_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.236) 0:00:29.565 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.042) 0:00:29.607 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.030) 0:00:29.638 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.031) 0:00:29.670 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.048) 0:00:29.718 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.025) 0:00:29.744 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.042) 0:00:29.786 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/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_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:26:52 +0000 (0:00:00.038) 0:00:29.825 ******** 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_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.022) 0:00:29.848 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.216) 0:00:30.065 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.028) 0:00:30.094 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest1 | grep /etc", "delta": "0:00:00.019885", "end": "2024-03-14 21:26:53.460477", "rc": 1, "start": "2024-03-14 21:26:53.440592" } 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_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.239) 0:00:30.333 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest1] *********************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.024) 0:00:30.358 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest1] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.023) 0:00:30.382 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest1] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.030) 0:00:30.413 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest1] ************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.088) 0:00:30.501 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest1'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.041) 0:00:30.543 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:169 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.031) 0:00:30.575 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 14 March 2024 21:26:53 +0000 (0:00:00.062) 0:00:30.637 ******** 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.009249", "end": "2024-03-14 21:26:53.998713", "rc": 0, "start": "2024-03-14 21:26:53.989464" } 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 02:d5:36:28:b7:7d brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.45.150/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2474sec preferred_lft 2474sec inet6 fe80::d5:36ff:fe28:b77d/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.150 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.150 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_hotfixf5bhqjk5/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 14 March 2024 21:26:54 +0000 (0:00:00.240) 0:00:30.877 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=106 changed=3 unreachable=0 failed=0 skipped=85 rescued=0 ignored=2 Thursday 14 March 2024 21:26:54 +0000 (0:00:00.062) 0:00:30.940 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.38s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.29s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.28s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tests_route_device_nm.yml:6 ------- fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.80s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_route_device.yml:3 Create veth interface ethtest0 ------------------------------------------ 0.70s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.70s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Create veth interface ethtest1 ------------------------------------------ 0.69s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.67s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.44s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.44s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.41s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Gather the minimum subset of ansible_facts required by the network role test --- 0.37s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:3 --------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---