# 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_rewritee9dz3rzu/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_rewritee9dz3rzu/tests/tests_auto_gateway_nm.yml:6 Monday 12 February 2024 22:58:03 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tests_auto_gateway_nm.yml:9 Monday 12 February 2024 22:58:03 +0000 (0:00:00.684) 0:00:00.696 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/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_rewritee9dz3rzu/tests/tasks/el_repo_setup.yml:3 Monday 12 February 2024 22:58:03 +0000 (0:00:00.021) 0:00:00.718 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/el_repo_setup.yml:19 Monday 12 February 2024 22:58:04 +0000 (0:00:00.353) 0:00:01.071 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/el_repo_setup.yml:24 Monday 12 February 2024 22:58:04 +0000 (0:00:00.288) 0:00:01.359 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/el_repo_setup.yml:28 Monday 12 February 2024 22:58:04 +0000 (0:00:00.034) 0:00:01.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/el_repo_setup.yml:53 Monday 12 February 2024 22:58:04 +0000 (0:00:00.017) 0:00:01.411 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/enable_epel.yml:8 Monday 12 February 2024 22:58:04 +0000 (0:00:00.030) 0:00:01.442 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/enable_epel.yml:24 Monday 12 February 2024 22:58:04 +0000 (0:00:00.009) 0:00:01.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/enable_epel.yml:30 Monday 12 February 2024 22:58:04 +0000 (0:00:00.024) 0:00:01.476 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/enable_epel.yml:35 Monday 12 February 2024 22:58:04 +0000 (0:00:00.009) 0:00:01.486 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tasks/enable_epel.yml:40 Monday 12 February 2024 22:58:04 +0000 (0:00:00.009) 0:00:01.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tests_auto_gateway_nm.yml:11 Monday 12 February 2024 22:58:04 +0000 (0:00:00.009) 0:00:01.505 ******* 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_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:3 Monday 12 February 2024 22:58:04 +0000 (0:00:00.010) 0:00:01.515 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:9 Monday 12 February 2024 22:58:05 +0000 (0:00:00.490) 0:00:02.006 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:05 +0000 (0:00:00.022) 0:00:02.028 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:05 +0000 (0:00:00.012) 0:00:02.040 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003216", "end": "2024-02-12 22:58:05.409547", "rc": 0, "start": "2024-02-12 22:58:05.406331" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:05 +0000 (0:00:00.229) 0:00:02.270 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:05 +0000 (0:00:00.011) 0:00:02.282 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:11 Monday 12 February 2024 22:58:05 +0000 (0:00:00.011) 0:00:02.293 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:58:05 +0000 (0:00:00.051) 0:00:02.345 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:58:05 +0000 (0:00:00.009) 0:00:02.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:58:05 +0000 (0:00:00.009) 0:00:02.364 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:05 +0000 (0:00:00.012) 0:00:02.376 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:05 +0000 (0:00:00.011) 0:00:02.388 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004466", "end": "2024-02-12 22:58:06.713365", "rc": 0, "start": "2024-02-12 22:58:05.708899" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:06 +0000 (0:00:01.183) 0:00:03.572 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:06 +0000 (0:00:00.012) 0:00:03.584 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:58:06 +0000 (0:00:00.017) 0:00:03.602 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 12 February 2024 22:58:08 +0000 (0:00:02.019) 0:00:05.622 ******* 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.020097", "end": "2024-02-12 22:58:08.972280", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-12 22:58:08.952183" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003579", "end": "2024-02-12 22:58:09.189683", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-12 22:58:09.186104" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003610", "end": "2024-02-12 22:58:09.368272", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-12 22:58:09.364662" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 12 February 2024 22:58:09 +0000 (0:00:00.606) 0:00:06.228 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.099156", "end": "2024-02-12 22:58:09.651802", "rc": 0, "start": "2024-02-12 22:58:09.552646" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 12 February 2024 22:58:09 +0000 (0:00:00.283) 0:00:06.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 12 February 2024 22:58:09 +0000 (0:00:00.012) 0:00:06.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 12 February 2024 22:58:09 +0000 (0:00:00.010) 0:00:06.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:58:09 +0000 (0:00:00.010) 0:00:06.544 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 12 February 2024 22:58:09 +0000 (0:00:00.011) 0:00:06.556 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:15 Monday 12 February 2024 22:58:09 +0000 (0:00:00.010) 0:00:06.566 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 22:58:09 +0000 (0:00:00.041) 0:00:06.608 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 22:58:09 +0000 (0:00:00.014) 0:00:06.622 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778688.9657292, "block_size": 4096, "blocks": 0, "ctime": 1707778688.9657292, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22968, "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": 1707778688.9657292, "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_rewritee9dz3rzu/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 22:58:09 +0000 (0:00:00.183) 0:00:06.805 ******* 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_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:17 Monday 12 February 2024 22:58:09 +0000 (0:00:00.013) 0:00:06.819 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:58:09 +0000 (0:00:00.009) 0:00:06.829 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:58:10 +0000 (0:00:00.068) 0:00:06.897 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:58:10 +0000 (0:00:00.011) 0:00:06.909 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:58:10 +0000 (0:00:00.011) 0:00:06.920 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:58:10 +0000 (0:00:00.010) 0:00:06.930 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:58:11 +0000 (0:00:01.454) 0:00:08.385 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:58:12 +0000 (0:00:01.064) 0:00:09.450 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:58:12 +0000 (0:00:00.021) 0:00:09.472 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:58:12 +0000 (0:00:00.041) 0:00:09.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:58:12 +0000 (0:00:00.021) 0:00:09.535 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:58:12 +0000 (0:00:00.042) 0:00:09.578 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:58:12 +0000 (0:00:00.022) 0:00:09.600 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:58:12 +0000 (0:00:00.021) 0:00:09.622 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:58:12 +0000 (0:00:00.026) 0:00:09.648 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:58:13 +0000 (0:00:00.506) 0:00:10.154 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:58:13 +0000 (0:00:00.024) 0:00:10.179 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:58:13 +0000 (0:00:00.021) 0:00:10.200 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:58:13 +0000 (0:00:00.020) 0:00:10.221 ******* 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, c0b4230f-4fe2-46e3-9c08-78f127f41f0c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c0b4230f-4fe2-46e3-9c08-78f127f41f0c (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:58:14 +0000 (0:00:00.993) 0:00:11.214 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:58:14 +0000 (0:00:00.051) 0:00:11.266 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c0b4230f-4fe2-46e3-9c08-78f127f41f0c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c0b4230f-4fe2-46e3-9c08-78f127f41f0c (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:58:14 +0000 (0:00:00.022) 0:00:11.289 ******* 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, c0b4230f-4fe2-46e3-9c08-78f127f41f0c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c0b4230f-4fe2-46e3-9c08-78f127f41f0c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c0b4230f-4fe2-46e3-9c08-78f127f41f0c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c0b4230f-4fe2-46e3-9c08-78f127f41f0c (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:58:14 +0000 (0:00:00.023) 0:00:11.312 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:58:14 +0000 (0:00:00.020) 0:00:11.332 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:42 Monday 12 February 2024 22:58:14 +0000 (0:00:00.234) 0:00:11.566 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 22:58:14 +0000 (0:00:00.047) 0:00:11.614 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 22:58:14 +0000 (0:00:00.034) 0:00:11.648 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778688.9657292, "block_size": 4096, "blocks": 0, "ctime": 1707778688.9657292, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22968, "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": 1707778688.9657292, "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_rewritee9dz3rzu/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 22:58:15 +0000 (0:00:00.194) 0:00:11.843 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:44 Monday 12 February 2024 22:58:15 +0000 (0:00:00.024) 0:00:11.867 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 22:58:15 +0000 (0:00:00.049) 0:00:11.917 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 22:58:15 +0000 (0:00:00.035) 0:00:11.952 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 22:58:15 +0000 (0:00:00.052) 0:00:12.005 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 22:58:15 +0000 (0:00:00.191) 0:00:12.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 22:58:15 +0000 (0:00:00.020) 0:00:12.217 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.157541", "end": "2024-02-12 22:58:15.696832", "rc": 0, "start": "2024-02-12 22:58:15.539291" } 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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 22:58:15 +0000 (0:00:00.352) 0:00:12.570 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 22:58:15 +0000 (0:00:00.025) 0:00:12.595 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 22:58:15 +0000 (0:00:00.023) 0:00:12.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 22:58:15 +0000 (0:00:00.023) 0:00:12.642 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 22:58:15 +0000 (0:00:00.024) 0:00:12.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 22:58:15 +0000 (0:00:00.021) 0:00:12.688 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 22:58:15 +0000 (0:00:00.022) 0:00:12.710 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 22:58:15 +0000 (0:00:00.022) 0:00:12.733 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:48 Monday 12 February 2024 22:58:15 +0000 (0:00:00.020) 0:00:12.754 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003616", "end": "2024-02-12 22:58:16.081887", "rc": 0, "start": "2024-02-12 22:58:16.078271" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.5 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.5 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:52 Monday 12 February 2024 22:58:16 +0000 (0:00:00.197) 0:00:12.952 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:58 Monday 12 February 2024 22:58:16 +0000 (0:00:00.023) 0:00:12.976 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003428", "end": "2024-02-12 22:58:16.301585", "rc": 0, "start": "2024-02-12 22:58:16.298157" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:62 Monday 12 February 2024 22:58:16 +0000 (0:00:00.194) 0:00:13.170 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:69 Monday 12 February 2024 22:58:16 +0000 (0:00:00.061) 0:00:13.232 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:58:16 +0000 (0:00:00.027) 0:00:13.259 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:58:16 +0000 (0:00:00.039) 0:00:13.299 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:58:16 +0000 (0:00:00.029) 0:00:13.328 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:58:16 +0000 (0:00:00.021) 0:00:13.349 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:58:16 +0000 (0:00:00.019) 0:00:13.369 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:58:17 +0000 (0:00:01.407) 0:00:14.776 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:58:18 +0000 (0:00:00.962) 0:00:15.739 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:58:18 +0000 (0:00:00.025) 0:00:15.764 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:58:18 +0000 (0:00:00.045) 0:00:15.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:58:18 +0000 (0:00:00.022) 0:00:15.831 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:58:19 +0000 (0:00:00.059) 0:00:15.890 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:58:19 +0000 (0:00:00.023) 0:00:15.914 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:58:19 +0000 (0:00:00.031) 0:00:15.945 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:58:19 +0000 (0:00:00.027) 0:00:15.973 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:58:19 +0000 (0:00:00.373) 0:00:16.346 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:58:19 +0000 (0:00:00.024) 0:00:16.371 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:58:19 +0000 (0:00:00.021) 0:00:16.393 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:58:19 +0000 (0:00:00.019) 0:00:16.413 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:58:20 +0000 (0:00:00.485) 0:00:16.898 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:58:20 +0000 (0:00:00.021) 0:00:16.920 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:58:20 +0000 (0:00:00.023) 0:00:16.943 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:58:20 +0000 (0:00:00.023) 0:00:16.966 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:58:20 +0000 (0:00:00.021) 0:00:16.988 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:81 Monday 12 February 2024 22:58:20 +0000 (0:00:00.188) 0:00:17.176 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:58:20 +0000 (0:00:00.048) 0:00:17.225 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:58:20 +0000 (0:00:00.020) 0:00:17.246 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:58:20 +0000 (0:00:00.019) 0:00:17.266 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:20 +0000 (0:00:00.033) 0:00:17.299 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:20 +0000 (0:00:00.032) 0:00:17.332 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003137", "end": "2024-02-12 22:58:20.661684", "rc": 0, "start": "2024-02-12 22:58:20.658547" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:20 +0000 (0:00:00.200) 0:00:17.532 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:20 +0000 (0:00:00.022) 0:00:17.555 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:58:20 +0000 (0:00:00.052) 0:00:17.607 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 12 February 2024 22:58:21 +0000 (0:00:00.893) 0:00:18.501 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 12 February 2024 22:58:21 +0000 (0:00:00.031) 0:00:18.532 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 12 February 2024 22:58:21 +0000 (0:00:00.023) 0:00:18.556 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011114", "end": "2024-02-12 22:58:21.889470", "rc": 0, "start": "2024-02-12 22:58:21.878356" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 12 February 2024 22:58:21 +0000 (0:00:00.215) 0:00:18.771 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 12 February 2024 22:58:21 +0000 (0:00:00.051) 0:00:18.822 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:58:22 +0000 (0:00:00.034) 0:00:18.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 12 February 2024 22:58:22 +0000 (0:00:00.031) 0:00:18.888 ******* 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_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:85 Monday 12 February 2024 22:58:22 +0000 (0:00:00.021) 0:00:18.909 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:89 Monday 12 February 2024 22:58:22 +0000 (0:00:00.021) 0:00:18.931 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:58:22 +0000 (0:00:00.053) 0:00:18.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:58:22 +0000 (0:00:00.021) 0:00:19.006 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:58:22 +0000 (0:00:00.063) 0:00:19.069 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:22 +0000 (0:00:00.037) 0:00:19.107 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:22 +0000 (0:00:00.034) 0:00:19.142 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003074", "end": "2024-02-12 22:58:22.465176", "rc": 0, "start": "2024-02-12 22:58:22.462102" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:22 +0000 (0:00:00.192) 0:00:19.335 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:22 +0000 (0:00:00.023) 0:00:19.358 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:58:22 +0000 (0:00:00.023) 0:00:19.381 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 12 February 2024 22:58:23 +0000 (0:00:00.878) 0:00:20.259 ******* 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.006589", "end": "2024-02-12 22:58:23.589954", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-12 22:58:23.583365" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003718", "end": "2024-02-12 22:58:23.797571", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-12 22:58:23.793853" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004116", "end": "2024-02-12 22:58:23.977794", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-12 22:58:23.973678" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 12 February 2024 22:58:24 +0000 (0:00:00.589) 0:00:20.849 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020591", "end": "2024-02-12 22:58:24.194959", "rc": 0, "start": "2024-02-12 22:58:24.174368" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 12 February 2024 22:58:24 +0000 (0:00:00.251) 0:00:21.101 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 12 February 2024 22:58:24 +0000 (0:00:00.022) 0:00:21.124 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 12 February 2024 22:58:24 +0000 (0:00:00.023) 0:00:21.147 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:58:24 +0000 (0:00:00.020) 0:00:21.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 12 February 2024 22:58:24 +0000 (0:00:00.021) 0:00:21.190 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:58:24 +0000 (0:00:00.022) 0:00:21.212 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:58:24 +0000 (0:00:00.037) 0:00:21.249 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:58:24 +0000 (0:00:00.026) 0:00:21.276 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:58:24 +0000 (0:00:00.021) 0:00:21.297 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:58:24 +0000 (0:00:00.020) 0:00:21.318 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:58:25 +0000 (0:00:01.392) 0:00:22.710 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:58:26 +0000 (0:00:01.009) 0:00:23.720 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:58:26 +0000 (0:00:00.025) 0:00:23.745 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:58:26 +0000 (0:00:00.022) 0:00:23.768 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:58:26 +0000 (0:00:00.027) 0:00:23.795 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:58:27 +0000 (0:00:00.047) 0:00:23.843 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:58:27 +0000 (0:00:00.026) 0:00:23.869 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:58:27 +0000 (0:00:00.027) 0:00:23.897 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:58:27 +0000 (0:00:00.027) 0:00:23.924 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:58:27 +0000 (0:00:00.359) 0:00:24.284 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:58:27 +0000 (0:00:00.024) 0:00:24.308 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:58:27 +0000 (0:00:00.020) 0:00:24.329 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:58:27 +0000 (0:00:00.071) 0:00:24.400 ******* 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, d14bfc67-ed02-40e0-b94e-36c9164b0990 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d14bfc67-ed02-40e0-b94e-36c9164b0990 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:58:27 +0000 (0:00:00.391) 0:00:24.791 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:58:27 +0000 (0:00:00.022) 0:00:24.814 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d14bfc67-ed02-40e0-b94e-36c9164b0990", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d14bfc67-ed02-40e0-b94e-36c9164b0990 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:58:27 +0000 (0:00:00.023) 0:00:24.838 ******* 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, d14bfc67-ed02-40e0-b94e-36c9164b0990\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d14bfc67-ed02-40e0-b94e-36c9164b0990 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d14bfc67-ed02-40e0-b94e-36c9164b0990", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d14bfc67-ed02-40e0-b94e-36c9164b0990 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:58:28 +0000 (0:00:00.026) 0:00:24.864 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:58:28 +0000 (0:00:00.022) 0:00:24.887 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:110 Monday 12 February 2024 22:58:28 +0000 (0:00:00.193) 0:00:25.080 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 22:58:28 +0000 (0:00:00.050) 0:00:25.130 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 22:58:28 +0000 (0:00:00.034) 0:00:25.164 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778703.587766, "block_size": 4096, "blocks": 0, "ctime": 1707778703.587766, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23554, "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": 1707778703.587766, "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_rewritee9dz3rzu/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 22:58:28 +0000 (0:00:00.199) 0:00:25.364 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:112 Monday 12 February 2024 22:58:28 +0000 (0:00:00.031) 0:00:25.395 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 22:58:28 +0000 (0:00:00.100) 0:00:25.496 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 22:58:28 +0000 (0:00:00.047) 0:00:25.543 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 22:58:28 +0000 (0:00:00.033) 0:00:25.577 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 22:58:28 +0000 (0:00:00.205) 0:00:25.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 22:58:28 +0000 (0:00:00.024) 0:00:25.807 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021316", "end": "2024-02-12 22:58:29.151270", "rc": 0, "start": "2024-02-12 22:58:29.129954" } 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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 22:58:29 +0000 (0:00:00.213) 0:00:26.020 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 22:58:29 +0000 (0:00:00.024) 0:00:26.044 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 22:58:29 +0000 (0:00:00.021) 0:00:26.066 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 22:58:29 +0000 (0:00:00.020) 0:00:26.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 22:58:29 +0000 (0:00:00.022) 0:00:26.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 22:58:29 +0000 (0:00:00.020) 0:00:26.131 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 22:58:29 +0000 (0:00:00.022) 0:00:26.153 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 22:58:29 +0000 (0:00:00.022) 0:00:26.176 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:116 Monday 12 February 2024 22:58:29 +0000 (0:00:00.022) 0:00:26.198 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003391", "end": "2024-02-12 22:58:29.526828", "rc": 0, "start": "2024-02-12 22:58:29.523437" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.5 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.5 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:120 Monday 12 February 2024 22:58:29 +0000 (0:00:00.209) 0:00:26.408 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:126 Monday 12 February 2024 22:58:29 +0000 (0:00:00.091) 0:00:26.499 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003435", "end": "2024-02-12 22:58:29.826249", "rc": 0, "start": "2024-02-12 22:58:29.822814" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:130 Monday 12 February 2024 22:58:29 +0000 (0:00:00.197) 0:00:26.697 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:137 Monday 12 February 2024 22:58:29 +0000 (0:00:00.023) 0:00:26.720 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:58:29 +0000 (0:00:00.021) 0:00:26.742 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:58:29 +0000 (0:00:00.038) 0:00:26.781 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:58:29 +0000 (0:00:00.031) 0:00:26.812 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:58:29 +0000 (0:00:00.026) 0:00:26.838 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:58:30 +0000 (0:00:00.023) 0:00:26.862 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:58:31 +0000 (0:00:01.374) 0:00:28.237 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:58:32 +0000 (0:00:00.974) 0:00:29.211 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:58:32 +0000 (0:00:00.022) 0:00:29.234 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:58:32 +0000 (0:00:00.022) 0:00:29.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:58:32 +0000 (0:00:00.024) 0:00:29.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:58:32 +0000 (0:00:00.043) 0:00:29.324 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:58:32 +0000 (0:00:00.025) 0:00:29.350 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:58:32 +0000 (0:00:00.039) 0:00:29.390 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:58:32 +0000 (0:00:00.031) 0:00:29.421 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:58:32 +0000 (0:00:00.351) 0:00:29.772 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:58:32 +0000 (0:00:00.029) 0:00:29.802 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:58:32 +0000 (0:00:00.022) 0:00:29.825 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:58:33 +0000 (0:00:00.058) 0:00:29.883 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:58:33 +0000 (0:00:00.419) 0:00:30.303 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:58:33 +0000 (0:00:00.022) 0:00:30.325 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:58:33 +0000 (0:00:00.021) 0:00:30.347 ******* 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_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:58:33 +0000 (0:00:00.023) 0:00:30.371 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:58:33 +0000 (0:00:00.023) 0:00:30.395 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:149 Monday 12 February 2024 22:58:33 +0000 (0:00:00.189) 0:00:30.584 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:58:33 +0000 (0:00:00.056) 0:00:30.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:58:33 +0000 (0:00:00.023) 0:00:30.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:58:33 +0000 (0:00:00.024) 0:00:30.689 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:33 +0000 (0:00:00.037) 0:00:30.727 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:33 +0000 (0:00:00.034) 0:00:30.761 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003080", "end": "2024-02-12 22:58:34.086106", "rc": 0, "start": "2024-02-12 22:58:34.083026" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:34 +0000 (0:00:00.238) 0:00:31.000 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:34 +0000 (0:00:00.028) 0:00:31.028 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:58:34 +0000 (0:00:00.023) 0:00:31.051 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 12 February 2024 22:58:35 +0000 (0:00:00.905) 0:00:31.957 ******* 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_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 12 February 2024 22:58:35 +0000 (0:00:00.033) 0:00:31.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 12 February 2024 22:58:35 +0000 (0:00:00.023) 0:00:32.013 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.018279", "end": "2024-02-12 22:58:35.359397", "rc": 0, "start": "2024-02-12 22:58:35.341118" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 12 February 2024 22:58:35 +0000 (0:00:00.222) 0:00:32.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 12 February 2024 22:58:35 +0000 (0:00:00.025) 0:00:32.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:58:35 +0000 (0:00:00.024) 0:00:32.286 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 12 February 2024 22:58:35 +0000 (0:00:00.035) 0:00:32.322 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tests_auto_gateway.yml:153 Monday 12 February 2024 22:58:35 +0000 (0:00:00.023) 0:00:32.345 ******* included: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/check_network_dns.yml:6 Monday 12 February 2024 22:58:35 +0000 (0:00:00.133) 0:00:32.478 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip 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\ntype -p resolvectl && resolvectl\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.183709", "end": "2024-02-12 22:58:35.989815", "rc": 0, "start": "2024-02-12 22:58:35.806106" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:1d:ef:25:f0:cd brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.9.5/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3112sec preferred_lft 3112sec inet6 fe80::101d:efff:fe25:f0cd/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.5 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.5 metric 100 RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 6224 0 --:--:-- --:--:-- --:--:-- 6224 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2719 0 --:--:-- --:--:-- --:--:-- 2745 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=127 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Monday 12 February 2024 22:58:36 +0000 (0:00:00.394) 0:00:32.873 ******* =============================================================================== Install iproute --------------------------------------------------------- 2.02s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.18s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.99s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.90s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Install iproute --------------------------------------------------------- 0.89s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.88s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Enable and start NetworkManager ------------ 0.72s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/tests_auto_gateway_nm.yml:6 --- Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.59s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.51s /WORKDIR/git-bond_options_rewritee9dz3rzu/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, 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. ---^---^---^---^---^---