# 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_hotfixnvo_ftow/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_hotfixnvo_ftow/tests/tests_auto_gateway_nm.yml:6 Tuesday 27 February 2024 23:01:10 +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_hotfixnvo_ftow/tests/tests_auto_gateway_nm.yml:9 Tuesday 27 February 2024 23:01:11 +0000 (0:00:00.751) 0:00:00.763 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/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_hotfixnvo_ftow/tests/tasks/el_repo_setup.yml:3 Tuesday 27 February 2024 23:01:11 +0000 (0:00:00.011) 0:00:00.774 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/el_repo_setup.yml:19 Tuesday 27 February 2024 23:01:11 +0000 (0:00:00.378) 0:00:01.153 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/el_repo_setup.yml:24 Tuesday 27 February 2024 23:01:11 +0000 (0:00:00.259) 0:00:01.413 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/el_repo_setup.yml:28 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.022) 0:00:01.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/el_repo_setup.yml:53 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.019) 0:00:01.455 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/enable_epel.yml:8 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.034) 0:00:01.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/enable_epel.yml:24 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.011) 0:00:01.501 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/enable_epel.yml:30 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.011) 0:00:01.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/enable_epel.yml:35 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.011) 0:00:01.523 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tasks/enable_epel.yml:40 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.009) 0:00:01.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tests_auto_gateway_nm.yml:11 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.009) 0:00:01.542 ****** 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_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.011) 0:00:01.554 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.530) 0:00:02.084 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.025) 0:00:02.110 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.014) 0:00:02.125 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003655", "end": "2024-02-27 23:01:12.931403", "rc": 0, "start": "2024-02-27 23:01:12.927748" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.256) 0:00:02.381 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.012) 0:00:02.394 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 27 February 2024 23:01:12 +0000 (0:00:00.011) 0:00:02.405 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 27 February 2024 23:01:13 +0000 (0:00:00.031) 0:00:02.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 27 February 2024 23:01:13 +0000 (0:00:00.011) 0:00:02.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 27 February 2024 23:01:13 +0000 (0:00:00.010) 0:00:02.459 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:01:13 +0000 (0:00:00.016) 0:00:02.475 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:01:13 +0000 (0:00:00.020) 0:00:02.496 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003886", "end": "2024-02-27 23:01:13.249929", "rc": 0, "start": "2024-02-27 23:01:13.246043" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:01:13 +0000 (0:00:00.204) 0:00:02.701 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:01:13 +0000 (0:00:00.011) 0:00:02.712 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 27 February 2024 23:01:13 +0000 (0:00:00.011) 0:00:02.723 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 27 February 2024 23:01:15 +0000 (0:00:02.257) 0:00:04.980 ****** 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.023122", "end": "2024-02-27 23:01:15.762012", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-27 23:01:15.738890" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004323", "end": "2024-02-27 23:01:15.994529", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-27 23:01:15.990206" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004449", "end": "2024-02-27 23:01:16.192808", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-27 23:01:16.188359" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 27 February 2024 23:01:16 +0000 (0:00:00.668) 0:00:05.648 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.429389", "end": "2024-02-27 23:01:16.844920", "rc": 0, "start": "2024-02-27 23:01:16.415531" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 27 February 2024 23:01:16 +0000 (0:00:00.647) 0:00:06.296 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 27 February 2024 23:01:16 +0000 (0:00:00.012) 0:00:06.309 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 27 February 2024 23:01:16 +0000 (0:00:00.012) 0:00:06.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 27 February 2024 23:01:16 +0000 (0:00:00.012) 0:00:06.334 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 27 February 2024 23:01:16 +0000 (0:00:00.010) 0:00:06.345 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 27 February 2024 23:01:16 +0000 (0:00:00.011) 0:00:06.356 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:01:16 +0000 (0:00:00.030) 0:00:06.386 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:01:16 +0000 (0:00:00.015) 0:00:06.402 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709074875.7546914, "block_size": 4096, "blocks": 0, "ctime": 1709074875.7546914, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23060, "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": 1709074875.7546914, "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_hotfixnvo_ftow/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:01:17 +0000 (0:00:00.203) 0:00:06.605 ****** 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_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 27 February 2024 23:01:17 +0000 (0:00:00.013) 0:00:06.619 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 27 February 2024 23:01:17 +0000 (0:00:00.016) 0:00:06.636 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:01:17 +0000 (0:00:00.021) 0:00:06.658 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 27 February 2024 23:01:17 +0000 (0:00:00.015) 0:00:06.673 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 27 February 2024 23:01:17 +0000 (0:00:00.013) 0:00:06.687 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 27 February 2024 23:01:17 +0000 (0:00:00.011) 0:00:06.699 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 27 February 2024 23:01:18 +0000 (0:00:01.583) 0:00:08.282 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 27 February 2024 23:01:20 +0000 (0:00:01.247) 0:00:09.529 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 27 February 2024 23:01:20 +0000 (0:00:00.023) 0:00:09.552 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 27 February 2024 23:01:20 +0000 (0:00:00.022) 0:00:09.575 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 27 February 2024 23:01:20 +0000 (0:00:00.021) 0:00:09.596 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:39 Tuesday 27 February 2024 23:01:23 +0000 (0:00:03.097) 0:00:12.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:49 Tuesday 27 February 2024 23:01:23 +0000 (0:00:00.022) 0:00:12.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:66 Tuesday 27 February 2024 23:01:23 +0000 (0:00:00.026) 0:00:12.743 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:79 Tuesday 27 February 2024 23:01:23 +0000 (0:00:00.050) 0:00:12.794 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:94 Tuesday 27 February 2024 23:01:23 +0000 (0:00:00.051) 0:00:12.845 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:111 Tuesday 27 February 2024 23:01:23 +0000 (0:00:00.022) 0:00:12.868 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 27 February 2024 23:01:23 +0000 (0:00:00.027) 0:00:12.896 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:136 Tuesday 27 February 2024 23:01:24 +0000 (0:00:00.537) 0:00:13.433 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 27 February 2024 23:01:24 +0000 (0:00:00.025) 0:00:13.459 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:153 Tuesday 27 February 2024 23:01:24 +0000 (0:00:00.029) 0:00:13.488 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 27 February 2024 23:01:24 +0000 (0:00:00.022) 0:00:13.511 ****** 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, 9cae9ebb-1fbf-4075-821e-d9ab67f99c67 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cae9ebb-1fbf-4075-821e-d9ab67f99c67 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:174 Tuesday 27 February 2024 23:01:24 +0000 (0:00:00.836) 0:00:14.348 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 27 February 2024 23:01:24 +0000 (0:00:00.022) 0:00:14.370 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9cae9ebb-1fbf-4075-821e-d9ab67f99c67", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cae9ebb-1fbf-4075-821e-d9ab67f99c67 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:184 Tuesday 27 February 2024 23:01:24 +0000 (0:00:00.023) 0:00:14.393 ****** 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, 9cae9ebb-1fbf-4075-821e-d9ab67f99c67\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cae9ebb-1fbf-4075-821e-d9ab67f99c67 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9cae9ebb-1fbf-4075-821e-d9ab67f99c67", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cae9ebb-1fbf-4075-821e-d9ab67f99c67 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 27 February 2024 23:01:24 +0000 (0:00:00.023) 0:00:14.417 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 27 February 2024 23:01:25 +0000 (0:00:00.024) 0:00:14.441 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 27 February 2024 23:01:25 +0000 (0:00:00.335) 0:00:14.777 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:01:25 +0000 (0:00:00.057) 0:00:14.834 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:01:25 +0000 (0:00:00.038) 0:00:14.873 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709074875.7546914, "block_size": 4096, "blocks": 0, "ctime": 1709074875.7546914, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23060, "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": 1709074875.7546914, "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_hotfixnvo_ftow/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:01:25 +0000 (0:00:00.220) 0:00:15.093 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 27 February 2024 23:01:25 +0000 (0:00:00.025) 0:00:15.118 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:01:25 +0000 (0:00:00.052) 0:00:15.170 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:01:25 +0000 (0:00:00.048) 0:00:15.218 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:01:25 +0000 (0:00:00.024) 0:00:15.243 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.221) 0:00:15.464 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.022) 0:00:15.487 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.160669", "end": "2024-02-27 23:01:26.403630", "rc": 0, "start": "2024-02-27 23:01:26.242961" } 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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.378) 0:00:15.865 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.026) 0:00:15.892 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.023) 0:00:15.915 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.023) 0:00:15.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.023) 0:00:15.963 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.023) 0:00:15.986 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.025) 0:00:16.011 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.026) 0:00:16.037 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.028) 0:00:16.066 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004020", "end": "2024-02-27 23:01:26.823394", "rc": 0, "start": "2024-02-27 23:01:26.819374" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.138 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.14.138 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_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.218) 0:00:16.284 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 27 February 2024 23:01:26 +0000 (0:00:00.024) 0:00:16.309 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004034", "end": "2024-02-27 23:01:27.064719", "rc": 0, "start": "2024-02-27 23:01:27.060685" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 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_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 27 February 2024 23:01:27 +0000 (0:00:00.217) 0:00:16.526 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 27 February 2024 23:01:27 +0000 (0:00:00.025) 0:00:16.552 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 27 February 2024 23:01:27 +0000 (0:00:00.022) 0:00:16.574 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:01:27 +0000 (0:00:00.039) 0:00:16.614 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 27 February 2024 23:01:27 +0000 (0:00:00.084) 0:00:16.698 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 27 February 2024 23:01:27 +0000 (0:00:00.023) 0:00:16.721 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 27 February 2024 23:01:27 +0000 (0:00:00.022) 0:00:16.744 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 27 February 2024 23:01:28 +0000 (0:00:01.568) 0:00:18.313 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 27 February 2024 23:01:29 +0000 (0:00:01.048) 0:00:19.361 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 27 February 2024 23:01:29 +0000 (0:00:00.024) 0:00:19.385 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 27 February 2024 23:01:30 +0000 (0:00:00.068) 0:00:19.453 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 27 February 2024 23:01:30 +0000 (0:00:00.023) 0:00:19.477 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:39 Tuesday 27 February 2024 23:01:37 +0000 (0:00:07.390) 0:00:26.868 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:49 Tuesday 27 February 2024 23:01:37 +0000 (0:00:00.023) 0:00:26.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:66 Tuesday 27 February 2024 23:01:37 +0000 (0:00:00.025) 0:00:26.918 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:79 Tuesday 27 February 2024 23:01:37 +0000 (0:00:00.047) 0:00:26.965 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:94 Tuesday 27 February 2024 23:01:37 +0000 (0:00:00.061) 0:00:27.027 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:111 Tuesday 27 February 2024 23:01:37 +0000 (0:00:00.022) 0:00:27.050 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 27 February 2024 23:01:37 +0000 (0:00:00.026) 0:00:27.076 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:136 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.398) 0:00:27.475 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.027) 0:00:27.502 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:153 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.022) 0:00:27.525 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.021) 0:00:27.547 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:174 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.469) 0:00:28.016 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.022) 0:00:28.038 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:184 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.024) 0:00:28.063 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.042) 0:00:28.105 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.030) 0:00:28.136 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 27 February 2024 23:01:38 +0000 (0:00:00.211) 0:00:28.347 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 27 February 2024 23:01:39 +0000 (0:00:00.095) 0:00:28.443 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 27 February 2024 23:01:39 +0000 (0:00:00.024) 0:00:28.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 27 February 2024 23:01:39 +0000 (0:00:00.023) 0:00:28.491 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:01:39 +0000 (0:00:00.035) 0:00:28.526 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:01:39 +0000 (0:00:00.035) 0:00:28.561 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003826", "end": "2024-02-27 23:01:39.318108", "rc": 0, "start": "2024-02-27 23:01:39.314282" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:01:39 +0000 (0:00:00.230) 0:00:28.792 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:01:39 +0000 (0:00:00.026) 0:00:28.818 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 27 February 2024 23:01:39 +0000 (0:00:00.025) 0:00:28.843 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 27 February 2024 23:01:40 +0000 (0:00:01.047) 0:00:29.891 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 27 February 2024 23:01:40 +0000 (0:00:00.032) 0:00:29.924 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 27 February 2024 23:01:40 +0000 (0:00:00.068) 0:00:29.992 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.017032", "end": "2024-02-27 23:01:40.765521", "rc": 0, "start": "2024-02-27 23:01:40.748489" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 27 February 2024 23:01:40 +0000 (0:00:00.240) 0:00:30.232 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 27 February 2024 23:01:40 +0000 (0:00:00.026) 0:00:30.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 27 February 2024 23:01:40 +0000 (0:00:00.025) 0:00:30.284 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 27 February 2024 23:01:40 +0000 (0:00:00.026) 0:00:30.311 ****** 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_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 27 February 2024 23:01:40 +0000 (0:00:00.040) 0:00:30.351 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 27 February 2024 23:01:40 +0000 (0:00:00.033) 0:00:30.384 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 27 February 2024 23:01:41 +0000 (0:00:00.058) 0:00:30.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 27 February 2024 23:01:41 +0000 (0:00:00.021) 0:00:30.464 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 27 February 2024 23:01:41 +0000 (0:00:00.021) 0:00:30.485 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:01:41 +0000 (0:00:00.035) 0:00:30.520 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:01:41 +0000 (0:00:00.034) 0:00:30.555 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003790", "end": "2024-02-27 23:01:41.312529", "rc": 0, "start": "2024-02-27 23:01:41.308739" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:01:41 +0000 (0:00:00.265) 0:00:30.821 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:01:41 +0000 (0:00:00.026) 0:00:30.847 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 27 February 2024 23:01:41 +0000 (0:00:00.024) 0:00:30.872 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 27 February 2024 23:01:42 +0000 (0:00:01.014) 0:00:31.887 ****** 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.014482", "end": "2024-02-27 23:01:42.658140", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-27 23:01:42.643658" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004181", "end": "2024-02-27 23:01:42.880169", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-27 23:01:42.875988" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004816", "end": "2024-02-27 23:01:43.087843", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-27 23:01:43.083027" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.664) 0:00:32.551 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023059", "end": "2024-02-27 23:01:43.327570", "rc": 0, "start": "2024-02-27 23:01:43.304511" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.239) 0:00:32.791 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.024) 0:00:32.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.026) 0:00:32.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.031) 0:00:32.873 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.025) 0:00:32.899 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.027) 0:00:32.926 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.082) 0:00:33.009 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.027) 0:00:33.036 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.022) 0:00:33.059 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 27 February 2024 23:01:43 +0000 (0:00:00.023) 0:00:33.082 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 27 February 2024 23:01:45 +0000 (0:00:01.553) 0:00:34.635 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 27 February 2024 23:01:46 +0000 (0:00:01.096) 0:00:35.732 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 27 February 2024 23:01:46 +0000 (0:00:00.025) 0:00:35.757 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 27 February 2024 23:01:46 +0000 (0:00:00.023) 0:00:35.781 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 27 February 2024 23:01:46 +0000 (0:00:00.025) 0:00:35.807 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:39 Tuesday 27 February 2024 23:01:49 +0000 (0:00:02.642) 0:00:38.449 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:49 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.023) 0:00:38.473 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:66 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.028) 0:00:38.502 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:79 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.047) 0:00:38.549 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:94 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.025) 0:00:38.575 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:111 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.024) 0:00:38.599 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.074) 0:00:38.673 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:136 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.408) 0:00:39.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.045) 0:00:39.127 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:153 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.027) 0:00:39.154 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 27 February 2024 23:01:49 +0000 (0:00:00.023) 0:00:39.178 ****** 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, be94830c-1128-41c2-9931-98e2cc8d580f [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, be94830c-1128-41c2-9931-98e2cc8d580f (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:174 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.461) 0:00:39.639 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.024) 0:00:39.663 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, be94830c-1128-41c2-9931-98e2cc8d580f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, be94830c-1128-41c2-9931-98e2cc8d580f (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:184 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.025) 0:00:39.689 ****** 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, be94830c-1128-41c2-9931-98e2cc8d580f\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, be94830c-1128-41c2-9931-98e2cc8d580f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, be94830c-1128-41c2-9931-98e2cc8d580f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, be94830c-1128-41c2-9931-98e2cc8d580f (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.025) 0:00:39.715 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.024) 0:00:39.739 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.213) 0:00:39.953 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.054) 0:00:40.007 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.082) 0:00:40.090 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709074902.6483436, "block_size": 4096, "blocks": 0, "ctime": 1709074902.6483436, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23646, "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": 1709074902.6483436, "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_hotfixnvo_ftow/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.217) 0:00:40.308 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.024) 0:00:40.332 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.055) 0:00:40.388 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:01:50 +0000 (0:00:00.037) 0:00:40.426 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.022) 0:00:40.448 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.210) 0:00:40.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.024) 0:00:40.683 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023112", "end": "2024-02-27 23:01:51.461646", "rc": 0, "start": "2024-02-27 23:01:51.438534" } 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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.241) 0:00:40.924 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.025) 0:00:40.950 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.023) 0:00:40.973 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.073) 0:00:41.047 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.027) 0:00:41.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.024) 0:00:41.098 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.025) 0:00:41.123 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.027) 0:00:41.151 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.024) 0:00:41.176 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003888", "end": "2024-02-27 23:01:51.932634", "rc": 0, "start": "2024-02-27 23:01:51.928746" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.138 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.138 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_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.219) 0:00:41.395 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 27 February 2024 23:01:51 +0000 (0:00:00.024) 0:00:41.420 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004077", "end": "2024-02-27 23:01:52.181821", "rc": 0, "start": "2024-02-27 23:01:52.177744" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 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_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 27 February 2024 23:01:52 +0000 (0:00:00.225) 0:00:41.645 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 27 February 2024 23:01:52 +0000 (0:00:00.027) 0:00:41.673 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 27 February 2024 23:01:52 +0000 (0:00:00.024) 0:00:41.697 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:01:52 +0000 (0:00:00.043) 0:00:41.741 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 27 February 2024 23:01:52 +0000 (0:00:00.029) 0:00:41.770 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 27 February 2024 23:01:52 +0000 (0:00:00.023) 0:00:41.793 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 27 February 2024 23:01:52 +0000 (0:00:00.023) 0:00:41.816 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 27 February 2024 23:01:53 +0000 (0:00:01.581) 0:00:43.398 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 27 February 2024 23:01:55 +0000 (0:00:01.038) 0:00:44.436 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 27 February 2024 23:01:55 +0000 (0:00:00.024) 0:00:44.461 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 27 February 2024 23:01:55 +0000 (0:00:00.022) 0:00:44.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 27 February 2024 23:01:55 +0000 (0:00:00.023) 0:00:44.507 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:39 Tuesday 27 February 2024 23:01:57 +0000 (0:00:02.610) 0:00:47.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:49 Tuesday 27 February 2024 23:01:57 +0000 (0:00:00.066) 0:00:47.184 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:66 Tuesday 27 February 2024 23:01:57 +0000 (0:00:00.026) 0:00:47.211 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:79 Tuesday 27 February 2024 23:01:57 +0000 (0:00:00.047) 0:00:47.258 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:94 Tuesday 27 February 2024 23:01:57 +0000 (0:00:00.025) 0:00:47.284 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:111 Tuesday 27 February 2024 23:01:57 +0000 (0:00:00.022) 0:00:47.306 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 27 February 2024 23:01:57 +0000 (0:00:00.027) 0:00:47.334 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:136 Tuesday 27 February 2024 23:01:58 +0000 (0:00:00.397) 0:00:47.732 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 27 February 2024 23:01:58 +0000 (0:00:00.025) 0:00:47.758 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:153 Tuesday 27 February 2024 23:01:58 +0000 (0:00:00.023) 0:00:47.781 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 27 February 2024 23:01:58 +0000 (0:00:00.022) 0:00:47.803 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:174 Tuesday 27 February 2024 23:01:58 +0000 (0:00:00.474) 0:00:48.278 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 27 February 2024 23:01:58 +0000 (0:00:00.023) 0:00:48.301 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:184 Tuesday 27 February 2024 23:01:58 +0000 (0:00:00.023) 0:00:48.325 ****** 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_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 27 February 2024 23:01:58 +0000 (0:00:00.023) 0:00:48.349 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 27 February 2024 23:01:58 +0000 (0:00:00.021) 0:00:48.371 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 27 February 2024 23:01:59 +0000 (0:00:00.211) 0:00:48.582 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 27 February 2024 23:01:59 +0000 (0:00:00.061) 0:00:48.643 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 27 February 2024 23:01:59 +0000 (0:00:00.024) 0:00:48.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 27 February 2024 23:01:59 +0000 (0:00:00.021) 0:00:48.690 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:01:59 +0000 (0:00:00.036) 0:00:48.726 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:01:59 +0000 (0:00:00.034) 0:00:48.761 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003893", "end": "2024-02-27 23:01:59.517733", "rc": 0, "start": "2024-02-27 23:01:59.513840" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:01:59 +0000 (0:00:00.218) 0:00:48.980 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:01:59 +0000 (0:00:00.026) 0:00:49.006 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 27 February 2024 23:01:59 +0000 (0:00:00.023) 0:00:49.030 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 27 February 2024 23:02:00 +0000 (0:00:01.077) 0:00:50.107 ****** 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_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 27 February 2024 23:02:00 +0000 (0:00:00.034) 0:00:50.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 27 February 2024 23:02:00 +0000 (0:00:00.024) 0:00:50.165 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.018027", "end": "2024-02-27 23:02:00.942278", "rc": 0, "start": "2024-02-27 23:02:00.924251" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 27 February 2024 23:02:00 +0000 (0:00:00.244) 0:00:50.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 27 February 2024 23:02:01 +0000 (0:00:00.025) 0:00:50.434 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 27 February 2024 23:02:01 +0000 (0:00:00.026) 0:00:50.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 27 February 2024 23:02:01 +0000 (0:00:00.024) 0:00:50.485 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 27 February 2024 23:02:01 +0000 (0:00:00.023) 0:00:50.509 ****** included: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 27 February 2024 23:02:01 +0000 (0:00:00.058) 0:00:50.567 ****** 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.009432", "end": "2024-02-27 23:02:01.330510", "rc": 0, "start": "2024-02-27 23:02:01.321078" } 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 valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:d4:c2:ea:05 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.14.138/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3080sec preferred_lft 3080sec inet6 fe80::8ff:d4ff:fec2:ea05/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.138 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.138 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 27 February 2024 23:02:01 +0000 (0:00:00.223) 0:00:50.791 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.194454", "end": "2024-02-27 23:02:01.747843", "rc": 0, "start": "2024-02-27 23:02:01.553389" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5648 0 --:--:-- --:--:-- --:--:-- 5754 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2598 0 --:--:-- --:--:-- --:--:-- 2598 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=132 changed=4 unreachable=0 failed=0 skipped=110 rescued=0 ignored=0 Tuesday 27 February 2024 23:02:01 +0000 (0:00:00.408) 0:00:51.199 ****** =============================================================================== linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 10.00s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager --- 3.10s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager --- 2.64s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:28 Install iproute --------------------------------------------------------- 2.26s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.25s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.08s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.05s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.05s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.01s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.94s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Configure networking connection profiles --- 0.84s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Enable and start NetworkManager ------------ 0.80s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/tests_auto_gateway_nm.yml:6 ------- Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-nm_plugin_hotfixnvo_ftow/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, 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. ---^---^---^---^---^---