# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tests_auto_gateway_nm.yml:6 Monday 19 February 2024 23:37:58 +0000 (0:00:00.023) 0:00:00.023 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tests_auto_gateway_nm.yml:9 Monday 19 February 2024 23:37:59 +0000 (0:00:01.134) 0:00:01.157 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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_hotfixqf71srne/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 23:37:59 +0000 (0:00:00.025) 0:00:01.182 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 23:38:00 +0000 (0:00:00.551) 0:00:01.734 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 23:38:00 +0000 (0:00:00.278) 0:00:02.013 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 23:38:00 +0000 (0:00:00.023) 0:00:02.037 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 23:38:00 +0000 (0:00:00.030) 0:00:02.067 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 23:38:00 +0000 (0:00:00.043) 0:00:02.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 23:38:00 +0000 (0:00:00.017) 0:00:02.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 23:38:00 +0000 (0:00:00.012) 0:00:02.141 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 23:38:00 +0000 (0:00:00.027) 0:00:02.169 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 23:38:00 +0000 (0:00:00.013) 0:00:02.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tests_auto_gateway_nm.yml:11 Monday 19 February 2024 23:38:00 +0000 (0:00:00.026) 0:00:02.209 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:3 Monday 19 February 2024 23:38:00 +0000 (0:00:00.037) 0:00:02.247 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:9 Monday 19 February 2024 23:38:01 +0000 (0:00:00.825) 0:00:03.072 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:38:01 +0000 (0:00:00.038) 0:00:03.110 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:38:01 +0000 (0:00:00.012) 0:00:03.123 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003933", "end": "2024-02-19 23:38:01.906953", "rc": 0, "start": "2024-02-19 23:38:01.903020" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:38:01 +0000 (0:00:00.276) 0:00:03.400 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:38:01 +0000 (0:00:00.021) 0:00:03.421 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:11 Monday 19 February 2024 23:38:01 +0000 (0:00:00.013) 0:00:03.435 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:38:02 +0000 (0:00:00.048) 0:00:03.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:38:02 +0000 (0:00:00.026) 0:00:03.510 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:38:02 +0000 (0:00:00.023) 0:00:03.534 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:38:02 +0000 (0:00:00.024) 0:00:03.559 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:38:02 +0000 (0:00:00.026) 0:00:03.585 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004037", "end": "2024-02-19 23:38:02.352657", "rc": 0, "start": "2024-02-19 23:38:02.348620" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:38:02 +0000 (0:00:00.270) 0:00:03.855 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:38:02 +0000 (0:00:00.017) 0:00:03.872 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:38:02 +0000 (0:00:00.041) 0:00:03.914 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 23:38:05 +0000 (0:00:02.857) 0:00:06.772 ******* ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.036553", "end": "2024-02-19 23:38:05.542090", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-19 23:38:05.505537" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004661", "end": "2024-02-19 23:38:05.809714", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-19 23:38:05.805053" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004498", "end": "2024-02-19 23:38:06.023291", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-19 23:38:06.018793" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 23:38:06 +0000 (0:00:00.742) 0:00:07.515 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.078420", "end": "2024-02-19 23:38:06.345842", "rc": 0, "start": "2024-02-19 23:38:06.267422" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 23:38:06 +0000 (0:00:00.317) 0:00:07.833 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 23:38:06 +0000 (0:00:00.010) 0:00:07.843 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 23:38:06 +0000 (0:00:00.010) 0:00:07.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:38:06 +0000 (0:00:00.010) 0:00:07.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 23:38:06 +0000 (0:00:00.010) 0:00:07.874 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:15 Monday 19 February 2024 23:38:06 +0000 (0:00:00.009) 0:00:07.884 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:38:06 +0000 (0:00:00.040) 0:00:07.924 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:38:06 +0000 (0:00:00.014) 0:00:07.939 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708385885.5387645, "block_size": 4096, "blocks": 0, "ctime": 1708385885.5387645, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1708385885.5387645, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:38:06 +0000 (0:00:00.217) 0:00:08.156 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:17 Monday 19 February 2024 23:38:06 +0000 (0:00:00.012) 0:00:08.169 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:38:06 +0000 (0:00:00.010) 0:00:08.179 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:38:06 +0000 (0:00:00.065) 0:00:08.245 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:38:06 +0000 (0:00:00.012) 0:00:08.257 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:38:06 +0000 (0:00:00.011) 0:00:08.269 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:38:06 +0000 (0:00:00.009) 0:00:08.278 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:38:10 +0000 (0:00:03.398) 0:00:11.677 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:38:11 +0000 (0:00:01.130) 0:00:12.807 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:38:11 +0000 (0:00:00.022) 0:00:12.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:38:11 +0000 (0:00:00.055) 0:00:12.885 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:38:11 +0000 (0:00:00.022) 0:00:12.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:38:11 +0000 (0:00:00.046) 0:00:12.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:38:11 +0000 (0:00:00.023) 0:00:12.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:38:11 +0000 (0:00:00.022) 0:00:13.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:38:11 +0000 (0:00:00.028) 0:00:13.029 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:38:12 +0000 (0:00:00.756) 0:00:13.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:38:12 +0000 (0:00:00.039) 0:00:13.825 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:38:12 +0000 (0:00:00.043) 0:00:13.868 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:38:12 +0000 (0:00:00.054) 0:00:13.922 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0a16f385-d1bc-4975-8351-87725e740c51 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0a16f385-d1bc-4975-8351-87725e740c51 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:38:13 +0000 (0:00:00.758) 0:00:14.681 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:38:13 +0000 (0:00:00.025) 0:00:14.707 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0a16f385-d1bc-4975-8351-87725e740c51", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0a16f385-d1bc-4975-8351-87725e740c51 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:38:13 +0000 (0:00:00.052) 0:00:14.759 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0a16f385-d1bc-4975-8351-87725e740c51\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0a16f385-d1bc-4975-8351-87725e740c51 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0a16f385-d1bc-4975-8351-87725e740c51", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0a16f385-d1bc-4975-8351-87725e740c51 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:38:13 +0000 (0:00:00.024) 0:00:14.784 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:38:13 +0000 (0:00:00.023) 0:00:14.807 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:42 Monday 19 February 2024 23:38:13 +0000 (0:00:00.324) 0:00:15.132 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:38:13 +0000 (0:00:00.063) 0:00:15.195 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:38:13 +0000 (0:00:00.046) 0:00:15.241 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708385885.5387645, "block_size": 4096, "blocks": 0, "ctime": 1708385885.5387645, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1708385885.5387645, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:38:14 +0000 (0:00:00.227) 0:00:15.469 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:44 Monday 19 February 2024 23:38:14 +0000 (0:00:00.024) 0:00:15.493 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:38:14 +0000 (0:00:00.064) 0:00:15.557 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:38:14 +0000 (0:00:00.068) 0:00:15.625 ******* 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_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:38:14 +0000 (0:00:00.024) 0:00:15.649 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:38:14 +0000 (0:00:00.223) 0:00:15.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:38:14 +0000 (0:00:00.021) 0:00:15.895 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.025365", "end": "2024-02-19 23:38:14.652715", "rc": 0, "start": "2024-02-19 23:38:14.627350" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:38:14 +0000 (0:00:00.260) 0:00:16.155 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:38:14 +0000 (0:00:00.025) 0:00:16.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:38:14 +0000 (0:00:00.024) 0:00:16.205 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:38:14 +0000 (0:00:00.025) 0:00:16.230 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:38:14 +0000 (0:00:00.026) 0:00:16.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:38:14 +0000 (0:00:00.043) 0:00:16.300 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:38:14 +0000 (0:00:00.027) 0:00:16.327 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:38:14 +0000 (0:00:00.028) 0:00:16.356 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:48 Monday 19 February 2024 23:38:14 +0000 (0:00:00.025) 0:00:16.381 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004196", "end": "2024-02-19 23:38:15.120195", "rc": 0, "start": "2024-02-19 23:38:15.115999" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.214 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.214 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:52 Monday 19 February 2024 23:38:15 +0000 (0:00:00.273) 0:00:16.654 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:58 Monday 19 February 2024 23:38:15 +0000 (0:00:00.048) 0:00:16.703 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004167", "end": "2024-02-19 23:38:15.442835", "rc": 0, "start": "2024-02-19 23:38:15.438668" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:62 Monday 19 February 2024 23:38:15 +0000 (0:00:00.241) 0:00:16.944 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:69 Monday 19 February 2024 23:38:15 +0000 (0:00:00.027) 0:00:16.972 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:38:15 +0000 (0:00:00.032) 0:00:17.004 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:38:15 +0000 (0:00:00.047) 0:00:17.052 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:38:15 +0000 (0:00:00.030) 0:00:17.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:38:15 +0000 (0:00:00.034) 0:00:17.117 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:38:15 +0000 (0:00:00.026) 0:00:17.143 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:38:18 +0000 (0:00:02.328) 0:00:19.472 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:38:18 +0000 (0:00:00.966) 0:00:20.439 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:38:19 +0000 (0:00:00.038) 0:00:20.477 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:38:19 +0000 (0:00:00.026) 0:00:20.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:38:19 +0000 (0:00:00.032) 0:00:20.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:38:19 +0000 (0:00:00.046) 0:00:20.583 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:38:19 +0000 (0:00:00.024) 0:00:20.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:38:19 +0000 (0:00:00.054) 0:00:20.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:38:19 +0000 (0:00:00.043) 0:00:20.705 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:38:19 +0000 (0:00:00.611) 0:00:21.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:38:19 +0000 (0:00:00.028) 0:00:21.344 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:38:19 +0000 (0:00:00.024) 0:00:21.369 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:38:19 +0000 (0:00:00.023) 0:00:21.392 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:38:20 +0000 (0:00:00.520) 0:00:21.913 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:38:20 +0000 (0:00:00.024) 0:00:21.937 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:38:20 +0000 (0:00:00.025) 0:00:21.962 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:38:20 +0000 (0:00:00.036) 0:00:21.999 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:38:20 +0000 (0:00:00.023) 0:00:22.023 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:81 Monday 19 February 2024 23:38:20 +0000 (0:00:00.225) 0:00:22.248 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:38:20 +0000 (0:00:00.145) 0:00:22.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:38:20 +0000 (0:00:00.024) 0:00:22.418 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:38:20 +0000 (0:00:00.022) 0:00:22.441 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:38:21 +0000 (0:00:00.038) 0:00:22.479 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:38:21 +0000 (0:00:00.036) 0:00:22.516 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004056", "end": "2024-02-19 23:38:21.250044", "rc": 0, "start": "2024-02-19 23:38:21.245988" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:38:21 +0000 (0:00:00.233) 0:00:22.749 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:38:21 +0000 (0:00:00.026) 0:00:22.775 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:38:21 +0000 (0:00:00.022) 0:00:22.798 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 23:38:23 +0000 (0:00:02.618) 0:00:25.416 ******* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 23:38:23 +0000 (0:00:00.032) 0:00:25.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 23:38:24 +0000 (0:00:00.022) 0:00:25.472 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010966", "end": "2024-02-19 23:38:24.215597", "rc": 0, "start": "2024-02-19 23:38:24.204631" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 23:38:24 +0000 (0:00:00.258) 0:00:25.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 23:38:24 +0000 (0:00:00.040) 0:00:25.771 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:38:24 +0000 (0:00:00.033) 0:00:25.805 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 23:38:24 +0000 (0:00:00.028) 0:00:25.834 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:85 Monday 19 February 2024 23:38:24 +0000 (0:00:00.024) 0:00:25.858 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:89 Monday 19 February 2024 23:38:24 +0000 (0:00:00.022) 0:00:25.880 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:38:24 +0000 (0:00:00.087) 0:00:25.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:38:24 +0000 (0:00:00.032) 0:00:26.000 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:38:24 +0000 (0:00:00.033) 0:00:26.034 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:38:24 +0000 (0:00:00.043) 0:00:26.077 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:38:24 +0000 (0:00:00.040) 0:00:26.117 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003822", "end": "2024-02-19 23:38:24.857778", "rc": 0, "start": "2024-02-19 23:38:24.853956" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:38:24 +0000 (0:00:00.237) 0:00:26.355 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:38:24 +0000 (0:00:00.024) 0:00:26.380 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:38:24 +0000 (0:00:00.025) 0:00:26.405 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 23:38:27 +0000 (0:00:02.650) 0:00:29.055 ******* ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.006758", "end": "2024-02-19 23:38:27.804372", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-19 23:38:27.797614" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004241", "end": "2024-02-19 23:38:28.066618", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-19 23:38:28.062377" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004383", "end": "2024-02-19 23:38:28.285081", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-19 23:38:28.280698" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 23:38:28 +0000 (0:00:00.728) 0:00:29.784 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023332", "end": "2024-02-19 23:38:28.547830", "rc": 0, "start": "2024-02-19 23:38:28.524498" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 23:38:28 +0000 (0:00:00.262) 0:00:30.046 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 23:38:28 +0000 (0:00:00.023) 0:00:30.069 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 23:38:28 +0000 (0:00:00.023) 0:00:30.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:38:28 +0000 (0:00:00.023) 0:00:30.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 23:38:28 +0000 (0:00:00.023) 0:00:30.139 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:38:28 +0000 (0:00:00.022) 0:00:30.162 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:38:28 +0000 (0:00:00.070) 0:00:30.233 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:38:28 +0000 (0:00:00.038) 0:00:30.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:38:28 +0000 (0:00:00.025) 0:00:30.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:38:28 +0000 (0:00:00.023) 0:00:30.320 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:38:31 +0000 (0:00:02.363) 0:00:32.683 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:38:32 +0000 (0:00:01.053) 0:00:33.737 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:38:32 +0000 (0:00:00.024) 0:00:33.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:38:32 +0000 (0:00:00.023) 0:00:33.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:38:32 +0000 (0:00:00.023) 0:00:33.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:38:32 +0000 (0:00:00.048) 0:00:33.857 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:38:32 +0000 (0:00:00.023) 0:00:33.880 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:38:32 +0000 (0:00:00.021) 0:00:33.902 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:38:32 +0000 (0:00:00.030) 0:00:33.932 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:38:33 +0000 (0:00:00.593) 0:00:34.525 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:38:33 +0000 (0:00:00.029) 0:00:34.555 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:38:33 +0000 (0:00:00.027) 0:00:34.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:38:33 +0000 (0:00:00.022) 0:00:34.604 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1912183d-6dd2-41a4-a353-a4aa6ef1150a [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1912183d-6dd2-41a4-a353-a4aa6ef1150a (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:38:33 +0000 (0:00:00.547) 0:00:35.151 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:38:33 +0000 (0:00:00.024) 0:00:35.176 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1912183d-6dd2-41a4-a353-a4aa6ef1150a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1912183d-6dd2-41a4-a353-a4aa6ef1150a (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:38:33 +0000 (0:00:00.023) 0:00:35.200 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1912183d-6dd2-41a4-a353-a4aa6ef1150a\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1912183d-6dd2-41a4-a353-a4aa6ef1150a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1912183d-6dd2-41a4-a353-a4aa6ef1150a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1912183d-6dd2-41a4-a353-a4aa6ef1150a (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:38:33 +0000 (0:00:00.025) 0:00:35.225 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:38:33 +0000 (0:00:00.023) 0:00:35.248 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:110 Monday 19 February 2024 23:38:34 +0000 (0:00:00.239) 0:00:35.488 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:38:34 +0000 (0:00:00.057) 0:00:35.545 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:38:34 +0000 (0:00:00.039) 0:00:35.584 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708385907.802247, "block_size": 4096, "blocks": 0, "ctime": 1708385907.802247, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26889, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1708385907.802247, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:38:34 +0000 (0:00:00.238) 0:00:35.823 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:112 Monday 19 February 2024 23:38:34 +0000 (0:00:00.051) 0:00:35.874 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:38:34 +0000 (0:00:00.129) 0:00:36.004 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:38:34 +0000 (0:00:00.063) 0:00:36.067 ******* 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_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:38:34 +0000 (0:00:00.024) 0:00:36.091 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:38:34 +0000 (0:00:00.235) 0:00:36.327 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:38:34 +0000 (0:00:00.029) 0:00:36.356 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022861", "end": "2024-02-19 23:38:35.118523", "rc": 0, "start": "2024-02-19 23:38:35.095662" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:38:35 +0000 (0:00:00.259) 0:00:36.616 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:38:35 +0000 (0:00:00.029) 0:00:36.645 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:38:35 +0000 (0:00:00.059) 0:00:36.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:38:35 +0000 (0:00:00.037) 0:00:36.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:38:35 +0000 (0:00:00.047) 0:00:36.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:38:35 +0000 (0:00:00.031) 0:00:36.820 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:38:35 +0000 (0:00:00.038) 0:00:36.859 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:38:35 +0000 (0:00:00.060) 0:00:36.919 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:116 Monday 19 February 2024 23:38:35 +0000 (0:00:00.029) 0:00:36.949 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004531", "end": "2024-02-19 23:38:35.716207", "rc": 0, "start": "2024-02-19 23:38:35.711676" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.214 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.214 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:120 Monday 19 February 2024 23:38:35 +0000 (0:00:00.262) 0:00:37.211 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:126 Monday 19 February 2024 23:38:35 +0000 (0:00:00.024) 0:00:37.236 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004120", "end": "2024-02-19 23:38:35.970195", "rc": 0, "start": "2024-02-19 23:38:35.966075" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:130 Monday 19 February 2024 23:38:36 +0000 (0:00:00.235) 0:00:37.471 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:137 Monday 19 February 2024 23:38:36 +0000 (0:00:00.028) 0:00:37.499 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:38:36 +0000 (0:00:00.026) 0:00:37.526 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:38:36 +0000 (0:00:00.039) 0:00:37.565 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:38:36 +0000 (0:00:00.028) 0:00:37.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:38:36 +0000 (0:00:00.023) 0:00:37.617 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:38:36 +0000 (0:00:00.023) 0:00:37.641 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:38:38 +0000 (0:00:02.353) 0:00:39.995 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:38:39 +0000 (0:00:00.967) 0:00:40.962 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:38:39 +0000 (0:00:00.028) 0:00:40.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:38:39 +0000 (0:00:00.028) 0:00:41.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:38:39 +0000 (0:00:00.034) 0:00:41.053 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:38:39 +0000 (0:00:00.059) 0:00:41.112 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:38:39 +0000 (0:00:00.066) 0:00:41.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:38:39 +0000 (0:00:00.024) 0:00:41.203 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:38:39 +0000 (0:00:00.027) 0:00:41.230 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:38:40 +0000 (0:00:00.619) 0:00:41.850 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:38:40 +0000 (0:00:00.026) 0:00:41.876 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:38:40 +0000 (0:00:00.024) 0:00:41.901 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:38:40 +0000 (0:00:00.024) 0:00:41.925 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:38:40 +0000 (0:00:00.476) 0:00:42.402 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:38:40 +0000 (0:00:00.024) 0:00:42.426 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:38:40 +0000 (0:00:00.025) 0:00:42.452 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:38:41 +0000 (0:00:00.024) 0:00:42.476 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:38:41 +0000 (0:00:00.023) 0:00:42.500 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:149 Monday 19 February 2024 23:38:41 +0000 (0:00:00.257) 0:00:42.757 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:38:41 +0000 (0:00:00.057) 0:00:42.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:38:41 +0000 (0:00:00.023) 0:00:42.838 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:38:41 +0000 (0:00:00.023) 0:00:42.862 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:38:41 +0000 (0:00:00.035) 0:00:42.898 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:38:41 +0000 (0:00:00.034) 0:00:42.933 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003955", "end": "2024-02-19 23:38:41.668434", "rc": 0, "start": "2024-02-19 23:38:41.664479" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:38:41 +0000 (0:00:00.231) 0:00:43.164 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:38:41 +0000 (0:00:00.024) 0:00:43.188 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:38:41 +0000 (0:00:00.023) 0:00:43.211 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 23:38:44 +0000 (0:00:02.601) 0:00:45.813 ******* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 23:38:44 +0000 (0:00:00.040) 0:00:45.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 23:38:44 +0000 (0:00:00.025) 0:00:45.878 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012931", "end": "2024-02-19 23:38:44.623428", "rc": 0, "start": "2024-02-19 23:38:44.610497" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 23:38:44 +0000 (0:00:00.251) 0:00:46.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 23:38:44 +0000 (0:00:00.024) 0:00:46.154 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:38:44 +0000 (0:00:00.024) 0:00:46.178 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 23:38:44 +0000 (0:00:00.023) 0:00:46.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:153 Monday 19 February 2024 23:38:44 +0000 (0:00:00.023) 0:00:46.225 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 23:38:44 +0000 (0:00:00.103) 0:00:46.328 ******* 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.009889", "end": "2024-02-19 23:38:45.103803", "rc": 0, "start": "2024-02-19 23:38:45.093914" } 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:4f:2e:24:5e:eb brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.46.214/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2802sec preferred_lft 2802sec inet6 fe80::4f:2eff:fe24:5eeb/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.46.214 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.214 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_hotfixqf71srne/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 23:38:45 +0000 (0:00:00.272) 0:00:46.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=127 changed=4 unreachable=0 failed=0 skipped=103 rescued=0 ignored=0 Monday 19 February 2024 23:38:45 +0000 (0:00:00.016) 0:00:46.617 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 3.40s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Install iproute --------------------------------------------------------- 2.86s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.65s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.60s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.36s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.35s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.33s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.23s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 1.13s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tests_auto_gateway_nm.yml:6 ------- linux-system-roles.network : Check which packages are installed --------- 1.13s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.05s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.00s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_auto_gateway.yml:3 linux-system-roles.network : Configure networking connection profiles --- 0.76s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.76s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Create veth interface veth0 --------------------------------------------- 0.74s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.73s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---