# 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-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/tests_auto_gateway_nm.yml:6 Saturday 24 February 2024 19:33:57 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tests_auto_gateway_nm.yml:9 Saturday 24 February 2024 19:33:58 +0000 (0:00:00.699) 0:00:00.711 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:3 Saturday 24 February 2024 19:33:58 +0000 (0:00:00.010) 0:00:00.721 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:19 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.349) 0:00:01.071 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:24 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.284) 0:00:01.356 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:28 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.031) 0:00:01.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:53 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.019) 0:00:01.408 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:8 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.041) 0:00:01.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:24 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.017) 0:00:01.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:30 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.017) 0:00:01.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:35 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.009) 0:00:01.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:40 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.009) 0:00:01.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tests_auto_gateway_nm.yml:11 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.009) 0:00:01.513 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:3 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.010) 0:00:01.523 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:9 Saturday 24 February 2024 19:33:59 +0000 (0:00:00.504) 0:00:02.028 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.022) 0:00:02.051 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.012) 0:00:02.063 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003438", "end": "2024-02-24 19:34:00.249848", "rc": 0, "start": "2024-02-24 19:34:00.246410" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.243) 0:00:02.306 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.010) 0:00:02.317 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:11 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.010) 0:00:02.328 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.027) 0:00:02.355 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.011) 0:00:02.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.011) 0:00:02.378 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.016) 0:00:02.394 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.029) 0:00:02.424 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003480", "end": "2024-02-24 19:34:00.566144", "rc": 0, "start": "2024-02-24 19:34:00.562664" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.204) 0:00:02.629 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.013) 0:00:02.643 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 24 February 2024 19:34:00 +0000 (0:00:00.011) 0:00:02.654 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:28 Saturday 24 February 2024 19:34:02 +0000 (0:00:02.261) 0:00:04.915 ***** 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.019308", "end": "2024-02-24 19:34:03.086361", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-24 19:34:03.067053" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004175", "end": "2024-02-24 19:34:03.311274", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-24 19:34:03.307099" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004625", "end": "2024-02-24 19:34:03.506181", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-24 19:34:03.501556" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:37 Saturday 24 February 2024 19:34:03 +0000 (0:00:00.647) 0:00:05.563 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.145593", "end": "2024-02-24 19:34:03.851597", "rc": 0, "start": "2024-02-24 19:34:03.706004" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 24 February 2024 19:34:03 +0000 (0:00:00.349) 0:00:05.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:52 Saturday 24 February 2024 19:34:03 +0000 (0:00:00.015) 0:00:05.927 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:58 Saturday 24 February 2024 19:34:03 +0000 (0:00:00.011) 0:00:05.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 24 February 2024 19:34:03 +0000 (0:00:00.010) 0:00:05.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:71 Saturday 24 February 2024 19:34:03 +0000 (0:00:00.010) 0:00:05.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:15 Saturday 24 February 2024 19:34:03 +0000 (0:00:00.009) 0:00:05.969 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:34:03 +0000 (0:00:00.039) 0:00:06.008 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:34:03 +0000 (0:00:00.014) 0:00:06.023 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708803243.079577, "block_size": 4096, "blocks": 0, "ctime": 1708803243.079577, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22972, "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": 1708803243.079577, "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-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:34:04 +0000 (0:00:00.199) 0:00:06.222 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:17 Saturday 24 February 2024 19:34:04 +0000 (0:00:00.011) 0:00:06.234 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:34:04 +0000 (0:00:00.009) 0:00:06.244 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:34:04 +0000 (0:00:00.064) 0:00:06.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:34:04 +0000 (0:00:00.012) 0:00:06.321 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:34:04 +0000 (0:00:00.009) 0:00:06.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:34:04 +0000 (0:00:00.012) 0:00:06.343 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:34:05 +0000 (0:00:01.559) 0:00:07.903 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:34:07 +0000 (0:00:01.166) 0:00:09.070 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.040) 0:00:09.110 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.021) 0:00:09.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.019) 0:00:09.151 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.042) 0:00:09.194 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.019) 0:00:09.214 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.022) 0:00:09.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.025) 0:00:09.262 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.525) 0:00:09.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.026) 0:00:09.814 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.021) 0:00:09.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:34:07 +0000 (0:00:00.027) 0:00:09.863 ***** 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, 7e5d524c-5c3f-4511-bcbf-1c9bba7640a3 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7e5d524c-5c3f-4511-bcbf-1c9bba7640a3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:34:08 +0000 (0:00:00.753) 0:00:10.617 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:34:08 +0000 (0:00:00.021) 0:00:10.639 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7e5d524c-5c3f-4511-bcbf-1c9bba7640a3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7e5d524c-5c3f-4511-bcbf-1c9bba7640a3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:34:08 +0000 (0:00:00.051) 0:00:10.690 ***** 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, 7e5d524c-5c3f-4511-bcbf-1c9bba7640a3\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7e5d524c-5c3f-4511-bcbf-1c9bba7640a3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7e5d524c-5c3f-4511-bcbf-1c9bba7640a3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7e5d524c-5c3f-4511-bcbf-1c9bba7640a3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:34:08 +0000 (0:00:00.025) 0:00:10.715 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:34:08 +0000 (0:00:00.051) 0:00:10.767 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:42 Saturday 24 February 2024 19:34:08 +0000 (0:00:00.252) 0:00:11.020 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.058) 0:00:11.078 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.044) 0:00:11.122 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708803243.079577, "block_size": 4096, "blocks": 0, "ctime": 1708803243.079577, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22972, "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": 1708803243.079577, "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-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.228) 0:00:11.350 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:44 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.028) 0:00:11.378 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.049) 0:00:11.428 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.038) 0:00:11.467 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.022) 0:00:11.489 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.208) 0:00:11.698 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.023) 0:00:11.721 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.080255", "end": "2024-02-24 19:34:09.948532", "rc": 0, "start": "2024-02-24 19:34:09.868277" } 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:34:09 +0000 (0:00:00.302) 0:00:12.024 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.031) 0:00:12.055 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.035) 0:00:12.091 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.026) 0:00:12.117 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.043) 0:00:12.160 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.028) 0:00:12.188 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.027) 0:00:12.215 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.039) 0:00:12.255 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:48 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.033) 0:00:12.289 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003985", "end": "2024-02-24 19:34:10.448384", "rc": 0, "start": "2024-02-24 19:34:10.444399" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.139 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.139 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-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:52 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.227) 0:00:12.517 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:58 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.033) 0:00:12.550 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003831", "end": "2024-02-24 19:34:10.694948", "rc": 0, "start": "2024-02-24 19:34:10.691117" } 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-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:62 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.214) 0:00:12.765 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:69 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.026) 0:00:12.792 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.022) 0:00:12.814 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.080) 0:00:12.895 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.026) 0:00:12.921 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.021) 0:00:12.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:34:10 +0000 (0:00:00.020) 0:00:12.963 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:34:12 +0000 (0:00:01.519) 0:00:14.483 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:34:13 +0000 (0:00:01.051) 0:00:15.534 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:34:13 +0000 (0:00:00.023) 0:00:15.557 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:34:13 +0000 (0:00:00.022) 0:00:15.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:34:13 +0000 (0:00:00.022) 0:00:15.602 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:34:13 +0000 (0:00:00.049) 0:00:15.652 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:34:13 +0000 (0:00:00.022) 0:00:15.674 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:34:13 +0000 (0:00:00.033) 0:00:15.707 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:34:13 +0000 (0:00:00.025) 0:00:15.732 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.380) 0:00:16.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.025) 0:00:16.138 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.020) 0:00:16.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.020) 0:00:16.179 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.439) 0:00:16.618 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.022) 0:00:16.641 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.055) 0:00:16.696 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.023) 0:00:16.719 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.025) 0:00:16.745 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:81 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.212) 0:00:16.957 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.051) 0:00:17.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 24 February 2024 19:34:14 +0000 (0:00:00.024) 0:00:17.033 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 24 February 2024 19:34:15 +0000 (0:00:00.023) 0:00:17.057 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:34:15 +0000 (0:00:00.036) 0:00:17.093 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:34:15 +0000 (0:00:00.038) 0:00:17.131 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-02-24 19:34:15.275590", "rc": 0, "start": "2024-02-24 19:34:15.272120" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:34:15 +0000 (0:00:00.210) 0:00:17.342 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:34:15 +0000 (0:00:00.022) 0:00:17.365 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 24 February 2024 19:34:15 +0000 (0:00:00.022) 0:00:17.387 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:28 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.972) 0:00:18.359 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:37 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.046) 0:00:18.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.047) 0:00:18.453 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019111", "end": "2024-02-24 19:34:16.619547", "rc": 0, "start": "2024-02-24 19:34:16.600436" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:52 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.236) 0:00:18.690 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:58 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.022) 0:00:18.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.022) 0:00:18.735 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:71 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.021) 0:00:18.757 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:85 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.021) 0:00:18.778 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:89 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.022) 0:00:18.801 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.051) 0:00:18.852 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.022) 0:00:18.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.023) 0:00:18.898 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.067) 0:00:18.966 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:34:16 +0000 (0:00:00.035) 0:00:19.002 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003443", "end": "2024-02-24 19:34:17.153689", "rc": 0, "start": "2024-02-24 19:34:17.150246" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:34:17 +0000 (0:00:00.219) 0:00:19.221 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:34:17 +0000 (0:00:00.023) 0:00:19.245 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 24 February 2024 19:34:17 +0000 (0:00:00.021) 0:00:19.266 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:28 Saturday 24 February 2024 19:34:18 +0000 (0:00:00.946) 0:00:20.213 ***** 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.011114", "end": "2024-02-24 19:34:18.364228", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-24 19:34:18.353114" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003638", "end": "2024-02-24 19:34:18.577171", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-24 19:34:18.573533" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004262", "end": "2024-02-24 19:34:18.770090", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-24 19:34:18.765828" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:37 Saturday 24 February 2024 19:34:18 +0000 (0:00:00.625) 0:00:20.838 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020105", "end": "2024-02-24 19:34:18.997844", "rc": 0, "start": "2024-02-24 19:34:18.977739" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.229) 0:00:21.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:52 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.029) 0:00:21.098 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:58 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.112) 0:00:21.211 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.025) 0:00:21.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:71 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.025) 0:00:21.262 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.052) 0:00:21.314 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.058) 0:00:21.372 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.068) 0:00:21.441 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.028) 0:00:21.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:34:19 +0000 (0:00:00.026) 0:00:21.496 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:34:20 +0000 (0:00:01.491) 0:00:22.987 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:34:22 +0000 (0:00:01.060) 0:00:24.048 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.024) 0:00:24.072 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.024) 0:00:24.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.022) 0:00:24.118 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.047) 0:00:24.166 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.023) 0:00:24.189 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.022) 0:00:24.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.025) 0:00:24.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.384) 0:00:24.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.027) 0:00:24.649 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.020) 0:00:24.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:34:22 +0000 (0:00:00.020) 0:00:24.690 ***** 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, bab93b82-4ea6-4118-b11d-e981cc71ee26 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bab93b82-4ea6-4118-b11d-e981cc71ee26 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.477) 0:00:25.168 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.033) 0:00:25.201 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, bab93b82-4ea6-4118-b11d-e981cc71ee26", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bab93b82-4ea6-4118-b11d-e981cc71ee26 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.026) 0:00:25.227 ***** 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, bab93b82-4ea6-4118-b11d-e981cc71ee26\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bab93b82-4ea6-4118-b11d-e981cc71ee26 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, bab93b82-4ea6-4118-b11d-e981cc71ee26", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bab93b82-4ea6-4118-b11d-e981cc71ee26 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.023) 0:00:25.250 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.026) 0:00:25.277 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:110 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.208) 0:00:25.486 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.061) 0:00:25.547 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.038) 0:00:25.586 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708803258.357496, "block_size": 4096, "blocks": 0, "ctime": 1708803258.357496, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23558, "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": 1708803258.357496, "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-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.218) 0:00:25.804 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:112 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.027) 0:00:25.832 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.060) 0:00:25.892 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.093) 0:00:25.986 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:34:23 +0000 (0:00:00.043) 0:00:26.029 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.233) 0:00:26.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.061) 0:00:26.323 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022053", "end": "2024-02-24 19:34:24.505598", "rc": 0, "start": "2024-02-24 19:34:24.483545" } 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.265) 0:00:26.589 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.026) 0:00:26.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.023) 0:00:26.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.023) 0:00:26.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.032) 0:00:26.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.025) 0:00:26.720 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.041) 0:00:26.761 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.028) 0:00:26.790 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:116 Saturday 24 February 2024 19:34:24 +0000 (0:00:00.041) 0:00:26.832 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003524", "end": "2024-02-24 19:34:24.992014", "rc": 0, "start": "2024-02-24 19:34:24.988490" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.139 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.139 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-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:120 Saturday 24 February 2024 19:34:25 +0000 (0:00:00.241) 0:00:27.074 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:126 Saturday 24 February 2024 19:34:25 +0000 (0:00:00.057) 0:00:27.132 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003639", "end": "2024-02-24 19:34:25.312954", "rc": 0, "start": "2024-02-24 19:34:25.309315" } 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-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:130 Saturday 24 February 2024 19:34:25 +0000 (0:00:00.289) 0:00:27.421 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:137 Saturday 24 February 2024 19:34:25 +0000 (0:00:00.028) 0:00:27.450 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:34:25 +0000 (0:00:00.024) 0:00:27.475 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:34:25 +0000 (0:00:00.042) 0:00:27.517 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:34:25 +0000 (0:00:00.040) 0:00:27.558 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:34:25 +0000 (0:00:00.023) 0:00:27.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:34:25 +0000 (0:00:00.022) 0:00:27.603 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:34:27 +0000 (0:00:01.488) 0:00:29.092 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:34:28 +0000 (0:00:01.039) 0:00:30.132 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.030) 0:00:30.162 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.039) 0:00:30.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.038) 0:00:30.240 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.050) 0:00:30.290 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.022) 0:00:30.313 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.020) 0:00:30.334 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.024) 0:00:30.358 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.396) 0:00:30.754 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.029) 0:00:30.784 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.028) 0:00:30.812 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:34:28 +0000 (0:00:00.026) 0:00:30.839 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.449) 0:00:31.288 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.060) 0:00:31.349 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.024) 0:00:31.374 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.023) 0:00:31.398 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.021) 0:00:31.419 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:149 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.201) 0:00:31.620 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.054) 0:00:31.675 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.023) 0:00:31.698 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.022) 0:00:31.721 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.035) 0:00:31.757 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.037) 0:00:31.795 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-02-24 19:34:29.940710", "rc": 0, "start": "2024-02-24 19:34:29.937172" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:34:29 +0000 (0:00:00.215) 0:00:32.010 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:34:30 +0000 (0:00:00.034) 0:00:32.044 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 24 February 2024 19:34:30 +0000 (0:00:00.025) 0:00:32.070 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:28 Saturday 24 February 2024 19:34:30 +0000 (0:00:00.945) 0:00:33.015 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:37 Saturday 24 February 2024 19:34:31 +0000 (0:00:00.036) 0:00:33.052 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 24 February 2024 19:34:31 +0000 (0:00:00.024) 0:00:33.076 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.018926", "end": "2024-02-24 19:34:31.237149", "rc": 0, "start": "2024-02-24 19:34:31.218223" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:52 Saturday 24 February 2024 19:34:31 +0000 (0:00:00.228) 0:00:33.305 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:58 Saturday 24 February 2024 19:34:31 +0000 (0:00:00.025) 0:00:33.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 24 February 2024 19:34:31 +0000 (0:00:00.031) 0:00:33.362 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:71 Saturday 24 February 2024 19:34:31 +0000 (0:00:00.024) 0:00:33.386 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:153 Saturday 24 February 2024 19:34:31 +0000 (0:00:00.032) 0:00:33.419 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 24 February 2024 19:34:31 +0000 (0:00:00.083) 0:00:33.503 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008945", "end": "2024-02-24 19:34:31.661518", "rc": 0, "start": "2024-02-24 19:34:31.652573" } 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 0e:67:1e:9c:f0:e1 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.40.139/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3166sec preferred_lft 3166sec inet6 fe80::c67:1eff:fe9c:f0e1/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.139 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.139 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 24 February 2024 19:34:31 +0000 (0:00:00.225) 0:00:33.728 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.290400", "end": "2024-02-24 19:34:32.161813", "rc": 0, "start": "2024-02-24 19:34:31.871413" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1942 0 --:--:-- --:--:-- --:--:-- 1955 % 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 2694 0 --:--:-- --:--:-- --:--:-- 2719 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=128 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Saturday 24 February 2024 19:34:32 +0000 (0:00:00.489) 0:00:34.218 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.26s /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.17s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.05s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.97s /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.95s /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.95s /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.89s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.78s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.75s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-more-test-debugagbcf0zc/tests/tests_auto_gateway_nm.yml:6 -------- Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.53s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_auto_gateway.yml:3 - ---^---^---^---^---^--- # 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. ---^---^---^---^---^---