# 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_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/tests_states_initscripts.yml:5 Wednesday 14 February 2024 03:00:50 +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_rewriteqed2xaqz/tests/tests_states_initscripts.yml:8 Wednesday 14 February 2024 03:00:51 +0000 (0:00:00.972) 0:00:00.984 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 03:00:51 +0000 (0:00:00.023) 0:00:01.008 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.221) 0:00:01.229 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.186) 0:00:01.416 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.020) 0:00:01.437 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.018) 0:00:01.455 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.032) 0:00:01.488 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.011) 0:00:01.499 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.010) 0:00:01.510 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.010) 0:00:01.520 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.010) 0:00:01.530 **** 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_rewriteqed2xaqz/tests/tests_states_initscripts.yml:10 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.436) 0:00:01.967 **** 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_rewriteqed2xaqz/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 03:00:52 +0000 (0:00:00.012) 0:00:01.979 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 03:00:53 +0000 (0:00:00.717) 0:00:02.697 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 03:00:53 +0000 (0:00:00.012) 0:00:02.709 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 03:00:53 +0000 (0:00:00.019) 0:00:02.728 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 03:00:53 +0000 (0:00:00.012) 0:00:02.741 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 03:00:53 +0000 (0:00:00.035) 0:00:02.777 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 03:00:53 +0000 (0:00:00.017) 0:00:02.794 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 03:00:53 +0000 (0:00:00.016) 0:00:02.810 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003157", "end": "2024-02-14 03:00:53.902921", "rc": 0, "start": "2024-02-14 03:00:53.899764" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 03:00:53 +0000 (0:00:00.186) 0:00:02.996 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 03:00:53 +0000 (0:00:00.013) 0:00:03.010 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.011) 0:00:03.021 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.023) 0:00:03.045 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.033024", "end": "2024-02-14 03:00:54.101697", "rc": 255, "start": "2024-02-14 03:00:54.068673" } 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.150) 0:00:03.195 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.017) 0:00:03.212 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.120) 0:00:03.333 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.014) 0:00:03.348 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.021) 0:00:03.369 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.035) 0:00:03.404 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.070) 0:00:03.475 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.014) 0:00:03.490 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.028) 0:00:03.518 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:00:54 +0000 (0:00:00.012) 0:00:03.530 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:00:56 +0000 (0:00:01.867) 0:00:05.397 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.712) 0:00:06.110 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.022) 0:00:06.132 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.020) 0:00:06.153 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.034) 0:00:06.188 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.043) 0:00:06.231 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.020) 0:00:06.252 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.021) 0:00:06.274 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.025) 0:00:06.299 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.020) 0:00:06.320 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.021) 0:00:06.341 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.271) 0:00:06.612 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpp19fgnp9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:00:57 +0000 (0:00:00.197) 0:00:06.810 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.376) 0:00:07.187 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.021) 0:00:07.209 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.022) 0:00:07.231 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.023) 0:00:07.254 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.020) 0:00:07.274 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.196) 0:00:07.471 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.022) 0:00:07.493 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.039) 0:00:07.533 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.036) 0:00:07.569 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.020) 0:00:07.590 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707879658.081916, "block_size": 4096, "blocks": 8, "ctime": 1707879658.082916, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707879658.082916, "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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.125) 0:00:07.716 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.022) 0:00:07.739 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006659", "end": "2024-02-14 03:00:58.771406", "rc": 1, "start": "2024-02-14 03:00:58.764747" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.134) 0:00:07.874 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 03:00:58 +0000 (0:00:00.022) 0:00:07.896 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003157", "end": "2024-02-14 03:00:58.924973", "rc": 0, "start": "2024-02-14 03:00:58.921816" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.133) 0:00:08.030 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.026) 0:00:08.057 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003105", "end": "2024-02-14 03:00:59.085492", "rc": 0, "start": "2024-02-14 03:00:59.082387" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.132) 0:00:08.189 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.047) 0:00:08.237 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.023) 0:00:08.261 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.024) 0:00:08.285 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.022) 0:00:08.308 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.025) 0:00:08.333 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.022) 0:00:08.355 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.039) 0:00:08.395 **** 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.038915", "end": "2024-02-14 03:00:59.457302", "rc": 255, "start": "2024-02-14 03:00:59.418387" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.165) 0:00:08.560 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.036) 0:00:08.597 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.023) 0:00:08.620 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.047) 0:00:08.668 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.034) 0:00:08.702 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.056) 0:00:08.759 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003251", "end": "2024-02-14 03:00:59.790068", "rc": 0, "start": "2024-02-14 03:00:59.786817" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.134) 0:00:08.894 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.022) 0:00:08.916 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.021) 0:00:08.938 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 03:00:59 +0000 (0:00:00.040) 0:00:08.979 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004838", "end": "2024-02-14 03:01:00.009400", "rc": 255, "start": "2024-02-14 03:01:00.004562" } 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.133) 0:00:09.113 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.035) 0:00:09.148 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.129) 0:00:09.278 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.023) 0:00:09.301 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.038) 0:00:09.340 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.039) 0:00:09.380 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.063) 0:00:09.444 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.027) 0:00:09.471 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.021) 0:00:09.492 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:00 +0000 (0:00:00.021) 0:00:09.514 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:02 +0000 (0:00:01.771) 0:00:11.286 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:02 +0000 (0:00:00.610) 0:00:11.897 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:02 +0000 (0:00:00.022) 0:00:11.919 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:02 +0000 (0:00:00.021) 0:00:11.941 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:02 +0000 (0:00:00.020) 0:00:11.962 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:02 +0000 (0:00:00.043) 0:00:12.005 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.021) 0:00:12.026 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.020) 0:00:12.047 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.026) 0:00:12.073 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.020) 0:00:12.094 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.020) 0:00:12.115 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.187) 0:00:12.303 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpv5chy7mg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.193) 0:00:12.497 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.243) 0:00:12.740 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.021) 0:00:12.761 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.045) 0:00:12.807 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.023) 0:00:12.830 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.021) 0:00:12.852 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.123) 0:00:12.976 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 03:01:03 +0000 (0:00:00.022) 0:00:12.998 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.044) 0:00:13.043 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.034) 0:00:13.078 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.128) 0:00:13.206 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.023) 0:00:13.230 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.036) 0:00:13.266 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.022) 0:00:13.289 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707879663.634916, "block_size": 4096, "blocks": 8, "ctime": 1707879663.634916, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707879663.634916, "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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.126) 0:00:13.416 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.022) 0:00:13.438 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006702", "end": "2024-02-14 03:01:04.468695", "rc": 1, "start": "2024-02-14 03:01:04.461993" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.155) 0:00:13.593 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.023) 0:00:13.616 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003306", "end": "2024-02-14 03:01:04.646267", "rc": 0, "start": "2024-02-14 03:01:04.642961" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.136) 0:00:13.752 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.027) 0:00:13.779 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003153", "end": "2024-02-14 03:01:04.807870", "rc": 0, "start": "2024-02-14 03:01:04.804717" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.133) 0:00:13.913 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.027) 0:00:13.941 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.024) 0:00:13.965 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.023) 0:00:13.988 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 03:01:04 +0000 (0:00:00.022) 0:00:14.011 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.019) 0:00:14.031 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.021) 0:00:14.052 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.040) 0:00:14.093 **** 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.042751", "end": "2024-02-14 03:01:05.164375", "rc": 255, "start": "2024-02-14 03:01:05.121624" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.176) 0:00:14.269 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.059) 0:00:14.329 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.023) 0:00:14.352 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.044) 0:00:14.396 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.035) 0:00:14.432 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.033) 0:00:14.465 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003604", "end": "2024-02-14 03:01:05.494365", "rc": 0, "start": "2024-02-14 03:01:05.490761" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.134) 0:00:14.600 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.022) 0:00:14.622 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.022) 0:00:14.645 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.037) 0:00:14.683 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.035) 0:00:14.719 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.039) 0:00:14.758 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.050) 0:00:14.808 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.021) 0:00:14.829 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:05 +0000 (0:00:00.021) 0:00:14.851 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:07 +0000 (0:00:01.624) 0:00:16.475 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.578) 0:00:17.054 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.022) 0:00:17.077 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.039) 0:00:17.116 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.022) 0:00:17.138 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.042) 0:00:17.181 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.021) 0:00:17.203 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.021) 0:00:17.224 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.023) 0:00:17.248 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.021) 0:00:17.270 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.021) 0:00:17.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.190) 0:00:17.482 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmp482_6vvo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.190) 0:00:17.673 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.230) 0:00:17.903 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.021) 0:00:17.925 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.022) 0:00:17.947 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:08 +0000 (0:00:00.022) 0:00:17.970 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:09 +0000 (0:00:00.046) 0:00:18.016 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 03:01:09 +0000 (0:00:00.125) 0:00:18.141 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 03:01:09 +0000 (0:00:00.022) 0:00:18.164 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 03:01:09 +0000 (0:00:00.038) 0:00:18.202 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:09 +0000 (0:00:00.039) 0:00:18.242 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:09 +0000 (0:00:00.039) 0:00:18.281 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:09 +0000 (0:00:00.027) 0:00:18.309 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:09 +0000 (0:00:00.021) 0:00:18.330 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:09 +0000 (0:00:00.020) 0:00:18.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:10 +0000 (0:00:01.605) 0:00:19.956 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.569) 0:00:20.525 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.023) 0:00:20.548 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.021) 0:00:20.569 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.021) 0:00:20.591 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.043) 0:00:20.635 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.021) 0:00:20.656 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.021) 0:00:20.677 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.024) 0:00:20.702 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.021) 0:00:20.723 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.042) 0:00:20.766 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:11 +0000 (0:00:00.186) 0:00:20.952 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpiekbtwp2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.192) 0:00:21.145 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.382) 0:00:21.527 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.021) 0:00:21.548 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.022) 0:00:21.571 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.023) 0:00:21.595 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.020) 0:00:21.616 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.127) 0:00:21.743 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.043) 0:00:21.787 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.034) 0:00:21.822 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707879672.336916, "block_size": 4096, "blocks": 0, "ctime": 1707879672.331916, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "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": 1707879672.331916, "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_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.151) 0:00:21.973 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 03:01:12 +0000 (0:00:00.023) 0:00:21.997 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.037) 0:00:22.035 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.021) 0:00:22.056 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707879670.411916, "block_size": 4096, "blocks": 8, "ctime": 1707879668.798916, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707879668.798916, "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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.127) 0:00:22.184 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.022) 0:00:22.207 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006840", "end": "2024-02-14 03:01:13.240446", "rc": 1, "start": "2024-02-14 03:01:13.233606" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.138) 0:00:22.345 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.022) 0:00:22.367 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003157", "end": "2024-02-14 03:01:13.400050", "rc": 0, "start": "2024-02-14 03:01:13.396893" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.137) 0:00:22.505 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.027) 0:00:22.533 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003018", "end": "2024-02-14 03:01:13.561536", "rc": 0, "start": "2024-02-14 03:01:13.558518" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.133) 0:00:22.666 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.027) 0:00:22.694 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.023) 0:00:22.718 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.024) 0:00:22.742 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.022) 0:00:22.764 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.044) 0:00:22.809 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.022) 0:00:22.832 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 03:01:13 +0000 (0:00:00.039) 0:00:22.872 **** 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.049360", "end": "2024-02-14 03:01:13.946420", "rc": 0, "start": "2024-02-14 03:01:13.897060" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.183) 0:00:23.056 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.036) 0:00:23.092 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.021) 0:00:23.114 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.046) 0:00:23.160 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.034) 0:00:23.194 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.033) 0:00:23.228 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003185", "end": "2024-02-14 03:01:14.255140", "rc": 0, "start": "2024-02-14 03:01:14.251955" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.129) 0:00:23.358 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.022) 0:00:23.380 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.045) 0:00:23.426 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.040) 0:00:23.467 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.036) 0:00:23.503 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.040) 0:00:23.544 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.026) 0:00:23.571 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.021) 0:00:23.592 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:14 +0000 (0:00:00.021) 0:00:23.614 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:16 +0000 (0:00:01.657) 0:00:25.271 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:16 +0000 (0:00:00.581) 0:00:25.852 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:16 +0000 (0:00:00.022) 0:00:25.875 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:16 +0000 (0:00:00.021) 0:00:25.896 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:16 +0000 (0:00:00.021) 0:00:25.918 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:16 +0000 (0:00:00.042) 0:00:25.961 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:16 +0000 (0:00:00.021) 0:00:25.982 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:16 +0000 (0:00:00.021) 0:00:26.004 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.026) 0:00:26.031 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.021) 0:00:26.052 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.020) 0:00:26.073 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.187) 0:00:26.261 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmp3ytzhlm9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.217) 0:00:26.478 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.241) 0:00:26.720 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.021) 0:00:26.741 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.023) 0:00:26.764 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.023) 0:00:26.788 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.021) 0:00:26.810 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.122) 0:00:26.932 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.022) 0:00:26.955 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:17 +0000 (0:00:00.035) 0:00:26.990 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:18 +0000 (0:00:00.039) 0:00:27.029 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:18 +0000 (0:00:00.026) 0:00:27.056 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:18 +0000 (0:00:00.021) 0:00:27.078 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:18 +0000 (0:00:00.021) 0:00:27.099 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:19 +0000 (0:00:01.592) 0:00:28.691 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.567) 0:00:29.258 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.022) 0:00:29.281 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.021) 0:00:29.302 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.021) 0:00:29.324 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.061) 0:00:29.386 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.021) 0:00:29.407 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.021) 0:00:29.429 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.024) 0:00:29.454 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.021) 0:00:29.475 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.021) 0:00:29.496 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.187) 0:00:29.683 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpezxh5rbp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:20 +0000 (0:00:00.187) 0:00:29.871 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.348) 0:00:30.220 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.021) 0:00:30.241 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.024) 0:00:30.266 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.024) 0:00:30.291 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.021) 0:00:30.313 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.124) 0:00:30.438 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.065) 0:00:30.503 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.040) 0:00:30.544 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.039) 0:00:30.584 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.027) 0:00:30.612 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.022) 0:00:30.634 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:21 +0000 (0:00:00.021) 0:00:30.656 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:23 +0000 (0:00:01.562) 0:00:32.218 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:23 +0000 (0:00:00.586) 0:00:32.805 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:23 +0000 (0:00:00.023) 0:00:32.828 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:23 +0000 (0:00:00.022) 0:00:32.850 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:23 +0000 (0:00:00.023) 0:00:32.874 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:23 +0000 (0:00:00.044) 0:00:32.918 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:23 +0000 (0:00:00.023) 0:00:32.942 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:23 +0000 (0:00:00.023) 0:00:32.965 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:23 +0000 (0:00:00.025) 0:00:32.990 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:23 +0000 (0:00:00.022) 0:00:33.012 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.023) 0:00:33.036 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.187) 0:00:33.223 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmp30z_fsfe" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.224) 0:00:33.447 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.238) 0:00:33.686 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.021) 0:00:33.708 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.022) 0:00:33.730 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.022) 0:00:33.753 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.021) 0:00:33.774 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.123) 0:00:33.898 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.043) 0:00:33.941 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 03:01:24 +0000 (0:00:00.036) 0:00:33.977 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707879681.048916, "block_size": 4096, "blocks": 0, "ctime": 1707879681.043916, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "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": 1707879681.043916, "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_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.127) 0:00:34.105 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.023) 0:00:34.129 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.036) 0:00:34.165 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.045) 0:00:34.210 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.127) 0:00:34.337 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.021) 0:00:34.358 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006599", "end": "2024-02-14 03:01:25.387992", "rc": 1, "start": "2024-02-14 03:01:25.381393" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.133) 0:00:34.492 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.022) 0:00:34.515 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.022) 0:00:34.537 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.022) 0:00:34.559 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.022) 0:00:34.582 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.022) 0:00:34.604 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.023) 0:00:34.628 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.019) 0:00:34.647 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.023) 0:00:34.671 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.040) 0:00:34.711 **** 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.035094", "end": "2024-02-14 03:01:25.770479", "rc": 0, "start": "2024-02-14 03:01:25.735385" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.167) 0:00:34.879 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.058) 0:00:34.938 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.023) 0:00:34.961 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 03:01:25 +0000 (0:00:00.046) 0:00:35.007 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.034) 0:00:35.042 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.033) 0:00:35.075 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003436", "end": "2024-02-14 03:01:26.103637", "rc": 0, "start": "2024-02-14 03:01:26.100201" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.133) 0:00:35.209 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.022) 0:00:35.231 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.022) 0:00:35.254 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.044) 0:00:35.299 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.036) 0:00:35.335 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.039) 0:00:35.374 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.052) 0:00:35.427 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.021) 0:00:35.448 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:26 +0000 (0:00:00.021) 0:00:35.470 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:27 +0000 (0:00:01.536) 0:00:37.007 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.561) 0:00:37.569 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.022) 0:00:37.591 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.043) 0:00:37.635 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.021) 0:00:37.656 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.043) 0:00:37.700 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.021) 0:00:37.721 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.021) 0:00:37.743 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.025) 0:00:37.768 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.021) 0:00:37.790 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.020) 0:00:37.811 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:28 +0000 (0:00:00.188) 0:00:37.999 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmp1bni2_ci" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.187) 0:00:38.187 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.234) 0:00:38.421 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.020) 0:00:38.442 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.022) 0:00:38.465 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.023) 0:00:38.488 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.020) 0:00:38.509 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.129) 0:00:38.638 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.023) 0:00:38.662 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.035) 0:00:38.698 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.040) 0:00:38.738 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.026) 0:00:38.765 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.022) 0:00:38.787 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:29 +0000 (0:00:00.023) 0:00:38.811 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:31 +0000 (0:00:01.550) 0:00:40.361 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:31 +0000 (0:00:00.590) 0:00:40.952 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:31 +0000 (0:00:00.023) 0:00:40.975 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:31 +0000 (0:00:00.020) 0:00:40.996 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.021) 0:00:41.018 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.043) 0:00:41.061 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.020) 0:00:41.082 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.021) 0:00:41.103 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.024) 0:00:41.128 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.020) 0:00:41.149 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.021) 0:00:41.170 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.187) 0:00:41.358 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpipdpnefb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.213) 0:00:41.571 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.346) 0:00:41.917 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.021) 0:00:41.938 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.023) 0:00:41.961 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.022) 0:00:41.984 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:32 +0000 (0:00:00.021) 0:00:42.005 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 03:01:33 +0000 (0:00:00.124) 0:00:42.130 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:33 +0000 (0:00:00.035) 0:00:42.166 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:33 +0000 (0:00:00.039) 0:00:42.205 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:33 +0000 (0:00:00.026) 0:00:42.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:33 +0000 (0:00:00.021) 0:00:42.253 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:33 +0000 (0:00:00.021) 0:00:42.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:34 +0000 (0:00:01.558) 0:00:43.833 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.566) 0:00:44.400 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.022) 0:00:44.423 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.021) 0:00:44.444 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.021) 0:00:44.466 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.043) 0:00:44.509 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.021) 0:00:44.530 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.042) 0:00:44.573 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.025) 0:00:44.598 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.021) 0:00:44.619 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.021) 0:00:44.640 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:35 +0000 (0:00:00.186) 0:00:44.827 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpvnyynro5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.187) 0:00:45.014 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.233) 0:00:45.247 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.021) 0:00:45.269 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.022) 0:00:45.291 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.022) 0:00:45.313 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.021) 0:00:45.335 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.123) 0:00:45.458 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.039) 0:00:45.498 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.066) 0:00:45.564 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.039) 0:00:45.604 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.026) 0:00:45.631 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.021) 0:00:45.652 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:36 +0000 (0:00:00.021) 0:00:45.673 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:38 +0000 (0:00:01.542) 0:00:47.216 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:38 +0000 (0:00:00.602) 0:00:47.818 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:38 +0000 (0:00:00.022) 0:00:47.841 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:38 +0000 (0:00:00.021) 0:00:47.862 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:38 +0000 (0:00:00.021) 0:00:47.884 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:38 +0000 (0:00:00.041) 0:00:47.925 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:38 +0000 (0:00:00.021) 0:00:47.947 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:38 +0000 (0:00:00.020) 0:00:47.968 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:38 +0000 (0:00:00.027) 0:00:47.995 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.021) 0:00:48.017 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.021) 0:00:48.038 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.187) 0:00:48.226 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpze1tsehr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.186) 0:00:48.413 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.276) 0:00:48.690 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.021) 0:00:48.711 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.023) 0:00:48.735 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.023) 0:00:48.758 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.021) 0:00:48.780 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.124) 0:00:48.904 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.041) 0:00:48.945 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.036) 0:00:48.981 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 03:01:39 +0000 (0:00:00.021) 0:00:49.003 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.124) 0:00:49.128 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.020) 0:00:49.148 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006630", "end": "2024-02-14 03:01:40.178635", "rc": 1, "start": "2024-02-14 03:01:40.172005" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.132) 0:00:49.281 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.022) 0:00:49.304 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.022) 0:00:49.327 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.049) 0:00:49.376 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.022) 0:00:49.399 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.022) 0:00:49.421 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.023) 0:00:49.445 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.025) 0:00:49.471 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.022) 0:00:49.493 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.039) 0:00:49.532 **** 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.042962", "end": "2024-02-14 03:01:40.602503", "rc": 0, "start": "2024-02-14 03:01:40.559541" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.180) 0:00:49.713 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.036) 0:00:49.750 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.022) 0:00:49.773 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.045) 0:00:49.818 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.035) 0:00:49.854 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 03:01:40 +0000 (0:00:00.059) 0:00:49.913 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003205", "end": "2024-02-14 03:01:40.939846", "rc": 0, "start": "2024-02-14 03:01:40.936641" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 03:01:41 +0000 (0:00:00.131) 0:00:50.044 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 03:01:41 +0000 (0:00:00.022) 0:00:50.066 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 03:01:41 +0000 (0:00:00.021) 0:00:50.088 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 03:01:41 +0000 (0:00:00.044) 0:00:50.133 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:41 +0000 (0:00:00.036) 0:00:50.169 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:41 +0000 (0:00:00.039) 0:00:50.209 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:41 +0000 (0:00:00.026) 0:00:50.235 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:41 +0000 (0:00:00.021) 0:00:50.257 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:41 +0000 (0:00:00.020) 0:00:50.278 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:42 +0000 (0:00:01.544) 0:00:51.823 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.568) 0:00:52.391 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.022) 0:00:52.413 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.022) 0:00:52.435 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.021) 0:00:52.457 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.043) 0:00:52.500 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.021) 0:00:52.522 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.021) 0:00:52.543 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.026) 0:00:52.570 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.044) 0:00:52.615 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.021) 0:00:52.636 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.187) 0:00:52.823 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpadmede47" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:43 +0000 (0:00:00.188) 0:00:53.011 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.227) 0:00:53.239 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.021) 0:00:53.260 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.022) 0:00:53.283 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.023) 0:00:53.307 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.020) 0:00:53.328 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.124) 0:00:53.452 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.023) 0:00:53.476 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.034) 0:00:53.510 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.039) 0:00:53.549 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.085) 0:00:53.635 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.021) 0:00:53.657 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:44 +0000 (0:00:00.021) 0:00:53.678 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:46 +0000 (0:00:01.536) 0:00:55.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:46 +0000 (0:00:00.566) 0:00:55.781 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:46 +0000 (0:00:00.042) 0:00:55.823 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:46 +0000 (0:00:00.021) 0:00:55.845 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:46 +0000 (0:00:00.021) 0:00:55.867 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:46 +0000 (0:00:00.042) 0:00:55.910 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:46 +0000 (0:00:00.021) 0:00:55.932 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:46 +0000 (0:00:00.021) 0:00:55.953 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:46 +0000 (0:00:00.024) 0:00:55.978 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:46 +0000 (0:00:00.021) 0:00:55.999 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:47 +0000 (0:00:00.021) 0:00:56.021 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:47 +0000 (0:00:00.186) 0:00:56.208 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpzatf0vpt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:47 +0000 (0:00:00.187) 0:00:56.395 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:47 +0000 (0:00:00.343) 0:00:56.739 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:47 +0000 (0:00:00.021) 0:00:56.760 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:47 +0000 (0:00:00.022) 0:00:56.783 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:47 +0000 (0:00:00.023) 0:00:56.806 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:47 +0000 (0:00:00.045) 0:00:56.851 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 03:01:47 +0000 (0:00:00.127) 0:00:56.979 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:48 +0000 (0:00:00.035) 0:00:57.014 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:48 +0000 (0:00:00.039) 0:00:57.054 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:48 +0000 (0:00:00.026) 0:00:57.081 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:48 +0000 (0:00:00.022) 0:00:57.103 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:48 +0000 (0:00:00.022) 0:00:57.125 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:49 +0000 (0:00:01.527) 0:00:58.653 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.585) 0:00:59.238 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.023) 0:00:59.261 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.021) 0:00:59.283 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.021) 0:00:59.304 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.043) 0:00:59.348 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.020) 0:00:59.369 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.021) 0:00:59.391 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.024) 0:00:59.415 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.021) 0:00:59.437 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.021) 0:00:59.459 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.187) 0:00:59.646 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpqrd0z3lx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:50 +0000 (0:00:00.213) 0:00:59.860 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.242) 0:01:00.103 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.021) 0:01:00.125 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.022) 0:01:00.147 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.023) 0:01:00.171 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.021) 0:01:00.192 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.125) 0:01:00.318 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.038) 0:01:00.357 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.035) 0:01:00.392 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.039) 0:01:00.432 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.026) 0:01:00.458 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.021) 0:01:00.480 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 03:01:51 +0000 (0:00:00.021) 0:01:00.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 03:01:53 +0000 (0:00:01.562) 0:01:02.064 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.562) 0:01:02.626 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.023) 0:01:02.650 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.021) 0:01:02.671 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.022) 0:01:02.694 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.070) 0:01:02.765 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.021) 0:01:02.786 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.021) 0:01:02.808 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.025) 0:01:02.833 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.021) 0:01:02.855 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 03:01:53 +0000 (0:00:00.021) 0:01:02.876 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.186) 0:01:03.062 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145929h69tv69/tmpb5ls3_9y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.186) 0:01:03.249 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.227) 0:01:03.476 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.021) 0:01:03.498 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.022) 0:01:03.521 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.022) 0:01:03.544 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.021) 0:01:03.565 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.126) 0:01:03.692 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.072) 0:01:03.765 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.037) 0:01:03.802 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.021) 0:01:03.824 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.128) 0:01:03.952 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 03:01:54 +0000 (0:00:00.021) 0:01:03.974 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006533", "end": "2024-02-14 03:01:55.004012", "rc": 1, "start": "2024-02-14 03:01:54.997479" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.132) 0:01:04.106 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.022) 0:01:04.128 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.022) 0:01:04.151 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.022) 0:01:04.173 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.023) 0:01:04.196 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.022) 0:01:04.219 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.024) 0:01:04.243 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.376943", "end": "2024-02-14 03:01:55.644941", "rc": 0, "start": "2024-02-14 03:01:55.267998" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.508) 0:01:04.752 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.050) 0:01:04.803 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.022) 0:01:04.825 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.026) 0:01:04.852 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.022) 0:01:04.875 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 03:01:55 +0000 (0:00:00.045) 0:01:04.920 **** 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.030609", "end": "2024-02-14 03:01:55.982455", "rc": 0, "start": "2024-02-14 03:01:55.951846" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 03:01:56 +0000 (0:00:00.171) 0:01:05.091 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.007235", "end": "2024-02-14 03:01:56.124059", "rc": 0, "start": "2024-02-14 03:01:56.116824" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 12:4f:58:5d:1b:b3 brd ff:ff:ff:ff:ff:ff inet 10.31.10.91/22 brd 10.31.11.255 scope global eth0 inet6 fe80::104f:58ff:fe5d:1bb3/64 scope link valid_lft forever preferred_lft forever 17: dummy0: mtu 1500 qdisc noop state DOWN link/ether de:22:33:65:4b:ef brd ff:ff:ff:ff:ff:ff IP ROUTE 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.91 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.8.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 03:01:56 +0000 (0:00:00.137) 0:01:05.228 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=228 rescued=0 ignored=10 Wednesday 14 February 2024 03:01:56 +0000 (0:00:00.013) 0:01:05.242 **** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.87s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.77s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.31s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.02s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.98s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.97s /WORKDIR/git-bond_options_rewriteqed2xaqz/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. ---^---^---^---^---^---