# 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-bond_options_rewritekrh2xdu6/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.649) 0:00:00.662 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.028) 0:00:00.690 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.344) 0:00:01.035 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.264) 0:00:01.299 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.019) 0:00:01.319 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.017) 0:00:01.337 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.030) 0:00:01.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.009) 0:00:01.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.010) 0:00:01.387 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.034) 0:00:01.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.011) 0:00:01.434 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.009) 0:00:01.444 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.010) 0:00:01.454 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.525) 0:00:01.980 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.012) 0:00:01.992 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.017) 0:00:02.010 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.012) 0:00:02.023 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.034) 0:00:02.057 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.014) 0:00:02.071 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.012) 0:00:02.084 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003261", "end": "2024-02-06 22:05:33.598131", "rc": 0, "start": "2024-02-06 22:05:33.594870" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.238) 0:00:02.323 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.012) 0:00:02.335 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.010) 0:00:02.346 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.020) 0:00:02.366 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007546", "end": "2024-02-06 22:05:33.841553", "rc": 1, "start": "2024-02-06 22:05:33.834007" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.200) 0:00:02.566 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:05:33 +0000 (0:00:00.015) 0:00:02.582 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:05:34 +0000 (0:00:00.188) 0:00:02.771 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:05:34 +0000 (0:00:00.012) 0:00:02.783 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:05:34 +0000 (0:00:00.019) 0:00:02.803 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:34 +0000 (0:00:00.037) 0:00:02.840 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:34 +0000 (0:00:00.072) 0:00:02.912 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:34 +0000 (0:00:00.013) 0:00:02.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:34 +0000 (0:00:00.011) 0:00:02.937 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:34 +0000 (0:00:00.015) 0:00:02.953 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:35 +0000 (0:00:01.610) 0:00:04.563 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:37 +0000 (0:00:01.161) 0:00:05.725 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.031) 0:00:05.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.057) 0:00:05.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.029) 0:00:05.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.046) 0:00:05.891 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.023) 0:00:05.914 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.022) 0:00:05.937 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.026) 0:00:05.964 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.509) 0:00:06.473 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.024) 0:00:06.498 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.020) 0:00:06.518 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.019) 0:00:06.538 ****** 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, 5b50310d-be7c-47b7-a21a-17729954d436 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.519) 0:00:07.057 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.051) 0:00:07.108 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b50310d-be7c-47b7-a21a-17729954d436" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.025) 0:00:07.134 ****** 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, 5b50310d-be7c-47b7-a21a-17729954d436\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b50310d-be7c-47b7-a21a-17729954d436" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.024) 0:00:07.159 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.022) 0:00:07.181 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.247) 0:00:07.429 ****** 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, 5b50310d-be7c-47b7-a21a-17729954d436\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b50310d-be7c-47b7-a21a-17729954d436" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.022) 0:00:07.452 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.043) 0:00:07.495 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.040) 0:00:07.535 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:05:38 +0000 (0:00:00.023) 0:00:07.558 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.201) 0:00:07.759 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.020) 0:00:07.780 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022051", "end": "2024-02-06 22:05:39.266837", "rc": 0, "start": "2024-02-06 22:05:39.244786" } 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.222) 0:00:08.002 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.024) 0:00:08.027 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.023) 0:00:08.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.043) 0:00:08.093 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.022) 0:00:08.116 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.021) 0:00:08.137 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.024) 0:00:08.162 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.022) 0:00:08.184 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.021) 0:00:08.206 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.047) 0:00:08.253 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.034) 0:00:08.288 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257138.260547, "block_size": 4096, "blocks": 0, "ctime": 1707257138.260547, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36273, "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": 1707257138.260547, "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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.202) 0:00:08.490 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.025) 0:00:08.516 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.021) 0:00:08.538 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:05:39 +0000 (0:00:00.042) 0:00:08.580 ****** 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.060099", "end": "2024-02-06 22:05:40.105785", "rc": 1, "start": "2024-02-06 22:05:40.045686" } STDOUT: Connection 'statebr' (5b50310d-be7c-47b7-a21a-17729954d436) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.262) 0:00:08.843 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.066) 0:00:08.909 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.036) 0:00:08.946 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.048) 0:00:08.995 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.055) 0:00:09.050 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.042) 0:00:09.092 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003303", "end": "2024-02-06 22:05:40.560905", "rc": 0, "start": "2024-02-06 22:05:40.557602" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.205) 0:00:09.297 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.022) 0:00:09.320 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.023) 0:00:09.344 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.042) 0:00:09.386 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006062", "end": "2024-02-06 22:05:40.900564", "rc": 1, "start": "2024-02-06 22:05:40.894502" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.266) 0:00:09.653 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.058) 0:00:09.712 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.200) 0:00:09.913 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.024) 0:00:09.937 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.038) 0:00:09.975 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.040) 0:00:10.015 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.038) 0:00:10.054 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.026) 0:00:10.080 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.020) 0:00:10.101 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.020) 0:00:10.121 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:42 +0000 (0:00:01.561) 0:00:11.683 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:43 +0000 (0:00:00.978) 0:00:12.661 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:43 +0000 (0:00:00.021) 0:00:12.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:43 +0000 (0:00:00.020) 0:00:12.704 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.020) 0:00:12.724 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.043) 0:00:12.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.023) 0:00:12.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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.022) 0:00:12.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.025) 0:00:12.839 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.366) 0:00:13.205 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.048) 0:00:13.253 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.022) 0:00:13.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.020) 0:00:13.296 ****** 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, 5d731815-faca-4037-ad80-5abc9b323378 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.366) 0:00:13.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.021) 0:00:13.684 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d731815-faca-4037-ad80-5abc9b323378" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:44 +0000 (0:00:00.023) 0:00:13.708 ****** 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, 5d731815-faca-4037-ad80-5abc9b323378\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d731815-faca-4037-ad80-5abc9b323378" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.022) 0:00:13.730 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.020) 0:00:13.750 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.194) 0:00:13.945 ****** 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, 5d731815-faca-4037-ad80-5abc9b323378\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d731815-faca-4037-ad80-5abc9b323378" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.034) 0:00:13.980 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.045) 0:00:14.025 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.035) 0:00:14.061 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.200) 0:00:14.261 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.049) 0:00:14.310 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.040) 0:00:14.351 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.023) 0:00:14.374 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.199) 0:00:14.573 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.023) 0:00:14.597 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021878", "end": "2024-02-06 22:05:46.084217", "rc": 0, "start": "2024-02-06 22:05:46.062339" } 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.224) 0:00:14.821 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.023) 0:00:14.845 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.021) 0:00:14.867 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.021) 0:00:14.888 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.020) 0:00:14.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.021) 0:00:14.931 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.022) 0:00:14.953 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.022) 0:00:14.976 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.021) 0:00:14.997 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.019) 0:00:15.017 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.055) 0:00:15.072 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.043) 0:00:15.116 ****** 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.044245", "end": "2024-02-06 22:05:46.634299", "rc": 1, "start": "2024-02-06 22:05:46.590054" } STDOUT: Connection 'statebr' (5d731815-faca-4037-ad80-5abc9b323378) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.260) 0:00:15.377 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.042) 0:00:15.419 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.037) 0:00:15.457 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.048) 0:00:15.505 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.037) 0:00:15.542 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.042) 0:00:15.585 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003283", "end": "2024-02-06 22:05:47.070616", "rc": 0, "start": "2024-02-06 22:05:47.067333" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.224) 0:00:15.809 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.030) 0:00:15.839 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.029) 0:00:15.869 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.075) 0:00:15.944 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.038) 0:00:15.983 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.052) 0:00:16.035 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.028) 0:00:16.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.023) 0:00:16.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.023) 0:00:16.110 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:48 +0000 (0:00:01.505) 0:00:17.616 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:49 +0000 (0:00:00.989) 0:00:18.605 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:49 +0000 (0:00:00.024) 0:00:18.630 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:49 +0000 (0:00:00.021) 0:00:18.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:49 +0000 (0:00:00.023) 0:00:18.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.046) 0:00:18.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.025) 0:00:18.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.025) 0:00:18.773 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.026) 0:00:18.800 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.383) 0:00:19.183 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.024) 0:00:19.208 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.020) 0:00:19.229 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.022) 0:00:19.251 ****** 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, 8653e38b-318e-40d1-ab84-6af6ce44346b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.453) 0:00:19.705 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.029) 0:00:19.734 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8653e38b-318e-40d1-ab84-6af6ce44346b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.027) 0:00:19.761 ****** 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, 8653e38b-318e-40d1-ab84-6af6ce44346b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8653e38b-318e-40d1-ab84-6af6ce44346b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.030) 0:00:19.791 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.042) 0:00:19.833 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.202) 0:00:20.036 ****** 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, 8653e38b-318e-40d1-ab84-6af6ce44346b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8653e38b-318e-40d1-ab84-6af6ce44346b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.025) 0:00:20.062 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.045) 0:00:20.107 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.044) 0:00:20.152 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.043) 0:00:20.195 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.036) 0:00:20.231 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.031) 0:00:20.262 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.040) 0:00:20.302 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:53 +0000 (0:00:01.562) 0:00:21.865 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.989) 0:00:22.855 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.030) 0:00:22.885 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.025) 0:00:22.911 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.026) 0:00:22.937 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.045) 0:00:22.983 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.021) 0:00:23.005 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.041) 0:00:23.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.025) 0:00:23.072 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.372) 0:00:23.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.033) 0:00:23.478 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.023) 0:00:23.501 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:54 +0000 (0:00:00.036) 0:00:23.537 ****** 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, 8653e38b-318e-40d1-ab84-6af6ce44346b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.365) 0:00:23.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.021) 0:00:23.925 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8653e38b-318e-40d1-ab84-6af6ce44346b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.022) 0:00:23.948 ****** 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, 8653e38b-318e-40d1-ab84-6af6ce44346b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8653e38b-318e-40d1-ab84-6af6ce44346b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.022) 0:00:23.971 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.022) 0:00:23.993 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.203) 0:00:24.197 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.049) 0:00:24.246 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.090) 0:00:24.337 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257150.9048567, "block_size": 4096, "blocks": 0, "ctime": 1707257150.9048567, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36404, "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": 1707257150.9048567, "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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.216) 0:00:24.554 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.024) 0:00:24.578 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.041) 0:00:24.619 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:05:55 +0000 (0:00:00.022) 0:00:24.642 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.199) 0:00:24.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.023) 0:00:24.865 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021984", "end": "2024-02-06 22:05:56.353659", "rc": 0, "start": "2024-02-06 22:05:56.331675" } 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.225) 0:00:25.091 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.025) 0:00:25.116 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.022) 0:00:25.138 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.021) 0:00:25.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.021) 0:00:25.181 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.021) 0:00:25.203 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.023) 0:00:25.227 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.052) 0:00:25.279 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.024) 0:00:25.303 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.020) 0:00:25.324 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.024) 0:00:25.349 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.041) 0:00:25.391 ****** 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.067093", "end": "2024-02-06 22:05:56.923009", "rc": 1, "start": "2024-02-06 22:05:56.855916" } STDOUT: Connection 'statebr' (8653e38b-318e-40d1-ab84-6af6ce44346b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.268) 0:00:25.659 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:05:56 +0000 (0:00:00.037) 0:00:25.697 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.023) 0:00:25.720 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.047) 0:00:25.767 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.036) 0:00:25.804 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.034) 0:00:25.839 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003904", "end": "2024-02-06 22:05:57.311292", "rc": 0, "start": "2024-02-06 22:05:57.307388" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.238) 0:00:26.078 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.023) 0:00:26.101 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.022) 0:00:26.124 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.040) 0:00:26.164 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.037) 0:00:26.201 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.040) 0:00:26.242 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.027) 0:00:26.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.045) 0:00:26.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:57 +0000 (0:00:00.022) 0:00:26.338 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:59 +0000 (0:00:01.547) 0:00:27.886 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.972) 0:00:28.859 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.023) 0:00:28.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.021) 0:00:28.904 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.021) 0:00:28.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.042) 0:00:28.969 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.021) 0:00:28.990 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.021) 0:00:29.012 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.035) 0:00:29.048 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.414) 0:00:29.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.047) 0:00:29.510 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.039) 0:00:29.549 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:00 +0000 (0:00:00.037) 0:00:29.587 ****** 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, 1905d40e-e059-4b61-973a-938d74f8227e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.410) 0:00:29.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.023) 0:00:30.020 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1905d40e-e059-4b61-973a-938d74f8227e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.024) 0:00:30.045 ****** 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, 1905d40e-e059-4b61-973a-938d74f8227e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1905d40e-e059-4b61-973a-938d74f8227e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.024) 0:00:30.069 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.023) 0:00:30.092 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.220) 0:00:30.313 ****** 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, 1905d40e-e059-4b61-973a-938d74f8227e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1905d40e-e059-4b61-973a-938d74f8227e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.037) 0:00:30.350 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.048) 0:00:30.399 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.049) 0:00:30.448 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.027) 0:00:30.476 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.052) 0:00:30.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:01 +0000 (0:00:00.023) 0:00:30.552 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:03 +0000 (0:00:01.503) 0:00:32.055 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.970) 0:00:33.026 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.022) 0:00:33.048 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.066) 0:00:33.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.030) 0:00:33.146 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.047) 0:00:33.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.024) 0:00:33.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.029) 0:00:33.247 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.029) 0:00:33.277 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.368) 0:00:33.645 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.028) 0:00:33.674 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:04 +0000 (0:00:00.023) 0:00:33.697 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.024) 0:00:33.722 ****** 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, 1905d40e-e059-4b61-973a-938d74f8227e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.362) 0:00:34.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.023) 0:00:34.108 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1905d40e-e059-4b61-973a-938d74f8227e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.024) 0:00:34.132 ****** 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, 1905d40e-e059-4b61-973a-938d74f8227e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1905d40e-e059-4b61-973a-938d74f8227e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.025) 0:00:34.158 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.024) 0:00:34.182 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.229) 0:00:34.412 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.041) 0:00:34.453 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.045) 0:00:34.499 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.042) 0:00:34.541 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.029) 0:00:34.570 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.023) 0:00:34.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:05 +0000 (0:00:00.028) 0:00:34.622 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:07 +0000 (0:00:01.510) 0:00:36.132 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:08 +0000 (0:00:01.013) 0:00:37.145 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:08 +0000 (0:00:00.023) 0:00:37.169 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:08 +0000 (0:00:00.023) 0:00:37.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:08 +0000 (0:00:00.022) 0:00:37.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:08 +0000 (0:00:00.044) 0:00:37.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:08 +0000 (0:00:00.026) 0:00:37.287 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:08 +0000 (0:00:00.022) 0:00:37.309 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:08 +0000 (0:00:00.024) 0:00:37.334 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:08 +0000 (0:00:00.360) 0:00:37.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.027) 0:00:37.722 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.056) 0:00:37.779 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.028) 0:00:37.807 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.395) 0:00:38.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.024) 0:00:38.227 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.049) 0:00:38.276 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.027) 0:00:38.303 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.022) 0:00:38.326 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.204) 0:00:38.530 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.051) 0:00:38.582 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:06:09 +0000 (0:00:00.047) 0:00:38.629 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257161.207143, "block_size": 4096, "blocks": 0, "ctime": 1707257161.207143, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36535, "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": 1707257161.207143, "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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.201) 0:00:38.831 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.023) 0:00:38.854 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.067) 0:00:38.922 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.024) 0:00:38.946 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.202) 0:00:39.148 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.024) 0:00:39.172 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022764", "end": "2024-02-06 22:06:10.661586", "rc": 1, "start": "2024-02-06 22:06:10.638822" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.225) 0:00:39.398 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.024) 0:00:39.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.025) 0:00:39.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.024) 0:00:39.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.024) 0:00:39.497 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.025) 0:00:39.523 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.027) 0:00:39.550 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.021) 0:00:39.571 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.025) 0:00:39.596 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:06:10 +0000 (0:00:00.043) 0:00:39.640 ****** 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.075269", "end": "2024-02-06 22:06:11.180920", "rc": 1, "start": "2024-02-06 22:06:11.105651" } STDOUT: Connection 'statebr' (1905d40e-e059-4b61-973a-938d74f8227e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.275) 0:00:39.916 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.064) 0:00:39.980 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.023) 0:00:40.004 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.045) 0:00:40.050 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.036) 0:00:40.087 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.041) 0:00:40.128 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003696", "end": "2024-02-06 22:06:11.597227", "rc": 0, "start": "2024-02-06 22:06:11.593531" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.205) 0:00:40.333 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.023) 0:00:40.357 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.021) 0:00:40.378 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.051) 0:00:40.430 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.037) 0:00:40.467 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.040) 0:00:40.508 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.080) 0:00:40.589 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.023) 0:00:40.612 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:11 +0000 (0:00:00.021) 0:00:40.634 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:13 +0000 (0:00:01.530) 0:00:42.164 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:14 +0000 (0:00:00.996) 0:00:43.161 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:14 +0000 (0:00:00.024) 0:00:43.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:14 +0000 (0:00:00.023) 0:00:43.209 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:14 +0000 (0:00:00.028) 0:00:43.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:14 +0000 (0:00:00.051) 0:00:43.290 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:14 +0000 (0:00:00.028) 0:00:43.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:14 +0000 (0:00:00.022) 0:00:43.341 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:14 +0000 (0:00:00.026) 0:00:43.367 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.366) 0:00:43.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.027) 0:00:43.761 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.029) 0:00:43.791 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.026) 0:00:43.817 ****** 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, 4078de94-3a8b-43af-aecc-03bc294d8b3a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.442) 0:00:44.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.022) 0:00:44.282 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4078de94-3a8b-43af-aecc-03bc294d8b3a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.024) 0:00:44.306 ****** 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, 4078de94-3a8b-43af-aecc-03bc294d8b3a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4078de94-3a8b-43af-aecc-03bc294d8b3a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.023) 0:00:44.330 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.063) 0:00:44.394 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.196) 0:00:44.590 ****** 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, 4078de94-3a8b-43af-aecc-03bc294d8b3a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4078de94-3a8b-43af-aecc-03bc294d8b3a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.023) 0:00:44.614 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.038) 0:00:44.653 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:15 +0000 (0:00:00.047) 0:00:44.701 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:16 +0000 (0:00:00.030) 0:00:44.731 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:16 +0000 (0:00:00.024) 0:00:44.756 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:16 +0000 (0:00:00.026) 0:00:44.782 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:17 +0000 (0:00:01.561) 0:00:46.344 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:18 +0000 (0:00:00.978) 0:00:47.322 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:18 +0000 (0:00:00.035) 0:00:47.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:18 +0000 (0:00:00.029) 0:00:47.387 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:18 +0000 (0:00:00.033) 0:00:47.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:18 +0000 (0:00:00.050) 0:00:47.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:18 +0000 (0:00:00.025) 0:00:47.497 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:18 +0000 (0:00:00.032) 0:00:47.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:18 +0000 (0:00:00.025) 0:00:47.555 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:19 +0000 (0:00:00.383) 0:00:47.938 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:19 +0000 (0:00:00.084) 0:00:48.022 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:19 +0000 (0:00:00.027) 0:00:48.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:19 +0000 (0:00:00.027) 0:00:48.077 ****** 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, 4078de94-3a8b-43af-aecc-03bc294d8b3a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:19 +0000 (0:00:00.362) 0:00:48.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:19 +0000 (0:00:00.041) 0:00:48.481 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4078de94-3a8b-43af-aecc-03bc294d8b3a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:19 +0000 (0:00:00.057) 0:00:48.538 ****** 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, 4078de94-3a8b-43af-aecc-03bc294d8b3a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4078de94-3a8b-43af-aecc-03bc294d8b3a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:19 +0000 (0:00:00.029) 0:00:48.567 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:19 +0000 (0:00:00.023) 0:00:48.591 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:06:20 +0000 (0:00:00.196) 0:00:48.787 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:20 +0000 (0:00:00.037) 0:00:48.825 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:20 +0000 (0:00:00.039) 0:00:48.865 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:20 +0000 (0:00:00.026) 0:00:48.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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:20 +0000 (0:00:00.021) 0:00:48.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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:20 +0000 (0:00:00.020) 0:00:48.933 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:21 +0000 (0:00:01.569) 0:00:50.503 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:22 +0000 (0:00:00.947) 0:00:51.450 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:22 +0000 (0:00:00.021) 0:00:51.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:22 +0000 (0:00:00.020) 0:00:51.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:22 +0000 (0:00:00.020) 0:00:51.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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:22 +0000 (0:00:00.065) 0:00:51.579 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:22 +0000 (0:00:00.022) 0:00:51.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:22 +0000 (0:00:00.020) 0:00:51.622 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:22 +0000 (0:00:00.024) 0:00:51.646 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:23 +0000 (0:00:00.359) 0:00:52.005 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:23 +0000 (0:00:00.028) 0:00:52.034 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:23 +0000 (0:00:00.023) 0:00:52.058 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:23 +0000 (0:00:00.021) 0:00:52.080 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:23 +0000 (0:00:00.382) 0:00:52.462 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:23 +0000 (0:00:00.021) 0:00:52.483 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:23 +0000 (0:00:00.023) 0:00:52.507 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:23 +0000 (0:00:00.023) 0:00:52.530 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:23 +0000 (0:00:00.021) 0:00:52.551 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:06:24 +0000 (0:00:00.189) 0:00:52.741 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:06:24 +0000 (0:00:00.067) 0:00:52.809 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:24 +0000 (0:00:00.043) 0:00:52.853 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:24 +0000 (0:00:00.042) 0:00:52.896 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:24 +0000 (0:00:00.035) 0:00:52.931 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:24 +0000 (0:00:00.023) 0:00:52.955 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:24 +0000 (0:00:00.022) 0:00:52.978 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:25 +0000 (0:00:01.463) 0:00:54.442 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:26 +0000 (0:00:00.986) 0:00:55.428 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:26 +0000 (0:00:00.024) 0:00:55.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:26 +0000 (0:00:00.022) 0:00:55.475 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:26 +0000 (0:00:00.021) 0:00:55.496 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:26 +0000 (0:00:00.045) 0:00:55.542 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:26 +0000 (0:00:00.024) 0:00:55.566 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:26 +0000 (0:00:00.023) 0:00:55.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:26 +0000 (0:00:00.027) 0:00:55.617 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:27 +0000 (0:00:00.361) 0:00:55.979 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:27 +0000 (0:00:00.030) 0:00:56.009 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:27 +0000 (0:00:00.022) 0:00:56.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:27 +0000 (0:00:00.050) 0:00:56.082 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:27 +0000 (0:00:00.438) 0:00:56.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:27 +0000 (0:00:00.022) 0:00:56.542 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:27 +0000 (0:00:00.022) 0:00:56.565 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:27 +0000 (0:00:00.023) 0:00:56.588 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:27 +0000 (0:00:00.021) 0:00:56.610 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.188) 0:00:56.798 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.039) 0:00:56.838 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.036) 0:00:56.875 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.021) 0:00:56.896 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.193) 0:00:57.090 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.021) 0:00:57.112 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020713", "end": "2024-02-06 22:06:28.591422", "rc": 1, "start": "2024-02-06 22:06:28.570709" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.242) 0:00:57.354 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.023) 0:00:57.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.023) 0:00:57.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.022) 0:00:57.424 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.022) 0:00:57.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.025) 0:00:57.472 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.025) 0:00:57.498 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.042) 0:00:57.540 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:06:28 +0000 (0:00:00.036) 0:00:57.576 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.204) 0:00:57.781 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.024) 0:00:57.806 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.022) 0:00:57.828 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.039) 0:00:57.867 ****** 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.039490", "end": "2024-02-06 22:06:29.365251", "rc": 1, "start": "2024-02-06 22:06:29.325761" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.233) 0:00:58.100 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.067) 0:00:58.168 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.023) 0:00:58.191 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.046) 0:00:58.238 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.036) 0:00:58.275 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.034) 0:00:58.310 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003223", "end": "2024-02-06 22:06:29.770846", "rc": 0, "start": "2024-02-06 22:06:29.767623" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.196) 0:00:58.506 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.024) 0:00:58.530 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.022) 0:00:58.553 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.044) 0:00:58.597 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:29 +0000 (0:00:00.039) 0:00:58.637 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:30 +0000 (0:00:00.085) 0:00:58.722 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:30 +0000 (0:00:00.029) 0:00:58.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:30 +0000 (0:00:00.023) 0:00:58.775 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:30 +0000 (0:00:00.022) 0:00:58.798 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:31 +0000 (0:00:01.505) 0:01:00.303 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:32 +0000 (0:00:00.975) 0:01:01.278 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:32 +0000 (0:00:00.032) 0:01:01.311 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:32 +0000 (0:00:00.029) 0:01:01.340 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:32 +0000 (0:00:00.023) 0:01:01.364 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:32 +0000 (0:00:00.075) 0:01:01.439 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:32 +0000 (0:00:00.025) 0:01:01.465 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:32 +0000 (0:00:00.033) 0:01:01.499 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:32 +0000 (0:00:00.031) 0:01:01.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.364) 0:01:01.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.033) 0:01:01.927 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.024) 0:01:01.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.023) 0:01:01.974 ****** 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, 17776518-f8d9-4625-8e40-36fc63a688e9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.403) 0:01:02.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.023) 0:01:02.401 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 17776518-f8d9-4625-8e40-36fc63a688e9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.023) 0:01:02.425 ****** 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, 17776518-f8d9-4625-8e40-36fc63a688e9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 17776518-f8d9-4625-8e40-36fc63a688e9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.022) 0:01:02.447 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.056) 0:01:02.504 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:06:33 +0000 (0:00:00.199) 0:01:02.703 ****** 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, 17776518-f8d9-4625-8e40-36fc63a688e9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 17776518-f8d9-4625-8e40-36fc63a688e9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:06:34 +0000 (0:00:00.024) 0:01:02.728 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:34 +0000 (0:00:00.040) 0:01:02.769 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:34 +0000 (0:00:00.045) 0:01:02.814 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:34 +0000 (0:00:00.031) 0:01:02.845 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:34 +0000 (0:00:00.023) 0:01:02.868 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:34 +0000 (0:00:00.029) 0:01:02.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:35 +0000 (0:00:01.468) 0:01:04.367 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:36 +0000 (0:00:00.965) 0:01:05.332 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:36 +0000 (0:00:00.023) 0:01:05.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:36 +0000 (0:00:00.023) 0:01:05.380 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:36 +0000 (0:00:00.023) 0:01:05.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:36 +0000 (0:00:00.045) 0:01:05.449 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:36 +0000 (0:00:00.023) 0:01:05.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:36 +0000 (0:00:00.023) 0:01:05.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:36 +0000 (0:00:00.025) 0:01:05.521 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.373) 0:01:05.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.027) 0:01:05.921 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.050) 0:01:05.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.036) 0:01:06.009 ****** 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, 17776518-f8d9-4625-8e40-36fc63a688e9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.351) 0:01:06.360 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.023) 0:01:06.383 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 17776518-f8d9-4625-8e40-36fc63a688e9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.023) 0:01:06.406 ****** 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, 17776518-f8d9-4625-8e40-36fc63a688e9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 17776518-f8d9-4625-8e40-36fc63a688e9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.023) 0:01:06.430 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.020) 0:01:06.451 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.188) 0:01:06.639 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:37 +0000 (0:00:00.038) 0:01:06.677 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:38 +0000 (0:00:00.040) 0:01:06.718 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:38 +0000 (0:00:00.028) 0:01:06.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:38 +0000 (0:00:00.021) 0:01:06.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:38 +0000 (0:00:00.020) 0:01:06.789 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:39 +0000 (0:00:01.467) 0:01:08.256 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:40 +0000 (0:00:00.941) 0:01:09.197 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:40 +0000 (0:00:00.023) 0:01:09.221 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:40 +0000 (0:00:00.021) 0:01:09.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:40 +0000 (0:00:00.021) 0:01:09.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:40 +0000 (0:00:00.043) 0:01:09.308 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:40 +0000 (0:00:00.046) 0:01:09.354 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:40 +0000 (0:00:00.023) 0:01:09.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:40 +0000 (0:00:00.030) 0:01:09.408 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.360) 0:01:09.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.027) 0:01:09.795 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.027) 0:01:09.823 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.023) 0:01:09.846 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.459) 0:01:10.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.023) 0:01:10.329 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.024) 0:01:10.354 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.024) 0:01:10.378 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.022) 0:01:10.400 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.191) 0:01:10.592 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.071) 0:01:10.663 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:06:41 +0000 (0:00:00.037) 0:01:10.701 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:06:42 +0000 (0:00:00.042) 0:01:10.744 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:06:42 +0000 (0:00:00.028) 0:01:10.772 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:06:42 +0000 (0:00:00.022) 0:01:10.795 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:06:42 +0000 (0:00:00.021) 0:01:10.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:06:43 +0000 (0:00:01.476) 0:01:12.292 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:06:44 +0000 (0:00:00.975) 0:01:13.267 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:06:44 +0000 (0:00:00.022) 0:01:13.290 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:06:44 +0000 (0:00:00.023) 0:01:13.314 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:06:44 +0000 (0:00:00.022) 0:01:13.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:06:44 +0000 (0:00:00.046) 0:01:13.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:06:44 +0000 (0:00:00.022) 0:01:13.405 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:06:44 +0000 (0:00:00.023) 0:01:13.429 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:06:44 +0000 (0:00:00.025) 0:01:13.455 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.362) 0:01:13.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.035) 0:01:13.852 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.025) 0:01:13.877 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.023) 0:01:13.900 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.409) 0:01:14.309 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.026) 0:01:14.335 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.024) 0:01:14.359 ****** 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-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.023) 0:01:14.383 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.021) 0:01:14.405 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.192) 0:01:14.597 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.043) 0:01:14.641 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.037) 0:01:14.678 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:06:45 +0000 (0:00:00.024) 0:01:14.703 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:06:46 +0000 (0:00:00.193) 0:01:14.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:06:46 +0000 (0:00:00.022) 0:01:14.918 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020751", "end": "2024-02-06 22:06:46.398890", "rc": 1, "start": "2024-02-06 22:06:46.378139" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:06:46 +0000 (0:00:00.216) 0:01:15.135 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:06:46 +0000 (0:00:00.022) 0:01:15.158 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:06:46 +0000 (0:00:00.051) 0:01:15.209 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:06:46 +0000 (0:00:00.024) 0:01:15.234 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:06:46 +0000 (0:00:00.021) 0:01:15.255 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:06:46 +0000 (0:00:00.022) 0:01:15.278 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 22:06:46 +0000 (0:00:00.023) 0:01:15.301 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.588389", "end": "2024-02-06 22:06:47.348734", "rc": 0, "start": "2024-02-06 22:06:46.760345" } STDOUT: NetworkManager-1.45.10-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 22:06:47 +0000 (0:00:00.791) 0:01:16.093 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 22:06:47 +0000 (0:00:00.024) 0:01:16.117 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:06:47 +0000 (0:00:00.023) 0:01:16.140 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:06:47 +0000 (0:00:00.046) 0:01:16.187 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:06:47 +0000 (0:00:00.037) 0:01:16.224 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:06:47 +0000 (0:00:00.198) 0:01:16.423 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:06:47 +0000 (0:00:00.026) 0:01:16.449 ****** 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-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:06:47 +0000 (0:00:00.051) 0:01:16.500 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:06:47 +0000 (0:00:00.046) 0:01:16.547 ****** 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.039626", "end": "2024-02-06 22:06:48.046202", "rc": 1, "start": "2024-02-06 22:06:48.006576" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): '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=11 Tuesday 06 February 2024 22:06:48 +0000 (0:00:00.221) 0:01:16.768 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.23s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.04s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.50s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.44s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.31s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---