# 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_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-bond_options_rewritea12nm55j/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tests_states_initscripts.yml:5 Tuesday 13 February 2024 16:26:56 +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_rewritea12nm55j/tests/tests_states_initscripts.yml:8 Tuesday 13 February 2024 16:26:57 +0000 (0:00:00.963) 0:00:00.975 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 16:26:57 +0000 (0:00:00.025) 0:00:01.000 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 16:26:57 +0000 (0:00:00.216) 0:00:01.216 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.181) 0:00:01.398 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.021) 0:00:01.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.018) 0:00:01.437 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.033) 0:00:01.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.011) 0:00:01.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.010) 0:00:01.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.010) 0:00:01.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.010) 0:00:01.514 ****** ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/tests_states_initscripts.yml:10 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.426) 0:00:01.940 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tests_states.yml:3 Tuesday 13 February 2024 16:26:58 +0000 (0:00:00.012) 0:00:01.952 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tests_states.yml:11 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.709) 0:00:02.661 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tests_states.yml:22 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.013) 0:00:02.675 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.019) 0:00:02.694 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.012) 0:00:02.707 ****** 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": false, "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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.036) 0:00:02.744 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.017) 0:00:02.761 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.016) 0:00:02.778 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003157", "end": "2024-02-13 11:26:59.221219", "rc": 0, "start": "2024-02-13 11:26:59.218062" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.199) 0:00:02.977 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.013) 0:00:02.991 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.011) 0:00:03.003 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.022) 0:00:03.025 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.028773", "end": "2024-02-13 11:26:59.418218", "rc": 255, "start": "2024-02-13 11:26:59.389445" } 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_rewritea12nm55j/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.147) 0:00:03.172 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 16:26:59 +0000 (0:00:00.017) 0:00:03.190 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 16:27:00 +0000 (0:00:00.118) 0:00:03.309 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 16:27:00 +0000 (0:00:00.014) 0:00:03.324 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 16:27:00 +0000 (0:00:00.019) 0:00:03.343 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:00 +0000 (0:00:00.035) 0:00:03.379 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:00 +0000 (0:00:00.070) 0:00:03.449 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:00 +0000 (0:00:00.013) 0:00:03.462 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:00 +0000 (0:00:00.010) 0:00:03.473 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:00 +0000 (0:00:00.010) 0:00:03.484 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:01 +0000 (0:00:01.670) 0:00:05.155 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.694) 0:00:05.849 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.022) 0:00:05.872 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.020) 0:00:05.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.021) 0:00:05.914 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.041) 0:00:05.955 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.038) 0:00:05.994 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.021) 0:00:06.015 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.023) 0:00:06.039 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.021) 0:00:06.060 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:02 +0000 (0:00:00.020) 0:00:06.081 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.244) 0:00:06.325 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmp8o5znegx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.187) 0:00:06.513 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.343) 0:00:06.856 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.021) 0:00:06.877 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.021) 0:00:06.899 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.021) 0:00:06.921 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.020) 0:00:06.942 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.194) 0:00:07.136 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.021) 0:00:07.158 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 16:27:03 +0000 (0:00:00.060) 0:00:07.218 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.037) 0:00:07.256 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.020) 0:00:07.277 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707841623.092, "block_size": 4096, "blocks": 8, "ctime": 1707841623.092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3777, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707841623.092, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.130) 0:00:07.408 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.022) 0:00:07.430 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005086", "end": "2024-02-13 11:27:03.801671", "rc": 1, "start": "2024-02-13 11:27:03.796585" } STDERR: /bin/sh: nmcli: command not found 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.135) 0:00:07.565 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.021) 0:00:07.587 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002962", "end": "2024-02-13 11:27:03.956306", "rc": 0, "start": "2024-02-13 11:27:03.953344" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.133) 0:00:07.720 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.025) 0:00:07.746 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002934", "end": "2024-02-13 11:27:04.112557", "rc": 0, "start": "2024-02-13 11:27:04.109623" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.130) 0:00:07.876 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.025) 0:00:07.902 ****** 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_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.024) 0:00:07.927 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.024) 0:00:07.951 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.022) 0:00:07.973 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.063) 0:00:08.037 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.022) 0:00:08.060 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 16:27:04 +0000 (0:00:00.038) 0:00:08.099 ****** 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.018222", "end": "2024-02-13 11:27:04.479216", "rc": 255, "start": "2024-02-13 11:27:04.460994" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tests_states.yml:45 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.143) 0:00:08.243 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.035) 0:00:08.278 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.021) 0:00:08.299 ****** 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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.044) 0:00:08.344 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.033) 0:00:08.377 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.032) 0:00:08.410 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003002", "end": "2024-02-13 11:27:04.773122", "rc": 0, "start": "2024-02-13 11:27:04.770120" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.126) 0:00:08.536 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.023) 0:00:08.560 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.022) 0:00:08.583 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.064) 0:00:08.648 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004446", "end": "2024-02-13 11:27:05.019402", "rc": 255, "start": "2024-02-13 11:27:05.014956" } 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_rewritea12nm55j/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.133) 0:00:08.782 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.035) 0:00:08.817 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.123) 0:00:08.940 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.023) 0:00:08.963 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.038) 0:00:09.002 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.039) 0:00:09.041 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.039) 0:00:09.081 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.026) 0:00:09.108 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.021) 0:00:09.129 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:05 +0000 (0:00:00.020) 0:00:09.150 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:07 +0000 (0:00:01.399) 0:00:10.550 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:07 +0000 (0:00:00.562) 0:00:11.112 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:07 +0000 (0:00:00.022) 0:00:11.135 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:07 +0000 (0:00:00.020) 0:00:11.155 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:07 +0000 (0:00:00.021) 0:00:11.177 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:07 +0000 (0:00:00.042) 0:00:11.219 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.021) 0:00:11.240 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.043) 0:00:11.284 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.024) 0:00:11.308 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.021) 0:00:11.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.020) 0:00:11.351 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.186) 0:00:11.537 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmpdcsipyh7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.194) 0:00:11.731 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.230) 0:00:11.962 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.020) 0:00:11.983 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.022) 0:00:12.005 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.021) 0:00:12.027 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.021) 0:00:12.048 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.122) 0:00:12.171 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.023) 0:00:12.194 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 16:27:08 +0000 (0:00:00.042) 0:00:12.236 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.056) 0:00:12.293 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.124) 0:00:12.417 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.023) 0:00:12.441 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.035) 0:00:12.477 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.021) 0:00:12.498 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707841628.196, "block_size": 4096, "blocks": 8, "ctime": 1707841628.196, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3777, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707841628.196, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.126) 0:00:12.625 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.022) 0:00:12.647 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005084", "end": "2024-02-13 11:27:09.017477", "rc": 1, "start": "2024-02-13 11:27:09.012393" } STDERR: /bin/sh: nmcli: command not found 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.132) 0:00:12.780 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.022) 0:00:12.803 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003119", "end": "2024-02-13 11:27:09.173439", "rc": 0, "start": "2024-02-13 11:27:09.170320" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.135) 0:00:12.939 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.027) 0:00:12.966 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003092", "end": "2024-02-13 11:27:09.342362", "rc": 0, "start": "2024-02-13 11:27:09.339270" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.141) 0:00:13.108 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.026) 0:00:13.135 ****** 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_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.022) 0:00:13.158 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.046) 0:00:13.204 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 16:27:09 +0000 (0:00:00.022) 0:00:13.227 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.019) 0:00:13.246 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.023) 0:00:13.270 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.039) 0:00:13.309 ****** 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.018997", "end": "2024-02-13 11:27:09.692779", "rc": 255, "start": "2024-02-13 11:27:09.673782" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tests_states.yml:65 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.148) 0:00:13.458 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.036) 0:00:13.494 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.022) 0:00:13.516 ****** 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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.044) 0:00:13.560 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.034) 0:00:13.595 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.033) 0:00:13.628 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003480", "end": "2024-02-13 11:27:09.999527", "rc": 0, "start": "2024-02-13 11:27:09.996047" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.134) 0:00:13.763 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.048) 0:00:13.811 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.022) 0:00:13.834 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.038) 0:00:13.873 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.036) 0:00:13.909 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.039) 0:00:13.949 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.026) 0:00:13.975 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.020) 0:00:13.995 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:10 +0000 (0:00:00.020) 0:00:14.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:12 +0000 (0:00:01.424) 0:00:15.441 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.557) 0:00:15.998 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.022) 0:00:16.021 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.020) 0:00:16.041 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.021) 0:00:16.063 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.042) 0:00:16.105 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.020) 0:00:16.126 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.021) 0:00:16.147 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.024) 0:00:16.171 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.021) 0:00:16.193 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:12 +0000 (0:00:00.020) 0:00:16.214 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.185) 0:00:16.399 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmp1dheilo2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.206) 0:00:16.605 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.229) 0:00:16.834 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.020) 0:00:16.855 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.022) 0:00:16.878 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.021) 0:00:16.900 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.021) 0:00:16.921 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.122) 0:00:17.043 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.022) 0:00:17.066 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.037) 0:00:17.103 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.038) 0:00:17.142 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.038) 0:00:17.181 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.025) 0:00:17.206 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:13 +0000 (0:00:00.021) 0:00:17.227 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:14 +0000 (0:00:00.020) 0:00:17.248 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:15 +0000 (0:00:01.422) 0:00:18.671 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:15 +0000 (0:00:00.559) 0:00:19.231 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.022) 0:00:19.253 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.021) 0:00:19.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.020) 0:00:19.296 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.043) 0:00:19.340 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.021) 0:00:19.361 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.041) 0:00:19.402 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.027) 0:00:19.429 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.022) 0:00:19.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.021) 0:00:19.473 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.187) 0:00:19.660 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmp4bojsei0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:16 +0000 (0:00:00.187) 0:00:19.848 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.727) 0:00:20.576 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.020) 0:00:20.597 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.023) 0:00:20.620 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.021) 0:00:20.642 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.021) 0:00:20.664 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.133) 0:00:20.797 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.063) 0:00:20.861 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.034) 0:00:20.896 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707841636.737, "block_size": 4096, "blocks": 0, "ctime": 1707841636.733, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "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": 1707841636.733, "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_rewritea12nm55j/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.128) 0:00:21.024 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.023) 0:00:21.048 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.036) 0:00:21.085 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.021) 0:00:21.106 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707841634.507, "block_size": 4096, "blocks": 8, "ctime": 1707841633.069, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3777, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707841633.069, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 16:27:17 +0000 (0:00:00.129) 0:00:21.235 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.021) 0:00:21.257 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005066", "end": "2024-02-13 11:27:17.627850", "rc": 1, "start": "2024-02-13 11:27:17.622784" } STDERR: /bin/sh: nmcli: command not found 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.133) 0:00:21.390 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.022) 0:00:21.413 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003073", "end": "2024-02-13 11:27:17.783843", "rc": 0, "start": "2024-02-13 11:27:17.780770" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.136) 0:00:21.549 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.025) 0:00:21.575 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003041", "end": "2024-02-13 11:27:17.948207", "rc": 0, "start": "2024-02-13 11:27:17.945166" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.138) 0:00:21.713 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.052) 0:00:21.766 ****** 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_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.024) 0:00:21.790 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.023) 0:00:21.814 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.023) 0:00:21.837 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.019) 0:00:21.857 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.024) 0:00:21.881 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.039) 0:00:21.921 ****** 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.024038", "end": "2024-02-13 11:27:18.309664", "rc": 0, "start": "2024-02-13 11:27:18.285626" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tests_states.yml:83 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.156) 0:00:22.077 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.036) 0:00:22.113 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.021) 0:00:22.135 ****** 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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.045) 0:00:22.181 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 16:27:18 +0000 (0:00:00.035) 0:00:22.216 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.035) 0:00:22.252 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003168", "end": "2024-02-13 11:27:18.618757", "rc": 0, "start": "2024-02-13 11:27:18.615589" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.129) 0:00:22.382 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.022) 0:00:22.404 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.022) 0:00:22.426 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.040) 0:00:22.466 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.035) 0:00:22.501 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.039) 0:00:22.541 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.027) 0:00:22.568 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.021) 0:00:22.590 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:19 +0000 (0:00:00.020) 0:00:22.610 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:20 +0000 (0:00:01.463) 0:00:24.074 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.567) 0:00:24.641 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.022) 0:00:24.663 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.021) 0:00:24.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.020) 0:00:24.706 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.043) 0:00:24.750 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.021) 0:00:24.771 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.021) 0:00:24.793 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.024) 0:00:24.818 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.020) 0:00:24.838 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.021) 0:00:24.860 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:21 +0000 (0:00:00.214) 0:00:25.075 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmpux7vh49z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.195) 0:00:25.270 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.238) 0:00:25.509 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.022) 0:00:25.531 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.023) 0:00:25.555 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.024) 0:00:25.579 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.021) 0:00:25.600 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.124) 0:00:25.724 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.024) 0:00:25.748 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.034) 0:00:25.783 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.038) 0:00:25.822 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.025) 0:00:25.847 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.021) 0:00:25.868 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:22 +0000 (0:00:00.020) 0:00:25.889 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:24 +0000 (0:00:01.426) 0:00:27.316 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.567) 0:00:27.883 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.023) 0:00:27.907 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.024) 0:00:27.931 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.022) 0:00:27.953 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.044) 0:00:27.998 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.021) 0:00:28.019 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.045) 0:00:28.064 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.024) 0:00:28.089 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.021) 0:00:28.110 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:24 +0000 (0:00:00.021) 0:00:28.132 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.186) 0:00:28.318 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmptzherq0d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.188) 0:00:28.507 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.342) 0:00:28.849 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.021) 0:00:28.871 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.022) 0:00:28.893 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.022) 0:00:28.916 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.021) 0:00:28.937 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.122) 0:00:29.059 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.037) 0:00:29.097 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.064) 0:00:29.162 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.039) 0:00:29.201 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:25 +0000 (0:00:00.025) 0:00:29.227 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:26 +0000 (0:00:00.021) 0:00:29.249 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:26 +0000 (0:00:00.020) 0:00:29.270 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:27 +0000 (0:00:01.433) 0:00:30.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.580) 0:00:31.284 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.022) 0:00:31.307 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.021) 0:00:31.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.020) 0:00:31.349 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.042) 0:00:31.391 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.020) 0:00:31.412 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.021) 0:00:31.434 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.024) 0:00:31.459 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.020) 0:00:31.479 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.021) 0:00:31.501 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.184) 0:00:31.685 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmpok_hoqt_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.191) 0:00:31.877 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.237) 0:00:32.115 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.021) 0:00:32.136 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.023) 0:00:32.159 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.049) 0:00:32.209 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:28 +0000 (0:00:00.021) 0:00:32.230 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.121) 0:00:32.352 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.044) 0:00:32.396 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.035) 0:00:32.432 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707841645.02, "block_size": 4096, "blocks": 0, "ctime": 1707841645.018, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "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": 1707841645.018, "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_rewritea12nm55j/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.129) 0:00:32.561 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.026) 0:00:32.588 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.039) 0:00:32.627 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.023) 0:00:32.650 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.126) 0:00:32.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.021) 0:00:32.798 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005047", "end": "2024-02-13 11:27:29.168169", "rc": 1, "start": "2024-02-13 11:27:29.163122" } STDERR: /bin/sh: nmcli: command not found 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.133) 0:00:32.932 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.023) 0:00:32.956 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.053) 0:00:33.010 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.023) 0:00:33.033 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.022) 0:00:33.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.022) 0:00:33.078 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.023) 0:00:33.101 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.019) 0:00:33.121 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.022) 0:00:33.144 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 16:27:29 +0000 (0:00:00.039) 0:00:33.183 ****** 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.015716", "end": "2024-02-13 11:27:29.561564", "rc": 0, "start": "2024-02-13 11:27:29.545848" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tests_states.yml:103 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.144) 0:00:33.327 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.035) 0:00:33.363 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.022) 0:00:33.385 ****** 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": false, "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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.045) 0:00:33.430 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.033) 0:00:33.464 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.062) 0:00:33.527 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003140", "end": "2024-02-13 11:27:29.893317", "rc": 0, "start": "2024-02-13 11:27:29.890177" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.129) 0:00:33.657 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.022) 0:00:33.679 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.020) 0:00:33.700 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.044) 0:00:33.745 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.035) 0:00:33.781 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.039) 0:00:33.820 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.026) 0:00:33.846 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.021) 0:00:33.868 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:30 +0000 (0:00:00.020) 0:00:33.889 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:32 +0000 (0:00:01.384) 0:00:35.274 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.558) 0:00:35.832 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.022) 0:00:35.855 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.021) 0:00:35.876 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.021) 0:00:35.898 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.041) 0:00:35.940 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.021) 0:00:35.962 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.021) 0:00:35.983 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.024) 0:00:36.008 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.021) 0:00:36.029 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.020) 0:00:36.050 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:32 +0000 (0:00:00.181) 0:00:36.232 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmpm3aq2fql" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.188) 0:00:36.420 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.231) 0:00:36.652 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.021) 0:00:36.673 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.023) 0:00:36.697 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.024) 0:00:36.721 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.022) 0:00:36.743 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.122) 0:00:36.866 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.022) 0:00:36.888 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.035) 0:00:36.924 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.038) 0:00:36.963 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.026) 0:00:36.989 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.021) 0:00:37.011 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:33 +0000 (0:00:00.047) 0:00:37.058 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:35 +0000 (0:00:01.364) 0:00:38.422 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.554) 0:00:38.977 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.021) 0:00:38.999 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.021) 0:00:39.021 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.020) 0:00:39.041 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.043) 0:00:39.085 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.041) 0:00:39.127 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.021) 0:00:39.148 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.024) 0:00:39.172 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.020) 0:00:39.193 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:35 +0000 (0:00:00.021) 0:00:39.214 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.181) 0:00:39.396 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmpix0j5koh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.185) 0:00:39.582 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.338) 0:00:39.920 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.020) 0:00:39.941 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.022) 0:00:39.964 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.021) 0:00:39.986 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.021) 0:00:40.007 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.119) 0:00:40.127 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.034) 0:00:40.162 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:36 +0000 (0:00:00.065) 0:00:40.227 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:37 +0000 (0:00:00.027) 0:00:40.254 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:37 +0000 (0:00:00.021) 0:00:40.276 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:37 +0000 (0:00:00.020) 0:00:40.297 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:38 +0000 (0:00:01.366) 0:00:41.663 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:38 +0000 (0:00:00.555) 0:00:42.219 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.047) 0:00:42.266 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.021) 0:00:42.287 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.021) 0:00:42.309 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.041) 0:00:42.351 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.021) 0:00:42.373 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.022) 0:00:42.395 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.026) 0:00:42.421 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.023) 0:00:42.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.021) 0:00:42.467 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.181) 0:00:42.649 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmpr76dyx96" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.191) 0:00:42.840 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.228) 0:00:43.068 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.021) 0:00:43.090 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.022) 0:00:43.112 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.022) 0:00:43.134 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:39 +0000 (0:00:00.020) 0:00:43.154 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 16:27:40 +0000 (0:00:00.147) 0:00:43.302 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 16:27:40 +0000 (0:00:00.039) 0:00:43.341 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:40 +0000 (0:00:00.039) 0:00:43.381 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:40 +0000 (0:00:00.040) 0:00:43.421 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:40 +0000 (0:00:00.027) 0:00:43.448 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:40 +0000 (0:00:00.021) 0:00:43.470 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:40 +0000 (0:00:00.021) 0:00:43.492 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:41 +0000 (0:00:01.355) 0:00:44.848 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.577) 0:00:45.425 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.022) 0:00:45.448 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.022) 0:00:45.470 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.021) 0:00:45.492 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.043) 0:00:45.535 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.023) 0:00:45.559 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.022) 0:00:45.581 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.026) 0:00:45.608 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.021) 0:00:45.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.021) 0:00:45.651 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.184) 0:00:45.835 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmp09tu5cz1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:42 +0000 (0:00:00.184) 0:00:46.020 ****** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.249) 0:00:46.269 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.021) 0:00:46.291 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.022) 0:00:46.313 ****** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.022) 0:00:46.336 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.021) 0:00:46.357 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.120) 0:00:46.477 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.038) 0:00:46.516 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.035) 0:00:46.552 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.021) 0:00:46.573 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.121) 0:00:46.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.020) 0:00:46.715 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004812", "end": "2024-02-13 11:27:43.082086", "rc": 1, "start": "2024-02-13 11:27:43.077274" } STDERR: /bin/sh: nmcli: command not found 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.128) 0:00:46.844 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.022) 0:00:46.867 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.021) 0:00:46.889 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.051) 0:00:46.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.023) 0:00:46.963 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.022) 0:00:46.985 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.023) 0:00:47.009 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.025) 0:00:47.034 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.023) 0:00:47.058 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 16:27:43 +0000 (0:00:00.039) 0:00:47.097 ****** 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.016166", "end": "2024-02-13 11:27:43.475567", "rc": 0, "start": "2024-02-13 11:27:43.459401" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tests_states.yml:126 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.143) 0:00:47.241 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.036) 0:00:47.277 ****** 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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.021) 0:00:47.299 ****** 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": false, "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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.047) 0:00:47.347 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.033) 0:00:47.381 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.032) 0:00:47.414 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002896", "end": "2024-02-13 11:27:43.777763", "rc": 0, "start": "2024-02-13 11:27:43.774867" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.125) 0:00:47.539 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.024) 0:00:47.563 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.022) 0:00:47.586 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.046) 0:00:47.632 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.037) 0:00:47.669 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.040) 0:00:47.709 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.027) 0:00:47.737 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.021) 0:00:47.758 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:44 +0000 (0:00:00.021) 0:00:47.780 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:45 +0000 (0:00:01.366) 0:00:49.147 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.560) 0:00:49.707 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.022) 0:00:49.730 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.020) 0:00:49.751 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.021) 0:00:49.773 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.043) 0:00:49.816 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.021) 0:00:49.837 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.021) 0:00:49.859 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.024) 0:00:49.884 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.021) 0:00:49.905 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.022) 0:00:49.927 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:46 +0000 (0:00:00.211) 0:00:50.139 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmpcutvfu6o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.186) 0:00:50.325 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.226) 0:00:50.552 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.021) 0:00:50.574 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.023) 0:00:50.597 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.023) 0:00:50.620 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.021) 0:00:50.641 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.122) 0:00:50.763 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.024) 0:00:50.788 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.035) 0:00:50.824 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.038) 0:00:50.863 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.025) 0:00:50.889 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.021) 0:00:50.910 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:47 +0000 (0:00:00.021) 0:00:50.931 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:49 +0000 (0:00:01.359) 0:00:52.291 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.554) 0:00:52.845 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.022) 0:00:52.868 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.022) 0:00:52.890 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.021) 0:00:52.912 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.043) 0:00:52.956 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.021) 0:00:52.977 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.021) 0:00:52.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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.049) 0:00:53.047 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.021) 0:00:53.069 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:49 +0000 (0:00:00.021) 0:00:53.091 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.182) 0:00:53.273 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmpoc1ic8ld" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.188) 0:00:53.461 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.338) 0:00:53.799 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.020) 0:00:53.820 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.022) 0:00:53.843 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.022) 0:00:53.865 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.020) 0:00:53.886 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.123) 0:00:54.010 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.035) 0:00:54.045 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.062) 0:00:54.107 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.026) 0:00:54.134 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.021) 0:00:54.156 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:50 +0000 (0:00:00.021) 0:00:54.178 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:52 +0000 (0:00:01.364) 0:00:55.542 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:52 +0000 (0:00:00.556) 0:00:56.099 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:52 +0000 (0:00:00.022) 0:00:56.121 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:52 +0000 (0:00:00.051) 0:00:56.173 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:52 +0000 (0:00:00.023) 0:00:56.196 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.043) 0:00:56.240 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.022) 0:00:56.262 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.021) 0:00:56.284 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.025) 0:00:56.309 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.021) 0:00:56.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.021) 0:00:56.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.185) 0:00:56.537 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmphmnfu2iq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.187) 0:00:56.724 ****** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.238) 0:00:56.963 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.022) 0:00:56.985 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.024) 0:00:57.009 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.023) 0:00:57.033 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.021) 0:00:57.054 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 16:27:53 +0000 (0:00:00.119) 0:00:57.174 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 16:27:54 +0000 (0:00:00.063) 0:00:57.237 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 16:27:54 +0000 (0:00:00.035) 0:00:57.273 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 16:27:54 +0000 (0:00:00.039) 0:00:57.312 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 16:27:54 +0000 (0:00:00.026) 0:00:57.338 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 16:27:54 +0000 (0:00:00.021) 0:00:57.359 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 16:27:54 +0000 (0:00:00.021) 0:00:57.381 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 16:27:55 +0000 (0:00:01.357) 0:00:58.739 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.581) 0:00:59.320 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.024) 0:00:59.345 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.020) 0:00:59.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.021) 0:00:59.387 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.042) 0:00:59.430 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.023) 0:00:59.453 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.022) 0:00:59.475 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.026) 0:00:59.501 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.021) 0:00:59.523 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.021) 0:00:59.544 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.183) 0:00:59.728 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13734gz8lq_au/tmpe7__uir7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.190) 0:00:59.919 ****** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.281) 0:01:00.200 ****** 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_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 16:27:56 +0000 (0:00:00.021) 0:01:00.221 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.022) 0:01:00.244 ****** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.022) 0:01:00.266 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.021) 0:01:00.288 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.124) 0:01:00.412 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.042) 0:01:00.455 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.036) 0:01:00.492 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.020) 0:01:00.513 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.124) 0:01:00.637 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.021) 0:01:00.659 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004961", "end": "2024-02-13 11:27:57.025617", "rc": 1, "start": "2024-02-13 11:27:57.020656" } STDERR: /bin/sh: nmcli: command not found 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.128) 0:01:00.788 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.021) 0:01:00.810 ****** 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_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.022) 0:01:00.832 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.021) 0:01:00.854 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.048) 0:01:00.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.023) 0:01:00.926 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 13 February 2024 16:27:57 +0000 (0:00:00.022) 0:01:00.949 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.356262", "end": "2024-02-13 11:27:57.667357", "rc": 0, "start": "2024-02-13 11:27:57.311095" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 13 February 2024 16:27:58 +0000 (0:00:00.482) 0:01:01.431 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 13 February 2024 16:27:58 +0000 (0:00:00.022) 0:01:01.454 ****** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 16:27:58 +0000 (0:00:00.020) 0:01:01.475 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 16:27:58 +0000 (0:00:00.027) 0:01:01.502 ****** 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_rewritea12nm55j/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 16:27:58 +0000 (0:00:00.022) 0:01:01.525 ****** included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 16:27:58 +0000 (0:00:00.044) 0:01:01.569 ****** 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.018791", "end": "2024-02-13 11:27:57.958604", "rc": 0, "start": "2024-02-13 11:27:57.939813" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritea12nm55j/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 16:27:58 +0000 (0:00:00.159) 0:01:01.728 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=228 rescued=0 ignored=10 Tuesday 13 February 2024 16:27:58 +0000 (0:00:00.013) 0:01:01.742 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.75s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.04s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.97s /WORKDIR/git-bond_options_rewritea12nm55j/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-bond_options_rewritea12nm55j/tests/tests_states_initscripts.yml:5 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---