# 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_hotfix_vk4tfe_/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_hotfix_vk4tfe_/tests/tests_auto_gateway_nm.yml:6 Monday 19 February 2024 22:01:07 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tests_auto_gateway_nm.yml:9 Monday 19 February 2024 22:01:08 +0000 (0:00:01.028) 0:00:01.041 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/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_hotfix_vk4tfe_/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 22:01:08 +0000 (0:00:00.012) 0:00:01.054 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 22:01:08 +0000 (0:00:00.537) 0:00:01.591 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 22:01:08 +0000 (0:00:00.290) 0:00:01.882 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 22:01:08 +0000 (0:00:00.022) 0:00:01.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 22:01:08 +0000 (0:00:00.018) 0:00:01.922 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 22:01:08 +0000 (0:00:00.034) 0:00:01.957 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 22:01:08 +0000 (0:00:00.011) 0:00:01.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 22:01:08 +0000 (0:00:00.010) 0:00:01.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 22:01:08 +0000 (0:00:00.019) 0:00:01.998 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 22:01:09 +0000 (0:00:00.026) 0:00:02.025 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tests_auto_gateway_nm.yml:11 Monday 19 February 2024 22:01:09 +0000 (0:00:00.009) 0:00:02.035 ******* 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_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:3 Monday 19 February 2024 22:01:09 +0000 (0:00:00.041) 0:00:02.077 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:9 Monday 19 February 2024 22:01:09 +0000 (0:00:00.801) 0:00:02.878 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:01:09 +0000 (0:00:00.024) 0:00:02.903 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:01:09 +0000 (0:00:00.013) 0:00:02.916 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003670", "end": "2024-02-19 22:01:10.169900", "rc": 0, "start": "2024-02-19 22:01:10.166230" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:01:10 +0000 (0:00:00.284) 0:00:03.201 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:01:10 +0000 (0:00:00.018) 0:00:03.219 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:11 Monday 19 February 2024 22:01:10 +0000 (0:00:00.017) 0:00:03.237 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:01:10 +0000 (0:00:00.059) 0:00:03.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:01:10 +0000 (0:00:00.012) 0:00:03.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:01:10 +0000 (0:00:00.019) 0:00:03.329 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:01:10 +0000 (0:00:00.040) 0:00:03.369 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:01:10 +0000 (0:00:00.038) 0:00:03.407 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004697", "end": "2024-02-19 22:01:11.632166", "rc": 0, "start": "2024-02-19 22:01:10.627469" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:01:11 +0000 (0:00:01.253) 0:00:04.661 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:01:11 +0000 (0:00:00.012) 0:00:04.673 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:01:11 +0000 (0:00:00.010) 0:00:04.684 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 22:01:14 +0000 (0:00:02.542) 0:00:07.227 ******* 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.042328", "end": "2024-02-19 22:01:14.444633", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-19 22:01:14.402305" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004329", "end": "2024-02-19 22:01:14.698695", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-19 22:01:14.694366" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004767", "end": "2024-02-19 22:01:14.896040", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-19 22:01:14.891273" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 22:01:14 +0000 (0:00:00.700) 0:00:07.927 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.067600", "end": "2024-02-19 22:01:15.165887", "rc": 0, "start": "2024-02-19 22:01:15.098287" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 22:01:15 +0000 (0:00:00.268) 0:00:08.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 22:01:15 +0000 (0:00:00.013) 0:00:08.209 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 22:01:15 +0000 (0:00:00.012) 0:00:08.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:01:15 +0000 (0:00:00.011) 0:00:08.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 22:01:15 +0000 (0:00:00.011) 0:00:08.245 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:15 Monday 19 February 2024 22:01:15 +0000 (0:00:00.009) 0:00:08.255 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:01:15 +0000 (0:00:00.048) 0:00:08.303 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:01:15 +0000 (0:00:00.018) 0:00:08.322 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380074.443332, "block_size": 4096, "blocks": 0, "ctime": 1708380074.443332, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26217, "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": 1708380074.443332, "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_hotfix_vk4tfe_/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:01:15 +0000 (0:00:00.224) 0:00:08.546 ******* 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_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:17 Monday 19 February 2024 22:01:15 +0000 (0:00:00.015) 0:00:08.561 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:01:15 +0000 (0:00:00.027) 0:00:08.589 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:01:15 +0000 (0:00:00.107) 0:00:08.697 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:01:15 +0000 (0:00:00.016) 0:00:08.713 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:01:15 +0000 (0:00:00.061) 0:00:08.774 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:01:15 +0000 (0:00:00.019) 0:00:08.794 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:01:18 +0000 (0:00:02.221) 0:00:11.015 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:01:19 +0000 (0:00:01.268) 0:00:12.283 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:01:19 +0000 (0:00:00.023) 0:00:12.307 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:01:19 +0000 (0:00:00.025) 0:00:12.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:01:19 +0000 (0:00:00.026) 0:00:12.358 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:01:19 +0000 (0:00:00.064) 0:00:12.423 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:01:19 +0000 (0:00:00.041) 0:00:12.464 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:01:19 +0000 (0:00:00.045) 0:00:12.509 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:01:19 +0000 (0:00:00.055) 0:00:12.565 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:01:20 +0000 (0:00:00.789) 0:00:13.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:01:20 +0000 (0:00:00.045) 0:00:13.400 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:01:20 +0000 (0:00:00.030) 0:00:13.431 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:01:20 +0000 (0:00:00.037) 0:00:13.468 ******* 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, 49b405b6-454a-4c05-9484-b9caaad6545a [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 49b405b6-454a-4c05-9484-b9caaad6545a (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:01:21 +0000 (0:00:00.915) 0:00:14.383 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:01:21 +0000 (0:00:00.082) 0:00:14.466 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 49b405b6-454a-4c05-9484-b9caaad6545a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 49b405b6-454a-4c05-9484-b9caaad6545a (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:01:21 +0000 (0:00:00.055) 0:00:14.522 ******* 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, 49b405b6-454a-4c05-9484-b9caaad6545a\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 49b405b6-454a-4c05-9484-b9caaad6545a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 49b405b6-454a-4c05-9484-b9caaad6545a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 49b405b6-454a-4c05-9484-b9caaad6545a (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:01:21 +0000 (0:00:00.025) 0:00:14.547 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:01:21 +0000 (0:00:00.034) 0:00:14.581 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:42 Monday 19 February 2024 22:01:21 +0000 (0:00:00.291) 0:00:14.873 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:01:21 +0000 (0:00:00.060) 0:00:14.933 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:01:21 +0000 (0:00:00.042) 0:00:14.976 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380074.443332, "block_size": 4096, "blocks": 0, "ctime": 1708380074.443332, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26217, "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": 1708380074.443332, "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_hotfix_vk4tfe_/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:01:22 +0000 (0:00:00.255) 0:00:15.232 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:44 Monday 19 February 2024 22:01:22 +0000 (0:00:00.025) 0:00:15.257 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:01:22 +0000 (0:00:00.053) 0:00:15.310 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:01:22 +0000 (0:00:00.081) 0:00:15.392 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:01:22 +0000 (0:00:00.025) 0:00:15.417 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:01:22 +0000 (0:00:00.225) 0:00:15.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:01:22 +0000 (0:00:00.023) 0:00:15.666 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024429", "end": "2024-02-19 22:01:22.861428", "rc": 0, "start": "2024-02-19 22:01:22.836999" } 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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:01:22 +0000 (0:00:00.237) 0:00:15.903 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:01:22 +0000 (0:00:00.027) 0:00:15.931 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:01:22 +0000 (0:00:00.024) 0:00:15.956 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:01:22 +0000 (0:00:00.026) 0:00:15.982 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:01:23 +0000 (0:00:00.028) 0:00:16.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:01:23 +0000 (0:00:00.025) 0:00:16.037 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:01:23 +0000 (0:00:00.027) 0:00:16.064 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:01:23 +0000 (0:00:00.048) 0:00:16.113 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:48 Monday 19 February 2024 22:01:23 +0000 (0:00:00.024) 0:00:16.137 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003803", "end": "2024-02-19 22:01:23.311407", "rc": 0, "start": "2024-02-19 22:01:23.307604" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.90 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.90 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_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:52 Monday 19 February 2024 22:01:23 +0000 (0:00:00.266) 0:00:16.404 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:58 Monday 19 February 2024 22:01:23 +0000 (0:00:00.024) 0:00:16.429 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003752", "end": "2024-02-19 22:01:23.604194", "rc": 0, "start": "2024-02-19 22:01:23.600442" } 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_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:62 Monday 19 February 2024 22:01:23 +0000 (0:00:00.217) 0:00:16.646 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:69 Monday 19 February 2024 22:01:23 +0000 (0:00:00.026) 0:00:16.672 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:01:23 +0000 (0:00:00.026) 0:00:16.699 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:01:23 +0000 (0:00:00.048) 0:00:16.747 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:01:23 +0000 (0:00:00.031) 0:00:16.778 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:01:23 +0000 (0:00:00.024) 0:00:16.802 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:01:23 +0000 (0:00:00.022) 0:00:16.825 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:01:25 +0000 (0:00:02.164) 0:00:18.989 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:01:26 +0000 (0:00:00.917) 0:00:19.907 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:01:26 +0000 (0:00:00.026) 0:00:19.933 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:01:26 +0000 (0:00:00.024) 0:00:19.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:01:26 +0000 (0:00:00.026) 0:00:19.984 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:01:27 +0000 (0:00:00.046) 0:00:20.031 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:01:27 +0000 (0:00:00.022) 0:00:20.054 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:01:27 +0000 (0:00:00.021) 0:00:20.075 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:01:27 +0000 (0:00:00.026) 0:00:20.102 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:01:27 +0000 (0:00:00.569) 0:00:20.671 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:01:27 +0000 (0:00:00.028) 0:00:20.699 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:01:27 +0000 (0:00:00.032) 0:00:20.732 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:01:27 +0000 (0:00:00.023) 0:00:20.756 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:01:28 +0000 (0:00:00.462) 0:00:21.219 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:01:28 +0000 (0:00:00.022) 0:00:21.241 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:01:28 +0000 (0:00:00.023) 0:00:21.265 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:01:28 +0000 (0:00:00.023) 0:00:21.289 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:01:28 +0000 (0:00:00.022) 0:00:21.311 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:81 Monday 19 February 2024 22:01:28 +0000 (0:00:00.204) 0:00:21.516 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:01:28 +0000 (0:00:00.086) 0:00:21.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:01:28 +0000 (0:00:00.022) 0:00:21.625 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:01:28 +0000 (0:00:00.021) 0:00:21.647 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:01:28 +0000 (0:00:00.035) 0:00:21.683 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:01:28 +0000 (0:00:00.035) 0:00:21.718 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003590", "end": "2024-02-19 22:01:28.892703", "rc": 0, "start": "2024-02-19 22:01:28.889113" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:01:28 +0000 (0:00:00.227) 0:00:21.946 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:01:28 +0000 (0:00:00.024) 0:00:21.970 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:01:29 +0000 (0:00:00.046) 0:00:22.017 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 22:01:31 +0000 (0:00:02.426) 0:00:24.443 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 22:01:31 +0000 (0:00:00.039) 0:00:24.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 22:01:31 +0000 (0:00:00.024) 0:00:24.507 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021779", "end": "2024-02-19 22:01:31.700708", "rc": 0, "start": "2024-02-19 22:01:31.678929" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 22:01:31 +0000 (0:00:00.238) 0:00:24.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 22:01:31 +0000 (0:00:00.027) 0:00:24.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:01:31 +0000 (0:00:00.024) 0:00:24.798 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 22:01:31 +0000 (0:00:00.025) 0:00:24.824 ******* 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_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:85 Monday 19 February 2024 22:01:31 +0000 (0:00:00.037) 0:00:24.862 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:89 Monday 19 February 2024 22:01:31 +0000 (0:00:00.036) 0:00:24.899 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:01:31 +0000 (0:00:00.066) 0:00:24.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:01:31 +0000 (0:00:00.025) 0:00:24.991 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:01:32 +0000 (0:00:00.069) 0:00:25.061 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:01:32 +0000 (0:00:00.044) 0:00:25.105 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:01:32 +0000 (0:00:00.036) 0:00:25.142 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003498", "end": "2024-02-19 22:01:32.315250", "rc": 0, "start": "2024-02-19 22:01:32.311752" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:01:32 +0000 (0:00:00.214) 0:00:25.356 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:01:32 +0000 (0:00:00.025) 0:00:25.381 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:01:32 +0000 (0:00:00.023) 0:00:25.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_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 22:01:34 +0000 (0:00:02.447) 0:00:27.852 ******* 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.007274", "end": "2024-02-19 22:01:35.112279", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-19 22:01:35.105005" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003858", "end": "2024-02-19 22:01:35.361384", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-19 22:01:35.357526" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004170", "end": "2024-02-19 22:01:35.563732", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-19 22:01:35.559562" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 22:01:35 +0000 (0:00:00.758) 0:00:28.610 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023585", "end": "2024-02-19 22:01:35.805062", "rc": 0, "start": "2024-02-19 22:01:35.781477" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 22:01:35 +0000 (0:00:00.245) 0:00:28.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 22:01:35 +0000 (0:00:00.030) 0:00:28.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 22:01:35 +0000 (0:00:00.024) 0:00:28.911 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:01:35 +0000 (0:00:00.027) 0:00:28.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 22:01:35 +0000 (0:00:00.058) 0:00:28.997 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:01:36 +0000 (0:00:00.042) 0:00:29.039 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:01:36 +0000 (0:00:00.060) 0:00:29.100 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:01:36 +0000 (0:00:00.044) 0:00:29.145 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:01:36 +0000 (0:00:00.060) 0:00:29.205 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:01:36 +0000 (0:00:00.051) 0:00:29.257 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:01:38 +0000 (0:00:02.170) 0:00:31.427 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:01:39 +0000 (0:00:00.944) 0:00:32.372 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:01:39 +0000 (0:00:00.028) 0:00:32.400 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:01:39 +0000 (0:00:00.045) 0:00:32.446 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:01:39 +0000 (0:00:00.024) 0:00:32.471 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:01:39 +0000 (0:00:00.057) 0:00:32.528 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:01:39 +0000 (0:00:00.077) 0:00:32.605 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:01:39 +0000 (0:00:00.027) 0:00:32.633 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:01:39 +0000 (0:00:00.029) 0:00:32.663 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:01:40 +0000 (0:00:00.558) 0:00:33.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:01:40 +0000 (0:00:00.026) 0:00:33.248 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:01:40 +0000 (0:00:00.021) 0:00:33.270 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:01:40 +0000 (0:00:00.021) 0:00:33.292 ******* 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, c071b46e-9263-421d-b897-82ad77733b77 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c071b46e-9263-421d-b897-82ad77733b77 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:01:40 +0000 (0:00:00.595) 0:00:33.887 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:01:40 +0000 (0:00:00.035) 0:00:33.922 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c071b46e-9263-421d-b897-82ad77733b77", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c071b46e-9263-421d-b897-82ad77733b77 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:01:40 +0000 (0:00:00.037) 0:00:33.960 ******* 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, c071b46e-9263-421d-b897-82ad77733b77\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c071b46e-9263-421d-b897-82ad77733b77 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c071b46e-9263-421d-b897-82ad77733b77", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c071b46e-9263-421d-b897-82ad77733b77 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:01:40 +0000 (0:00:00.037) 0:00:33.998 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:01:41 +0000 (0:00:00.036) 0:00:34.034 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:110 Monday 19 February 2024 22:01:41 +0000 (0:00:00.312) 0:00:34.346 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:01:41 +0000 (0:00:00.151) 0:00:34.498 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:01:41 +0000 (0:00:00.040) 0:00:34.538 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380095.1087332, "block_size": 4096, "blocks": 0, "ctime": 1708380095.1087332, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26803, "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": 1708380095.1087332, "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_hotfix_vk4tfe_/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:01:41 +0000 (0:00:00.226) 0:00:34.764 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:112 Monday 19 February 2024 22:01:41 +0000 (0:00:00.032) 0:00:34.797 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:01:41 +0000 (0:00:00.082) 0:00:34.880 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:01:41 +0000 (0:00:00.109) 0:00:34.990 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:01:42 +0000 (0:00:00.030) 0:00:35.020 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:01:42 +0000 (0:00:00.224) 0:00:35.245 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:01:42 +0000 (0:00:00.107) 0:00:35.352 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022059", "end": "2024-02-19 22:01:42.603345", "rc": 0, "start": "2024-02-19 22:01:42.581286" } 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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:01:42 +0000 (0:00:00.305) 0:00:35.658 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:01:42 +0000 (0:00:00.027) 0:00:35.685 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:01:42 +0000 (0:00:00.025) 0:00:35.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:01:42 +0000 (0:00:00.026) 0:00:35.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:01:42 +0000 (0:00:00.025) 0:00:35.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:01:42 +0000 (0:00:00.024) 0:00:35.787 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:01:42 +0000 (0:00:00.029) 0:00:35.816 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:01:42 +0000 (0:00:00.039) 0:00:35.855 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:116 Monday 19 February 2024 22:01:42 +0000 (0:00:00.027) 0:00:35.882 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004028", "end": "2024-02-19 22:01:43.065324", "rc": 0, "start": "2024-02-19 22:01:43.061296" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.90 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.90 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_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:120 Monday 19 February 2024 22:01:43 +0000 (0:00:00.241) 0:00:36.124 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:126 Monday 19 February 2024 22:01:43 +0000 (0:00:00.028) 0:00:36.153 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003849", "end": "2024-02-19 22:01:43.326872", "rc": 0, "start": "2024-02-19 22:01:43.323023" } 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_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:130 Monday 19 February 2024 22:01:43 +0000 (0:00:00.219) 0:00:36.372 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:137 Monday 19 February 2024 22:01:43 +0000 (0:00:00.025) 0:00:36.397 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:01:43 +0000 (0:00:00.023) 0:00:36.421 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:01:43 +0000 (0:00:00.104) 0:00:36.525 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:01:43 +0000 (0:00:00.031) 0:00:36.557 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:01:43 +0000 (0:00:00.023) 0:00:36.581 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:01:43 +0000 (0:00:00.025) 0:00:36.606 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:01:45 +0000 (0:00:02.151) 0:00:38.757 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:01:46 +0000 (0:00:01.026) 0:00:39.784 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:01:46 +0000 (0:00:00.030) 0:00:39.814 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:01:46 +0000 (0:00:00.036) 0:00:39.850 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:01:46 +0000 (0:00:00.027) 0:00:39.878 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:01:46 +0000 (0:00:00.052) 0:00:39.930 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:01:46 +0000 (0:00:00.028) 0:00:39.959 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:01:46 +0000 (0:00:00.024) 0:00:39.983 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:01:47 +0000 (0:00:00.036) 0:00:40.019 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:01:47 +0000 (0:00:00.563) 0:00:40.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:01:47 +0000 (0:00:00.028) 0:00:40.610 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:01:47 +0000 (0:00:00.024) 0:00:40.635 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:01:47 +0000 (0:00:00.024) 0:00:40.659 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:01:48 +0000 (0:00:00.504) 0:00:41.163 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:01:48 +0000 (0:00:00.024) 0:00:41.188 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:01:48 +0000 (0:00:00.024) 0:00:41.212 ******* 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_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:01:48 +0000 (0:00:00.024) 0:00:41.236 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:01:48 +0000 (0:00:00.023) 0:00:41.260 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:149 Monday 19 February 2024 22:01:48 +0000 (0:00:00.209) 0:00:41.469 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:01:48 +0000 (0:00:00.058) 0:00:41.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:01:48 +0000 (0:00:00.023) 0:00:41.551 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:01:48 +0000 (0:00:00.023) 0:00:41.575 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:01:48 +0000 (0:00:00.039) 0:00:41.614 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:01:48 +0000 (0:00:00.072) 0:00:41.686 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004544", "end": "2024-02-19 22:01:49.878662", "rc": 0, "start": "2024-02-19 22:01:48.874118" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:01:49 +0000 (0:00:01.233) 0:00:42.919 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:01:49 +0000 (0:00:00.024) 0:00:42.944 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:01:49 +0000 (0:00:00.023) 0:00:42.968 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 22:01:52 +0000 (0:00:02.424) 0:00:45.393 ******* 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_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 22:01:52 +0000 (0:00:00.050) 0:00:45.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 22:01:52 +0000 (0:00:00.033) 0:00:45.477 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020286", "end": "2024-02-19 22:01:52.676737", "rc": 0, "start": "2024-02-19 22:01:52.656451" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 22:01:52 +0000 (0:00:00.248) 0:00:45.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 22:01:52 +0000 (0:00:00.114) 0:00:45.840 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:01:52 +0000 (0:00:00.030) 0:00:45.871 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 22:01:52 +0000 (0:00:00.044) 0:00:45.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:153 Monday 19 February 2024 22:01:52 +0000 (0:00:00.027) 0:00:45.943 ******* included: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 22:01:53 +0000 (0:00:00.067) 0:00:46.010 ******* 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.009025", "end": "2024-02-19 22:01:53.205478", "rc": 0, "start": "2024-02-19 22:01:53.196453" } 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 0a:4c:6b:e7:12:a3 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.12.90/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2844sec preferred_lft 2844sec inet6 fe80::84c:6bff:fee7:12a3/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.90 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.90 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_hotfix_vk4tfe_/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 22:01:53 +0000 (0:00:00.268) 0:00:46.278 ******* 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 22:01:53 +0000 (0:00:00.039) 0:00:46.318 ******* =============================================================================== Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.45s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.43s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.42s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.27s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gather current interface info ------------------------------------------- 1.25s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.23s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.13s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 1.03s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/tests_auto_gateway_nm.yml:6 ------- linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.97s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.92s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/playbooks/tests_auto_gateway.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 0.79s /WORKDIR/git-nm_plugin_hotfix_vk4tfe_/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---