# 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_route_table_nm.yml ********************************************* 6 plays in /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_route_table_nm.yml PLAY [Run playbook 'playbooks/tests_route_table.yml' with nm as provider] ****** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_route_table_nm.yml:6 Wednesday 14 February 2024 00:11:07 +0000 (0:00:00.014) 0:00:00.014 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_route_table_nm.yml:9 Wednesday 14 February 2024 00:11:08 +0000 (0:00:00.723) 0:00:00.737 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:11:08 +0000 (0:00:00.012) 0:00:00.750 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 00:11:08 +0000 (0:00:00.340) 0:00:01.090 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 00:11:08 +0000 (0:00:00.258) 0:00:01.349 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 00:11:08 +0000 (0:00:00.025) 0:00:01.374 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 00:11:08 +0000 (0:00:00.025) 0:00:01.399 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:11:08 +0000 (0:00:00.037) 0:00:01.436 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:11:09 +0000 (0:00:00.250) 0:00:01.687 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:11:09 +0000 (0:00:00.022) 0:00:01.710 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:11:09 +0000 (0:00:00.012) 0:00:01.722 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.250857", "end": "2024-02-14 00:11:09.652598", "rc": 0, "start": "2024-02-14 00:11:09.401741" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:11:09 +0000 (0:00:00.436) 0:00:02.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_route_table_nm.yml:11 Wednesday 14 February 2024 00:11:09 +0000 (0:00:00.010) 0:00:02.170 **** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing route table] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:3 Wednesday 14 February 2024 00:11:09 +0000 (0:00:00.011) 0:00:02.181 **** ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:11 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.489) 0:00:02.671 **** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:15 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.025) 0:00:02.696 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.019) 0:00:02.716 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.015) 0:00:02.731 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003271", "end": "2024-02-14 00:11:10.413199", "rc": 0, "start": "2024-02-14 00:11:10.409928" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.187) 0:00:02.919 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.012) 0:00:02.931 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:17 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.011) 0:00:02.942 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.025) 0:00:02.967 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.013) 0:00:02.981 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.010) 0:00:02.992 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.021) 0:00:03.014 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.016) 0:00:03.030 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003508", "end": "2024-02-14 00:11:10.714239", "rc": 0, "start": "2024-02-14 00:11:10.710731" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.189) 0:00:03.220 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.012) 0:00:03.233 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:11:10 +0000 (0:00:00.010) 0:00:03.243 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 00:11:13 +0000 (0:00:02.850) 0:00:06.094 **** ok: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.013596", "end": "2024-02-14 00:11:13.793833", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-14 00:11:13.780237" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003817", "end": "2024-02-14 00:11:14.015627", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-14 00:11:14.011810" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004374", "end": "2024-02-14 00:11:14.197277", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-14 00:11:14.192903" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.619) 0:00:06.714 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.036570", "end": "2024-02-14 00:11:14.446656", "rc": 0, "start": "2024-02-14 00:11:14.410086" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.267) 0:00:06.982 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.014) 0:00:06.996 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.014) 0:00:07.011 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.055) 0:00:07.066 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.014) 0:00:07.081 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:21 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.011) 0:00:07.093 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.035) 0:00:07.128 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.018) 0:00:07.147 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869473.783917, "block_size": 4096, "blocks": 0, "ctime": 1707869473.783917, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1707869473.783917, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.186) 0:00:07.333 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.013) 0:00:07.347 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:11:14 +0000 (0:00:00.072) 0:00:07.420 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:11:15 +0000 (0:00:00.086) 0:00:07.507 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:11:15 +0000 (0:00:00.020) 0:00:07.527 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:11:15 +0000 (0:00:00.010) 0:00:07.538 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:11:16 +0000 (0:00:01.640) 0:00:09.178 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:11:18 +0000 (0:00:01.459) 0:00:10.638 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.023) 0:00:10.662 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.022) 0:00:10.684 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.044) 0:00:10.728 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.046) 0:00:10.774 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.024) 0:00:10.799 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.024) 0:00:10.823 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.030) 0:00:10.854 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.503) 0:00:11.358 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.027) 0:00:11.385 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.023) 0:00:11.409 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:11:18 +0000 (0:00:00.022) 0:00:11.432 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:11:19 +0000 (0:00:00.512) 0:00:11.944 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:11:19 +0000 (0:00:00.026) 0:00:11.970 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:11:19 +0000 (0:00:00.033) 0:00:12.004 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 } ] }, "name": "ethtest0", "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, 'ethtest0': add connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:11:19 +0000 (0:00:00.027) 0:00:12.032 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:11:19 +0000 (0:00:00.056) 0:00:12.088 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the route table 30200] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:51 Wednesday 14 February 2024 00:11:19 +0000 (0:00:00.241) 0:00:12.330 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30200" ], "delta": "0:00:00.003758", "end": "2024-02-14 00:11:20.013878", "rc": 0, "start": "2024-02-14 00:11:20.010120" } STDOUT: 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 TASK [Get the routes from the route table 30400] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:57 Wednesday 14 February 2024 00:11:20 +0000 (0:00:00.224) 0:00:12.554 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30400" ], "delta": "0:00:00.003634", "end": "2024-02-14 00:11:20.252505", "rc": 0, "start": "2024-02-14 00:11:20.248871" } STDOUT: 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the route table 30200 contains the specified route] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:63 Wednesday 14 February 2024 00:11:20 +0000 (0:00:00.217) 0:00:12.772 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the route table 30400 contains the specified route] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:72 Wednesday 14 February 2024 00:11:20 +0000 (0:00:00.028) 0:00:12.801 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create a dedicated test file in `/etc/iproute2/rt_tables.d/` and add a new routing table] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:80 Wednesday 14 February 2024 00:11:20 +0000 (0:00:00.027) 0:00:12.828 **** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:11:20 +0000 (0:00:00.308) 0:00:13.137 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:11:20 +0000 (0:00:00.039) 0:00:13.176 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:11:20 +0000 (0:00:00.029) 0:00:13.205 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:11:20 +0000 (0:00:00.024) 0:00:13.230 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:11:20 +0000 (0:00:00.029) 0:00:13.260 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:11:22 +0000 (0:00:01.530) 0:00:14.791 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:11:23 +0000 (0:00:01.309) 0:00:16.100 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:11:23 +0000 (0:00:00.034) 0:00:16.134 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:11:23 +0000 (0:00:00.029) 0:00:16.164 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:11:23 +0000 (0:00:00.042) 0:00:16.206 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:11:23 +0000 (0:00:00.053) 0:00:16.260 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:11:23 +0000 (0:00:00.054) 0:00:16.315 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:11:23 +0000 (0:00:00.023) 0:00:16.338 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:11:23 +0000 (0:00:00.028) 0:00:16.367 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.343) 0:00:16.710 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.026) 0:00:16.737 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.023) 0:00:16.760 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.023) 0:00:16.783 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": "custom" }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": "custom" } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 (is-modified) [005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.360) 0:00:17.144 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.023) 0:00:17.167 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 (is-modified)", "[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.025) 0:00:17.193 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": "custom" }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": "custom" } ] }, "name": "ethtest0", "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, 'ethtest0': update connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 (is-modified)\n[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b34d152b-7836-4327-8e3c-3e5967bfecc4 (is-modified)", "[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.036) 0:00:17.229 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.025) 0:00:17.254 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the named route table 'custom'] ********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:115 Wednesday 14 February 2024 00:11:24 +0000 (0:00:00.200) 0:00:17.455 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "custom" ], "delta": "0:00:00.003606", "end": "2024-02-14 00:11:25.135093", "rc": 0, "start": "2024-02-14 00:11:25.131487" } STDOUT: 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the named route table 'custom' contains the specified route] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:121 Wednesday 14 February 2024 00:11:25 +0000 (0:00:00.233) 0:00:17.689 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove the dedicated test file in `/etc/iproute2/rt_tables.d/`] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:132 Wednesday 14 February 2024 00:11:25 +0000 (0:00:00.026) 0:00:17.716 **** changed: [sut] => { "changed": true, "path": "/etc/iproute2/rt_tables.d/table.conf", "state": "absent" } META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/down_profile.yml:3 Wednesday 14 February 2024 00:11:25 +0000 (0:00:00.261) 0:00:17.977 **** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:11:26 +0000 (0:00:00.513) 0:00:18.491 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:11:26 +0000 (0:00:00.039) 0:00:18.530 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:11:26 +0000 (0:00:00.033) 0:00:18.564 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:11:26 +0000 (0:00:00.024) 0:00:18.588 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:11:26 +0000 (0:00:00.023) 0:00:18.611 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:11:27 +0000 (0:00:01.534) 0:00:20.146 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:11:28 +0000 (0:00:01.295) 0:00:21.441 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:11:28 +0000 (0:00:00.033) 0:00:21.474 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.038) 0:00:21.513 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.028) 0:00:21.541 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.062) 0:00:21.604 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.029) 0:00:21.633 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.029) 0:00:21.663 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.028) 0:00:21.691 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.411) 0:00:22.103 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.037) 0:00:22.140 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.036) 0:00:22.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:11:29 +0000 (0:00:00.026) 0:00:22.204 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:11:30 +0000 (0:00:00.421) 0:00:22.625 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:11:30 +0000 (0:00:00.049) 0:00:22.674 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:11:30 +0000 (0:00:00.025) 0:00:22.700 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:11:30 +0000 (0:00:00.034) 0:00:22.734 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:11:30 +0000 (0:00:00.025) 0:00:22.759 **** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/down_profile+delete_interface.yml:5 Wednesday 14 February 2024 00:11:30 +0000 (0:00:00.210) 0:00:22.970 **** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/down_profile+delete_interface.yml:8 Wednesday 14 February 2024 00:11:31 +0000 (0:00:00.536) 0:00:23.507 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 00:11:31 +0000 (0:00:00.064) 0:00:23.571 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012577", "end": "2024-02-14 00:11:31.261987", "rc": 0, "start": "2024-02-14 00:11:31.249410" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/remove_profile.yml:3 Wednesday 14 February 2024 00:11:31 +0000 (0:00:00.214) 0:00:23.786 **** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:11:31 +0000 (0:00:00.491) 0:00:24.277 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:11:31 +0000 (0:00:00.038) 0:00:24.316 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:11:31 +0000 (0:00:00.027) 0:00:24.344 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:11:31 +0000 (0:00:00.023) 0:00:24.367 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:11:31 +0000 (0:00:00.023) 0:00:24.391 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:11:33 +0000 (0:00:01.584) 0:00:25.975 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:11:34 +0000 (0:00:01.329) 0:00:27.305 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:11:34 +0000 (0:00:00.026) 0:00:27.331 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:11:34 +0000 (0:00:00.025) 0:00:27.357 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:11:34 +0000 (0:00:00.026) 0:00:27.383 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:11:34 +0000 (0:00:00.065) 0:00:27.449 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:11:34 +0000 (0:00:00.024) 0:00:27.473 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.050) 0:00:27.523 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.035) 0:00:27.559 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.393) 0:00:27.953 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.028) 0:00:27.981 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.023) 0:00:28.005 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.026) 0:00:28.031 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.360) 0:00:28.391 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.024) 0:00:28.416 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.024) 0:00:28.440 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:11:35 +0000 (0:00:00.034) 0:00:28.475 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:11:36 +0000 (0:00:00.030) 0:00:28.505 **** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:146 Wednesday 14 February 2024 00:11:36 +0000 (0:00:00.216) 0:00:28.722 **** ok: [sut] META: ran handlers TASK [Include the task 'assert_profile_absent.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:149 Wednesday 14 February 2024 00:11:36 +0000 (0:00:00.554) 0:00:29.277 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:11:36 +0000 (0:00:00.076) 0:00:29.354 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:11:36 +0000 (0:00:00.042) 0:00:29.397 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:11:36 +0000 (0:00:00.024) 0:00:29.421 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.195) 0:00:29.617 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.025) 0:00:29.643 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.019712", "end": "2024-02-14 00:11:37.339817", "rc": 1, "start": "2024-02-14 00:11:37.320105" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.228) 0:00:29.871 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.026) 0:00:29.898 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.036) 0:00:29.934 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.029) 0:00:29.964 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.057) 0:00:30.021 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.030) 0:00:30.051 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:153 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.036) 0:00:30.088 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.041) 0:00:30.130 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.082) 0:00:30.212 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.197) 0:00:30.409 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:155 Wednesday 14 February 2024 00:11:37 +0000 (0:00:00.058) 0:00:30.468 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 00:11:38 +0000 (0:00:00.090) 0:00:30.558 **** 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.009423", "end": "2024-02-14 00:11:38.245898", "rc": 0, "start": "2024-02-14 00:11:38.236475" } 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 0a:2e:06:cd:94:9b brd ff:ff:ff:ff:ff:ff inet 10.31.13.135/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2262sec preferred_lft 2262sec inet6 fe80::82e:6ff:fecd:949b/64 scope link valid_lft forever preferred_lft forever 53: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 32:c3:a0:07:74:fc brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.135 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.135 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 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 ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 00:11:38 +0000 (0:00:00.207) 0:00:30.765 **** 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.513230", "end": "2024-02-14 00:11:38.974285", "rc": 0, "start": "2024-02-14 00:11:38.461055" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 670 0 --:--:-- --:--:-- --:--:-- 668 % 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 12125 0 --:--:-- --:--:-- --:--:-- 12125 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=92 changed=6 unreachable=0 failed=0 skipped=73 rescued=0 ignored=1 Wednesday 14 February 2024 00:11:38 +0000 (0:00:00.713) 0:00:31.478 **** =============================================================================== Install iproute --------------------------------------------------------- 2.85s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_route_table_nm.yml:6 ---- Verify DNS and ping still work ------------------------------------------ 0.71s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml:24 Create veth interface ethtest0 ------------------------------------------ 0.62s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:146 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/down_profile.yml:3 -- linux-system-roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/remove_profile.yml:3 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_route_table.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:35 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---