# 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_rewrite_vqono0n/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_rewrite_vqono0n/tests/tests_auto_gateway_nm.yml:6 Wednesday 14 February 2024 21:15:39 +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_rewrite_vqono0n/tests/tests_auto_gateway_nm.yml:9 Wednesday 14 February 2024 21:15:41 +0000 (0:00:01.137) 0:00:01.149 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/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_rewrite_vqono0n/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 21:15:41 +0000 (0:00:00.021) 0:00:01.170 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 21:15:41 +0000 (0:00:00.766) 0:00:01.937 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.344) 0:00:02.281 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.020) 0:00:02.301 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.015) 0:00:02.317 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.028) 0:00:02.346 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.008) 0:00:02.354 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.008) 0:00:02.362 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.007) 0:00:02.370 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.007) 0:00:02.378 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tests_auto_gateway_nm.yml:11 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.007) 0:00:02.386 **** 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_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 14 February 2024 21:15:42 +0000 (0:00:00.010) 0:00:02.396 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 14 February 2024 21:15:43 +0000 (0:00:00.729) 0:00:03.126 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:15:43 +0000 (0:00:00.034) 0:00:03.160 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:15:43 +0000 (0:00:00.021) 0:00:03.182 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004600", "end": "2024-02-14 21:15:44.397929", "rc": 0, "start": "2024-02-14 21:15:43.393329" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:15:44 +0000 (0:00:01.277) 0:00:04.460 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.011) 0:00:04.472 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.015) 0:00:04.488 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.032) 0:00:04.520 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.018) 0:00:04.538 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.010) 0:00:04.549 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.018) 0:00:04.568 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.012) 0:00:04.580 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003459", "end": "2024-02-14 21:15:44.735201", "rc": 0, "start": "2024-02-14 21:15:44.731742" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.213) 0:00:04.793 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.013) 0:00:04.806 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:15:44 +0000 (0:00:00.011) 0:00:04.818 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 21:15:47 +0000 (0:00:02.574) 0:00:07.393 **** 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.047466", "end": "2024-02-14 21:15:47.588839", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 21:15:47.541373" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003749", "end": "2024-02-14 21:15:47.832148", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 21:15:47.828399" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004317", "end": "2024-02-14 21:15:48.030424", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 21:15:48.026107" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.695) 0:00:08.089 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.207554", "end": "2024-02-14 21:15:48.446426", "rc": 0, "start": "2024-02-14 21:15:48.238872" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.414) 0:00:08.504 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.011) 0:00:08.515 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.016) 0:00:08.531 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.010) 0:00:08.542 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.011) 0:00:08.554 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.015) 0:00:08.570 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.045) 0:00:08.615 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.017) 0:00:08.632 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945347.5838125, "block_size": 4096, "blocks": 0, "ctime": 1707945347.5838125, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26264, "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": 1707945347.5838125, "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_rewrite_vqono0n/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.197) 0:00:08.830 **** 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_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.013) 0:00:08.843 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.011) 0:00:08.855 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.072) 0:00:08.927 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.012) 0:00:08.939 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.009) 0:00:08.949 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:15:48 +0000 (0:00:00.009) 0:00:08.958 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:15:51 +0000 (0:00:02.119) 0:00:11.077 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:15:52 +0000 (0:00:01.064) 0:00:12.141 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:15:52 +0000 (0:00:00.041) 0:00:12.183 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:15:52 +0000 (0:00:00.022) 0:00:12.206 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:15:52 +0000 (0:00:00.022) 0:00:12.229 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:15:52 +0000 (0:00:00.046) 0:00:12.275 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:15:52 +0000 (0:00:00.022) 0:00:12.298 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:15:52 +0000 (0:00:00.023) 0:00:12.321 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:15:52 +0000 (0:00:00.026) 0:00:12.348 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:15:53 +0000 (0:00:00.682) 0:00:13.030 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:15:53 +0000 (0:00:00.028) 0:00:13.058 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:15:53 +0000 (0:00:00.025) 0:00:13.084 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:15:53 +0000 (0:00:00.036) 0:00:13.121 **** 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, 25beb11f-dec3-4990-a1e7-024a210e2eb3 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 25beb11f-dec3-4990-a1e7-024a210e2eb3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:15:53 +0000 (0:00:00.895) 0:00:14.016 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.040) 0:00:14.057 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 25beb11f-dec3-4990-a1e7-024a210e2eb3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 25beb11f-dec3-4990-a1e7-024a210e2eb3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.042) 0:00:14.099 **** 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, 25beb11f-dec3-4990-a1e7-024a210e2eb3\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 25beb11f-dec3-4990-a1e7-024a210e2eb3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 25beb11f-dec3-4990-a1e7-024a210e2eb3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 25beb11f-dec3-4990-a1e7-024a210e2eb3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.031) 0:00:14.130 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.025) 0:00:14.156 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.256) 0:00:14.413 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.050) 0:00:14.463 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.034) 0:00:14.498 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945347.5838125, "block_size": 4096, "blocks": 0, "ctime": 1707945347.5838125, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26264, "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": 1707945347.5838125, "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_rewrite_vqono0n/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.208) 0:00:14.706 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.026) 0:00:14.733 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.080) 0:00:14.813 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/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_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.039) 0:00:14.853 **** 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_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:15:54 +0000 (0:00:00.026) 0:00:14.879 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.203) 0:00:15.083 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.021) 0:00:15.104 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024905", "end": "2024-02-14 21:15:55.271052", "rc": 0, "start": "2024-02-14 21:15:55.246147" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.239) 0:00:15.344 **** 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_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.043) 0:00:15.388 **** 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_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.036) 0:00:15.424 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.026) 0:00:15.450 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.027) 0:00:15.478 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.025) 0:00:15.503 **** 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_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.024) 0:00:15.528 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.023) 0:00:15.551 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.021) 0:00:15.573 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003808", "end": "2024-02-14 21:15:55.718701", "rc": 0, "start": "2024-02-14 21:15:55.714893" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.184 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.10.184 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_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.207) 0:00:15.780 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 14 February 2024 21:15:55 +0000 (0:00:00.023) 0:00:15.804 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003650", "end": "2024-02-14 21:15:55.949556", "rc": 0, "start": "2024-02-14 21:15:55.945906" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 14 February 2024 21:15:56 +0000 (0:00:00.235) 0:00:16.039 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 14 February 2024 21:15:56 +0000 (0:00:00.027) 0:00:16.067 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:15:56 +0000 (0:00:00.044) 0:00:16.112 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:15:56 +0000 (0:00:00.041) 0:00:16.153 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:15:56 +0000 (0:00:00.034) 0:00:16.188 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:15:56 +0000 (0:00:00.023) 0:00:16.211 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:15:56 +0000 (0:00:00.023) 0:00:16.234 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:15:58 +0000 (0:00:02.069) 0:00:18.304 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:15:59 +0000 (0:00:00.911) 0:00:19.216 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:15:59 +0000 (0:00:00.037) 0:00:19.253 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:15:59 +0000 (0:00:00.023) 0:00:19.277 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:15:59 +0000 (0:00:00.040) 0:00:19.317 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:15:59 +0000 (0:00:00.057) 0:00:19.374 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:15:59 +0000 (0:00:00.022) 0:00:19.397 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:15:59 +0000 (0:00:00.049) 0:00:19.446 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:15:59 +0000 (0:00:00.026) 0:00:19.473 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:15:59 +0000 (0:00:00.550) 0:00:20.023 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:16:00 +0000 (0:00:00.034) 0:00:20.057 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:16:00 +0000 (0:00:00.023) 0:00:20.081 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:16:00 +0000 (0:00:00.021) 0:00:20.103 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:16:00 +0000 (0:00:00.468) 0:00:20.572 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:16:00 +0000 (0:00:00.036) 0:00:20.609 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:16:00 +0000 (0:00:00.034) 0:00:20.644 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:16:00 +0000 (0:00:00.048) 0:00:20.692 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:16:00 +0000 (0:00:00.031) 0:00:20.723 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 14 February 2024 21:16:00 +0000 (0:00:00.227) 0:00:20.951 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:16:01 +0000 (0:00:00.086) 0:00:21.037 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:16:01 +0000 (0:00:00.023) 0:00:21.061 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:16:01 +0000 (0:00:00.029) 0:00:21.091 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:16:01 +0000 (0:00:00.048) 0:00:21.139 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:16:01 +0000 (0:00:00.071) 0:00:21.211 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003445", "end": "2024-02-14 21:16:01.371547", "rc": 0, "start": "2024-02-14 21:16:01.368102" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:16:01 +0000 (0:00:00.222) 0:00:21.433 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:16:01 +0000 (0:00:00.023) 0:00:21.457 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:16:01 +0000 (0:00:00.022) 0:00:21.479 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 21:16:03 +0000 (0:00:02.429) 0:00:23.909 **** 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_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 21:16:03 +0000 (0:00:00.033) 0:00:23.942 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 21:16:03 +0000 (0:00:00.024) 0:00:23.967 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019311", "end": "2024-02-14 21:16:04.131120", "rc": 0, "start": "2024-02-14 21:16:04.111809" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.231) 0:00:24.199 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.023) 0:00:24.222 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.033) 0:00:24.256 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.024) 0:00:24.281 **** 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_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.022) 0:00:24.303 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.021) 0:00:24.325 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.082) 0:00:24.407 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.025) 0:00:24.433 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.039) 0:00:24.473 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.064) 0:00:24.537 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.062) 0:00:24.599 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2024-02-14 21:16:04.750502", "rc": 0, "start": "2024-02-14 21:16:04.747050" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.247) 0:00:24.846 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.097) 0:00:24.944 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:16:04 +0000 (0:00:00.059) 0:00:25.004 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 21:16:07 +0000 (0:00:02.394) 0:00:27.399 **** 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.006401", "end": "2024-02-14 21:16:07.552425", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 21:16:07.546024" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003716", "end": "2024-02-14 21:16:07.795061", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 21:16:07.791345" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003734", "end": "2024-02-14 21:16:07.991948", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 21:16:07.988214" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.657) 0:00:28.057 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021480", "end": "2024-02-14 21:16:08.222421", "rc": 0, "start": "2024-02-14 21:16:08.200941" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.230) 0:00:28.287 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.022) 0:00:28.310 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.024) 0:00:28.334 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.023) 0:00:28.358 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.022) 0:00:28.380 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.034) 0:00:28.415 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.070) 0:00:28.485 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.027) 0:00:28.512 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.021) 0:00:28.534 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:16:08 +0000 (0:00:00.021) 0:00:28.555 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:16:10 +0000 (0:00:02.077) 0:00:30.633 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:16:11 +0000 (0:00:00.961) 0:00:31.594 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:16:11 +0000 (0:00:00.025) 0:00:31.620 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:16:11 +0000 (0:00:00.022) 0:00:31.643 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:16:11 +0000 (0:00:00.026) 0:00:31.669 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:16:11 +0000 (0:00:00.058) 0:00:31.727 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:16:11 +0000 (0:00:00.026) 0:00:31.754 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:16:11 +0000 (0:00:00.024) 0:00:31.778 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:16:11 +0000 (0:00:00.026) 0:00:31.805 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:16:12 +0000 (0:00:00.560) 0:00:32.365 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:16:12 +0000 (0:00:00.048) 0:00:32.414 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:16:12 +0000 (0:00:00.045) 0:00:32.459 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:16:12 +0000 (0:00:00.055) 0:00:32.514 **** 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, a39a9ba7-be1a-4028-a5f0-58b02dfa1ba1 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a39a9ba7-be1a-4028-a5f0-58b02dfa1ba1 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:16:12 +0000 (0:00:00.450) 0:00:32.965 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.084) 0:00:33.049 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a39a9ba7-be1a-4028-a5f0-58b02dfa1ba1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a39a9ba7-be1a-4028-a5f0-58b02dfa1ba1 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.047) 0:00:33.097 **** 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, a39a9ba7-be1a-4028-a5f0-58b02dfa1ba1\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a39a9ba7-be1a-4028-a5f0-58b02dfa1ba1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a39a9ba7-be1a-4028-a5f0-58b02dfa1ba1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a39a9ba7-be1a-4028-a5f0-58b02dfa1ba1 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.064) 0:00:33.161 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.026) 0:00:33.187 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.224) 0:00:33.412 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.053) 0:00:33.466 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.036) 0:00:33.502 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945367.5497127, "block_size": 4096, "blocks": 0, "ctime": 1707945367.5497127, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26850, "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": 1707945367.5497127, "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_rewrite_vqono0n/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.208) 0:00:33.711 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.025) 0:00:33.736 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.054) 0:00:33.790 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/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_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.086) 0:00:33.877 **** 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_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:16:13 +0000 (0:00:00.034) 0:00:33.912 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.210) 0:00:34.122 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.024) 0:00:34.146 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021343", "end": "2024-02-14 21:16:14.314970", "rc": 0, "start": "2024-02-14 21:16:14.293627" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.231) 0:00:34.378 **** 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_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.025) 0:00:34.404 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.039) 0:00:34.443 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.039) 0:00:34.482 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.026) 0:00:34.508 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.023) 0:00:34.532 **** 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_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.026) 0:00:34.558 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.025) 0:00:34.584 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.023) 0:00:34.608 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004161", "end": "2024-02-14 21:16:14.768386", "rc": 0, "start": "2024-02-14 21:16:14.764225" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.184 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.184 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_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.236) 0:00:34.844 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 14 February 2024 21:16:14 +0000 (0:00:00.085) 0:00:34.930 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003718", "end": "2024-02-14 21:16:15.077905", "rc": 0, "start": "2024-02-14 21:16:15.074187" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 14 February 2024 21:16:15 +0000 (0:00:00.211) 0:00:35.141 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 14 February 2024 21:16:15 +0000 (0:00:00.026) 0:00:35.168 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:16:15 +0000 (0:00:00.022) 0:00:35.191 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:16:15 +0000 (0:00:00.041) 0:00:35.232 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:16:15 +0000 (0:00:00.029) 0:00:35.262 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:16:15 +0000 (0:00:00.023) 0:00:35.286 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:16:15 +0000 (0:00:00.024) 0:00:35.310 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:16:17 +0000 (0:00:02.069) 0:00:37.379 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:16:18 +0000 (0:00:00.885) 0:00:38.265 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:16:18 +0000 (0:00:00.034) 0:00:38.299 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:16:18 +0000 (0:00:00.024) 0:00:38.323 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:16:18 +0000 (0:00:00.040) 0:00:38.363 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:16:18 +0000 (0:00:00.058) 0:00:38.421 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:16:18 +0000 (0:00:00.032) 0:00:38.454 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:16:18 +0000 (0:00:00.021) 0:00:38.476 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:16:18 +0000 (0:00:00.026) 0:00:38.503 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.541) 0:00:39.044 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.026) 0:00:39.070 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.024) 0:00:39.095 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.022) 0:00:39.117 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.495) 0:00:39.613 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.040) 0:00:39.653 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.035) 0:00:39.689 **** 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_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.028) 0:00:39.718 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.061) 0:00:39.779 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 14 February 2024 21:16:19 +0000 (0:00:00.211) 0:00:39.990 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:16:20 +0000 (0:00:00.108) 0:00:40.099 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:16:20 +0000 (0:00:00.062) 0:00:40.161 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:16:20 +0000 (0:00:00.031) 0:00:40.192 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:16:20 +0000 (0:00:00.055) 0:00:40.248 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:16:20 +0000 (0:00:00.086) 0:00:40.335 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003577", "end": "2024-02-14 21:16:20.542669", "rc": 0, "start": "2024-02-14 21:16:20.539092" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:16:20 +0000 (0:00:00.278) 0:00:40.614 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:16:20 +0000 (0:00:00.035) 0:00:40.649 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:16:20 +0000 (0:00:00.024) 0:00:40.674 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 21:16:23 +0000 (0:00:02.418) 0:00:43.092 **** 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_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.050) 0:00:43.142 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.029) 0:00:43.171 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008295", "end": "2024-02-14 21:16:23.335024", "rc": 0, "start": "2024-02-14 21:16:23.326729" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.262) 0:00:43.434 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.040) 0:00:43.474 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.037) 0:00:43.511 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.040) 0:00:43.551 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.029) 0:00:43.580 **** included: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.069) 0:00:43.650 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008682", "end": "2024-02-14 21:16:23.829544", "rc": 0, "start": "2024-02-14 21:16:23.820862" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 12:04:1a:5a:1d:ad brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.10.184/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2879sec preferred_lft 2879sec inet6 fe80::1004:1aff:fe5a:1dad/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.184 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.184 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.242) 0:00:43.892 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=127 changed=4 unreachable=0 failed=0 skipped=103 rescued=0 ignored=0 Wednesday 14 February 2024 21:16:23 +0000 (0:00:00.018) 0:00:43.911 **** =============================================================================== Install iproute --------------------------------------------------------- 2.57s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.43s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.42s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.39s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.12s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.08s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.07s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.07s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.28s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tests_auto_gateway_nm.yml:6 --- linux-system-roles.network : Enable and start NetworkManager ------------ 1.09s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.96s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.90s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.89s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gather the minimum subset of ansible_facts required by the network role test --- 0.77s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/tasks/el_repo_setup.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.70s /WORKDIR/git-bond_options_rewrite_vqono0n/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---