# 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_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/tests_auto_gateway_nm.yml:6 Wednesday 31 January 2024 23:27:47 +0000 (0:00:00.021) 0:00:00.022 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tests_auto_gateway_nm.yml:9 Wednesday 31 January 2024 23:27:47 +0000 (0:00:00.657) 0:00:00.679 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:27:47 +0000 (0:00:00.021) 0:00:00.701 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:19 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.350) 0:00:01.051 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:24 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.296) 0:00:01.348 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:28 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.035) 0:00:01.384 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:53 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.031) 0:00:01.415 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.057) 0:00:01.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.018) 0:00:01.491 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.017) 0:00:01.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.018) 0:00:01.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.016) 0:00:01.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tests_auto_gateway_nm.yml:11 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.014) 0:00:01.559 ***** 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_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 31 January 2024 23:27:48 +0000 (0:00:00.020) 0:00:01.580 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.516) 0:00:02.096 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.036) 0:00:02.132 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.019) 0:00:02.151 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003169", "end": "2024-01-31 23:27:49.406819", "rc": 0, "start": "2024-01-31 23:27:49.403650" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.257) 0:00:02.409 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.027) 0:00:02.436 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.015) 0:00:02.452 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.053) 0:00:02.505 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.014) 0:00:02.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.017) 0:00:02.537 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.019) 0:00:02.556 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.017) 0:00:02.574 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003201", "end": "2024-01-31 23:27:49.766523", "rc": 0, "start": "2024-01-31 23:27:49.763322" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.188) 0:00:02.763 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.014) 0:00:02.778 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:27:49 +0000 (0:00:00.013) 0:00:02.791 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:27:51 +0000 (0:00:02.094) 0:00:04.885 ***** 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.019104", "end": "2024-01-31 23:27:52.102122", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:27:52.083018" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003376", "end": "2024-01-31 23:27:52.315584", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:27:52.312208" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003525", "end": "2024-01-31 23:27:52.495647", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:27:52.492122" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:27:52 +0000 (0:00:00.609) 0:00:05.494 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.120299", "end": "2024-01-31 23:27:52.807768", "rc": 0, "start": "2024-01-31 23:27:52.687469" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:27:52 +0000 (0:00:00.313) 0:00:05.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:27:52 +0000 (0:00:00.016) 0:00:05.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:27:52 +0000 (0:00:00.014) 0:00:05.839 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:27:52 +0000 (0:00:00.017) 0:00:05.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:27:52 +0000 (0:00:00.014) 0:00:05.871 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 31 January 2024 23:27:52 +0000 (0:00:00.014) 0:00:05.885 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:27:52 +0000 (0:00:00.047) 0:00:05.933 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:27:53 +0000 (0:00:00.046) 0:00:05.980 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743672.095636, "block_size": 4096, "blocks": 0, "ctime": 1706743672.095636, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22925, "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": 1706743672.095636, "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_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:27:53 +0000 (0:00:00.192) 0:00:06.172 ***** 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_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 31 January 2024 23:27:53 +0000 (0:00:00.020) 0:00:06.193 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:27:53 +0000 (0:00:00.017) 0:00:06.210 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:27:53 +0000 (0:00:00.126) 0:00:06.337 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:27:53 +0000 (0:00:00.017) 0:00:06.355 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:27:53 +0000 (0:00:00.017) 0:00:06.373 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:27:53 +0000 (0:00:00.016) 0:00:06.389 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:27:54 +0000 (0:00:01.515) 0:00:07.905 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:27:56 +0000 (0:00:01.150) 0:00:09.056 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:27:56 +0000 (0:00:00.066) 0:00:09.122 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:27:56 +0000 (0:00:00.034) 0:00:09.156 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:27:56 +0000 (0:00:00.030) 0:00:09.186 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:27:56 +0000 (0:00:00.068) 0:00:09.255 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:27:56 +0000 (0:00:00.028) 0:00:09.283 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:27:56 +0000 (0:00:00.038) 0:00:09.321 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:27:56 +0000 (0:00:00.038) 0:00:09.360 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:27:57 +0000 (0:00:00.644) 0:00:10.004 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:27:57 +0000 (0:00:00.035) 0:00:10.039 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:27:57 +0000 (0:00:00.030) 0:00:10.069 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:27:57 +0000 (0:00:00.026) 0:00:10.096 ***** 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, 56b3af55-7c93-464b-9c5e-211d1d3e0ee3 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 56b3af55-7c93-464b-9c5e-211d1d3e0ee3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:27:57 +0000 (0:00:00.829) 0:00:10.926 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.071) 0:00:10.997 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 56b3af55-7c93-464b-9c5e-211d1d3e0ee3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 56b3af55-7c93-464b-9c5e-211d1d3e0ee3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.041) 0:00:11.039 ***** 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, 56b3af55-7c93-464b-9c5e-211d1d3e0ee3\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 56b3af55-7c93-464b-9c5e-211d1d3e0ee3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 56b3af55-7c93-464b-9c5e-211d1d3e0ee3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 56b3af55-7c93-464b-9c5e-211d1d3e0ee3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.042) 0:00:11.082 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.040) 0:00:11.122 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.301) 0:00:11.424 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.100) 0:00:11.525 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.053) 0:00:11.578 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743672.095636, "block_size": 4096, "blocks": 0, "ctime": 1706743672.095636, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22925, "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": 1706743672.095636, "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_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.215) 0:00:11.793 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.041) 0:00:11.834 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:27:58 +0000 (0:00:00.098) 0:00:11.933 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.059) 0:00:11.993 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.095) 0:00:12.088 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.248) 0:00:12.337 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.054) 0:00:12.391 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.121502", "end": "2024-01-31 23:27:59.719864", "rc": 0, "start": "2024-01-31 23:27:59.598362" } 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.352) 0:00:12.744 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.040) 0:00:12.784 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.034) 0:00:12.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.031) 0:00:12.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.036) 0:00:12.886 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.031) 0:00:12.918 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:27:59 +0000 (0:00:00.042) 0:00:12.960 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.040) 0:00:13.001 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.036) 0:00:13.038 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003812", "end": "2024-01-31 23:28:00.239789", "rc": 0, "start": "2024-01-31 23:28:00.235977" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.129 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.129 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_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.227) 0:00:13.265 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.038) 0:00:13.303 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003561", "end": "2024-01-31 23:28:00.503569", "rc": 0, "start": "2024-01-31 23:28:00.500008" } 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_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.220) 0:00:13.524 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.079) 0:00:13.603 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.034) 0:00:13.637 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.066) 0:00:13.703 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.044) 0:00:13.748 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.038) 0:00:13.787 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:28:00 +0000 (0:00:00.029) 0:00:13.816 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:28:02 +0000 (0:00:01.446) 0:00:15.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:28:03 +0000 (0:00:01.072) 0:00:16.335 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:28:03 +0000 (0:00:00.067) 0:00:16.403 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:28:03 +0000 (0:00:00.067) 0:00:16.471 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:28:03 +0000 (0:00:00.060) 0:00:16.531 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:28:03 +0000 (0:00:00.103) 0:00:16.635 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:28:03 +0000 (0:00:00.032) 0:00:16.668 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:28:03 +0000 (0:00:00.034) 0:00:16.702 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:28:03 +0000 (0:00:00.050) 0:00:16.753 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:28:04 +0000 (0:00:00.386) 0:00:17.140 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:28:04 +0000 (0:00:00.049) 0:00:17.190 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:28:04 +0000 (0:00:00.038) 0:00:17.228 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:28:04 +0000 (0:00:00.064) 0:00:17.293 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:28:04 +0000 (0:00:00.561) 0:00:17.854 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:28:04 +0000 (0:00:00.033) 0:00:17.888 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:28:04 +0000 (0:00:00.039) 0:00:17.927 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:28:04 +0000 (0:00:00.033) 0:00:17.961 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.034) 0:00:17.996 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.205) 0:00:18.201 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.109) 0:00:18.311 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.059) 0:00:18.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.061) 0:00:18.432 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.077) 0:00:18.509 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.069) 0:00:18.578 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003144", "end": "2024-01-31 23:28:05.777628", "rc": 0, "start": "2024-01-31 23:28:05.774484" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.231) 0:00:18.810 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.070) 0:00:18.880 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:28:05 +0000 (0:00:00.093) 0:00:18.973 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:28:06 +0000 (0:00:00.928) 0:00:19.902 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.097) 0:00:20.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.045) 0:00:20.045 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016316", "end": "2024-01-31 23:28:07.261434", "rc": 0, "start": "2024-01-31 23:28:07.245118" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.249) 0:00:20.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.047) 0:00:20.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.045) 0:00:20.389 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.036) 0:00:20.425 ***** 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_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.051) 0:00:20.477 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.059) 0:00:20.537 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.112) 0:00:20.649 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.030) 0:00:20.679 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.083) 0:00:20.763 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.062) 0:00:20.826 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:28:07 +0000 (0:00:00.071) 0:00:20.897 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003365", "end": "2024-01-31 23:28:08.090810", "rc": 0, "start": "2024-01-31 23:28:08.087445" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:28:08 +0000 (0:00:00.209) 0:00:21.107 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:28:08 +0000 (0:00:00.043) 0:00:21.150 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:28:08 +0000 (0:00:00.030) 0:00:21.181 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:28:09 +0000 (0:00:00.914) 0:00:22.095 ***** 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.014900", "end": "2024-01-31 23:28:09.310862", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:28:09.295962" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003440", "end": "2024-01-31 23:28:09.509366", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:28:09.505926" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004476", "end": "2024-01-31 23:28:09.695537", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:28:09.691061" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:28:09 +0000 (0:00:00.613) 0:00:22.708 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021446", "end": "2024-01-31 23:28:09.920018", "rc": 0, "start": "2024-01-31 23:28:09.898572" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:28:09 +0000 (0:00:00.225) 0:00:22.934 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:28:10 +0000 (0:00:00.090) 0:00:23.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:28:10 +0000 (0:00:00.041) 0:00:23.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:28:10 +0000 (0:00:00.028) 0:00:23.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:28:10 +0000 (0:00:00.028) 0:00:23.124 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:28:10 +0000 (0:00:00.025) 0:00:23.150 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:28:10 +0000 (0:00:00.049) 0:00:23.199 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:28:10 +0000 (0:00:00.040) 0:00:23.240 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:28:10 +0000 (0:00:00.045) 0:00:23.286 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:28:10 +0000 (0:00:00.030) 0:00:23.317 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:28:11 +0000 (0:00:01.428) 0:00:24.745 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:28:12 +0000 (0:00:00.989) 0:00:25.735 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:28:12 +0000 (0:00:00.040) 0:00:25.775 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:28:12 +0000 (0:00:00.035) 0:00:25.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:28:12 +0000 (0:00:00.037) 0:00:25.849 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:28:12 +0000 (0:00:00.078) 0:00:25.927 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:28:12 +0000 (0:00:00.041) 0:00:25.968 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:28:13 +0000 (0:00:00.038) 0:00:26.007 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:28:13 +0000 (0:00:00.038) 0:00:26.045 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:28:13 +0000 (0:00:00.409) 0:00:26.454 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:28:13 +0000 (0:00:00.048) 0:00:26.503 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:28:13 +0000 (0:00:00.047) 0:00:26.551 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:28:13 +0000 (0:00:00.089) 0:00:26.640 ***** 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, 543362e4-a16b-4c18-95de-f6902767e524 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 543362e4-a16b-4c18-95de-f6902767e524 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.461) 0:00:27.101 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.037) 0:00:27.139 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 543362e4-a16b-4c18-95de-f6902767e524", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 543362e4-a16b-4c18-95de-f6902767e524 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.040) 0:00:27.179 ***** 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, 543362e4-a16b-4c18-95de-f6902767e524\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 543362e4-a16b-4c18-95de-f6902767e524 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 543362e4-a16b-4c18-95de-f6902767e524", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 543362e4-a16b-4c18-95de-f6902767e524 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.048) 0:00:27.227 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.035) 0:00:27.263 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.218) 0:00:27.481 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.109) 0:00:27.590 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.063) 0:00:27.654 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743689.2995243, "block_size": 4096, "blocks": 0, "ctime": 1706743689.2995243, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23511, "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": 1706743689.2995243, "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_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.215) 0:00:27.870 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 31 January 2024 23:28:14 +0000 (0:00:00.069) 0:00:27.939 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.229) 0:00:28.168 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.095) 0:00:28.264 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.042) 0:00:28.306 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.205) 0:00:28.511 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.029) 0:00:28.540 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021481", "end": "2024-01-31 23:28:15.756940", "rc": 0, "start": "2024-01-31 23:28:15.735459" } 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.230) 0:00:28.770 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.036) 0:00:28.806 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.044) 0:00:28.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.032) 0:00:28.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.032) 0:00:28.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:28:15 +0000 (0:00:00.036) 0:00:28.952 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.040) 0:00:28.992 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.039) 0:00:29.031 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.040) 0:00:29.072 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003353", "end": "2024-01-31 23:28:16.275300", "rc": 0, "start": "2024-01-31 23:28:16.271947" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.129 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.129 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_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.249) 0:00:29.322 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.031) 0:00:29.353 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003609", "end": "2024-01-31 23:28:16.543990", "rc": 0, "start": "2024-01-31 23:28:16.540381" } 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_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.204) 0:00:29.558 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.036) 0:00:29.594 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.031) 0:00:29.625 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.052) 0:00:29.678 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.036) 0:00:29.715 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.031) 0:00:29.746 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:28:16 +0000 (0:00:00.035) 0:00:29.782 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:28:18 +0000 (0:00:01.462) 0:00:31.245 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.950) 0:00:32.195 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.031) 0:00:32.227 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.028) 0:00:32.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.028) 0:00:32.283 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.072) 0:00:32.355 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.041) 0:00:32.396 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.032) 0:00:32.428 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.041) 0:00:32.470 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.405) 0:00:32.875 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:28:19 +0000 (0:00:00.084) 0:00:32.959 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:28:20 +0000 (0:00:00.132) 0:00:33.092 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:28:20 +0000 (0:00:00.057) 0:00:33.150 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:28:20 +0000 (0:00:00.523) 0:00:33.674 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:28:20 +0000 (0:00:00.078) 0:00:33.752 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:28:20 +0000 (0:00:00.040) 0:00:33.792 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:28:20 +0000 (0:00:00.046) 0:00:33.839 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:28:20 +0000 (0:00:00.032) 0:00:33.872 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 31 January 2024 23:28:21 +0000 (0:00:00.254) 0:00:34.127 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:28:21 +0000 (0:00:00.211) 0:00:34.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:28:21 +0000 (0:00:00.043) 0:00:34.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:28:21 +0000 (0:00:00.042) 0:00:34.424 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:28:21 +0000 (0:00:00.057) 0:00:34.481 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:28:21 +0000 (0:00:00.126) 0:00:34.608 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003232", "end": "2024-01-31 23:28:21.813750", "rc": 0, "start": "2024-01-31 23:28:21.810518" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:28:21 +0000 (0:00:00.239) 0:00:34.847 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:28:21 +0000 (0:00:00.044) 0:00:34.892 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:28:21 +0000 (0:00:00.045) 0:00:34.937 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:28:22 +0000 (0:00:00.936) 0:00:35.874 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:28:22 +0000 (0:00:00.053) 0:00:35.927 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:28:22 +0000 (0:00:00.030) 0:00:35.957 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.018680", "end": "2024-01-31 23:28:23.168477", "rc": 0, "start": "2024-01-31 23:28:23.149797" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:28:23 +0000 (0:00:00.224) 0:00:36.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:28:23 +0000 (0:00:00.038) 0:00:36.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:28:23 +0000 (0:00:00.032) 0:00:36.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:28:23 +0000 (0:00:00.030) 0:00:36.284 ***** 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 Wednesday 31 January 2024 23:28:23 +0000 (0:00:00.014) 0:00:36.298 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.09s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.15s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.09s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.94s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.93s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.79s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tests_auto_gateway_nm.yml:6 --- linux-system-roles.network : Enable and start NetworkManager ------------ 0.64s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---