# 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_ethernet_nm.yml ************************************************ 9 plays in /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tests_ethernet_nm.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tests_ethernet_nm.yml:6 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.026) 0:00:00.026 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tests_ethernet_nm.yml:9 Wednesday 31 January 2024 23:32:50 +0000 (0:00:01.017) 0:00:01.044 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:32:50 +0000 (0:00:00.020) 0:00:01.064 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:19 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.544) 0:00:01.608 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:24 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.334) 0:00:01.943 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:28 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.034) 0:00:01.978 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:53 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.027) 0:00:02.006 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.051) 0:00:02.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.011) 0:00:02.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.013) 0:00:02.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.011) 0:00:02.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.010) 0:00:02.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tests_ethernet_nm.yml:11 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.011) 0:00:02.115 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for showing the network provider] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:3 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.015) 0:00:02.131 ***** ok: [sut] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:6 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.783) 0:00:02.914 ***** ok: [sut] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:9 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.013) 0:00:02.928 ***** ok: [sut] => { "network_provider": "nm" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:13 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.016) 0:00:02.944 ***** ok: [sut] META: ran handlers TASK [Set type=veth and interface=lsr27] *************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:20 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.771) 0:00:03.716 ***** ok: [sut] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:24 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.018) 0:00:03.735 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.020) 0:00:03.755 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.017) 0:00:03.773 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003603", "end": "2024-01-31 23:32:53.888057", "rc": 0, "start": "2024-01-31 23:32:53.884454" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.331) 0:00:04.104 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.019) 0:00:04.124 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:26 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.029) 0:00:04.154 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.026) 0:00:04.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:32:54 +0000 (0:00:00.014) 0:00:04.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:32:54 +0000 (0:00:00.016) 0:00:04.211 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:32:54 +0000 (0:00:00.022) 0:00:04.234 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:32:54 +0000 (0:00:00.023) 0:00:04.257 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003591", "end": "2024-01-31 23:32:54.250011", "rc": 0, "start": "2024-01-31 23:32:54.246420" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:32:54 +0000 (0:00:00.208) 0:00:04.466 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:32:54 +0000 (0:00:00.019) 0:00:04.485 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:32:54 +0000 (0:00:00.017) 0:00:04.502 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr27] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:32:56 +0000 (0:00:02.648) 0:00:07.151 ***** ok: [sut] => (item=ip link add lsr27 type veth peer name peerlsr27) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27" ], "delta": "0:00:00.008918", "end": "2024-01-31 23:32:57.162693", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2024-01-31 23:32:57.153775" } ok: [sut] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.004151", "end": "2024-01-31 23:32:57.415712", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2024-01-31 23:32:57.411561" } ok: [sut] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.003865", "end": "2024-01-31 23:32:57.644331", "item": "ip link set lsr27 up", "rc": 0, "start": "2024-01-31 23:32:57.640466" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.711) 0:00:07.863 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr27", "managed", "true" ], "delta": "0:00:00.023980", "end": "2024-01-31 23:32:57.883473", "rc": 0, "start": "2024-01-31 23:32:57.859493" } TASK [Delete veth interface lsr27] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.237) 0:00:08.101 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr27] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.017) 0:00:08.118 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr27] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.016) 0:00:08.134 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr27] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.019) 0:00:08.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr27] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.019) 0:00:08.174 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:30 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.016) 0:00:08.190 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:32:58 +0000 (0:00:00.025) 0:00:08.215 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr27] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:32:58 +0000 (0:00:00.024) 0:00:08.240 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743977.1575403, "block_size": 4096, "blocks": 0, "ctime": 1706743977.1575403, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30353, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1706743977.1575403, "nlink": 1, "path": "/sys/class/net/lsr27", "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 - 'lsr27'] ************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:32:58 +0000 (0:00:00.209) 0:00:08.450 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:33 Wednesday 31 January 2024 23:32:58 +0000 (0:00:00.026) 0:00:08.476 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.801) 0:00:09.278 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.126) 0:00:09.404 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.028) 0:00:09.433 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.020) 0:00:09.454 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.019) 0:00:09.473 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:01 +0000 (0:00:02.361) 0:00:11.835 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:02 +0000 (0:00:01.300) 0:00:13.135 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:33:02 +0000 (0:00:00.037) 0:00:13.172 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.069) 0:00:13.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.045) 0:00:13.288 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.089) 0:00:13.377 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.034) 0:00:13.412 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.044) 0:00:13.456 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.042) 0:00:13.498 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.863) 0:00:14.362 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.044) 0:00:14.407 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.037) 0:00:14.444 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.032) 0:00:14.477 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 5837099e-9137-493b-895c-b9a184716ff2 [004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 5837099e-9137-493b-895c-b9a184716ff2 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.620) 0:00:15.098 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.039) 0:00:15.137 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 5837099e-9137-493b-895c-b9a184716ff2", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 5837099e-9137-493b-895c-b9a184716ff2 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.046) 0:00:15.183 ***** 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": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "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, 'lsr27': add connection lsr27, 5837099e-9137-493b-895c-b9a184716ff2\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 5837099e-9137-493b-895c-b9a184716ff2 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 5837099e-9137-493b-895c-b9a184716ff2", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 5837099e-9137-493b-895c-b9a184716ff2 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.047) 0:00:15.231 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.041) 0:00:15.272 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_output_in_stderr_without_warnings.yml'] ********* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:47 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.342) 0:00:15.614 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for sut TASK [Assert that warnings is empty] ******************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:3 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.073) 0:00:15.688 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:8 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.073) 0:00:15.761 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Play for cleaning up the test device and the connection profile] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:50 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.069) 0:00:15.831 ***** ok: [sut] META: ran handlers TASK [Show network_provider] *************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:53 Wednesday 31 January 2024 23:33:06 +0000 (0:00:00.864) 0:00:16.696 ***** ok: [sut] => { "network_provider": "nm" } META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/down_profile.yml:3 Wednesday 31 January 2024 23:33:06 +0000 (0:00:00.051) 0:00:16.747 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.822) 0:00:17.570 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.065) 0:00:17.635 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.052) 0:00:17.688 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.033) 0:00:17.721 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.031) 0:00:17.753 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:09 +0000 (0:00:02.335) 0:00:20.089 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:10 +0000 (0:00:01.050) 0:00:21.139 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.037) 0:00:21.176 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.038) 0:00:21.214 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.032) 0:00:21.246 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.063) 0:00:21.310 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.032) 0:00:21.343 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.036) 0:00:21.379 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.050) 0:00:21.430 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.626) 0:00:22.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.067) 0:00:22.124 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.047) 0:00:22.171 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:12 +0000 (0:00:00.041) 0:00:22.212 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:12 +0000 (0:00:00.471) 0:00:22.683 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:12 +0000 (0:00:00.084) 0:00:22.767 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:12 +0000 (0:00:00.031) 0:00:22.799 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:12 +0000 (0:00:00.046) 0:00:22.846 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:12 +0000 (0:00:00.041) 0:00:22.887 ***** 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_rewritev3ckusxb/tests/playbooks/down_profile+delete_interface.yml:5 Wednesday 31 January 2024 23:33:12 +0000 (0:00:00.232) 0:00:23.120 ***** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/down_profile+delete_interface.yml:8 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.827) 0:00:23.947 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.059) 0:00:24.006 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.010669", "end": "2024-01-31 23:33:14.011410", "rc": 0, "start": "2024-01-31 23:33:14.000741" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/remove_profile.yml:3 Wednesday 31 January 2024 23:33:14 +0000 (0:00:00.260) 0:00:24.267 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:33:14 +0000 (0:00:00.817) 0:00:25.085 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:33:14 +0000 (0:00:00.054) 0:00:25.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:33:14 +0000 (0:00:00.038) 0:00:25.178 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.031) 0:00:25.209 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.029) 0:00:25.239 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:17 +0000 (0:00:02.284) 0:00:27.524 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.984) 0:00:28.508 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.032) 0:00:28.541 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.030) 0:00:28.572 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.033) 0:00:28.605 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.063) 0:00:28.669 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.033) 0:00:28.702 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.029) 0:00:28.732 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.035) 0:00:28.767 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.618) 0:00:29.386 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.040) 0:00:29.427 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.045) 0:00:29.472 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.031) 0:00:29.504 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.433) 0:00:29.937 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.034) 0:00:29.971 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.039) 0:00:30.010 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.035) 0:00:30.046 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.032) 0:00:30.079 ***** 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_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:68 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.222) 0:00:30.301 ***** ok: [sut] META: ran handlers TASK [Include the task 'assert_profile_absent.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:71 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.804) 0:00:31.105 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.075) 0:00:31.181 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.054) 0:00:31.236 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.040) 0:00:31.276 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.239) 0:00:31.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.047) 0:00:31.564 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.020081", "end": "2024-01-31 23:33:21.583208", "rc": 1, "start": "2024-01-31 23:33:21.563127" } 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.265) 0:00:31.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr27] ************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.042) 0:00:31.872 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr27] *********************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.047) 0:00:31.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr27] ****************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.046) 0:00:31.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr27] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.036) 0:00:32.002 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'lsr27'] ***************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.035) 0:00:32.037 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:75 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.041) 0:00:32.079 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.077) 0:00:32.157 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr27] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.055) 0:00:32.212 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'lsr27'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.222) 0:00:32.434 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=79 changed=3 unreachable=0 failed=0 skipped=61 rescued=0 ignored=1 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.013) 0:00:32.448 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.65s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.36s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.34s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.05s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 1.02s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tests_ethernet_nm.yml:6 ------- linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:50 linux-system-roles.network : Enable and start NetworkManager ------------ 0.86s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/down_profile.yml:3 -- Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/remove_profile.yml:3 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:68 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:33 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:3 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_ethernet.yml:13 Create veth interface lsr27 --------------------------------------------- 0.71s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.63s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.62s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---