# 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_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tests_auto_gateway_nm.yml:6 Friday 09 February 2024 13:32:19 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_auto_gateway_nm.yml:9 Friday 09 February 2024 13:32:20 +0000 (0:00:00.730) 0:00:00.743 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 13:32:20 +0000 (0:00:00.017) 0:00:00.760 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 13:32:20 +0000 (0:00:00.347) 0:00:01.108 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 13:32:20 +0000 (0:00:00.282) 0:00:01.390 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 13:32:20 +0000 (0:00:00.028) 0:00:01.419 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 13:32:20 +0000 (0:00:00.023) 0:00:01.442 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 13:32:20 +0000 (0:00:00.062) 0:00:01.505 ******* 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_rewritekh3yrgl7/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 13:32:21 +0000 (0:00:00.319) 0:00:01.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 13:32:21 +0000 (0:00:00.012) 0:00:01.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 13:32:21 +0000 (0:00:00.011) 0:00:01.848 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243398", "end": "2024-02-09 13:32:21.548231", "rc": 0, "start": "2024-02-09 13:32:21.304833" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 13:32:21 +0000 (0:00:00.446) 0:00:02.295 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_auto_gateway_nm.yml:11 Friday 09 February 2024 13:32:21 +0000 (0:00:00.012) 0:00:02.307 ******* 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_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:3 Friday 09 February 2024 13:32:21 +0000 (0:00:00.035) 0:00:02.343 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:9 Friday 09 February 2024 13:32:22 +0000 (0:00:00.465) 0:00:02.808 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:32:22 +0000 (0:00:00.034) 0:00:02.843 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:32:22 +0000 (0:00:00.013) 0:00:02.857 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002937", "end": "2024-02-09 13:32:22.305751", "rc": 0, "start": "2024-02-09 13:32:22.302814" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:32:22 +0000 (0:00:00.185) 0:00:03.042 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:32:22 +0000 (0:00:00.015) 0:00:03.057 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:11 Friday 09 February 2024 13:32:22 +0000 (0:00:00.017) 0:00:03.074 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:32:22 +0000 (0:00:00.030) 0:00:03.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:32:22 +0000 (0:00:00.010) 0:00:03.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:32:22 +0000 (0:00:00.009) 0:00:03.125 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:32:22 +0000 (0:00:00.013) 0:00:03.138 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:32:22 +0000 (0:00:00.024) 0:00:03.163 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003005", "end": "2024-02-09 13:32:22.613136", "rc": 0, "start": "2024-02-09 13:32:22.610131" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:32:22 +0000 (0:00:00.186) 0:00:03.350 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:32:22 +0000 (0:00:00.012) 0:00:03.362 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:32:22 +0000 (0:00:00.011) 0:00:03.374 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:32:25 +0000 (0:00:03.094) 0:00:06.469 ******* 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.013197", "end": "2024-02-09 13:32:25.964961", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 13:32:25.951764" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004508", "end": "2024-02-09 13:32:26.222229", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 13:32:26.217721" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003955", "end": "2024-02-09 13:32:26.403803", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 13:32:26.399848" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:32:26 +0000 (0:00:00.672) 0:00:07.141 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023521", "end": "2024-02-09 13:32:26.615358", "rc": 0, "start": "2024-02-09 13:32:26.591837" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:32:26 +0000 (0:00:00.223) 0:00:07.364 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:32:26 +0000 (0:00:00.013) 0:00:07.378 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:32:26 +0000 (0:00:00.011) 0:00:07.390 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:32:26 +0000 (0:00:00.015) 0:00:07.405 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:32:26 +0000 (0:00:00.011) 0:00:07.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:15 Friday 09 February 2024 13:32:26 +0000 (0:00:00.011) 0:00:07.429 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:32:26 +0000 (0:00:00.027) 0:00:07.457 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:32:26 +0000 (0:00:00.037) 0:00:07.494 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707485545.9550722, "block_size": 4096, "blocks": 0, "ctime": 1707485545.9550722, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22795, "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": 1707485545.9550722, "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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:32:26 +0000 (0:00:00.188) 0:00:07.683 ******* 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_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:17 Friday 09 February 2024 13:32:26 +0000 (0:00:00.015) 0:00:07.698 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:32:26 +0000 (0:00:00.011) 0:00:07.710 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:32:27 +0000 (0:00:00.067) 0:00:07.777 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:32:27 +0000 (0:00:00.014) 0:00:07.792 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:32:27 +0000 (0:00:00.021) 0:00:07.814 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:32:27 +0000 (0:00:00.010) 0:00:07.825 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:32:28 +0000 (0:00:01.543) 0:00:09.368 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:32:30 +0000 (0:00:01.485) 0:00:10.853 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:32:30 +0000 (0:00:00.026) 0:00:10.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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:32:30 +0000 (0:00:00.034) 0:00:10.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:32:30 +0000 (0:00:00.034) 0:00:10.949 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:32:30 +0000 (0:00:00.100) 0:00:11.049 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:32:30 +0000 (0:00:00.027) 0:00:11.077 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:32:30 +0000 (0:00:00.027) 0:00:11.105 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:32:30 +0000 (0:00:00.034) 0:00:11.139 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:32:31 +0000 (0:00:00.590) 0:00:11.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:32:31 +0000 (0:00:00.029) 0:00:11.758 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:32:31 +0000 (0:00:00.023) 0:00:11.782 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:32:31 +0000 (0:00:00.050) 0:00:11.833 ******* 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, 71d59059-091e-4bf1-b1b2-438ba8ad0e9f [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 71d59059-091e-4bf1-b1b2-438ba8ad0e9f (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:32:31 +0000 (0:00:00.603) 0:00:12.436 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:32:31 +0000 (0:00:00.023) 0:00:12.460 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 71d59059-091e-4bf1-b1b2-438ba8ad0e9f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 71d59059-091e-4bf1-b1b2-438ba8ad0e9f (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:32:31 +0000 (0:00:00.025) 0:00:12.486 ******* 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, 71d59059-091e-4bf1-b1b2-438ba8ad0e9f\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 71d59059-091e-4bf1-b1b2-438ba8ad0e9f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 71d59059-091e-4bf1-b1b2-438ba8ad0e9f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 71d59059-091e-4bf1-b1b2-438ba8ad0e9f (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:32:31 +0000 (0:00:00.036) 0:00:12.522 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:32:31 +0000 (0:00:00.041) 0:00:12.563 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:42 Friday 09 February 2024 13:32:32 +0000 (0:00:00.321) 0:00:12.885 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:32:32 +0000 (0:00:00.092) 0:00:12.977 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:32:32 +0000 (0:00:00.048) 0:00:13.026 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707485545.9550722, "block_size": 4096, "blocks": 0, "ctime": 1707485545.9550722, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22795, "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": 1707485545.9550722, "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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:32:32 +0000 (0:00:00.242) 0:00:13.269 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:44 Friday 09 February 2024 13:32:32 +0000 (0:00:00.025) 0:00:13.294 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 13:32:32 +0000 (0:00:00.051) 0:00:13.345 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:32:32 +0000 (0:00:00.047) 0:00:13.392 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:32:32 +0000 (0:00:00.023) 0:00:13.416 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707485551.6419868, "block_size": 4096, "blocks": 8, "ctime": 1707485551.599987, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707485551.599987, "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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:32:32 +0000 (0:00:00.207) 0:00:13.623 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:32:32 +0000 (0:00:00.040) 0:00:13.664 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021405", "end": "2024-02-09 13:32:33.133965", "rc": 0, "start": "2024-02-09 13:32:33.112560" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:32:33 +0000 (0:00:00.269) 0:00:13.933 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:32:33 +0000 (0:00:00.058) 0:00:13.991 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:32:33 +0000 (0:00:00.039) 0:00:14.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:32:33 +0000 (0:00:00.063) 0:00:14.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:32:33 +0000 (0:00:00.047) 0:00:14.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 13:32:33 +0000 (0:00:00.068) 0:00:14.211 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 13:32:33 +0000 (0:00:00.038) 0:00:14.249 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 13:32:33 +0000 (0:00:00.039) 0:00:14.289 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:48 Friday 09 February 2024 13:32:33 +0000 (0:00:00.033) 0:00:14.322 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003415", "end": "2024-02-09 13:32:33.780495", "rc": 0, "start": "2024-02-09 13:32:33.777080" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.120 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.120 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_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:52 Friday 09 February 2024 13:32:33 +0000 (0:00:00.206) 0:00:14.528 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:58 Friday 09 February 2024 13:32:33 +0000 (0:00:00.025) 0:00:14.553 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003794", "end": "2024-02-09 13:32:34.030710", "rc": 0, "start": "2024-02-09 13:32:34.026916" } 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_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:62 Friday 09 February 2024 13:32:34 +0000 (0:00:00.248) 0:00:14.802 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:69 Friday 09 February 2024 13:32:34 +0000 (0:00:00.039) 0:00:14.842 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:32:34 +0000 (0:00:00.040) 0:00:14.882 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:32:34 +0000 (0:00:00.045) 0:00:14.927 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:32:34 +0000 (0:00:00.099) 0:00:15.027 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:32:34 +0000 (0:00:00.070) 0:00:15.097 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:32:34 +0000 (0:00:00.074) 0:00:15.172 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:32:35 +0000 (0:00:01.522) 0:00:16.694 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:32:37 +0000 (0:00:01.345) 0:00:18.039 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:32:37 +0000 (0:00:00.040) 0:00:18.080 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:32:37 +0000 (0:00:00.047) 0:00:18.127 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:32:37 +0000 (0:00:00.057) 0:00:18.184 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:32:37 +0000 (0:00:00.183) 0:00:18.368 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:32:37 +0000 (0:00:00.079) 0:00:18.448 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:32:37 +0000 (0:00:00.080) 0:00:18.528 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:32:37 +0000 (0:00:00.062) 0:00:18.591 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:32:38 +0000 (0:00:00.431) 0:00:19.023 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:32:38 +0000 (0:00:00.059) 0:00:19.083 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:32:38 +0000 (0:00:00.038) 0:00:19.121 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:32:38 +0000 (0:00:00.031) 0:00:19.153 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:32:38 +0000 (0:00:00.502) 0:00:19.655 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:32:38 +0000 (0:00:00.033) 0:00:19.688 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:32:39 +0000 (0:00:00.031) 0:00:19.720 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:32:39 +0000 (0:00:00.041) 0:00:19.762 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:32:39 +0000 (0:00:00.048) 0:00:19.811 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:81 Friday 09 February 2024 13:32:39 +0000 (0:00:00.233) 0:00:20.045 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:32:39 +0000 (0:00:00.113) 0:00:20.158 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:32:39 +0000 (0:00:00.027) 0:00:20.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:32:39 +0000 (0:00:00.024) 0:00:20.210 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:32:39 +0000 (0:00:00.058) 0:00:20.269 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:32:39 +0000 (0:00:00.048) 0:00:20.317 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002931", "end": "2024-02-09 13:32:39.775297", "rc": 0, "start": "2024-02-09 13:32:39.772366" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:32:39 +0000 (0:00:00.214) 0:00:20.532 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:32:39 +0000 (0:00:00.025) 0:00:20.557 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:32:39 +0000 (0:00:00.026) 0:00:20.584 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:32:42 +0000 (0:00:02.727) 0:00:23.311 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:32:42 +0000 (0:00:00.035) 0:00:23.347 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:32:42 +0000 (0:00:00.029) 0:00:23.376 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014007", "end": "2024-02-09 13:32:42.859884", "rc": 0, "start": "2024-02-09 13:32:42.845877" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:32:42 +0000 (0:00:00.234) 0:00:23.610 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:32:42 +0000 (0:00:00.025) 0:00:23.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:32:42 +0000 (0:00:00.026) 0:00:23.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:32:42 +0000 (0:00:00.032) 0:00:23.695 ******* 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_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:85 Friday 09 February 2024 13:32:43 +0000 (0:00:00.023) 0:00:23.719 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:89 Friday 09 February 2024 13:32:43 +0000 (0:00:00.029) 0:00:23.748 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:32:43 +0000 (0:00:00.082) 0:00:23.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:32:43 +0000 (0:00:00.031) 0:00:23.862 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:32:43 +0000 (0:00:00.047) 0:00:23.909 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:32:43 +0000 (0:00:00.052) 0:00:23.961 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:32:43 +0000 (0:00:00.168) 0:00:24.130 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002946", "end": "2024-02-09 13:32:43.589448", "rc": 0, "start": "2024-02-09 13:32:43.586502" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:32:43 +0000 (0:00:00.208) 0:00:24.338 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:32:43 +0000 (0:00:00.025) 0:00:24.363 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:32:43 +0000 (0:00:00.028) 0:00:24.392 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:32:46 +0000 (0:00:02.593) 0:00:26.985 ******* 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.011857", "end": "2024-02-09 13:32:46.477071", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 13:32:46.465214" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003496", "end": "2024-02-09 13:32:46.694234", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 13:32:46.690738" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004344", "end": "2024-02-09 13:32:46.877227", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 13:32:46.872883" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:32:46 +0000 (0:00:00.647) 0:00:27.633 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024416", "end": "2024-02-09 13:32:47.113893", "rc": 0, "start": "2024-02-09 13:32:47.089477" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:32:47 +0000 (0:00:00.306) 0:00:27.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:32:47 +0000 (0:00:00.042) 0:00:27.982 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:32:47 +0000 (0:00:00.034) 0:00:28.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:32:47 +0000 (0:00:00.029) 0:00:28.047 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:32:47 +0000 (0:00:00.026) 0:00:28.073 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:32:47 +0000 (0:00:00.043) 0:00:28.116 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:32:47 +0000 (0:00:00.053) 0:00:28.170 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:32:47 +0000 (0:00:00.038) 0:00:28.209 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:32:47 +0000 (0:00:00.023) 0:00:28.233 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:32:47 +0000 (0:00:00.022) 0:00:28.256 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:32:49 +0000 (0:00:01.536) 0:00:29.793 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:32:50 +0000 (0:00:01.353) 0:00:31.146 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:32:50 +0000 (0:00:00.069) 0:00:31.216 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:32:50 +0000 (0:00:00.061) 0:00:31.277 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:32:50 +0000 (0:00:00.037) 0:00:31.315 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:32:50 +0000 (0:00:00.092) 0:00:31.407 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:32:50 +0000 (0:00:00.026) 0:00:31.434 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:32:50 +0000 (0:00:00.034) 0:00:31.468 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:32:50 +0000 (0:00:00.048) 0:00:31.517 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:32:51 +0000 (0:00:00.434) 0:00:31.952 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:32:51 +0000 (0:00:00.147) 0:00:32.099 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:32:51 +0000 (0:00:00.044) 0:00:32.144 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:32:51 +0000 (0:00:00.041) 0:00:32.186 ******* 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, 0f91629a-08ee-438e-ba1d-86f07a3aaeb9 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0f91629a-08ee-438e-ba1d-86f07a3aaeb9 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:32:52 +0000 (0:00:00.589) 0:00:32.775 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:32:52 +0000 (0:00:00.058) 0:00:32.834 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0f91629a-08ee-438e-ba1d-86f07a3aaeb9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0f91629a-08ee-438e-ba1d-86f07a3aaeb9 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:32:52 +0000 (0:00:00.035) 0:00:32.869 ******* 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, 0f91629a-08ee-438e-ba1d-86f07a3aaeb9\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0f91629a-08ee-438e-ba1d-86f07a3aaeb9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0f91629a-08ee-438e-ba1d-86f07a3aaeb9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0f91629a-08ee-438e-ba1d-86f07a3aaeb9 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:32:52 +0000 (0:00:00.050) 0:00:32.920 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:32:52 +0000 (0:00:00.028) 0:00:32.948 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:110 Friday 09 February 2024 13:32:52 +0000 (0:00:00.252) 0:00:33.201 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:32:52 +0000 (0:00:00.103) 0:00:33.305 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:32:52 +0000 (0:00:00.079) 0:00:33.384 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707485566.4684923, "block_size": 4096, "blocks": 0, "ctime": 1707485566.4684923, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23381, "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": 1707485566.4684923, "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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:32:52 +0000 (0:00:00.249) 0:00:33.634 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:112 Friday 09 February 2024 13:32:53 +0000 (0:00:00.136) 0:00:33.770 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 13:32:53 +0000 (0:00:00.078) 0:00:33.848 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:32:53 +0000 (0:00:00.074) 0:00:33.923 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:32:53 +0000 (0:00:00.037) 0:00:33.961 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707485571.9928384, "block_size": 4096, "blocks": 8, "ctime": 1707485571.9518387, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707485571.9518387, "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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:32:53 +0000 (0:00:00.227) 0:00:34.188 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:32:53 +0000 (0:00:00.024) 0:00:34.213 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020438", "end": "2024-02-09 13:32:53.681589", "rc": 0, "start": "2024-02-09 13:32:53.661151" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:32:53 +0000 (0:00:00.217) 0:00:34.431 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:32:53 +0000 (0:00:00.027) 0:00:34.458 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:32:53 +0000 (0:00:00.025) 0:00:34.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:32:53 +0000 (0:00:00.025) 0:00:34.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:32:53 +0000 (0:00:00.026) 0:00:34.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 13:32:53 +0000 (0:00:00.034) 0:00:34.571 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 13:32:53 +0000 (0:00:00.080) 0:00:34.651 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 13:32:53 +0000 (0:00:00.027) 0:00:34.679 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:116 Friday 09 February 2024 13:32:53 +0000 (0:00:00.027) 0:00:34.707 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003990", "end": "2024-02-09 13:32:54.160023", "rc": 0, "start": "2024-02-09 13:32:54.156033" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.120 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.120 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_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:120 Friday 09 February 2024 13:32:54 +0000 (0:00:00.221) 0:00:34.929 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:126 Friday 09 February 2024 13:32:54 +0000 (0:00:00.043) 0:00:34.972 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003427", "end": "2024-02-09 13:32:54.434858", "rc": 0, "start": "2024-02-09 13:32:54.431431" } 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_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:130 Friday 09 February 2024 13:32:54 +0000 (0:00:00.211) 0:00:35.183 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:137 Friday 09 February 2024 13:32:54 +0000 (0:00:00.032) 0:00:35.216 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:32:54 +0000 (0:00:00.023) 0:00:35.240 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:32:54 +0000 (0:00:00.041) 0:00:35.281 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:32:54 +0000 (0:00:00.028) 0:00:35.309 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:32:54 +0000 (0:00:00.023) 0:00:35.333 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:32:54 +0000 (0:00:00.022) 0:00:35.355 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:32:56 +0000 (0:00:01.483) 0:00:36.839 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:32:57 +0000 (0:00:01.306) 0:00:38.145 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:32:57 +0000 (0:00:00.050) 0:00:38.196 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:32:57 +0000 (0:00:00.056) 0:00:38.252 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:32:57 +0000 (0:00:00.028) 0:00:38.281 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:32:57 +0000 (0:00:00.084) 0:00:38.366 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:32:57 +0000 (0:00:00.047) 0:00:38.413 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:32:57 +0000 (0:00:00.028) 0:00:38.441 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:32:57 +0000 (0:00:00.140) 0:00:38.582 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:32:58 +0000 (0:00:00.383) 0:00:38.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:32:58 +0000 (0:00:00.028) 0:00:38.994 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:32:58 +0000 (0:00:00.024) 0:00:39.019 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:32:58 +0000 (0:00:00.028) 0:00:39.047 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:32:58 +0000 (0:00:00.422) 0:00:39.469 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:32:58 +0000 (0:00:00.028) 0:00:39.498 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:32:58 +0000 (0:00:00.035) 0:00:39.533 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:32:58 +0000 (0:00:00.035) 0:00:39.568 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:32:58 +0000 (0:00:00.043) 0:00:39.612 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_auto_gateway.yml:149 Friday 09 February 2024 13:32:59 +0000 (0:00:00.262) 0:00:39.874 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:32:59 +0000 (0:00:00.109) 0:00:39.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:32:59 +0000 (0:00:00.044) 0:00:40.029 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:32:59 +0000 (0:00:00.152) 0:00:40.181 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:32:59 +0000 (0:00:00.055) 0:00:40.237 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:32:59 +0000 (0:00:00.068) 0:00:40.305 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002930", "end": "2024-02-09 13:32:59.773045", "rc": 0, "start": "2024-02-09 13:32:59.770115" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:32:59 +0000 (0:00:00.221) 0:00:40.527 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:32:59 +0000 (0:00:00.040) 0:00:40.567 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:32:59 +0000 (0:00:00.035) 0:00:40.602 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:33:02 +0000 (0:00:02.674) 0:00:43.277 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:33:02 +0000 (0:00:00.039) 0:00:43.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:33:02 +0000 (0:00:00.025) 0:00:43.342 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009991", "end": "2024-02-09 13:33:02.801778", "rc": 0, "start": "2024-02-09 13:33:02.791787" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:33:02 +0000 (0:00:00.313) 0:00:43.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:33:02 +0000 (0:00:00.045) 0:00:43.701 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:33:03 +0000 (0:00:00.026) 0:00:43.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:33:03 +0000 (0:00:00.109) 0:00:43.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Friday 09 February 2024 13:33:03 +0000 (0:00:00.039) 0:00:43.876 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.09s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.73s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.67s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.49s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.92s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.82s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_auto_gateway_nm.yml:6 --- Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Configure networking connection profiles --- 0.60s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.59s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---