# 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_rewrites4crho8z/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_rewrites4crho8z/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 17:11:00 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 17:11:01 +0000 (0:00:01.030) 0:00:01.041 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:11:01 +0000 (0:00:00.044) 0:00:01.086 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.582) 0:00:01.669 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.285) 0:00:01.954 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.020) 0:00:01.975 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.017) 0:00:01.992 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.032) 0:00:02.025 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.011) 0:00:02.037 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.009) 0:00:02.046 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.013) 0:00:02.060 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.008) 0:00:02.068 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.008) 0:00:02.077 **** 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_rewrites4crho8z/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 17:11:02 +0000 (0:00:00.009) 0:00:02.087 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.813) 0:00:02.901 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.015) 0:00:02.916 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.016) 0:00:02.933 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.015) 0:00:02.948 **** 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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.038) 0:00:02.986 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.028) 0:00:03.014 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.021) 0:00:03.035 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003686", "end": "2024-02-14 17:11:03.953316", "rc": 0, "start": "2024-02-14 17:11:03.949630" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.269) 0:00:03.305 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.012) 0:00:03.317 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:11:03 +0000 (0:00:00.010) 0:00:03.328 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.031) 0:00:03.359 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008105", "end": "2024-02-14 17:11:04.221231", "rc": 1, "start": "2024-02-14 17:11:04.213126" } 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_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.212) 0:00:03.571 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.015) 0:00:03.586 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.207) 0:00:03.794 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.014) 0:00:03.809 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.020) 0:00:03.829 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.032) 0:00:03.862 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.069) 0:00:03.931 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.012) 0:00:03.944 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.010) 0:00:03.954 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:04 +0000 (0:00:00.009) 0:00:03.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:07 +0000 (0:00:02.402) 0:00:06.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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:11:08 +0000 (0:00:01.199) 0:00:07.566 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:11:08 +0000 (0:00:00.034) 0:00:07.600 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:11:08 +0000 (0:00:00.024) 0:00:07.625 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:11:08 +0000 (0:00:00.023) 0:00:07.649 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:11:08 +0000 (0:00:00.044) 0:00:07.693 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:11:08 +0000 (0:00:00.022) 0:00:07.716 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:11:08 +0000 (0:00:00.020) 0:00:07.737 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:11:08 +0000 (0:00:00.025) 0:00:07.762 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:11:09 +0000 (0:00:00.704) 0:00:08.467 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:11:09 +0000 (0:00:00.025) 0:00:08.492 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:11:09 +0000 (0:00:00.022) 0:00:08.515 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:11:09 +0000 (0:00:00.047) 0:00:08.563 **** 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, 9cb6ca54-c8c7-4cc3-81eb-c5fb849807f3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:11:09 +0000 (0:00:00.539) 0:00:09.102 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:11:09 +0000 (0:00:00.021) 0:00:09.124 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9cb6ca54-c8c7-4cc3-81eb-c5fb849807f3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:11:09 +0000 (0:00:00.023) 0:00:09.148 **** 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, 9cb6ca54-c8c7-4cc3-81eb-c5fb849807f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9cb6ca54-c8c7-4cc3-81eb-c5fb849807f3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:11:09 +0000 (0:00:00.024) 0:00:09.172 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:11:09 +0000 (0:00:00.020) 0:00:09.193 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.257) 0:00:09.451 **** 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, 9cb6ca54-c8c7-4cc3-81eb-c5fb849807f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9cb6ca54-c8c7-4cc3-81eb-c5fb849807f3" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.024) 0:00:09.476 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.043) 0:00:09.520 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.040) 0:00:09.560 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.021) 0:00:09.582 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.233) 0:00:09.816 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.024) 0:00:09.840 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022802", "end": "2024-02-14 17:11:10.716465", "rc": 0, "start": "2024-02-14 17:11:10.693663" } 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.239) 0:00:10.080 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.027) 0:00:10.107 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.030) 0:00:10.137 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.025) 0:00:10.163 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.023) 0:00:10.186 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.054) 0:00:10.241 **** 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_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.044) 0:00:10.285 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:11:10 +0000 (0:00:00.027) 0:00:10.312 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.034) 0:00:10.347 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.054) 0:00:10.402 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.068) 0:00:10.470 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930669.684607, "block_size": 4096, "blocks": 0, "ctime": 1707930669.684607, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35727, "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": 1707930669.684607, "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_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.217) 0:00:10.687 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.026) 0:00:10.713 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.023) 0:00:10.737 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.043) 0:00:10.780 **** 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.061319", "end": "2024-02-14 17:11:11.695468", "rc": 1, "start": "2024-02-14 17:11:11.634149" } STDOUT: Connection 'statebr' (9cb6ca54-c8c7-4cc3-81eb-c5fb849807f3) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.277) 0:00:11.057 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.037) 0:00:11.095 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.022) 0:00:11.118 **** 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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.045) 0:00:11.164 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.037) 0:00:11.202 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:11:11 +0000 (0:00:00.037) 0:00:11.239 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004946", "end": "2024-02-14 17:11:13.095171", "rc": 0, "start": "2024-02-14 17:11:12.090225" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:11:13 +0000 (0:00:01.218) 0:00:12.458 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.023) 0:00:12.481 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.022) 0:00:12.504 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.044) 0:00:12.549 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006846", "end": "2024-02-14 17:11:13.408983", "rc": 1, "start": "2024-02-14 17:11:13.402137" } 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_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.221) 0:00:12.771 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.037) 0:00:12.808 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.215) 0:00:13.024 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.029) 0:00:13.054 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.065) 0:00:13.120 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.042) 0:00:13.162 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.041) 0:00:13.203 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.026) 0:00:13.230 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.021) 0:00:13.251 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:13 +0000 (0:00:00.021) 0:00:13.273 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:16 +0000 (0:00:02.255) 0:00:15.528 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.932) 0:00:16.460 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.025) 0:00:16.486 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.023) 0:00:16.509 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.023) 0:00:16.532 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.045) 0:00:16.578 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.022) 0:00:16.600 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.028) 0:00:16.629 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.073) 0:00:16.703 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.569) 0:00:17.272 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.026) 0:00:17.299 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:11:17 +0000 (0:00:00.021) 0:00:17.320 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.021) 0:00:17.341 **** 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, 97111c80-2892-4f83-b1c4-087e91022d2c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.407) 0:00:17.749 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.028) 0:00:17.778 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 97111c80-2892-4f83-b1c4-087e91022d2c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.023) 0:00:17.802 **** 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, 97111c80-2892-4f83-b1c4-087e91022d2c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 97111c80-2892-4f83-b1c4-087e91022d2c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.024) 0:00:17.826 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.021) 0:00:17.847 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.208) 0:00:18.056 **** 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, 97111c80-2892-4f83-b1c4-087e91022d2c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 97111c80-2892-4f83-b1c4-087e91022d2c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.024) 0:00:18.080 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.065) 0:00:18.146 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:11:18 +0000 (0:00:00.037) 0:00:18.183 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.217) 0:00:18.401 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.025) 0:00:18.426 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.038) 0:00:18.464 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.022) 0:00:18.487 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.211) 0:00:18.699 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.021) 0:00:18.720 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022435", "end": "2024-02-14 17:11:19.595423", "rc": 0, "start": "2024-02-14 17:11:19.572988" } 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.238) 0:00:18.959 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.025) 0:00:18.985 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.058) 0:00:19.044 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.025) 0:00:19.069 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.023) 0:00:19.092 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.024) 0:00:19.117 **** 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_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.025) 0:00:19.142 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.026) 0:00:19.169 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.023) 0:00:19.193 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.021) 0:00:19.214 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.021) 0:00:19.236 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:11:19 +0000 (0:00:00.041) 0:00:19.277 **** 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.042684", "end": "2024-02-14 17:11:20.169091", "rc": 1, "start": "2024-02-14 17:11:20.126407" } STDOUT: Connection 'statebr' (97111c80-2892-4f83-b1c4-087e91022d2c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 17:11:20 +0000 (0:00:00.253) 0:00:19.531 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:11:20 +0000 (0:00:00.037) 0:00:19.568 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:11:20 +0000 (0:00:00.022) 0:00:19.591 **** 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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:11:20 +0000 (0:00:00.066) 0:00:19.658 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:11:20 +0000 (0:00:00.037) 0:00:19.695 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:11:20 +0000 (0:00:00.035) 0:00:19.731 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004833", "end": "2024-02-14 17:11:21.585194", "rc": 0, "start": "2024-02-14 17:11:20.580361" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:11:21 +0000 (0:00:01.217) 0:00:20.948 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:11:21 +0000 (0:00:00.026) 0:00:20.974 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:11:21 +0000 (0:00:00.024) 0:00:20.999 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:11:21 +0000 (0:00:00.052) 0:00:21.051 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:21 +0000 (0:00:00.039) 0:00:21.090 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:21 +0000 (0:00:00.064) 0:00:21.155 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:21 +0000 (0:00:00.028) 0:00:21.184 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:21 +0000 (0:00:00.022) 0:00:21.206 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:21 +0000 (0:00:00.021) 0:00:21.228 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:24 +0000 (0:00:02.273) 0:00:23.502 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.945) 0:00:24.447 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.024) 0:00:24.471 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.023) 0:00:24.494 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.022) 0:00:24.517 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.045) 0:00:24.562 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.021) 0:00:24.584 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.020) 0:00:24.605 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.024) 0:00:24.629 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.601) 0:00:25.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.028) 0:00:25.259 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.024) 0:00:25.283 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:11:25 +0000 (0:00:00.023) 0:00:25.307 **** 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, fd6f6682-0c54-4f77-9967-555ee53bcd1f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.439) 0:00:25.746 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.022) 0:00:25.768 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd6f6682-0c54-4f77-9967-555ee53bcd1f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.022) 0:00:25.791 **** 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, fd6f6682-0c54-4f77-9967-555ee53bcd1f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd6f6682-0c54-4f77-9967-555ee53bcd1f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.024) 0:00:25.815 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.022) 0:00:25.837 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.228) 0:00:26.066 **** 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, fd6f6682-0c54-4f77-9967-555ee53bcd1f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd6f6682-0c54-4f77-9967-555ee53bcd1f" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.067) 0:00:26.134 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.042) 0:00:26.176 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.076) 0:00:26.253 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.040) 0:00:26.294 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:26 +0000 (0:00:00.027) 0:00:26.322 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:27 +0000 (0:00:00.021) 0:00:26.343 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:27 +0000 (0:00:00.023) 0:00:26.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:29 +0000 (0:00:02.275) 0:00:28.642 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:11:30 +0000 (0:00:00.942) 0:00:29.585 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:11:30 +0000 (0:00:00.024) 0:00:29.609 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:11:30 +0000 (0:00:00.024) 0:00:29.634 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:11:30 +0000 (0:00:00.030) 0:00:29.664 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:11:30 +0000 (0:00:00.048) 0:00:29.713 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:11:30 +0000 (0:00:00.021) 0:00:29.734 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:11:30 +0000 (0:00:00.027) 0:00:29.762 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:11:30 +0000 (0:00:00.029) 0:00:29.791 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.583) 0:00:30.375 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.031) 0:00:30.407 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.035) 0:00:30.442 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.023) 0:00:30.466 **** 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, fd6f6682-0c54-4f77-9967-555ee53bcd1f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.375) 0:00:30.841 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.023) 0:00:30.865 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fd6f6682-0c54-4f77-9967-555ee53bcd1f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.024) 0:00:30.889 **** 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, fd6f6682-0c54-4f77-9967-555ee53bcd1f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fd6f6682-0c54-4f77-9967-555ee53bcd1f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.024) 0:00:30.914 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.022) 0:00:30.936 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.214) 0:00:31.150 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.044) 0:00:31.194 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:11:31 +0000 (0:00:00.065) 0:00:31.260 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930686.3225217, "block_size": 4096, "blocks": 0, "ctime": 1707930686.3225217, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35858, "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": 1707930686.3225217, "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_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.217) 0:00:31.477 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.035) 0:00:31.513 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.045) 0:00:31.559 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.024) 0:00:31.583 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.215) 0:00:31.799 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.021) 0:00:31.821 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022670", "end": "2024-02-14 17:11:32.698034", "rc": 0, "start": "2024-02-14 17:11:32.675364" } 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.240) 0:00:32.061 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.025) 0:00:32.086 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.022) 0:00:32.108 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.022) 0:00:32.131 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.022) 0:00:32.154 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.023) 0:00:32.178 **** 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_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.049) 0:00:32.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_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.025) 0:00:32.253 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.022) 0:00:32.275 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.021) 0:00:32.296 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:11:32 +0000 (0:00:00.023) 0:00:32.320 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.043) 0:00:32.363 **** 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.067811", "end": "2024-02-14 17:11:33.285923", "rc": 1, "start": "2024-02-14 17:11:33.218112" } STDOUT: Connection 'statebr' (fd6f6682-0c54-4f77-9967-555ee53bcd1f) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.286) 0:00:32.649 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.044) 0:00:32.693 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.031) 0:00:32.725 **** 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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.052) 0:00:32.778 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.049) 0:00:32.827 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.075) 0:00:32.903 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003861", "end": "2024-02-14 17:11:33.764434", "rc": 0, "start": "2024-02-14 17:11:33.760573" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.227) 0:00:33.131 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.029) 0:00:33.160 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.025) 0:00:33.186 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.046) 0:00:33.232 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:33 +0000 (0:00:00.050) 0:00:33.283 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:34 +0000 (0:00:00.065) 0:00:33.348 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:34 +0000 (0:00:00.033) 0:00:33.381 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:34 +0000 (0:00:00.023) 0:00:33.405 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:34 +0000 (0:00:00.023) 0:00:33.429 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:36 +0000 (0:00:02.271) 0:00:35.700 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:11:37 +0000 (0:00:00.931) 0:00:36.632 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:11:37 +0000 (0:00:00.045) 0:00:36.677 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:11:37 +0000 (0:00:00.022) 0:00:36.700 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:11:37 +0000 (0:00:00.028) 0:00:36.729 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:11:37 +0000 (0:00:00.049) 0:00:36.779 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:11:37 +0000 (0:00:00.024) 0:00:36.803 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:11:37 +0000 (0:00:00.021) 0:00:36.825 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:11:37 +0000 (0:00:00.025) 0:00:36.850 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.562) 0:00:37.412 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.026) 0:00:37.438 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.020) 0:00:37.459 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.021) 0:00:37.481 **** 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, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.431) 0:00:37.912 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.023) 0:00:37.935 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.047) 0:00:37.983 **** 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, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.026) 0:00:38.009 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.031) 0:00:38.041 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:11:38 +0000 (0:00:00.274) 0:00:38.316 **** 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, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:11:39 +0000 (0:00:00.028) 0:00:38.344 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:39 +0000 (0:00:00.061) 0:00:38.406 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:39 +0000 (0:00:00.068) 0:00:38.475 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:39 +0000 (0:00:00.043) 0:00:38.518 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:39 +0000 (0:00:00.023) 0:00:38.541 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:39 +0000 (0:00:00.030) 0:00:38.571 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:41 +0000 (0:00:02.293) 0:00:40.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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:11:42 +0000 (0:00:00.927) 0:00:41.793 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:11:42 +0000 (0:00:00.023) 0:00:41.816 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:11:42 +0000 (0:00:00.025) 0:00:41.842 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:11:42 +0000 (0:00:00.023) 0:00:41.866 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:11:42 +0000 (0:00:00.066) 0:00:41.933 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:11:42 +0000 (0:00:00.022) 0:00:41.956 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:11:42 +0000 (0:00:00.024) 0:00:41.980 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:11:42 +0000 (0:00:00.035) 0:00:42.016 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:11:43 +0000 (0:00:00.574) 0:00:42.591 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:11:43 +0000 (0:00:00.037) 0:00:42.629 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:11:43 +0000 (0:00:00.024) 0:00:42.653 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:11:43 +0000 (0:00:00.023) 0:00:42.677 **** 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, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:11:43 +0000 (0:00:00.381) 0:00:43.059 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:11:43 +0000 (0:00:00.024) 0:00:43.083 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:11:43 +0000 (0:00:00.024) 0:00:43.108 **** 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, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce09df2b-4073-4e76-8bbc-14aa5d6e14f7 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:11:43 +0000 (0:00:00.024) 0:00:43.132 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:11:43 +0000 (0:00:00.022) 0:00:43.155 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:11:44 +0000 (0:00:00.222) 0:00:43.378 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:11:44 +0000 (0:00:00.044) 0:00:43.422 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:44 +0000 (0:00:00.050) 0:00:43.473 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:44 +0000 (0:00:00.043) 0:00:43.517 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:44 +0000 (0:00:00.031) 0:00:43.548 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:44 +0000 (0:00:00.023) 0:00:43.571 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:44 +0000 (0:00:00.022) 0:00:43.594 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:46 +0000 (0:00:02.286) 0:00:45.880 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:11:47 +0000 (0:00:00.930) 0:00:46.811 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:11:47 +0000 (0:00:00.024) 0:00:46.835 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:11:47 +0000 (0:00:00.021) 0:00:46.857 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:11:47 +0000 (0:00:00.021) 0:00:46.879 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:11:47 +0000 (0:00:00.044) 0:00:46.923 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:11:47 +0000 (0:00:00.023) 0:00:46.946 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:11:47 +0000 (0:00:00.052) 0:00:46.998 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:11:47 +0000 (0:00:00.028) 0:00:47.027 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:11:48 +0000 (0:00:00.578) 0:00:47.606 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:11:48 +0000 (0:00:00.028) 0:00:47.634 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:11:48 +0000 (0:00:00.021) 0:00:47.656 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:11:48 +0000 (0:00:00.022) 0:00:47.678 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:11:48 +0000 (0:00:00.411) 0:00:48.089 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:11:48 +0000 (0:00:00.022) 0:00:48.112 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:11:48 +0000 (0:00:00.027) 0:00:48.139 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:11:48 +0000 (0:00:00.028) 0:00:48.168 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:11:48 +0000 (0:00:00.027) 0:00:48.196 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.208) 0:00:48.404 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.072) 0:00:48.477 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.039) 0:00:48.517 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930698.4934154, "block_size": 4096, "blocks": 0, "ctime": 1707930698.4934154, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35989, "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": 1707930698.4934154, "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_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.213) 0:00:48.730 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.023) 0:00:48.754 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.038) 0:00:48.792 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.034) 0:00:48.827 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.213) 0:00:49.040 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.023) 0:00:49.063 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022769", "end": "2024-02-14 17:11:49.939351", "rc": 1, "start": "2024-02-14 17:11:49.916582" } 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:11:49 +0000 (0:00:00.256) 0:00:49.320 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.026) 0:00:49.347 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.049) 0:00:49.397 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.024) 0:00:49.421 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.035) 0:00:49.457 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.026) 0:00:49.483 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.025) 0:00:49.508 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.028) 0:00:49.537 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.028) 0:00:49.565 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.056) 0:00:49.621 **** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.065899", "end": "2024-02-14 17:11:50.541968", "rc": 0, "start": "2024-02-14 17:11:50.476069" } STDOUT: Connection 'statebr' (ce09df2b-4073-4e76-8bbc-14aa5d6e14f7) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.298) 0:00:49.920 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.037) 0:00:49.958 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.024) 0:00:49.983 **** 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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.047) 0:00:50.031 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.063) 0:00:50.095 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:11:50 +0000 (0:00:00.037) 0:00:50.132 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004862", "end": "2024-02-14 17:11:51.988380", "rc": 0, "start": "2024-02-14 17:11:50.983518" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:11:52 +0000 (0:00:01.229) 0:00:51.361 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.027) 0:00:51.389 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.022) 0:00:51.412 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.055) 0:00:51.467 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.039) 0:00:51.507 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.066) 0:00:51.573 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.049) 0:00:51.623 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.047) 0:00:51.671 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.026) 0:00:51.697 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:54 +0000 (0:00:02.315) 0:00:54.012 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.952) 0:00:54.965 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.022) 0:00:54.987 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.021) 0:00:55.009 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.021) 0:00:55.031 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.044) 0:00:55.075 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.021) 0:00:55.097 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.021) 0:00:55.119 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.028) 0:00:55.148 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.579) 0:00:55.727 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.026) 0:00:55.753 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.049) 0:00:55.803 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.024) 0:00:55.827 **** 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, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.430) 0:00:56.257 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.024) 0:00:56.282 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.038) 0:00:56.320 **** 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, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.039) 0:00:56.360 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.026) 0:00:56.386 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.217) 0:00:56.603 **** 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, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.028) 0:00:56.632 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.044) 0:00:56.676 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.134) 0:00:56.811 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.063) 0:00:56.874 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.048) 0:00:56.923 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.043) 0:00:56.966 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:59 +0000 (0:00:02.286) 0:00:59.253 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.982) 0:01:00.235 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.026) 0:01:00.262 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.024) 0:01:00.286 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.030) 0:01:00.316 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.052) 0:01:00.369 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.029) 0:01:00.399 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.027) 0:01:00.426 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.026) 0:01:00.453 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.586) 0:01:01.039 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.029) 0:01:01.069 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.049) 0:01:01.119 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.023) 0:01:01.142 **** 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, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.480) 0:01:01.623 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.024) 0:01:01.648 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.027) 0:01:01.676 **** 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, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc03e7bd-99be-49aa-b8b2-166ebd1d7b6b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.030) 0:01:01.706 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.030) 0:01:01.736 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.210) 0:01:01.947 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.040) 0:01:01.988 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.045) 0:01:02.033 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.029) 0:01:02.063 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.023) 0:01:02.086 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.021) 0:01:02.108 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:12:05 +0000 (0:00:02.275) 0:01:04.384 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.978) 0:01:05.362 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.022) 0:01:05.385 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.021) 0:01:05.407 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.042) 0:01:05.449 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.046) 0:01:05.496 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.023) 0:01:05.519 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.022) 0:01:05.542 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.025) 0:01:05.568 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.567) 0:01:06.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.034) 0:01:06.170 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.025) 0:01:06.196 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.025) 0:01:06.221 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.413) 0:01:06.634 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.022) 0:01:06.657 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.023) 0:01:06.681 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.023) 0:01:06.704 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.047) 0:01:06.752 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.213) 0:01:06.966 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.049) 0:01:07.016 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.064) 0:01:07.080 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.065) 0:01:07.145 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.049) 0:01:07.195 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.065) 0:01:07.261 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.038) 0:01:07.299 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:12:10 +0000 (0:00:02.300) 0:01:09.600 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.932) 0:01:10.532 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.024) 0:01:10.557 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.023) 0:01:10.581 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.024) 0:01:10.605 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.082) 0:01:10.688 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.025) 0:01:10.713 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.031) 0:01:10.744 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.027) 0:01:10.772 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.583) 0:01:11.355 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.027) 0:01:11.383 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.022) 0:01:11.406 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.023) 0:01:11.430 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.484) 0:01:11.915 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.022) 0:01:11.937 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.023) 0:01:11.961 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.024) 0:01:11.985 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.021) 0:01:12.006 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.210) 0:01:12.217 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.042) 0:01:12.259 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.040) 0:01:12.300 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.023) 0:01:12.323 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.214) 0:01:12.538 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.021) 0:01:12.560 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021377", "end": "2024-02-14 17:12:13.433821", "rc": 1, "start": "2024-02-14 17:12:13.412444" } 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.236) 0:01:12.796 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.023) 0:01:12.819 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.022) 0:01:12.842 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.022) 0:01:12.864 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.023) 0:01:12.888 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.022) 0:01:12.911 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.068) 0:01:12.979 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.046) 0:01:13.026 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.038) 0:01:13.065 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.216) 0:01:13.281 **** 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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.026) 0:01:13.308 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.023) 0:01:13.332 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.047) 0:01:13.379 **** 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.042154", "end": "2024-02-14 17:12:14.275238", "rc": 1, "start": "2024-02-14 17:12:14.233084" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.258) 0:01:13.638 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.041) 0:01:13.679 **** 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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.060) 0:01:13.739 **** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.045) 0:01:13.784 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.037) 0:01:13.821 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.035) 0:01:13.857 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003740", "end": "2024-02-14 17:12:14.710575", "rc": 0, "start": "2024-02-14 17:12:14.706835" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.216) 0:01:14.074 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.025) 0:01:14.099 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.025) 0:01:14.124 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.046) 0:01:14.171 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.037) 0:01:14.209 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.041) 0:01:14.251 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.053) 0:01:14.304 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.024) 0:01:14.328 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.023) 0:01:14.352 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:12:17 +0000 (0:00:02.278) 0:01:16.630 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:18 +0000 (0:00:00.988) 0:01:17.619 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:18 +0000 (0:00:00.024) 0:01:17.644 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:18 +0000 (0:00:00.021) 0:01:17.665 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:18 +0000 (0:00:00.022) 0:01:17.687 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:18 +0000 (0:00:00.045) 0:01:17.733 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:18 +0000 (0:00:00.023) 0:01:17.756 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:18 +0000 (0:00:00.024) 0:01:17.780 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:18 +0000 (0:00:00.026) 0:01:17.807 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.574) 0:01:18.381 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.028) 0:01:18.410 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.022) 0:01:18.432 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.023) 0:01:18.456 **** 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, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.481) 0:01:18.937 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.023) 0:01:18.961 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.023) 0:01:18.984 **** 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, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.024) 0:01:19.008 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.021) 0:01:19.030 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.208) 0:01:19.238 **** 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, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.024) 0:01:19.263 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:12:19 +0000 (0:00:00.037) 0:01:19.300 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:12:20 +0000 (0:00:00.040) 0:01:19.341 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:12:20 +0000 (0:00:00.028) 0:01:19.369 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:12:20 +0000 (0:00:00.021) 0:01:19.390 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:12:20 +0000 (0:00:00.020) 0:01:19.411 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:12:22 +0000 (0:00:02.268) 0:01:21.680 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:23 +0000 (0:00:00.944) 0:01:22.624 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:23 +0000 (0:00:00.025) 0:01:22.650 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:23 +0000 (0:00:00.063) 0:01:22.713 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:23 +0000 (0:00:00.051) 0:01:22.764 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:23 +0000 (0:00:00.084) 0:01:22.849 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:23 +0000 (0:00:00.026) 0:01:22.876 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:23 +0000 (0:00:00.025) 0:01:22.901 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:23 +0000 (0:00:00.028) 0:01:22.929 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.568) 0:01:23.498 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.026) 0:01:23.524 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.021) 0:01:23.545 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.021) 0:01:23.567 **** 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, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.382) 0:01:23.949 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.021) 0:01:23.971 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.050) 0:01:24.021 **** 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, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 170a5c65-28fb-4ef9-aeb6-6f03fe661f80 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.024) 0:01:24.045 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.023) 0:01:24.069 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.209) 0:01:24.278 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:12:24 +0000 (0:00:00.039) 0:01:24.318 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:12:25 +0000 (0:00:00.042) 0:01:24.360 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:12:25 +0000 (0:00:00.027) 0:01:24.388 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:12:25 +0000 (0:00:00.022) 0:01:24.410 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:12:25 +0000 (0:00:00.022) 0:01:24.432 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:12:27 +0000 (0:00:02.243) 0:01:26.675 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:28 +0000 (0:00:00.920) 0:01:27.596 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:28 +0000 (0:00:00.023) 0:01:27.619 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:28 +0000 (0:00:00.021) 0:01:27.641 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:28 +0000 (0:00:00.021) 0:01:27.663 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:28 +0000 (0:00:00.065) 0:01:27.728 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:28 +0000 (0:00:00.022) 0:01:27.751 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:28 +0000 (0:00:00.022) 0:01:27.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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:28 +0000 (0:00:00.025) 0:01:27.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.581) 0:01:28.379 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.028) 0:01:28.408 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.027) 0:01:28.435 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.024) 0:01:28.460 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.471) 0:01:28.931 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.024) 0:01:28.955 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.026) 0:01:28.982 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.024) 0:01:29.007 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.022) 0:01:29.029 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.209) 0:01:29.239 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.041) 0:01:29.280 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:12:29 +0000 (0:00:00.039) 0:01:29.320 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:12:30 +0000 (0:00:00.044) 0:01:29.364 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:12:30 +0000 (0:00:00.030) 0:01:29.394 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:12:30 +0000 (0:00:00.025) 0:01:29.420 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:12:30 +0000 (0:00:00.032) 0:01:29.452 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:12:32 +0000 (0:00:02.262) 0:01:31.715 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:33 +0000 (0:00:00.944) 0:01:32.659 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:33 +0000 (0:00:00.024) 0:01:32.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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:33 +0000 (0:00:00.023) 0:01:32.706 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:33 +0000 (0:00:00.023) 0:01:32.730 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:33 +0000 (0:00:00.046) 0:01:32.777 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:33 +0000 (0:00:00.052) 0:01:32.829 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:33 +0000 (0:00:00.023) 0:01:32.853 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:33 +0000 (0:00:00.026) 0:01:32.879 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.581) 0:01:33.461 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.027) 0:01:33.489 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.022) 0:01:33.511 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.022) 0:01:33.533 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.402) 0:01:33.936 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.022) 0:01:33.958 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.024) 0:01:33.983 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.024) 0:01:34.008 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.021) 0:01:34.029 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.211) 0:01:34.241 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.044) 0:01:34.286 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:12:34 +0000 (0:00:00.037) 0:01:34.324 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.022) 0:01:34.347 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.214) 0:01:34.562 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.022) 0:01:34.584 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021287", "end": "2024-02-14 17:12:35.459447", "rc": 1, "start": "2024-02-14 17:12:35.438160" } 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.237) 0:01:34.822 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.023) 0:01:34.846 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.023) 0:01:34.869 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.023) 0:01:34.893 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.025) 0:01:34.919 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.024) 0:01:34.944 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 17:12:35 +0000 (0:00:00.050) 0:01:34.994 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.366393", "end": "2024-02-14 17:12:36.215557", "rc": 0, "start": "2024-02-14 17:12:35.849164" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.584) 0:01:35.579 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.023) 0:01:35.602 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.023) 0:01:35.626 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.045) 0:01:35.672 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.039) 0:01:35.711 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.226) 0:01:35.937 **** 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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.025) 0:01:35.963 **** 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_rewrites4crho8z/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.023) 0:01:35.987 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.047) 0:01:36.034 **** 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.042273", "end": "2024-02-14 17:12:36.931735", "rc": 1, "start": "2024-02-14 17:12:36.889462" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:12:36 +0000 (0:00:00.260) 0:01:36.294 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009238", "end": "2024-02-14 17:12:37.159381", "rc": 0, "start": "2024-02-14 17:12:37.150143" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 12:3f:b5:dc:a0:15 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.10.35/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3053sec preferred_lft 3053sec inet6 fe80::103f:b5ff:fedc:a015/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.35 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.35 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:12:37 +0000 (0:00:00.229) 0:01:36.524 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=318 changed=10 unreachable=0 failed=0 skipped=253 rescued=0 ignored=10 Wednesday 14 February 2024 17:12:37 +0000 (0:00:00.013) 0:01:36.537 **** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.02s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 2.40s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.32s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.31s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.75s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.62s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [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. ---^---^---^---^---^---