# 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_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/tests_auto_gateway_nm.yml:6 Wednesday 07 February 2024 11:24:40 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tests_auto_gateway_nm.yml:9 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.612) 0:00:00.624 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:3 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.010) 0:00:00.635 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:19 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.348) 0:00:00.983 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:24 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.260) 0:00:01.243 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:28 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.019) 0:00:01.263 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:53 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.016) 0:00:01.280 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:8 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.029) 0:00:01.309 **** 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_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:24 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.238) 0:00:01.548 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:30 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.010) 0:00:01.558 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:35 Wednesday 07 February 2024 11:24:41 +0000 (0:00:00.010) 0:00:01.568 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.260905", "end": "2024-02-07 11:24:42.416719", "rc": 0, "start": "2024-02-07 11:24:42.155814" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:40 Wednesday 07 February 2024 11:24:42 +0000 (0:00:00.451) 0:00:02.020 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tests_auto_gateway_nm.yml:11 Wednesday 07 February 2024 11:24:42 +0000 (0:00:00.009) 0:00:02.029 **** 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_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 07 February 2024 11:24:42 +0000 (0:00:00.009) 0:00:02.039 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 07 February 2024 11:24:42 +0000 (0:00:00.487) 0:00:02.527 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:24:42 +0000 (0:00:00.023) 0:00:02.551 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:24:42 +0000 (0:00:00.012) 0:00:02.563 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003666", "end": "2024-02-07 11:24:43.152171", "rc": 0, "start": "2024-02-07 11:24:43.148505" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.191) 0:00:02.755 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.012) 0:00:02.767 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.010) 0:00:02.777 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.027) 0:00:02.805 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.009) 0:00:02.814 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.009) 0:00:02.824 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.012) 0:00:02.836 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.012) 0:00:02.848 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003764", "end": "2024-02-07 11:24:43.438550", "rc": 0, "start": "2024-02-07 11:24:43.434786" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.193) 0:00:03.042 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.012) 0:00:03.054 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:24:43 +0000 (0:00:00.010) 0:00:03.064 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 07 February 2024 11:24:46 +0000 (0:00:02.846) 0:00:05.911 **** 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.013289", "end": "2024-02-07 11:24:46.517398", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-07 11:24:46.504109" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004318", "end": "2024-02-07 11:24:46.747940", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-07 11:24:46.743622" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005012", "end": "2024-02-07 11:24:46.937426", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-07 11:24:46.932414" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 07 February 2024 11:24:46 +0000 (0:00:00.630) 0:00:06.541 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025260", "end": "2024-02-07 11:24:47.155498", "rc": 0, "start": "2024-02-07 11:24:47.130238" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.218) 0:00:06.760 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.010) 0:00:06.770 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.033) 0:00:06.804 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.010) 0:00:06.814 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.010) 0:00:06.825 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.009) 0:00:06.835 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.024) 0:00:06.860 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.013) 0:00:06.873 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707305086.508312, "block_size": 4096, "blocks": 0, "ctime": 1707305086.508312, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22759, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1707305086.508312, "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_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.192) 0:00:07.066 **** 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_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.011) 0:00:07.078 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.009) 0:00:07.087 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.066) 0:00:07.154 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.012) 0:00:07.166 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.009) 0:00:07.176 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 07 February 2024 11:24:47 +0000 (0:00:00.009) 0:00:07.185 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 07 February 2024 11:24:49 +0000 (0:00:01.693) 0:00:08.879 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 07 February 2024 11:24:50 +0000 (0:00:01.477) 0:00:10.357 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 07 February 2024 11:24:50 +0000 (0:00:00.021) 0:00:10.379 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 07 February 2024 11:24:50 +0000 (0:00:00.019) 0:00:10.399 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 07 February 2024 11:24:50 +0000 (0:00:00.019) 0:00:10.419 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 07 February 2024 11:24:50 +0000 (0:00:00.041) 0:00:10.460 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 07 February 2024 11:24:50 +0000 (0:00:00.020) 0:00:10.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 07 February 2024 11:24:50 +0000 (0:00:00.020) 0:00:10.500 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 07 February 2024 11:24:50 +0000 (0:00:00.023) 0:00:10.523 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 07 February 2024 11:24:51 +0000 (0:00:00.483) 0:00:11.007 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 07 February 2024 11:24:51 +0000 (0:00:00.025) 0:00:11.032 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 07 February 2024 11:24:51 +0000 (0:00:00.021) 0:00:11.054 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 07 February 2024 11:24:51 +0000 (0:00:00.020) 0:00:11.074 **** 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, 46ec3bb9-a2d5-48e6-a8d2-8904a9c30eae [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 46ec3bb9-a2d5-48e6-a8d2-8904a9c30eae (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.615) 0:00:11.689 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.021) 0:00:11.711 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 46ec3bb9-a2d5-48e6-a8d2-8904a9c30eae", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 46ec3bb9-a2d5-48e6-a8d2-8904a9c30eae (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.022) 0:00:11.734 **** 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, 46ec3bb9-a2d5-48e6-a8d2-8904a9c30eae\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 46ec3bb9-a2d5-48e6-a8d2-8904a9c30eae (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 46ec3bb9-a2d5-48e6-a8d2-8904a9c30eae", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 46ec3bb9-a2d5-48e6-a8d2-8904a9c30eae (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.022) 0:00:11.756 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.020) 0:00:11.777 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.244) 0:00:12.021 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.047) 0:00:12.069 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.034) 0:00:12.104 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707305086.508312, "block_size": 4096, "blocks": 0, "ctime": 1707305086.508312, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22759, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1707305086.508312, "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_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.204) 0:00:12.308 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.023) 0:00:12.332 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.048) 0:00:12.381 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.062) 0:00:12.443 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 07 February 2024 11:24:52 +0000 (0:00:00.021) 0:00:12.465 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707305092.0301554, "block_size": 4096, "blocks": 8, "ctime": 1707305091.9871557, "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": 1707305091.9871557, "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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.203) 0:00:12.669 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.022) 0:00:12.692 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022675", "end": "2024-02-07 11:24:53.302248", "rc": 0, "start": "2024-02-07 11:24:53.279573" } 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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.225) 0:00:12.917 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.026) 0:00:12.944 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.024) 0:00:12.968 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.025) 0:00:12.994 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.023) 0:00:13.017 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.022) 0:00:13.040 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.024) 0:00:13.064 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.024) 0:00:13.089 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.030) 0:00:13.119 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004318", "end": "2024-02-07 11:24:53.717055", "rc": 0, "start": "2024-02-07 11:24:53.712737" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.203 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.203 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_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.248) 0:00:13.368 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 07 February 2024 11:24:53 +0000 (0:00:00.027) 0:00:13.396 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004341", "end": "2024-02-07 11:24:53.989638", "rc": 0, "start": "2024-02-07 11:24:53.985297" } 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_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 07 February 2024 11:24:54 +0000 (0:00:00.208) 0:00:13.604 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 07 February 2024 11:24:54 +0000 (0:00:00.025) 0:00:13.629 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 07 February 2024 11:24:54 +0000 (0:00:00.022) 0:00:13.652 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 07 February 2024 11:24:54 +0000 (0:00:00.038) 0:00:13.690 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 07 February 2024 11:24:54 +0000 (0:00:00.027) 0:00:13.717 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 07 February 2024 11:24:54 +0000 (0:00:00.021) 0:00:13.739 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 07 February 2024 11:24:54 +0000 (0:00:00.021) 0:00:13.761 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 07 February 2024 11:24:55 +0000 (0:00:01.663) 0:00:15.425 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 07 February 2024 11:24:57 +0000 (0:00:01.310) 0:00:16.735 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.023) 0:00:16.759 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.020) 0:00:16.779 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.020) 0:00:16.799 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.042) 0:00:16.842 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.019) 0:00:16.862 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.020) 0:00:16.882 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.023) 0:00:16.906 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.378) 0:00:17.284 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.025) 0:00:17.310 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.020) 0:00:17.330 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 07 February 2024 11:24:57 +0000 (0:00:00.020) 0:00:17.351 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.406) 0:00:17.757 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.020) 0:00:17.777 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.021) 0:00:17.799 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.022) 0:00:17.821 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.020) 0:00:17.842 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.196) 0:00:18.038 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.048) 0:00:18.087 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.048) 0:00:18.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.021) 0:00:18.157 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.035) 0:00:18.192 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.033) 0:00:18.225 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2024-02-07 11:24:58.816167", "rc": 0, "start": "2024-02-07 11:24:58.812524" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.206) 0:00:18.431 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.022) 0:00:18.454 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:24:58 +0000 (0:00:00.021) 0:00:18.475 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 07 February 2024 11:25:01 +0000 (0:00:02.611) 0:00:21.086 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.031) 0:00:21.117 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.020) 0:00:21.138 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014415", "end": "2024-02-07 11:25:01.744894", "rc": 0, "start": "2024-02-07 11:25:01.730479" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.223) 0:00:21.362 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.022) 0:00:21.384 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.021) 0:00:21.406 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.020) 0:00:21.427 **** 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_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.022) 0:00:21.449 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.020) 0:00:21.470 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.050) 0:00:21.520 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:25:01 +0000 (0:00:00.020) 0:00:21.540 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:25:02 +0000 (0:00:00.047) 0:00:21.588 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:25:02 +0000 (0:00:00.035) 0:00:21.624 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:25:02 +0000 (0:00:00.033) 0:00:21.657 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003714", "end": "2024-02-07 11:25:02.249872", "rc": 0, "start": "2024-02-07 11:25:02.246158" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:25:02 +0000 (0:00:00.209) 0:00:21.867 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:25:02 +0000 (0:00:00.022) 0:00:21.889 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:25:02 +0000 (0:00:00.021) 0:00:21.911 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 07 February 2024 11:25:04 +0000 (0:00:02.572) 0:00:24.483 **** 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.006937", "end": "2024-02-07 11:25:05.081643", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-07 11:25:05.074706" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004249", "end": "2024-02-07 11:25:05.316997", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-07 11:25:05.312748" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004869", "end": "2024-02-07 11:25:05.506549", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-07 11:25:05.501680" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.639) 0:00:25.122 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023778", "end": "2024-02-07 11:25:05.735359", "rc": 0, "start": "2024-02-07 11:25:05.711581" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.228) 0:00:25.351 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.022) 0:00:25.373 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.021) 0:00:25.395 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.021) 0:00:25.417 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.022) 0:00:25.439 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.021) 0:00:25.460 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.036) 0:00:25.497 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.025) 0:00:25.523 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 07 February 2024 11:25:05 +0000 (0:00:00.049) 0:00:25.573 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 07 February 2024 11:25:06 +0000 (0:00:00.022) 0:00:25.595 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 07 February 2024 11:25:07 +0000 (0:00:01.647) 0:00:27.243 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 07 February 2024 11:25:08 +0000 (0:00:01.319) 0:00:28.562 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.051) 0:00:28.613 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.021) 0:00:28.635 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.020) 0:00:28.655 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.042) 0:00:28.697 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.022) 0:00:28.720 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.023) 0:00:28.743 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.025) 0:00:28.768 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.355) 0:00:29.124 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.025) 0:00:29.149 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.020) 0:00:29.170 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 07 February 2024 11:25:09 +0000 (0:00:00.020) 0:00:29.190 **** 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, 0597c047-a9e6-4784-8cb8-f6b072493529 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0597c047-a9e6-4784-8cb8-f6b072493529 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.400) 0:00:29.591 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.020) 0:00:29.611 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0597c047-a9e6-4784-8cb8-f6b072493529", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0597c047-a9e6-4784-8cb8-f6b072493529 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.021) 0:00:29.633 **** 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, 0597c047-a9e6-4784-8cb8-f6b072493529\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0597c047-a9e6-4784-8cb8-f6b072493529 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0597c047-a9e6-4784-8cb8-f6b072493529", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0597c047-a9e6-4784-8cb8-f6b072493529 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.022) 0:00:29.656 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.057) 0:00:29.714 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.200) 0:00:29.915 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.052) 0:00:29.967 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.033) 0:00:30.001 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707305105.078886, "block_size": 4096, "blocks": 0, "ctime": 1707305105.078886, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1707305105.078886, "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_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.206) 0:00:30.207 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.024) 0:00:30.231 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.053) 0:00:30.284 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.036) 0:00:30.320 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.021) 0:00:30.342 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707305109.954067, "block_size": 4096, "blocks": 8, "ctime": 1707305109.914067, "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": 1707305109.914067, "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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 07 February 2024 11:25:10 +0000 (0:00:00.226) 0:00:30.569 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.023) 0:00:30.592 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022397", "end": "2024-02-07 11:25:11.205047", "rc": 0, "start": "2024-02-07 11:25:11.182650" } 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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.227) 0:00:30.820 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.024) 0:00:30.845 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.022) 0:00:30.867 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.023) 0:00:30.890 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.023) 0:00:30.914 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.022) 0:00:30.936 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.023) 0:00:30.960 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.023) 0:00:30.983 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.021) 0:00:31.004 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004181", "end": "2024-02-07 11:25:11.598382", "rc": 0, "start": "2024-02-07 11:25:11.594201" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.203 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.203 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_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.207) 0:00:31.212 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.022) 0:00:31.234 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004156", "end": "2024-02-07 11:25:11.825827", "rc": 0, "start": "2024-02-07 11:25:11.821671" } 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_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.206) 0:00:31.440 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.061) 0:00:31.502 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.022) 0:00:31.525 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 07 February 2024 11:25:11 +0000 (0:00:00.037) 0:00:31.563 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 07 February 2024 11:25:12 +0000 (0:00:00.026) 0:00:31.589 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 07 February 2024 11:25:12 +0000 (0:00:00.020) 0:00:31.609 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 07 February 2024 11:25:12 +0000 (0:00:00.020) 0:00:31.630 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 07 February 2024 11:25:13 +0000 (0:00:01.628) 0:00:33.258 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 07 February 2024 11:25:15 +0000 (0:00:01.345) 0:00:34.604 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.022) 0:00:34.627 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.021) 0:00:34.649 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.022) 0:00:34.671 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.044) 0:00:34.715 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.021) 0:00:34.737 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.020) 0:00:34.757 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.024) 0:00:34.781 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.354) 0:00:35.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.059) 0:00:35.195 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.022) 0:00:35.217 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 07 February 2024 11:25:15 +0000 (0:00:00.020) 0:00:35.238 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.403) 0:00:35.641 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.022) 0:00:35.664 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.021) 0:00:35.685 **** 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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.022) 0:00:35.708 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.020) 0:00:35.729 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.197) 0:00:35.926 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.052) 0:00:35.979 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.020) 0:00:36.000 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.020) 0:00:36.020 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.071) 0:00:36.091 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.035) 0:00:36.126 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003705", "end": "2024-02-07 11:25:16.715711", "rc": 0, "start": "2024-02-07 11:25:16.712006" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.203) 0:00:36.330 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.022) 0:00:36.353 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:25:16 +0000 (0:00:00.021) 0:00:36.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_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 07 February 2024 11:25:19 +0000 (0:00:02.639) 0:00:39.014 **** 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_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 07 February 2024 11:25:19 +0000 (0:00:00.032) 0:00:39.047 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 07 February 2024 11:25:19 +0000 (0:00:00.076) 0:00:39.123 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013496", "end": "2024-02-07 11:25:19.729966", "rc": 0, "start": "2024-02-07 11:25:19.716470" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 07 February 2024 11:25:19 +0000 (0:00:00.224) 0:00:39.348 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 07 February 2024 11:25:19 +0000 (0:00:00.024) 0:00:39.373 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:25:19 +0000 (0:00:00.024) 0:00:39.397 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 07 February 2024 11:25:19 +0000 (0:00:00.022) 0:00:39.420 **** 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 Wednesday 07 February 2024 11:25:19 +0000 (0:00:00.009) 0:00:39.429 **** =============================================================================== Install iproute --------------------------------------------------------- 2.85s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.57s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.48s /WORKDIR/git-bond_options_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.32s /WORKDIR/git-bond_options_rewrite9fyx5qyq/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_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.81s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.73s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Configure networking connection profiles --- 0.62s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tests_auto_gateway_nm.yml:6 --- Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_auto_gateway.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 0.48s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---