# 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_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-route_type1e5s8xo3/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/tests_states_nm.yml:6 Friday 12 January 2024 18:50:05 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/tests_states_nm.yml:9 Friday 12 January 2024 18:50:06 +0000 (0:00:00.908) 0:00:00.920 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:50:06 +0000 (0:00:00.021) 0:00:00.942 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 18:50:07 +0000 (0:00:00.531) 0:00:01.473 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 18:50:07 +0000 (0:00:00.251) 0:00:01.725 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 18:50:07 +0000 (0:00:00.019) 0:00:01.745 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 18:50:07 +0000 (0:00:00.017) 0:00:01.762 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:50:07 +0000 (0:00:00.032) 0:00:01.794 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:50:07 +0000 (0:00:00.008) 0:00:01.803 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:50:07 +0000 (0:00:00.008) 0:00:01.812 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:50:07 +0000 (0:00:00.008) 0:00:01.820 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:50:07 +0000 (0:00:00.008) 0:00:01.828 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/tests_states_nm.yml:11 Friday 12 January 2024 18:50:07 +0000 (0:00:00.008) 0:00:01.837 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 18:50:07 +0000 (0:00:00.010) 0:00:01.847 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 18:50:08 +0000 (0:00:00.773) 0:00:02.621 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 18:50:08 +0000 (0:00:00.009) 0:00:02.630 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:50:08 +0000 (0:00:00.015) 0:00:02.646 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:50:08 +0000 (0:00:00.010) 0:00:02.657 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:50:08 +0000 (0:00:00.031) 0:00:02.689 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:50:08 +0000 (0:00:00.013) 0:00:02.703 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:50:08 +0000 (0:00:00.012) 0:00:02.715 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004626", "end": "2024-01-12 18:50:09.830898", "rc": 0, "start": "2024-01-12 18:50:08.826272" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:50:09 +0000 (0:00:01.272) 0:00:03.987 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:50:09 +0000 (0:00:00.010) 0:00:03.998 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:50:09 +0000 (0:00:00.010) 0:00:04.009 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:50:09 +0000 (0:00:00.019) 0:00:04.029 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008044", "end": "2024-01-12 18:50:10.078768", "rc": 1, "start": "2024-01-12 18:50:10.070724" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:50:10 +0000 (0:00:00.204) 0:00:04.233 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:50:10 +0000 (0:00:00.013) 0:00:04.247 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:50:10 +0000 (0:00:00.200) 0:00:04.447 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:50:10 +0000 (0:00:00.012) 0:00:04.459 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:50:10 +0000 (0:00:00.017) 0:00:04.477 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:50:10 +0000 (0:00:00.031) 0:00:04.508 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:10 +0000 (0:00:00.067) 0:00:04.576 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:50:10 +0000 (0:00:00.011) 0:00:04.588 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:50:10 +0000 (0:00:00.011) 0:00:04.599 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:50:10 +0000 (0:00:00.011) 0:00:04.610 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:50:12 +0000 (0:00:02.287) 0:00:06.898 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:50:13 +0000 (0:00:01.046) 0:00:07.944 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:50:13 +0000 (0:00:00.026) 0:00:07.971 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:50:13 +0000 (0:00:00.021) 0:00:07.993 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:50:13 +0000 (0:00:00.021) 0:00:08.014 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:50:13 +0000 (0:00:00.043) 0:00:08.058 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:50:13 +0000 (0:00:00.021) 0:00:08.079 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:50:13 +0000 (0:00:00.021) 0:00:08.101 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:50:13 +0000 (0:00:00.024) 0:00:08.125 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:50:14 +0000 (0:00:00.703) 0:00:08.828 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:50:14 +0000 (0:00:00.026) 0:00:08.855 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:50:14 +0000 (0:00:00.021) 0:00:08.876 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:50:14 +0000 (0:00:00.021) 0:00:08.897 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5889a6f7-02f9-4d8d-bc04-55f7a3068c81 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:50:15 +0000 (0:00:00.510) 0:00:09.408 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:50:15 +0000 (0:00:00.023) 0:00:09.432 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5889a6f7-02f9-4d8d-bc04-55f7a3068c81" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:50:15 +0000 (0:00:00.024) 0:00:09.457 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5889a6f7-02f9-4d8d-bc04-55f7a3068c81\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5889a6f7-02f9-4d8d-bc04-55f7a3068c81" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:50:15 +0000 (0:00:00.035) 0:00:09.492 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:50:15 +0000 (0:00:00.023) 0:00:09.515 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:50:15 +0000 (0:00:00.299) 0:00:09.815 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5889a6f7-02f9-4d8d-bc04-55f7a3068c81\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5889a6f7-02f9-4d8d-bc04-55f7a3068c81" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:50:15 +0000 (0:00:00.023) 0:00:09.838 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:50:15 +0000 (0:00:00.059) 0:00:09.898 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:50:15 +0000 (0:00:00.039) 0:00:09.938 ******** 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-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:50:15 +0000 (0:00:00.021) 0:00:09.959 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:50:16 +0000 (0:00:00.207) 0:00:10.166 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:50:16 +0000 (0:00:00.030) 0:00:10.197 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021625", "end": "2024-01-12 18:50:16.263823", "rc": 0, "start": "2024-01-12 18:50:16.242198" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:50:16 +0000 (0:00:00.234) 0:00:10.432 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:50:16 +0000 (0:00:00.026) 0:00:10.459 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:50:16 +0000 (0:00:00.023) 0:00:10.482 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:50:16 +0000 (0:00:00.022) 0:00:10.505 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:50:16 +0000 (0:00:00.023) 0:00:10.528 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:50:16 +0000 (0:00:00.023) 0:00:10.552 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:50:16 +0000 (0:00:00.023) 0:00:10.575 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:50:16 +0000 (0:00:00.023) 0:00:10.599 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:50:16 +0000 (0:00:00.022) 0:00:10.621 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:50:16 +0000 (0:00:00.083) 0:00:10.705 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:50:16 +0000 (0:00:00.037) 0:00:10.743 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705085415.1968691, "block_size": 4096, "blocks": 0, "ctime": 1705085415.1968691, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1705085415.1968691, "nlink": 1, "path": "/sys/class/net/statebr", "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 - 'statebr'] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:50:16 +0000 (0:00:00.214) 0:00:10.957 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:50:16 +0000 (0:00:00.024) 0:00:10.982 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:50:16 +0000 (0:00:00.022) 0:00:11.005 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:50:16 +0000 (0:00:00.042) 0:00:11.047 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.057877", "end": "2024-01-12 18:50:17.151400", "rc": 1, "start": "2024-01-12 18:50:17.093523" } STDOUT: Connection 'statebr' (5889a6f7-02f9-4d8d-bc04-55f7a3068c81) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 18:50:17 +0000 (0:00:00.272) 0:00:11.319 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:50:17 +0000 (0:00:00.037) 0:00:11.356 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:50:17 +0000 (0:00:00.022) 0:00:11.379 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:50:17 +0000 (0:00:00.043) 0:00:11.422 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:50:17 +0000 (0:00:00.055) 0:00:11.478 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:50:17 +0000 (0:00:00.036) 0:00:11.515 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003948", "end": "2024-01-12 18:50:17.562376", "rc": 0, "start": "2024-01-12 18:50:17.558428" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:50:17 +0000 (0:00:00.214) 0:00:11.730 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:50:17 +0000 (0:00:00.024) 0:00:11.754 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:50:17 +0000 (0:00:00.022) 0:00:11.776 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:50:17 +0000 (0:00:00.041) 0:00:11.817 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006695", "end": "2024-01-12 18:50:17.868406", "rc": 1, "start": "2024-01-12 18:50:17.861711" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:50:17 +0000 (0:00:00.217) 0:00:12.035 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:50:17 +0000 (0:00:00.037) 0:00:12.073 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:50:18 +0000 (0:00:00.209) 0:00:12.282 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:50:18 +0000 (0:00:00.048) 0:00:12.331 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 18:50:18 +0000 (0:00:00.043) 0:00:12.374 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:50:18 +0000 (0:00:00.043) 0:00:12.418 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:18 +0000 (0:00:00.042) 0:00:12.460 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:50:18 +0000 (0:00:00.027) 0:00:12.487 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:50:18 +0000 (0:00:00.021) 0:00:12.509 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:50:18 +0000 (0:00:00.021) 0:00:12.530 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:50:20 +0000 (0:00:02.217) 0:00:14.748 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:50:21 +0000 (0:00:00.910) 0:00:15.658 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:50:21 +0000 (0:00:00.022) 0:00:15.681 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:50:21 +0000 (0:00:00.022) 0:00:15.703 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:50:21 +0000 (0:00:00.022) 0:00:15.725 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:50:21 +0000 (0:00:00.044) 0:00:15.770 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:50:21 +0000 (0:00:00.021) 0:00:15.791 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:50:21 +0000 (0:00:00.044) 0:00:15.835 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:50:21 +0000 (0:00:00.026) 0:00:15.862 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:50:22 +0000 (0:00:00.557) 0:00:16.419 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:50:22 +0000 (0:00:00.027) 0:00:16.447 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:50:22 +0000 (0:00:00.023) 0:00:16.470 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:50:22 +0000 (0:00:00.021) 0:00:16.492 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b596ad72-a699-4459-be23-8ee1777fc48c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:50:22 +0000 (0:00:00.375) 0:00:16.867 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:50:22 +0000 (0:00:00.022) 0:00:16.889 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b596ad72-a699-4459-be23-8ee1777fc48c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:50:22 +0000 (0:00:00.024) 0:00:16.914 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b596ad72-a699-4459-be23-8ee1777fc48c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b596ad72-a699-4459-be23-8ee1777fc48c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:50:22 +0000 (0:00:00.025) 0:00:16.940 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:50:22 +0000 (0:00:00.023) 0:00:16.963 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 18:50:23 +0000 (0:00:00.205) 0:00:17.168 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b596ad72-a699-4459-be23-8ee1777fc48c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b596ad72-a699-4459-be23-8ee1777fc48c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:50:23 +0000 (0:00:00.044) 0:00:17.212 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:50:23 +0000 (0:00:00.044) 0:00:17.257 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:50:23 +0000 (0:00:00.037) 0:00:17.294 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:50:23 +0000 (0:00:00.211) 0:00:17.506 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:50:23 +0000 (0:00:00.023) 0:00:17.530 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:50:23 +0000 (0:00:00.041) 0:00:17.571 ******** 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-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:50:23 +0000 (0:00:00.025) 0:00:17.597 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:50:23 +0000 (0:00:00.209) 0:00:17.806 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:50:23 +0000 (0:00:00.021) 0:00:17.828 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021173", "end": "2024-01-12 18:50:23.893115", "rc": 0, "start": "2024-01-12 18:50:23.871942" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:50:23 +0000 (0:00:00.233) 0:00:18.061 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:50:23 +0000 (0:00:00.024) 0:00:18.086 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:50:23 +0000 (0:00:00.043) 0:00:18.129 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:50:24 +0000 (0:00:00.023) 0:00:18.153 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:50:24 +0000 (0:00:00.024) 0:00:18.177 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:50:24 +0000 (0:00:00.024) 0:00:18.202 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:50:24 +0000 (0:00:00.025) 0:00:18.228 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:50:24 +0000 (0:00:00.025) 0:00:18.254 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:50:24 +0000 (0:00:00.023) 0:00:18.277 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:50:24 +0000 (0:00:00.020) 0:00:18.298 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:50:24 +0000 (0:00:00.023) 0:00:18.321 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:50:24 +0000 (0:00:00.044) 0:00:18.365 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042760", "end": "2024-01-12 18:50:24.452361", "rc": 1, "start": "2024-01-12 18:50:24.409601" } STDOUT: Connection 'statebr' (b596ad72-a699-4459-be23-8ee1777fc48c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 18:50:24 +0000 (0:00:00.255) 0:00:18.620 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:50:24 +0000 (0:00:00.037) 0:00:18.658 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:50:24 +0000 (0:00:00.022) 0:00:18.680 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:50:24 +0000 (0:00:00.067) 0:00:18.747 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:50:24 +0000 (0:00:00.037) 0:00:18.785 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:50:24 +0000 (0:00:00.035) 0:00:18.820 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004814", "end": "2024-01-12 18:50:25.868193", "rc": 0, "start": "2024-01-12 18:50:24.863379" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:50:25 +0000 (0:00:01.215) 0:00:20.036 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:50:25 +0000 (0:00:00.024) 0:00:20.061 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:50:25 +0000 (0:00:00.023) 0:00:20.084 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:50:25 +0000 (0:00:00.041) 0:00:20.125 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:50:26 +0000 (0:00:00.039) 0:00:20.164 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:26 +0000 (0:00:00.064) 0:00:20.229 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:50:26 +0000 (0:00:00.029) 0:00:20.258 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:50:26 +0000 (0:00:00.021) 0:00:20.280 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:50:26 +0000 (0:00:00.021) 0:00:20.301 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:50:28 +0000 (0:00:02.213) 0:00:22.515 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:50:29 +0000 (0:00:00.929) 0:00:23.444 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:50:29 +0000 (0:00:00.024) 0:00:23.469 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:50:29 +0000 (0:00:00.022) 0:00:23.491 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:50:29 +0000 (0:00:00.022) 0:00:23.514 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:50:29 +0000 (0:00:00.045) 0:00:23.559 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:50:29 +0000 (0:00:00.021) 0:00:23.580 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:50:29 +0000 (0:00:00.022) 0:00:23.603 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:50:29 +0000 (0:00:00.025) 0:00:23.628 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:50:30 +0000 (0:00:00.579) 0:00:24.207 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:50:30 +0000 (0:00:00.026) 0:00:24.233 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:50:30 +0000 (0:00:00.021) 0:00:24.255 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:50:30 +0000 (0:00:00.021) 0:00:24.277 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:50:30 +0000 (0:00:00.417) 0:00:24.694 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:50:30 +0000 (0:00:00.022) 0:00:24.717 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:50:30 +0000 (0:00:00.022) 0:00:24.740 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:50:30 +0000 (0:00:00.022) 0:00:24.762 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:50:30 +0000 (0:00:00.021) 0:00:24.784 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:50:30 +0000 (0:00:00.204) 0:00:24.989 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:50:30 +0000 (0:00:00.024) 0:00:25.013 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:50:30 +0000 (0:00:00.039) 0:00:25.052 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:50:30 +0000 (0:00:00.064) 0:00:25.116 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:31 +0000 (0:00:00.042) 0:00:25.159 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:50:31 +0000 (0:00:00.029) 0:00:25.188 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:50:31 +0000 (0:00:00.022) 0:00:25.210 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:50:31 +0000 (0:00:00.021) 0:00:25.232 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:50:33 +0000 (0:00:02.247) 0:00:27.480 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:50:34 +0000 (0:00:00.910) 0:00:28.390 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:50:34 +0000 (0:00:00.024) 0:00:28.415 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:50:34 +0000 (0:00:00.022) 0:00:28.438 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:50:34 +0000 (0:00:00.022) 0:00:28.460 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:50:34 +0000 (0:00:00.045) 0:00:28.506 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:50:34 +0000 (0:00:00.023) 0:00:28.529 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:50:34 +0000 (0:00:00.021) 0:00:28.550 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:50:34 +0000 (0:00:00.026) 0:00:28.577 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:50:35 +0000 (0:00:00.573) 0:00:29.150 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:50:35 +0000 (0:00:00.026) 0:00:29.177 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:50:35 +0000 (0:00:00.021) 0:00:29.199 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:50:35 +0000 (0:00:00.021) 0:00:29.220 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:50:35 +0000 (0:00:00.365) 0:00:29.585 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:50:35 +0000 (0:00:00.021) 0:00:29.607 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:50:35 +0000 (0:00:00.024) 0:00:29.631 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6f77e20-f51b-428f-aca6-27a2e3345548 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:50:35 +0000 (0:00:00.024) 0:00:29.656 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:50:35 +0000 (0:00:00.022) 0:00:29.679 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:50:35 +0000 (0:00:00.205) 0:00:29.884 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:50:35 +0000 (0:00:00.043) 0:00:29.927 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:50:35 +0000 (0:00:00.062) 0:00:29.990 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705085430.4725947, "block_size": 4096, "blocks": 0, "ctime": 1705085430.4725947, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1705085430.4725947, "nlink": 1, "path": "/sys/class/net/statebr", "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 - 'statebr'] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:50:36 +0000 (0:00:00.209) 0:00:30.199 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:50:36 +0000 (0:00:00.025) 0:00:30.225 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:50:36 +0000 (0:00:00.039) 0:00:30.265 ******** 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-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:50:36 +0000 (0:00:00.023) 0:00:30.288 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:50:36 +0000 (0:00:00.209) 0:00:30.498 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:50:36 +0000 (0:00:00.021) 0:00:30.520 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021246", "end": "2024-01-12 18:50:36.585149", "rc": 0, "start": "2024-01-12 18:50:36.563903" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:50:36 +0000 (0:00:00.233) 0:00:30.754 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:50:36 +0000 (0:00:00.025) 0:00:30.779 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:50:36 +0000 (0:00:00.024) 0:00:30.804 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:50:36 +0000 (0:00:00.024) 0:00:30.828 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:50:36 +0000 (0:00:00.022) 0:00:30.851 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:50:36 +0000 (0:00:00.025) 0:00:30.876 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:50:36 +0000 (0:00:00.049) 0:00:30.925 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:50:36 +0000 (0:00:00.025) 0:00:30.950 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:50:36 +0000 (0:00:00.023) 0:00:30.974 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:50:36 +0000 (0:00:00.021) 0:00:30.995 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:50:36 +0000 (0:00:00.022) 0:00:31.017 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:50:36 +0000 (0:00:00.043) 0:00:31.061 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.082333", "end": "2024-01-12 18:50:37.184227", "rc": 1, "start": "2024-01-12 18:50:37.101894" } STDOUT: Connection 'statebr' (f6f77e20-f51b-428f-aca6-27a2e3345548) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 18:50:37 +0000 (0:00:00.291) 0:00:31.352 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:50:37 +0000 (0:00:00.039) 0:00:31.391 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:50:37 +0000 (0:00:00.025) 0:00:31.417 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:50:37 +0000 (0:00:00.061) 0:00:31.478 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:50:37 +0000 (0:00:00.040) 0:00:31.519 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:50:37 +0000 (0:00:00.067) 0:00:31.587 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003720", "end": "2024-01-12 18:50:37.635479", "rc": 0, "start": "2024-01-12 18:50:37.631759" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:50:37 +0000 (0:00:00.218) 0:00:31.805 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:50:37 +0000 (0:00:00.024) 0:00:31.830 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:50:37 +0000 (0:00:00.022) 0:00:31.852 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:50:37 +0000 (0:00:00.043) 0:00:31.895 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:50:37 +0000 (0:00:00.039) 0:00:31.935 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:37 +0000 (0:00:00.046) 0:00:31.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:50:37 +0000 (0:00:00.029) 0:00:32.011 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:50:37 +0000 (0:00:00.024) 0:00:32.036 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:50:37 +0000 (0:00:00.025) 0:00:32.061 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:50:40 +0000 (0:00:02.221) 0:00:34.282 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:50:41 +0000 (0:00:00.903) 0:00:35.186 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:50:41 +0000 (0:00:00.023) 0:00:35.209 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:50:41 +0000 (0:00:00.040) 0:00:35.250 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:50:41 +0000 (0:00:00.022) 0:00:35.272 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:50:41 +0000 (0:00:00.045) 0:00:35.318 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:50:41 +0000 (0:00:00.021) 0:00:35.340 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:50:41 +0000 (0:00:00.021) 0:00:35.361 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:50:41 +0000 (0:00:00.025) 0:00:35.386 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:50:41 +0000 (0:00:00.563) 0:00:35.950 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:50:41 +0000 (0:00:00.026) 0:00:35.976 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:50:41 +0000 (0:00:00.022) 0:00:35.998 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:50:41 +0000 (0:00:00.022) 0:00:36.021 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:50:42 +0000 (0:00:00.407) 0:00:36.429 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:50:42 +0000 (0:00:00.023) 0:00:36.452 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:50:42 +0000 (0:00:00.022) 0:00:36.474 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:50:42 +0000 (0:00:00.050) 0:00:36.525 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:50:42 +0000 (0:00:00.023) 0:00:36.548 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:50:42 +0000 (0:00:00.206) 0:00:36.755 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:50:42 +0000 (0:00:00.024) 0:00:36.779 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:50:42 +0000 (0:00:00.039) 0:00:36.819 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:42 +0000 (0:00:00.042) 0:00:36.862 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:50:42 +0000 (0:00:00.028) 0:00:36.891 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:50:42 +0000 (0:00:00.022) 0:00:36.913 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:50:42 +0000 (0:00:00.021) 0:00:36.935 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:50:45 +0000 (0:00:02.213) 0:00:39.148 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:50:45 +0000 (0:00:00.905) 0:00:40.054 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:50:45 +0000 (0:00:00.023) 0:00:40.077 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:50:45 +0000 (0:00:00.022) 0:00:40.100 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:50:45 +0000 (0:00:00.023) 0:00:40.124 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:50:46 +0000 (0:00:00.064) 0:00:40.189 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:50:46 +0000 (0:00:00.021) 0:00:40.211 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:50:46 +0000 (0:00:00.021) 0:00:40.233 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:50:46 +0000 (0:00:00.025) 0:00:40.258 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:50:46 +0000 (0:00:00.561) 0:00:40.819 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:50:46 +0000 (0:00:00.026) 0:00:40.846 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:50:46 +0000 (0:00:00.021) 0:00:40.867 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:50:46 +0000 (0:00:00.021) 0:00:40.889 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:50:47 +0000 (0:00:00.365) 0:00:41.254 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:50:47 +0000 (0:00:00.021) 0:00:41.275 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:50:47 +0000 (0:00:00.024) 0:00:41.299 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 35c99aa9-6cef-4049-8af7-dda32cdb26b5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:50:47 +0000 (0:00:00.024) 0:00:41.323 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:50:47 +0000 (0:00:00.020) 0:00:41.344 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:50:47 +0000 (0:00:00.201) 0:00:41.545 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:50:47 +0000 (0:00:00.040) 0:00:41.586 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:50:47 +0000 (0:00:00.044) 0:00:41.630 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:47 +0000 (0:00:00.043) 0:00:41.673 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:50:47 +0000 (0:00:00.029) 0:00:41.703 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:50:47 +0000 (0:00:00.022) 0:00:41.726 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:50:47 +0000 (0:00:00.021) 0:00:41.747 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:50:49 +0000 (0:00:02.208) 0:00:43.956 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:50:50 +0000 (0:00:00.905) 0:00:44.861 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:50:50 +0000 (0:00:00.022) 0:00:44.884 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:50:50 +0000 (0:00:00.022) 0:00:44.906 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:50:50 +0000 (0:00:00.021) 0:00:44.928 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:50:50 +0000 (0:00:00.043) 0:00:44.971 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:50:50 +0000 (0:00:00.043) 0:00:45.014 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:50:50 +0000 (0:00:00.022) 0:00:45.037 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:50:50 +0000 (0:00:00.027) 0:00:45.064 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:50:51 +0000 (0:00:00.552) 0:00:45.616 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:50:51 +0000 (0:00:00.026) 0:00:45.643 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:50:51 +0000 (0:00:00.022) 0:00:45.666 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:50:51 +0000 (0:00:00.022) 0:00:45.688 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:50:51 +0000 (0:00:00.392) 0:00:46.080 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:50:51 +0000 (0:00:00.021) 0:00:46.102 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:50:51 +0000 (0:00:00.022) 0:00:46.125 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:50:52 +0000 (0:00:00.022) 0:00:46.147 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:50:52 +0000 (0:00:00.021) 0:00:46.169 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:50:52 +0000 (0:00:00.227) 0:00:46.396 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:50:52 +0000 (0:00:00.044) 0:00:46.441 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:50:52 +0000 (0:00:00.037) 0:00:46.478 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705085442.2130778, "block_size": 4096, "blocks": 0, "ctime": 1705085442.2130778, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1705085442.2130778, "nlink": 1, "path": "/sys/class/net/statebr", "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 - 'statebr'] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:50:52 +0000 (0:00:00.209) 0:00:46.687 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:50:52 +0000 (0:00:00.024) 0:00:46.711 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:50:52 +0000 (0:00:00.038) 0:00:46.750 ******** 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-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:50:52 +0000 (0:00:00.022) 0:00:46.773 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:50:52 +0000 (0:00:00.209) 0:00:46.982 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:50:52 +0000 (0:00:00.021) 0:00:47.004 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021636", "end": "2024-01-12 18:50:53.068717", "rc": 1, "start": "2024-01-12 18:50:53.047081" } 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-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:50:53 +0000 (0:00:00.231) 0:00:47.236 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:50:53 +0000 (0:00:00.022) 0:00:47.259 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:50:53 +0000 (0:00:00.047) 0:00:47.306 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:50:53 +0000 (0:00:00.023) 0:00:47.329 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:50:53 +0000 (0:00:00.023) 0:00:47.352 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:50:53 +0000 (0:00:00.022) 0:00:47.375 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:50:53 +0000 (0:00:00.024) 0:00:47.399 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:50:53 +0000 (0:00:00.021) 0:00:47.421 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:50:53 +0000 (0:00:00.022) 0:00:47.443 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:50:53 +0000 (0:00:00.042) 0:00:47.485 ******** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.073377", "end": "2024-01-12 18:50:53.600535", "rc": 0, "start": "2024-01-12 18:50:53.527158" } STDOUT: Connection 'statebr' (35c99aa9-6cef-4049-8af7-dda32cdb26b5) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tests_states.yml:103 Friday 12 January 2024 18:50:53 +0000 (0:00:00.287) 0:00:47.773 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:50:53 +0000 (0:00:00.045) 0:00:47.818 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:50:53 +0000 (0:00:00.024) 0:00:47.843 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:50:53 +0000 (0:00:00.046) 0:00:47.890 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:50:53 +0000 (0:00:00.065) 0:00:47.955 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:50:53 +0000 (0:00:00.037) 0:00:47.993 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003704", "end": "2024-01-12 18:50:54.042175", "rc": 0, "start": "2024-01-12 18:50:54.038471" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:50:54 +0000 (0:00:00.217) 0:00:48.211 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:50:54 +0000 (0:00:00.024) 0:00:48.235 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:50:54 +0000 (0:00:00.023) 0:00:48.258 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:50:54 +0000 (0:00:00.045) 0:00:48.304 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:50:54 +0000 (0:00:00.038) 0:00:48.342 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:54 +0000 (0:00:00.041) 0:00:48.383 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:50:54 +0000 (0:00:00.028) 0:00:48.412 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:50:54 +0000 (0:00:00.023) 0:00:48.435 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:50:54 +0000 (0:00:00.022) 0:00:48.458 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:50:56 +0000 (0:00:02.247) 0:00:50.706 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:50:57 +0000 (0:00:00.910) 0:00:51.616 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:50:57 +0000 (0:00:00.040) 0:00:51.657 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:50:57 +0000 (0:00:00.022) 0:00:51.680 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:50:57 +0000 (0:00:00.022) 0:00:51.702 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:50:57 +0000 (0:00:00.044) 0:00:51.747 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:50:57 +0000 (0:00:00.021) 0:00:51.769 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:50:57 +0000 (0:00:00.021) 0:00:51.790 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:50:57 +0000 (0:00:00.026) 0:00:51.816 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:50:58 +0000 (0:00:00.559) 0:00:52.375 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:50:58 +0000 (0:00:00.028) 0:00:52.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:50:58 +0000 (0:00:00.021) 0:00:52.425 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:50:58 +0000 (0:00:00.021) 0:00:52.447 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:50:58 +0000 (0:00:00.410) 0:00:52.858 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:50:58 +0000 (0:00:00.023) 0:00:52.881 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:50:58 +0000 (0:00:00.049) 0:00:52.930 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:50:58 +0000 (0:00:00.025) 0:00:52.956 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:50:58 +0000 (0:00:00.021) 0:00:52.978 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:50:59 +0000 (0:00:00.208) 0:00:53.186 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:50:59 +0000 (0:00:00.024) 0:00:53.211 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:50:59 +0000 (0:00:00.040) 0:00:53.251 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:59 +0000 (0:00:00.048) 0:00:53.299 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:50:59 +0000 (0:00:00.028) 0:00:53.327 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:50:59 +0000 (0:00:00.021) 0:00:53.349 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:50:59 +0000 (0:00:00.021) 0:00:53.370 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:51:01 +0000 (0:00:02.228) 0:00:55.598 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:51:02 +0000 (0:00:00.915) 0:00:56.514 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:51:02 +0000 (0:00:00.022) 0:00:56.537 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:51:02 +0000 (0:00:00.022) 0:00:56.559 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:51:02 +0000 (0:00:00.040) 0:00:56.599 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:51:02 +0000 (0:00:00.044) 0:00:56.644 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:51:02 +0000 (0:00:00.021) 0:00:56.666 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:51:02 +0000 (0:00:00.021) 0:00:56.688 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:51:02 +0000 (0:00:00.024) 0:00:56.713 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:51:03 +0000 (0:00:00.560) 0:00:57.273 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:51:03 +0000 (0:00:00.026) 0:00:57.300 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:51:03 +0000 (0:00:00.023) 0:00:57.323 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:51:03 +0000 (0:00:00.023) 0:00:57.347 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:51:03 +0000 (0:00:00.367) 0:00:57.714 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:51:03 +0000 (0:00:00.023) 0:00:57.737 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:51:03 +0000 (0:00:00.024) 0:00:57.762 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1d10412-5fbe-4ed3-87e7-255eb2a98b16 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:51:03 +0000 (0:00:00.023) 0:00:57.785 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:51:03 +0000 (0:00:00.046) 0:00:57.832 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:51:03 +0000 (0:00:00.205) 0:00:58.037 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:51:03 +0000 (0:00:00.039) 0:00:58.076 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:51:03 +0000 (0:00:00.042) 0:00:58.119 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:51:04 +0000 (0:00:00.027) 0:00:58.146 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:51:04 +0000 (0:00:00.021) 0:00:58.167 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:51:04 +0000 (0:00:00.022) 0:00:58.189 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:51:06 +0000 (0:00:02.223) 0:01:00.413 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:51:07 +0000 (0:00:00.906) 0:01:01.320 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:51:07 +0000 (0:00:00.023) 0:01:01.344 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:51:07 +0000 (0:00:00.021) 0:01:01.365 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:51:07 +0000 (0:00:00.021) 0:01:01.387 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:51:07 +0000 (0:00:00.045) 0:01:01.432 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:51:07 +0000 (0:00:00.021) 0:01:01.454 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:51:07 +0000 (0:00:00.042) 0:01:01.496 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:51:07 +0000 (0:00:00.025) 0:01:01.522 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:51:07 +0000 (0:00:00.560) 0:01:02.083 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:51:07 +0000 (0:00:00.026) 0:01:02.109 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:51:07 +0000 (0:00:00.022) 0:01:02.131 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:51:08 +0000 (0:00:00.022) 0:01:02.153 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:51:08 +0000 (0:00:00.393) 0:01:02.546 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:51:08 +0000 (0:00:00.021) 0:01:02.568 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:51:08 +0000 (0:00:00.022) 0:01:02.591 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:51:08 +0000 (0:00:00.022) 0:01:02.613 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:51:08 +0000 (0:00:00.021) 0:01:02.635 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:51:08 +0000 (0:00:00.205) 0:01:02.841 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:51:08 +0000 (0:00:00.063) 0:01:02.905 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:51:08 +0000 (0:00:00.042) 0:01:02.947 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:51:08 +0000 (0:00:00.041) 0:01:02.988 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:51:08 +0000 (0:00:00.026) 0:01:03.015 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:51:08 +0000 (0:00:00.021) 0:01:03.037 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:51:08 +0000 (0:00:00.021) 0:01:03.059 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:51:11 +0000 (0:00:02.235) 0:01:05.294 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:51:12 +0000 (0:00:00.907) 0:01:06.202 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:51:12 +0000 (0:00:00.023) 0:01:06.225 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:51:12 +0000 (0:00:00.022) 0:01:06.247 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:51:12 +0000 (0:00:00.021) 0:01:06.269 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:51:12 +0000 (0:00:00.046) 0:01:06.316 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:51:12 +0000 (0:00:00.022) 0:01:06.338 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:51:12 +0000 (0:00:00.021) 0:01:06.359 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:51:12 +0000 (0:00:00.053) 0:01:06.413 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:51:12 +0000 (0:00:00.559) 0:01:06.973 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:51:12 +0000 (0:00:00.027) 0:01:07.000 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:51:12 +0000 (0:00:00.021) 0:01:07.022 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:51:12 +0000 (0:00:00.021) 0:01:07.044 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:51:13 +0000 (0:00:00.453) 0:01:07.497 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:51:13 +0000 (0:00:00.023) 0:01:07.521 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:51:13 +0000 (0:00:00.027) 0:01:07.548 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:51:13 +0000 (0:00:00.023) 0:01:07.572 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:51:13 +0000 (0:00:00.021) 0:01:07.594 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:51:13 +0000 (0:00:00.207) 0:01:07.801 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:51:13 +0000 (0:00:00.064) 0:01:07.865 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:51:13 +0000 (0:00:00.038) 0:01:07.904 ******** 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-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:51:13 +0000 (0:00:00.023) 0:01:07.927 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:51:14 +0000 (0:00:00.206) 0:01:08.134 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:51:14 +0000 (0:00:00.021) 0:01:08.156 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020816", "end": "2024-01-12 18:51:14.217346", "rc": 1, "start": "2024-01-12 18:51:14.196530" } 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-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:51:14 +0000 (0:00:00.228) 0:01:08.384 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:51:14 +0000 (0:00:00.023) 0:01:08.407 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:51:14 +0000 (0:00:00.023) 0:01:08.431 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:51:14 +0000 (0:00:00.022) 0:01:08.454 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:51:14 +0000 (0:00:00.022) 0:01:08.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:51:14 +0000 (0:00:00.022) 0:01:08.499 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:51:14 +0000 (0:00:00.023) 0:01:08.522 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:51:14 +0000 (0:00:00.067) 0:01:08.590 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:51:14 +0000 (0:00:00.038) 0:01:08.628 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:51:14 +0000 (0:00:00.210) 0:01:08.839 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:51:14 +0000 (0:00:00.024) 0:01:08.864 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:51:14 +0000 (0:00:00.022) 0:01:08.887 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:51:14 +0000 (0:00:00.042) 0:01:08.929 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039637", "end": "2024-01-12 18:51:15.012011", "rc": 1, "start": "2024-01-12 18:51:14.972374" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tests_states.yml:126 Friday 12 January 2024 18:51:15 +0000 (0:00:00.251) 0:01:09.180 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:51:15 +0000 (0:00:00.039) 0:01:09.219 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:51:15 +0000 (0:00:00.026) 0:01:09.246 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:51:15 +0000 (0:00:00.046) 0:01:09.293 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:51:15 +0000 (0:00:00.062) 0:01:09.355 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:51:15 +0000 (0:00:00.036) 0:01:09.392 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003594", "end": "2024-01-12 18:51:15.438286", "rc": 0, "start": "2024-01-12 18:51:15.434692" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:51:15 +0000 (0:00:00.214) 0:01:09.606 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:51:15 +0000 (0:00:00.023) 0:01:09.630 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:51:15 +0000 (0:00:00.023) 0:01:09.653 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:51:15 +0000 (0:00:00.046) 0:01:09.700 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:51:15 +0000 (0:00:00.040) 0:01:09.740 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:51:15 +0000 (0:00:00.045) 0:01:09.786 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:51:15 +0000 (0:00:00.030) 0:01:09.816 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:51:15 +0000 (0:00:00.023) 0:01:09.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:51:15 +0000 (0:00:00.021) 0:01:09.860 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:51:17 +0000 (0:00:02.241) 0:01:12.102 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:51:18 +0000 (0:00:00.911) 0:01:13.014 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:51:18 +0000 (0:00:00.041) 0:01:13.055 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:51:18 +0000 (0:00:00.022) 0:01:13.078 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:51:18 +0000 (0:00:00.022) 0:01:13.100 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:51:19 +0000 (0:00:00.045) 0:01:13.146 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:51:19 +0000 (0:00:00.021) 0:01:13.167 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:51:19 +0000 (0:00:00.022) 0:01:13.189 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:51:19 +0000 (0:00:00.026) 0:01:13.216 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:51:19 +0000 (0:00:00.558) 0:01:13.774 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:51:19 +0000 (0:00:00.026) 0:01:13.801 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:51:19 +0000 (0:00:00.021) 0:01:13.822 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:51:19 +0000 (0:00:00.021) 0:01:13.844 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:51:20 +0000 (0:00:00.413) 0:01:14.257 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:51:20 +0000 (0:00:00.021) 0:01:14.279 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:51:20 +0000 (0:00:00.049) 0:01:14.329 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:51:20 +0000 (0:00:00.025) 0:01:14.354 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:51:20 +0000 (0:00:00.022) 0:01:14.377 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:51:20 +0000 (0:00:00.203) 0:01:14.581 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:51:20 +0000 (0:00:00.024) 0:01:14.605 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:51:20 +0000 (0:00:00.037) 0:01:14.642 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:51:20 +0000 (0:00:00.043) 0:01:14.685 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:51:20 +0000 (0:00:00.032) 0:01:14.718 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:51:20 +0000 (0:00:00.022) 0:01:14.741 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:51:20 +0000 (0:00:00.023) 0:01:14.765 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:51:22 +0000 (0:00:02.217) 0:01:16.983 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:51:23 +0000 (0:00:00.910) 0:01:17.893 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:51:23 +0000 (0:00:00.024) 0:01:17.918 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:51:23 +0000 (0:00:00.024) 0:01:17.942 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:51:23 +0000 (0:00:00.054) 0:01:17.996 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:51:23 +0000 (0:00:00.048) 0:01:18.044 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:51:23 +0000 (0:00:00.027) 0:01:18.072 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:51:23 +0000 (0:00:00.029) 0:01:18.101 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:51:24 +0000 (0:00:00.039) 0:01:18.140 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:51:24 +0000 (0:00:00.565) 0:01:18.706 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:51:24 +0000 (0:00:00.027) 0:01:18.734 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:51:24 +0000 (0:00:00.023) 0:01:18.757 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:51:24 +0000 (0:00:00.021) 0:01:18.778 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:51:25 +0000 (0:00:00.368) 0:01:19.147 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:51:25 +0000 (0:00:00.023) 0:01:19.170 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:51:25 +0000 (0:00:00.023) 0:01:19.194 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 015962f1-6615-43ab-b3b4-223ecfc306f4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:51:25 +0000 (0:00:00.024) 0:01:19.218 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:51:25 +0000 (0:00:00.054) 0:01:19.272 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:51:25 +0000 (0:00:00.215) 0:01:19.487 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:51:25 +0000 (0:00:00.038) 0:01:19.526 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:51:25 +0000 (0:00:00.041) 0:01:19.568 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:51:25 +0000 (0:00:00.028) 0:01:19.596 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:51:25 +0000 (0:00:00.022) 0:01:19.618 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:51:25 +0000 (0:00:00.022) 0:01:19.640 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:51:27 +0000 (0:00:02.205) 0:01:21.846 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:51:28 +0000 (0:00:00.911) 0:01:22.757 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:51:28 +0000 (0:00:00.024) 0:01:22.782 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:51:28 +0000 (0:00:00.023) 0:01:22.806 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:51:28 +0000 (0:00:00.021) 0:01:22.827 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:51:28 +0000 (0:00:00.045) 0:01:22.872 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:51:28 +0000 (0:00:00.022) 0:01:22.894 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:51:28 +0000 (0:00:00.021) 0:01:22.916 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:51:28 +0000 (0:00:00.046) 0:01:22.963 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:51:29 +0000 (0:00:00.558) 0:01:23.521 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:51:29 +0000 (0:00:00.027) 0:01:23.549 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:51:29 +0000 (0:00:00.023) 0:01:23.572 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:51:29 +0000 (0:00:00.022) 0:01:23.594 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:51:29 +0000 (0:00:00.440) 0:01:24.035 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:51:29 +0000 (0:00:00.023) 0:01:24.059 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:51:29 +0000 (0:00:00.024) 0:01:24.083 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:51:29 +0000 (0:00:00.028) 0:01:24.112 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:51:30 +0000 (0:00:00.022) 0:01:24.135 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:51:30 +0000 (0:00:00.205) 0:01:24.341 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:51:30 +0000 (0:00:00.069) 0:01:24.410 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:51:30 +0000 (0:00:00.042) 0:01:24.453 ******** included: /WORKDIR/git-route_type1e5s8xo3/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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:51:30 +0000 (0:00:00.042) 0:01:24.495 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:51:30 +0000 (0:00:00.028) 0:01:24.524 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:51:30 +0000 (0:00:00.023) 0:01:24.548 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:51:30 +0000 (0:00:00.024) 0:01:24.573 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:51:32 +0000 (0:00:02.212) 0:01:26.786 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:51:33 +0000 (0:00:00.914) 0:01:27.700 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:51:33 +0000 (0:00:00.023) 0:01:27.724 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:51:33 +0000 (0:00:00.031) 0:01:27.755 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:51:33 +0000 (0:00:00.024) 0:01:27.779 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:51:33 +0000 (0:00:00.045) 0:01:27.825 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:51:33 +0000 (0:00:00.021) 0:01:27.847 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:51:33 +0000 (0:00:00.021) 0:01:27.869 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:51:33 +0000 (0:00:00.024) 0:01:27.893 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:51:34 +0000 (0:00:00.581) 0:01:28.475 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:51:34 +0000 (0:00:00.026) 0:01:28.501 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:51:34 +0000 (0:00:00.022) 0:01:28.523 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:51:34 +0000 (0:00:00.022) 0:01:28.545 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:51:34 +0000 (0:00:00.378) 0:01:28.924 ******** 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-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:51:34 +0000 (0:00:00.023) 0:01:28.947 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:51:34 +0000 (0:00:00.024) 0:01:28.972 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:51:34 +0000 (0:00:00.025) 0:01:28.997 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:51:34 +0000 (0:00:00.023) 0:01:29.020 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:51:35 +0000 (0:00:00.204) 0:01:29.225 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:51:35 +0000 (0:00:00.045) 0:01:29.270 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:51:35 +0000 (0:00:00.063) 0:01:29.334 ******** 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-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:51:35 +0000 (0:00:00.023) 0:01:29.357 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:51:35 +0000 (0:00:00.209) 0:01:29.567 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:51:35 +0000 (0:00:00.021) 0:01:29.588 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020105", "end": "2024-01-12 18:51:35.649726", "rc": 1, "start": "2024-01-12 18:51:35.629621" } 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-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:51:35 +0000 (0:00:00.228) 0:01:29.817 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:51:35 +0000 (0:00:00.022) 0:01:29.840 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:51:35 +0000 (0:00:00.022) 0:01:29.862 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:51:35 +0000 (0:00:00.023) 0:01:29.886 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:51:35 +0000 (0:00:00.022) 0:01:29.908 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:51:35 +0000 (0:00:00.022) 0:01:29.931 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 18:51:35 +0000 (0:00:00.026) 0:01:29.957 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.359903", "end": "2024-01-12 18:51:36.359602", "rc": 0, "start": "2024-01-12 18:51:35.999699" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 18:51:36 +0000 (0:00:00.593) 0:01:30.551 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 18:51:36 +0000 (0:00:00.022) 0:01:30.574 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:51:36 +0000 (0:00:00.023) 0:01:30.597 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:51:36 +0000 (0:00:00.046) 0:01:30.644 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:51:36 +0000 (0:00:00.036) 0:01:30.680 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:51:36 +0000 (0:00:00.208) 0:01:30.888 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:51:36 +0000 (0:00:00.025) 0:01:30.914 ******** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:51:36 +0000 (0:00:00.023) 0:01:30.937 ******** included: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1e5s8xo3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:51:36 +0000 (0:00:00.043) 0:01:30.980 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039059", "end": "2024-01-12 18:51:37.066328", "rc": 1, "start": "2024-01-12 18:51:37.027269" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=10 Friday 12 January 2024 18:51:37 +0000 (0:00:00.238) 0:01:31.219 ******** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 2.96s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.26s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.16s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.70s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.47s /WORKDIR/git-route_type1e5s8xo3/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper 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. ---^---^---^---^---^---