# 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_rewritexl6ptndw/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_rewritexl6ptndw/tests/tests_auto_gateway_nm.yml:6 Wednesday 14 February 2024 02:29:51 +0000 (0:00:00.013) 0:00:00.013 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tests_auto_gateway_nm.yml:9 Wednesday 14 February 2024 02:29:52 +0000 (0:00:00.691) 0:00:00.704 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:29:52 +0000 (0:00:00.011) 0:00:00.716 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:29:52 +0000 (0:00:00.338) 0:00:01.054 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:29:52 +0000 (0:00:00.256) 0:00:01.311 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:29:52 +0000 (0:00:00.020) 0:00:01.331 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:29:52 +0000 (0:00:00.019) 0:00:01.350 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:29:52 +0000 (0:00:00.033) 0:00:01.384 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:29:53 +0000 (0:00:00.235) 0:00:01.619 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:29:53 +0000 (0:00:00.012) 0:00:01.631 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:29:53 +0000 (0:00:00.011) 0:00:01.643 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.246447", "end": "2024-02-14 02:29:53.513723", "rc": 0, "start": "2024-02-14 02:29:53.267276" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:29:53 +0000 (0:00:00.436) 0:00:02.079 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tests_auto_gateway_nm.yml:11 Wednesday 14 February 2024 02:29:53 +0000 (0:00:00.011) 0:00:02.090 **** 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_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 14 February 2024 02:29:53 +0000 (0:00:00.012) 0:00:02.103 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.480) 0:00:02.584 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.023) 0:00:02.607 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.014) 0:00:02.621 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003380", "end": "2024-02-14 02:29:54.243128", "rc": 0, "start": "2024-02-14 02:29:54.239748" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.186) 0:00:02.808 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.014) 0:00:02.822 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.011) 0:00:02.833 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.028) 0:00:02.862 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.010) 0:00:02.873 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.009) 0:00:02.883 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.014) 0:00:02.897 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.013) 0:00:02.911 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003342", "end": "2024-02-14 02:29:54.533714", "rc": 0, "start": "2024-02-14 02:29:54.530372" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.187) 0:00:03.098 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.012) 0:00:03.111 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:29:54 +0000 (0:00:00.010) 0:00:03.122 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:29:57 +0000 (0:00:02.896) 0:00:06.018 **** 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.008415", "end": "2024-02-14 02:29:57.649261", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 02:29:57.640846" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003701", "end": "2024-02-14 02:29:57.876097", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 02:29:57.872396" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004604", "end": "2024-02-14 02:29:58.061070", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 02:29:58.056466" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.608) 0:00:06.627 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023479", "end": "2024-02-14 02:29:58.270433", "rc": 0, "start": "2024-02-14 02:29:58.246954" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.211) 0:00:06.838 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.013) 0:00:06.852 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.012) 0:00:06.864 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.011) 0:00:06.876 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.012) 0:00:06.888 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.011) 0:00:06.900 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.027) 0:00:06.928 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.015) 0:00:06.943 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877797.6448033, "block_size": 4096, "blocks": 0, "ctime": 1707877797.6448033, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22759, "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": 1707877797.6448033, "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_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.187) 0:00:07.130 **** 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_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.013) 0:00:07.144 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.012) 0:00:07.157 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.071) 0:00:07.229 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.016) 0:00:07.245 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.010) 0:00:07.256 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:29:58 +0000 (0:00:00.012) 0:00:07.268 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:00 +0000 (0:00:01.563) 0:00:08.832 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:01 +0000 (0:00:01.447) 0:00:10.279 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:01 +0000 (0:00:00.030) 0:00:10.309 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:01 +0000 (0:00:00.059) 0:00:10.369 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:01 +0000 (0:00:00.034) 0:00:10.404 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:01 +0000 (0:00:00.051) 0:00:10.455 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:01 +0000 (0:00:00.024) 0:00:10.480 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:01 +0000 (0:00:00.024) 0:00:10.504 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:01 +0000 (0:00:00.028) 0:00:10.532 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:02 +0000 (0:00:00.523) 0:00:11.055 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:02 +0000 (0:00:00.029) 0:00:11.085 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:02 +0000 (0:00:00.025) 0:00:11.110 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:02 +0000 (0:00:00.022) 0:00:11.133 **** 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, f3f48437-29e1-431f-940e-bb4263b7a0e5 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f3f48437-29e1-431f-940e-bb4263b7a0e5 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.708) 0:00:11.842 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.023) 0:00:11.865 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, f3f48437-29e1-431f-940e-bb4263b7a0e5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f3f48437-29e1-431f-940e-bb4263b7a0e5 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.059) 0:00:11.924 **** 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, f3f48437-29e1-431f-940e-bb4263b7a0e5\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f3f48437-29e1-431f-940e-bb4263b7a0e5 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, f3f48437-29e1-431f-940e-bb4263b7a0e5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f3f48437-29e1-431f-940e-bb4263b7a0e5 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.025) 0:00:11.950 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.023) 0:00:11.974 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.248) 0:00:12.222 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.052) 0:00:12.274 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.038) 0:00:12.313 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877797.6448033, "block_size": 4096, "blocks": 0, "ctime": 1707877797.6448033, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22759, "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": 1707877797.6448033, "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_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.201) 0:00:12.514 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 14 February 2024 02:30:03 +0000 (0:00:00.025) 0:00:12.539 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.050) 0:00:12.590 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.074) 0:00:12.664 **** 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_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.024) 0:00:12.688 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877803.243112, "block_size": 4096, "blocks": 8, "ctime": 1707877803.2011125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434771, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707877803.2011125, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.200) 0:00:12.889 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.024) 0:00:12.913 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021558", "end": "2024-02-14 02:30:04.555908", "rc": 0, "start": "2024-02-14 02:30:04.534350" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.218) 0:00:13.132 **** 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_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.027) 0:00:13.160 **** 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_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.026) 0:00:13.186 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.026) 0:00:13.213 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.025) 0:00:13.238 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.026) 0:00:13.265 **** 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_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.026) 0:00:13.291 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.025) 0:00:13.317 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.025) 0:00:13.342 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004137", "end": "2024-02-14 02:30:04.968169", "rc": 0, "start": "2024-02-14 02:30:04.964032" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.5 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.5 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_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 14 February 2024 02:30:04 +0000 (0:00:00.201) 0:00:13.544 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 14 February 2024 02:30:05 +0000 (0:00:00.062) 0:00:13.607 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004023", "end": "2024-02-14 02:30:05.234733", "rc": 0, "start": "2024-02-14 02:30:05.230710" } 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_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 14 February 2024 02:30:05 +0000 (0:00:00.204) 0:00:13.812 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 14 February 2024 02:30:05 +0000 (0:00:00.026) 0:00:13.839 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:05 +0000 (0:00:00.025) 0:00:13.864 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:05 +0000 (0:00:00.041) 0:00:13.905 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:05 +0000 (0:00:00.030) 0:00:13.936 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:05 +0000 (0:00:00.023) 0:00:13.960 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:05 +0000 (0:00:00.022) 0:00:13.982 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:06 +0000 (0:00:01.528) 0:00:15.510 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:08 +0000 (0:00:01.343) 0:00:16.854 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.025) 0:00:16.879 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.024) 0:00:16.904 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.024) 0:00:16.928 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.046) 0:00:16.975 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.025) 0:00:17.000 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.022) 0:00:17.023 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.027) 0:00:17.050 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.345) 0:00:17.395 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.027) 0:00:17.423 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.023) 0:00:17.447 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:08 +0000 (0:00:00.022) 0:00:17.470 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.397) 0:00:17.867 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.023) 0:00:17.890 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.025) 0:00:17.916 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.024) 0:00:17.940 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.022) 0:00:17.963 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.193) 0:00:18.157 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.052) 0:00:18.209 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.023) 0:00:18.232 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.065) 0:00:18.298 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.038) 0:00:18.337 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:30:09 +0000 (0:00:00.037) 0:00:18.374 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003308", "end": "2024-02-14 02:30:09.999092", "rc": 0, "start": "2024-02-14 02:30:09.995784" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:30:10 +0000 (0:00:00.200) 0:00:18.575 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:30:10 +0000 (0:00:00.025) 0:00:18.600 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:30:10 +0000 (0:00:00.024) 0:00:18.624 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:30:12 +0000 (0:00:02.643) 0:00:21.268 **** 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_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:30:12 +0000 (0:00:00.069) 0:00:21.337 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:30:12 +0000 (0:00:00.025) 0:00:21.362 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015247", "end": "2024-02-14 02:30:13.003950", "rc": 0, "start": "2024-02-14 02:30:12.988703" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.222) 0:00:21.585 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.025) 0:00:21.610 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.027) 0:00:21.638 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.024) 0:00:21.663 **** 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_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.024) 0:00:21.687 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.023) 0:00:21.710 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.054) 0:00:21.765 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.022) 0:00:21.787 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.021) 0:00:21.809 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.037) 0:00:21.847 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.078) 0:00:21.926 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003327", "end": "2024-02-14 02:30:13.555835", "rc": 0, "start": "2024-02-14 02:30:13.552508" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.207) 0:00:22.133 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.025) 0:00:22.158 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:30:13 +0000 (0:00:00.023) 0:00:22.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_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:30:16 +0000 (0:00:02.605) 0:00:24.787 **** 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.006376", "end": "2024-02-14 02:30:16.419393", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 02:30:16.413017" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003822", "end": "2024-02-14 02:30:16.647392", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 02:30:16.643570" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004620", "end": "2024-02-14 02:30:16.831770", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 02:30:16.827150" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:30:16 +0000 (0:00:00.622) 0:00:25.410 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023094", "end": "2024-02-14 02:30:17.055245", "rc": 0, "start": "2024-02-14 02:30:17.032151" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.223) 0:00:25.633 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.023) 0:00:25.657 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.064) 0:00:25.721 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.024) 0:00:25.745 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.024) 0:00:25.770 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.024) 0:00:25.795 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.040) 0:00:25.836 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.029) 0:00:25.865 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.022) 0:00:25.888 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.023) 0:00:25.912 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:18 +0000 (0:00:01.521) 0:00:27.433 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:20 +0000 (0:00:01.378) 0:00:28.812 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.025) 0:00:28.838 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.025) 0:00:28.863 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.023) 0:00:28.886 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.045) 0:00:28.931 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.025) 0:00:28.957 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.024) 0:00:28.981 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.031) 0:00:29.013 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.393) 0:00:29.406 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.027) 0:00:29.434 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.024) 0:00:29.458 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.024) 0:00:29.482 **** 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, 2d265773-5823-4d6d-aa0f-20167ef2df47 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2d265773-5823-4d6d-aa0f-20167ef2df47 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:21 +0000 (0:00:00.394) 0:00:29.877 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:21 +0000 (0:00:00.025) 0:00:29.902 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 2d265773-5823-4d6d-aa0f-20167ef2df47", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2d265773-5823-4d6d-aa0f-20167ef2df47 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:21 +0000 (0:00:00.031) 0:00:29.933 **** 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, 2d265773-5823-4d6d-aa0f-20167ef2df47\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2d265773-5823-4d6d-aa0f-20167ef2df47 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 2d265773-5823-4d6d-aa0f-20167ef2df47", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2d265773-5823-4d6d-aa0f-20167ef2df47 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:21 +0000 (0:00:00.028) 0:00:29.962 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:21 +0000 (0:00:00.036) 0:00:29.998 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 14 February 2024 02:30:21 +0000 (0:00:00.207) 0:00:30.205 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:30:21 +0000 (0:00:00.055) 0:00:30.260 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:30:21 +0000 (0:00:00.037) 0:00:30.297 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877816.4167233, "block_size": 4096, "blocks": 0, "ctime": 1707877816.4167233, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23345, "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": 1707877816.4167233, "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_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.251) 0:00:30.549 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.027) 0:00:30.576 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.058) 0:00:30.634 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.040) 0:00:30.675 **** 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_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.040) 0:00:30.715 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877821.2819984, "block_size": 4096, "blocks": 8, "ctime": 1707877821.2399986, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434771, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707877821.2399986, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.212) 0:00:30.927 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.025) 0:00:30.953 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021777", "end": "2024-02-14 02:30:22.596722", "rc": 0, "start": "2024-02-14 02:30:22.574945" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.219) 0:00:31.173 **** 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_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.025) 0:00:31.198 **** 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_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.025) 0:00:31.224 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.025) 0:00:31.249 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.025) 0:00:31.275 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.086) 0:00:31.361 **** 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_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.028) 0:00:31.390 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.030) 0:00:31.420 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 14 February 2024 02:30:22 +0000 (0:00:00.045) 0:00:31.466 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003626", "end": "2024-02-14 02:30:23.091768", "rc": 0, "start": "2024-02-14 02:30:23.088142" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.5 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.5 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_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 14 February 2024 02:30:23 +0000 (0:00:00.202) 0:00:31.668 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 14 February 2024 02:30:23 +0000 (0:00:00.028) 0:00:31.697 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003714", "end": "2024-02-14 02:30:23.323893", "rc": 0, "start": "2024-02-14 02:30:23.320179" } 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_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 14 February 2024 02:30:23 +0000 (0:00:00.202) 0:00:31.900 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 14 February 2024 02:30:23 +0000 (0:00:00.026) 0:00:31.926 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:23 +0000 (0:00:00.023) 0:00:31.949 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:23 +0000 (0:00:00.039) 0:00:31.989 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:23 +0000 (0:00:00.029) 0:00:32.018 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:23 +0000 (0:00:00.023) 0:00:32.042 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:23 +0000 (0:00:00.022) 0:00:32.065 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:25 +0000 (0:00:01.527) 0:00:33.592 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:26 +0000 (0:00:01.307) 0:00:34.899 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.025) 0:00:34.925 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.025) 0:00:34.950 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.026) 0:00:34.977 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.104) 0:00:35.081 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.024) 0:00:35.106 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.025) 0:00:35.131 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.028) 0:00:35.160 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.346) 0:00:35.506 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.031) 0:00:35.537 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.026) 0:00:35.563 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.025) 0:00:35.589 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.399) 0:00:35.989 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.024) 0:00:36.013 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.035) 0:00:36.049 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.026) 0:00:36.075 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.025) 0:00:36.101 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.196) 0:00:36.298 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.124) 0:00:36.422 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.026) 0:00:36.449 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.024) 0:00:36.474 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.037) 0:00:36.512 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.038) 0:00:36.550 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003185", "end": "2024-02-14 02:30:28.179167", "rc": 0, "start": "2024-02-14 02:30:28.175982" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.205) 0:00:36.756 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.026) 0:00:36.782 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.024) 0:00:36.807 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:30:30 +0000 (0:00:02.663) 0:00:39.471 **** 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_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:30:30 +0000 (0:00:00.037) 0:00:39.508 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:30:30 +0000 (0:00:00.026) 0:00:39.535 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011052", "end": "2024-02-14 02:30:31.170041", "rc": 0, "start": "2024-02-14 02:30:31.158989" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.214) 0:00:39.749 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.024) 0:00:39.774 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.024) 0:00:39.799 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.024) 0:00:39.823 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.023) 0:00:39.846 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.112) 0:00:39.959 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.009801", "end": "2024-02-14 02:30:31.588144", "rc": 0, "start": "2024-02-14 02:30:31.578343" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:a0:04:fe:df:ef brd ff:ff:ff:ff:ff:ff inet 10.31.9.5/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2676sec preferred_lft 2676sec inet6 fe80::10a0:4ff:fefe:dfef/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.5 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.5 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.206) 0:00:40.165 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.314107", "end": "2024-02-14 02:30:32.106994", "rc": 0, "start": "2024-02-14 02:30:31.792887" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1431 0 --:--:-- --:--:-- --:--:-- 1425 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 3779 0 --:--:-- --:--:-- --:--:-- 3828 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=132 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Wednesday 14 February 2024 02:30:32 +0000 (0:00:00.505) 0:00:40.670 **** =============================================================================== Install iproute --------------------------------------------------------- 2.90s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.66s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.80s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 0.71s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.69s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tests_auto_gateway_nm.yml:6 --- Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.52s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Verify DNS and ping still work ------------------------------------------ 0.51s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml:24 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---