# 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-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/tests_auto_gateway_nm.yml:6 Tuesday 06 February 2024 16:31:34 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tests_auto_gateway_nm.yml:9 Tuesday 06 February 2024 16:31:35 +0000 (0:00:00.651) 0:00:00.664 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 16:31:35 +0000 (0:00:00.010) 0:00:00.675 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 16:31:35 +0000 (0:00:00.359) 0:00:01.035 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.269) 0:00:01.305 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.020) 0:00:01.325 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.018) 0:00:01.343 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.033) 0:00:01.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.011) 0:00:01.388 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.011) 0:00:01.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.009) 0:00:01.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.010) 0:00:01.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tests_auto_gateway_nm.yml:11 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.009) 0:00:01.429 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.020) 0:00:01.449 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.509) 0:00:01.959 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.023) 0:00:01.982 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.015) 0:00:01.997 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2024-02-06 16:31:36.964690", "rc": 0, "start": "2024-02-06 16:31:36.961230" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.242) 0:00:02.240 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:31:36 +0000 (0:00:00.011) 0:00:02.251 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 06 February 2024 16:31:37 +0000 (0:00:00.010) 0:00:02.262 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:31:37 +0000 (0:00:00.028) 0:00:02.291 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:31:37 +0000 (0:00:00.010) 0:00:02.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:31:37 +0000 (0:00:00.009) 0:00:02.310 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:31:37 +0000 (0:00:00.013) 0:00:02.323 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:31:37 +0000 (0:00:00.012) 0:00:02.335 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003592", "end": "2024-02-06 16:31:37.257986", "rc": 0, "start": "2024-02-06 16:31:37.254394" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:31:37 +0000 (0:00:00.197) 0:00:02.533 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:31:37 +0000 (0:00:00.010) 0:00:02.544 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:31:37 +0000 (0:00:00.011) 0:00:02.556 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:31:39 +0000 (0:00:02.181) 0:00:04.737 ****** 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.019090", "end": "2024-02-06 16:31:39.677292", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 16:31:39.658202" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003719", "end": "2024-02-06 16:31:39.900029", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 16:31:39.896310" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004020", "end": "2024-02-06 16:31:40.092051", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 16:31:40.088031" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.641) 0:00:05.378 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.092085", "end": "2024-02-06 16:31:40.413842", "rc": 0, "start": "2024-02-06 16:31:40.321757" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.330) 0:00:05.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.017) 0:00:05.727 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.024) 0:00:05.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.024) 0:00:05.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.014) 0:00:05.790 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.026) 0:00:05.816 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.033) 0:00:05.850 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.023) 0:00:05.873 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237099.6699207, "block_size": 4096, "blocks": 0, "ctime": 1707237099.6699207, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22972, "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": 1707237099.6699207, "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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.234) 0:00:06.108 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.012) 0:00:06.120 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.009) 0:00:06.129 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.065) 0:00:06.195 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.013) 0:00:06.208 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.013) 0:00:06.222 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:31:40 +0000 (0:00:00.017) 0:00:06.239 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:31:42 +0000 (0:00:01.546) 0:00:07.785 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:31:43 +0000 (0:00:01.241) 0:00:09.027 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:31:43 +0000 (0:00:00.029) 0:00:09.056 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:31:43 +0000 (0:00:00.038) 0:00:09.095 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:31:43 +0000 (0:00:00.026) 0:00:09.121 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:31:43 +0000 (0:00:00.045) 0:00:09.167 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:31:43 +0000 (0:00:00.020) 0:00:09.187 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:31:43 +0000 (0:00:00.042) 0:00:09.230 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:31:44 +0000 (0:00:00.044) 0:00:09.274 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:31:44 +0000 (0:00:00.531) 0:00:09.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:31:44 +0000 (0:00:00.039) 0:00:09.846 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:31:44 +0000 (0:00:00.059) 0:00:09.905 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:31:44 +0000 (0:00:00.024) 0:00:09.930 ****** 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, 16c2c89c-bca5-4cdf-adfa-9f0618d2a906 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 16c2c89c-bca5-4cdf-adfa-9f0618d2a906 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:31:45 +0000 (0:00:00.797) 0:00:10.727 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:31:45 +0000 (0:00:00.021) 0:00:10.749 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 16c2c89c-bca5-4cdf-adfa-9f0618d2a906", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 16c2c89c-bca5-4cdf-adfa-9f0618d2a906 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:31:45 +0000 (0:00:00.022) 0:00:10.772 ****** 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, 16c2c89c-bca5-4cdf-adfa-9f0618d2a906\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 16c2c89c-bca5-4cdf-adfa-9f0618d2a906 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 16c2c89c-bca5-4cdf-adfa-9f0618d2a906", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 16c2c89c-bca5-4cdf-adfa-9f0618d2a906 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:31:45 +0000 (0:00:00.022) 0:00:10.795 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:31:45 +0000 (0:00:00.019) 0:00:10.815 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 06 February 2024 16:31:45 +0000 (0:00:00.295) 0:00:11.111 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:31:45 +0000 (0:00:00.107) 0:00:11.218 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:31:46 +0000 (0:00:00.064) 0:00:11.283 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237099.6699207, "block_size": 4096, "blocks": 0, "ctime": 1707237099.6699207, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22972, "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": 1707237099.6699207, "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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:31:46 +0000 (0:00:00.244) 0:00:11.527 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 06 February 2024 16:31:46 +0000 (0:00:00.037) 0:00:11.564 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:31:46 +0000 (0:00:00.126) 0:00:11.691 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:31:46 +0000 (0:00:00.046) 0:00:11.737 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:31:46 +0000 (0:00:00.025) 0:00:11.763 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:31:46 +0000 (0:00:00.254) 0:00:12.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:31:46 +0000 (0:00:00.030) 0:00:12.047 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.104822", "end": "2024-02-06 16:31:47.081148", "rc": 0, "start": "2024-02-06 16:31:46.976326" } 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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.322) 0:00:12.370 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.034) 0:00:12.404 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.030) 0:00:12.434 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.060) 0:00:12.494 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.052) 0:00:12.546 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.050) 0:00:12.597 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.033) 0:00:12.630 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.042) 0:00:12.673 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.034) 0:00:12.708 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003775", "end": "2024-02-06 16:31:47.630191", "rc": 0, "start": "2024-02-06 16:31:47.626416" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.206 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.206 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.207) 0:00:12.916 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.022) 0:00:12.938 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003522", "end": "2024-02-06 16:31:47.856362", "rc": 0, "start": "2024-02-06 16:31:47.852840" } 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.203) 0:00:13.142 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.023) 0:00:13.166 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.020) 0:00:13.186 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.037) 0:00:13.224 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:31:47 +0000 (0:00:00.026) 0:00:13.250 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:31:48 +0000 (0:00:00.020) 0:00:13.271 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:31:48 +0000 (0:00:00.020) 0:00:13.291 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:31:49 +0000 (0:00:01.488) 0:00:14.780 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:31:50 +0000 (0:00:01.081) 0:00:15.861 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:31:50 +0000 (0:00:00.051) 0:00:15.913 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:31:50 +0000 (0:00:00.042) 0:00:15.955 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:31:50 +0000 (0:00:00.033) 0:00:15.989 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:31:50 +0000 (0:00:00.101) 0:00:16.091 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:31:50 +0000 (0:00:00.078) 0:00:16.169 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:31:50 +0000 (0:00:00.040) 0:00:16.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:31:51 +0000 (0:00:00.053) 0:00:16.263 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:31:51 +0000 (0:00:00.413) 0:00:16.677 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:31:51 +0000 (0:00:00.034) 0:00:16.712 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:31:51 +0000 (0:00:00.046) 0:00:16.759 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:31:51 +0000 (0:00:00.024) 0:00:16.783 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.498) 0:00:17.281 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.054) 0:00:17.336 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.090) 0:00:17.426 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.036) 0:00:17.463 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.023) 0:00:17.486 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.240) 0:00:17.727 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.181) 0:00:17.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.046) 0:00:17.955 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.028) 0:00:17.983 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.080) 0:00:18.063 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:31:52 +0000 (0:00:00.072) 0:00:18.136 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003370", "end": "2024-02-06 16:31:53.183718", "rc": 0, "start": "2024-02-06 16:31:53.180348" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:31:53 +0000 (0:00:00.363) 0:00:18.499 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:31:53 +0000 (0:00:00.033) 0:00:18.532 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:31:53 +0000 (0:00:00.041) 0:00:18.573 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.945) 0:00:19.518 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.032) 0:00:19.551 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.022) 0:00:19.574 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019246", "end": "2024-02-06 16:31:54.514322", "rc": 0, "start": "2024-02-06 16:31:54.495076" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.251) 0:00:19.825 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.084) 0:00:19.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.038) 0:00:19.947 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.032) 0:00:19.980 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.051) 0:00:20.032 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.054) 0:00:20.086 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.061) 0:00:20.148 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.039) 0:00:20.187 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:31:54 +0000 (0:00:00.060) 0:00:20.247 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:31:55 +0000 (0:00:00.071) 0:00:20.319 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:31:55 +0000 (0:00:00.036) 0:00:20.355 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003401", "end": "2024-02-06 16:31:55.280503", "rc": 0, "start": "2024-02-06 16:31:55.277102" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:31:55 +0000 (0:00:00.234) 0:00:20.590 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:31:55 +0000 (0:00:00.026) 0:00:20.617 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:31:55 +0000 (0:00:00.029) 0:00:20.646 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:31:56 +0000 (0:00:00.954) 0:00:21.600 ****** 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.006599", "end": "2024-02-06 16:31:56.553190", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 16:31:56.546591" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003438", "end": "2024-02-06 16:31:56.793443", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 16:31:56.790005" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003616", "end": "2024-02-06 16:31:56.985050", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 16:31:56.981434" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.687) 0:00:22.288 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022237", "end": "2024-02-06 16:31:57.310787", "rc": 0, "start": "2024-02-06 16:31:57.288550" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.338) 0:00:22.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.067) 0:00:22.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.035) 0:00:22.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.089) 0:00:22.819 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.027) 0:00:22.846 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.030) 0:00:22.876 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.055) 0:00:22.932 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.047) 0:00:22.979 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.064) 0:00:23.044 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.042) 0:00:23.086 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:31:59 +0000 (0:00:01.480) 0:00:24.567 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:00 +0000 (0:00:01.128) 0:00:25.695 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:00 +0000 (0:00:00.034) 0:00:25.730 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:00 +0000 (0:00:00.042) 0:00:25.772 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:00 +0000 (0:00:00.021) 0:00:25.794 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:00 +0000 (0:00:00.061) 0:00:25.856 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:00 +0000 (0:00:00.022) 0:00:25.878 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:00 +0000 (0:00:00.020) 0:00:25.898 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:00 +0000 (0:00:00.024) 0:00:25.922 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:01 +0000 (0:00:00.386) 0:00:26.309 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:01 +0000 (0:00:00.048) 0:00:26.358 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:01 +0000 (0:00:00.065) 0:00:26.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:01 +0000 (0:00:00.084) 0:00:26.508 ****** 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, 3a4cf988-c61f-4915-a0cf-388b90383758 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3a4cf988-c61f-4915-a0cf-388b90383758 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:01 +0000 (0:00:00.486) 0:00:26.994 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:01 +0000 (0:00:00.026) 0:00:27.020 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3a4cf988-c61f-4915-a0cf-388b90383758", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3a4cf988-c61f-4915-a0cf-388b90383758 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:01 +0000 (0:00:00.026) 0:00:27.047 ****** 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, 3a4cf988-c61f-4915-a0cf-388b90383758\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3a4cf988-c61f-4915-a0cf-388b90383758 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3a4cf988-c61f-4915-a0cf-388b90383758", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3a4cf988-c61f-4915-a0cf-388b90383758 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:01 +0000 (0:00:00.030) 0:00:27.078 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:01 +0000 (0:00:00.025) 0:00:27.103 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.238) 0:00:27.342 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.080) 0:00:27.422 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.069) 0:00:27.492 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237116.550987, "block_size": 4096, "blocks": 0, "ctime": 1707237116.550987, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23558, "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": 1707237116.550987, "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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.235) 0:00:27.727 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.032) 0:00:27.759 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.122) 0:00:27.881 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.040) 0:00:27.922 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.043) 0:00:27.965 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.244) 0:00:28.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:32:02 +0000 (0:00:00.024) 0:00:28.235 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021638", "end": "2024-02-06 16:32:03.176528", "rc": 0, "start": "2024-02-06 16:32:03.154890" } 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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.236) 0:00:28.471 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.037) 0:00:28.508 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.028) 0:00:28.537 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.051) 0:00:28.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.027) 0:00:28.615 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.025) 0:00:28.640 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.026) 0:00:28.667 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.037) 0:00:28.704 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.024) 0:00:28.728 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003550", "end": "2024-02-06 16:32:03.650222", "rc": 0, "start": "2024-02-06 16:32:03.646672" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.206 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.206 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.207) 0:00:28.936 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.022) 0:00:28.959 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003459", "end": "2024-02-06 16:32:03.876055", "rc": 0, "start": "2024-02-06 16:32:03.872596" } 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.263) 0:00:29.223 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.041) 0:00:29.264 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.054) 0:00:29.318 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.050) 0:00:29.368 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.049) 0:00:29.418 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.042) 0:00:29.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.037) 0:00:29.498 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:05 +0000 (0:00:01.485) 0:00:30.984 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:06 +0000 (0:00:01.056) 0:00:32.041 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.033) 0:00:32.074 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.033) 0:00:32.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.024) 0:00:32.132 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.048) 0:00:32.180 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.038) 0:00:32.218 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.044) 0:00:32.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.027) 0:00:32.291 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.398) 0:00:32.689 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.047) 0:00:32.737 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.034) 0:00:32.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.087) 0:00:32.859 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.539) 0:00:33.398 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.118) 0:00:33.517 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.038) 0:00:33.556 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.112) 0:00:33.669 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.038) 0:00:33.707 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.291) 0:00:33.999 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.110) 0:00:34.109 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.039) 0:00:34.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.045) 0:00:34.194 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:32:09 +0000 (0:00:00.066) 0:00:34.261 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:32:09 +0000 (0:00:00.054) 0:00:34.316 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004407", "end": "2024-02-06 16:32:10.277046", "rc": 0, "start": "2024-02-06 16:32:09.272639" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:32:10 +0000 (0:00:01.255) 0:00:35.571 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:32:10 +0000 (0:00:00.039) 0:00:35.611 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:32:10 +0000 (0:00:00.042) 0:00:35.653 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:32:11 +0000 (0:00:01.047) 0:00:36.701 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.053) 0:00:36.755 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.054) 0:00:36.809 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013088", "end": "2024-02-06 16:32:11.750711", "rc": 0, "start": "2024-02-06 16:32:11.737623" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.259) 0:00:37.069 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.039) 0:00:37.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.075) 0:00:37.183 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.024) 0:00:37.208 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.030) 0:00:37.239 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.18s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.26s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.24s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.13s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.05s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 1.04s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Install iproute --------------------------------------------------------- 0.95s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.95s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.80s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Create veth interface veth0 --------------------------------------------- 0.69s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.65s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tests_auto_gateway_nm.yml:6 --- Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Re-test connectivity ----------------------- 0.53s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---