# 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_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/tests_states_initscripts.yml:5 Wednesday 31 January 2024 23:57:56 +0000 (0:00:00.014) 0:00:00.014 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tests_states_initscripts.yml:8 Wednesday 31 January 2024 23:57:57 +0000 (0:00:00.920) 0:00:00.934 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:57:57 +0000 (0:00:00.027) 0:00:00.962 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:19 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.231) 0:00:01.193 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:24 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.191) 0:00:01.385 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:28 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.023) 0:00:01.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:53 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.020) 0:00:01.429 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.038) 0:00:01.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.012) 0:00:01.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.011) 0:00:01.491 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.011) 0:00:01.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.011) 0:00:01.514 ***** ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tests_states_initscripts.yml:10 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.448) 0:00:01.962 ***** 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_rewrite4h_am_zo/tests/playbooks/tests_states.yml:3 Wednesday 31 January 2024 23:57:58 +0000 (0:00:00.013) 0:00:01.976 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_states.yml:11 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.697) 0:00:02.673 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_states.yml:22 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.013) 0:00:02.686 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.023) 0:00:02.710 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.013) 0:00:02.724 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.044) 0:00:02.769 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.019) 0:00:02.788 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.018) 0:00:02.807 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003278", "end": "2024-01-31 23:57:59.953171", "rc": 0, "start": "2024-01-31 23:57:59.949893" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.196) 0:00:03.003 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.014) 0:00:03.018 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.013) 0:00:03.032 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 31 January 2024 23:57:59 +0000 (0:00:00.028) 0:00:03.060 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.033561", "end": "2024-01-31 23:58:00.164802", "rc": 255, "start": "2024-01-31 23:58:00.131241" } 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.154) 0:00:03.215 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.019) 0:00:03.235 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.125) 0:00:03.360 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.017) 0:00:03.377 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.025) 0:00:03.402 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.041) 0:00:03.444 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.083) 0:00:03.528 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.015) 0:00:03.543 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.012) 0:00:03.556 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:00 +0000 (0:00:00.012) 0:00:03.569 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:02 +0000 (0:00:01.862) 0:00:05.431 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.729) 0:00:06.161 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.024) 0:00:06.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.023) 0:00:06.208 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.023) 0:00:06.231 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.079) 0:00:06.311 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.024) 0:00:06.335 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.023) 0:00:06.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.029) 0:00:06.388 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.023) 0:00:06.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.022) 0:00:06.435 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.288) 0:00:06.723 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmply1lfscd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:03 +0000 (0:00:00.204) 0:00:06.928 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.364) 0:00:07.293 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.023) 0:00:07.316 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.025) 0:00:07.342 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.025) 0:00:07.367 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.023) 0:00:07.391 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.227) 0:00:07.618 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.026) 0:00:07.645 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.045) 0:00:07.691 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.044) 0:00:07.735 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.024) 0:00:07.760 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706745484.2313359, "block_size": 4096, "blocks": 8, "ctime": 1706745484.2313359, "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": 1706745484.2313359, "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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.130) 0:00:07.890 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.027) 0:00:07.917 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006540", "end": "2024-01-31 23:58:04.996690", "rc": 1, "start": "2024-01-31 23:58:04.990150" } 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.138) 0:00:08.056 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:58:04 +0000 (0:00:00.026) 0:00:08.082 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002987", "end": "2024-01-31 23:58:05.158231", "rc": 0, "start": "2024-01-31 23:58:05.155244" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.135) 0:00:08.218 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.030) 0:00:08.249 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002846", "end": "2024-01-31 23:58:05.324510", "rc": 0, "start": "2024-01-31 23:58:05.321664" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.137) 0:00:08.386 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.030) 0:00:08.417 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.051) 0:00:08.469 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.028) 0:00:08.497 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.026) 0:00:08.523 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.030) 0:00:08.553 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.026) 0:00:08.580 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.049) 0:00:08.630 ***** 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.037069", "end": "2024-01-31 23:58:05.739633", "rc": 255, "start": "2024-01-31 23:58:05.702564" } 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_rewrite4h_am_zo/tests/playbooks/tests_states.yml:45 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.172) 0:00:08.802 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.043) 0:00:08.845 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.025) 0:00:08.871 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.055) 0:00:08.926 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.040) 0:00:08.967 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:58:05 +0000 (0:00:00.038) 0:00:09.006 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003114", "end": "2024-01-31 23:58:06.083185", "rc": 0, "start": "2024-01-31 23:58:06.080071" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.136) 0:00:09.143 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.025) 0:00:09.168 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.024) 0:00:09.193 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.047) 0:00:09.240 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004487", "end": "2024-01-31 23:58:06.315754", "rc": 255, "start": "2024-01-31 23:58:06.311267" } 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.133) 0:00:09.374 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.041) 0:00:09.415 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.129) 0:00:09.544 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.027) 0:00:09.571 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.045) 0:00:09.617 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.046) 0:00:09.663 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.067) 0:00:09.730 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.030) 0:00:09.761 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.023) 0:00:09.784 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:06 +0000 (0:00:00.023) 0:00:09.807 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:08 +0000 (0:00:01.572) 0:00:11.379 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:08 +0000 (0:00:00.579) 0:00:11.959 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:08 +0000 (0:00:00.043) 0:00:12.002 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:08 +0000 (0:00:00.025) 0:00:12.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:08 +0000 (0:00:00.024) 0:00:12.052 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.051) 0:00:12.104 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.024) 0:00:12.128 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.023) 0:00:12.152 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.027) 0:00:12.180 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.023) 0:00:12.203 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.023) 0:00:12.226 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.196) 0:00:12.423 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmp0q2pt1xh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.198) 0:00:12.621 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.249) 0:00:12.871 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.024) 0:00:12.895 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.025) 0:00:12.921 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.026) 0:00:12.947 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:09 +0000 (0:00:00.047) 0:00:12.995 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.130) 0:00:13.125 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.026) 0:00:13.152 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.050) 0:00:13.202 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.040) 0:00:13.242 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.132) 0:00:13.375 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.026) 0:00:13.402 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.042) 0:00:13.444 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.024) 0:00:13.469 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706745489.8073359, "block_size": 4096, "blocks": 8, "ctime": 1706745489.8073359, "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": 1706745489.8073359, "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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.132) 0:00:13.601 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.025) 0:00:13.627 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006905", "end": "2024-01-31 23:58:10.705047", "rc": 1, "start": "2024-01-31 23:58:10.698142" } 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.137) 0:00:13.765 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.047) 0:00:13.812 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003143", "end": "2024-01-31 23:58:10.894762", "rc": 0, "start": "2024-01-31 23:58:10.891619" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.144) 0:00:13.957 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:58:10 +0000 (0:00:00.030) 0:00:13.988 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003184", "end": "2024-01-31 23:58:11.066188", "rc": 0, "start": "2024-01-31 23:58:11.063004" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.141) 0:00:14.129 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.030) 0:00:14.160 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.027) 0:00:14.187 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.027) 0:00:14.214 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.025) 0:00:14.239 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.022) 0:00:14.261 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.024) 0:00:14.286 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.045) 0:00:14.331 ***** 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.036636", "end": "2024-01-31 23:58:11.439436", "rc": 255, "start": "2024-01-31 23:58:11.402800" } 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_rewrite4h_am_zo/tests/playbooks/tests_states.yml:65 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.168) 0:00:14.500 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.042) 0:00:14.543 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.048) 0:00:14.591 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.056) 0:00:14.648 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.042) 0:00:14.690 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.039) 0:00:14.730 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003282", "end": "2024-01-31 23:58:11.806931", "rc": 0, "start": "2024-01-31 23:58:11.803649" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.138) 0:00:14.868 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.025) 0:00:14.894 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.024) 0:00:14.918 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.044) 0:00:14.962 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.042) 0:00:15.005 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.048) 0:00:15.053 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:11 +0000 (0:00:00.030) 0:00:15.084 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:12 +0000 (0:00:00.047) 0:00:15.131 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:12 +0000 (0:00:00.025) 0:00:15.157 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:13 +0000 (0:00:01.504) 0:00:16.661 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.573) 0:00:17.235 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.025) 0:00:17.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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.023) 0:00:17.285 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.040) 0:00:17.325 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.051) 0:00:17.377 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.023) 0:00:17.400 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.023) 0:00:17.423 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.028) 0:00:17.452 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.024) 0:00:17.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.026) 0:00:17.502 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.199) 0:00:17.702 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmpmand23pr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:14 +0000 (0:00:00.194) 0:00:17.896 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.237) 0:00:18.133 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.024) 0:00:18.158 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.026) 0:00:18.184 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.025) 0:00:18.210 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.023) 0:00:18.233 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.146) 0:00:18.380 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.026) 0:00:18.407 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.045) 0:00:18.452 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.046) 0:00:18.498 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.046) 0:00:18.545 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.030) 0:00:18.575 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.024) 0:00:18.600 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:15 +0000 (0:00:00.024) 0:00:18.624 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:17 +0000 (0:00:01.489) 0:00:20.113 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.575) 0:00:20.689 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.026) 0:00:20.715 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.023) 0:00:20.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.023) 0:00:20.762 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.049) 0:00:20.812 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.024) 0:00:20.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.024) 0:00:20.861 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.028) 0:00:20.889 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.023) 0:00:20.913 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:17 +0000 (0:00:00.023) 0:00:20.937 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.218) 0:00:21.156 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmpy0zpk258" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.196) 0:00:21.352 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.358) 0:00:21.711 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.024) 0:00:21.736 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.026) 0:00:21.762 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.026) 0:00:21.788 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.023) 0:00:21.811 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.129) 0:00:21.940 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.051) 0:00:21.991 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:58:18 +0000 (0:00:00.043) 0:00:22.034 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706745498.5793357, "block_size": 4096, "blocks": 0, "ctime": 1706745498.5753357, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1706745498.5753357, "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_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.133) 0:00:22.167 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.027) 0:00:22.195 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.066) 0:00:22.261 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.025) 0:00:22.287 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706745496.6563358, "block_size": 4096, "blocks": 8, "ctime": 1706745495.0713358, "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": 1706745495.0713358, "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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.132) 0:00:22.419 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.025) 0:00:22.445 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006805", "end": "2024-01-31 23:58:19.523088", "rc": 1, "start": "2024-01-31 23:58:19.516283" } 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.138) 0:00:22.584 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.027) 0:00:22.611 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002938", "end": "2024-01-31 23:58:19.689347", "rc": 0, "start": "2024-01-31 23:58:19.686409" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.138) 0:00:22.750 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.030) 0:00:22.780 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003174", "end": "2024-01-31 23:58:19.857109", "rc": 0, "start": "2024-01-31 23:58:19.853935" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.139) 0:00:22.920 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.030) 0:00:22.950 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.027) 0:00:22.978 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.027) 0:00:23.005 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.025) 0:00:23.031 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:58:19 +0000 (0:00:00.021) 0:00:23.052 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.050) 0:00:23.103 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.047) 0:00:23.151 ***** 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.032385", "end": "2024-01-31 23:58:20.255061", "rc": 0, "start": "2024-01-31 23:58:20.222676" } 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_rewrite4h_am_zo/tests/playbooks/tests_states.yml:83 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.169) 0:00:23.321 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.042) 0:00:23.363 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.024) 0:00:23.387 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.052) 0:00:23.440 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.039) 0:00:23.480 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.039) 0:00:23.519 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003129", "end": "2024-01-31 23:58:20.595494", "rc": 0, "start": "2024-01-31 23:58:20.592365" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.136) 0:00:23.656 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.025) 0:00:23.682 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.027) 0:00:23.709 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.075) 0:00:23.785 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.043) 0:00:23.829 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.049) 0:00:23.878 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.033) 0:00:23.911 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.025) 0:00:23.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:20 +0000 (0:00:00.025) 0:00:23.963 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:22 +0000 (0:00:01.537) 0:00:25.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.593) 0:00:26.094 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.025) 0:00:26.120 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.024) 0:00:26.144 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.023) 0:00:26.168 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.052) 0:00:26.221 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.025) 0:00:26.246 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.024) 0:00:26.271 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.028) 0:00:26.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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.025) 0:00:26.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.023) 0:00:26.348 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.195) 0:00:26.544 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmp2fteqp2x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.195) 0:00:26.740 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.262) 0:00:27.002 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.024) 0:00:27.027 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.026) 0:00:27.053 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:23 +0000 (0:00:00.027) 0:00:27.080 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:24 +0000 (0:00:00.023) 0:00:27.104 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:58:24 +0000 (0:00:00.126) 0:00:27.230 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:58:24 +0000 (0:00:00.026) 0:00:27.257 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:24 +0000 (0:00:00.041) 0:00:27.299 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:24 +0000 (0:00:00.045) 0:00:27.345 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:24 +0000 (0:00:00.030) 0:00:27.375 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:24 +0000 (0:00:00.023) 0:00:27.399 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:24 +0000 (0:00:00.024) 0:00:27.423 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:25 +0000 (0:00:01.509) 0:00:28.932 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.574) 0:00:29.507 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.026) 0:00:29.533 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.026) 0:00:29.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.025) 0:00:29.585 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.050) 0:00:29.636 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.024) 0:00:29.660 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.043) 0:00:29.703 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.029) 0:00:29.732 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.024) 0:00:29.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.024) 0:00:29.781 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:26 +0000 (0:00:00.194) 0:00:29.976 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmpzfnpxtm5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.196) 0:00:30.173 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.352) 0:00:30.525 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.025) 0:00:30.551 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.025) 0:00:30.576 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.025) 0:00:30.602 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.023) 0:00:30.626 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.130) 0:00:30.756 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.045) 0:00:30.801 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.069) 0:00:30.871 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.047) 0:00:30.919 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.031) 0:00:30.950 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.024) 0:00:30.975 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:27 +0000 (0:00:00.026) 0:00:31.001 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:29 +0000 (0:00:01.506) 0:00:32.508 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.624) 0:00:33.132 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.025) 0:00:33.158 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.023) 0:00:33.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.024) 0:00:33.206 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.050) 0:00:33.257 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.024) 0:00:33.282 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.023) 0:00:33.305 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.028) 0:00:33.334 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.023) 0:00:33.357 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.023) 0:00:33.380 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.198) 0:00:33.579 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmp3cl4k9sv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.194) 0:00:33.773 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:30 +0000 (0:00:00.294) 0:00:34.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.025) 0:00:34.093 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.026) 0:00:34.120 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.025) 0:00:34.146 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.023) 0:00:34.169 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.128) 0:00:34.297 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.050) 0:00:34.348 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.040) 0:00:34.388 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706745507.3973358, "block_size": 4096, "blocks": 0, "ctime": 1706745507.3963358, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1706745507.3963358, "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_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.130) 0:00:34.519 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.027) 0:00:34.546 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.043) 0:00:34.590 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.025) 0:00:34.615 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.128) 0:00:34.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.047) 0:00:34.791 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006601", "end": "2024-01-31 23:58:31.871571", "rc": 1, "start": "2024-01-31 23:58:31.864970" } 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.141) 0:00:34.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.024) 0:00:34.956 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.026) 0:00:34.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.026) 0:00:35.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.027) 0:00:35.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:58:31 +0000 (0:00:00.025) 0:00:35.063 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.027) 0:00:35.090 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.022) 0:00:35.113 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.026) 0:00:35.140 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.047) 0:00:35.187 ***** 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.036583", "end": "2024-01-31 23:58:32.295031", "rc": 0, "start": "2024-01-31 23:58:32.258448" } 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_rewrite4h_am_zo/tests/playbooks/tests_states.yml:103 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.171) 0:00:35.358 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.044) 0:00:35.403 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.025) 0:00:35.428 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.078) 0:00:35.506 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.041) 0:00:35.548 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.038) 0:00:35.586 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003042", "end": "2024-01-31 23:58:32.662936", "rc": 0, "start": "2024-01-31 23:58:32.659894" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.135) 0:00:35.722 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.026) 0:00:35.748 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.024) 0:00:35.773 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.052) 0:00:35.826 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.044) 0:00:35.870 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.049) 0:00:35.919 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.030) 0:00:35.950 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.023) 0:00:35.973 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:32 +0000 (0:00:00.049) 0:00:36.023 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:34 +0000 (0:00:01.530) 0:00:37.553 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.576) 0:00:38.130 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.026) 0:00:38.156 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.023) 0:00:38.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.022) 0:00:38.203 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.071) 0:00:38.274 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.024) 0:00:38.299 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.023) 0:00:38.323 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.027) 0:00:38.350 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.023) 0:00:38.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.024) 0:00:38.398 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.201) 0:00:38.599 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmp8egtez0m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.200) 0:00:38.800 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.244) 0:00:39.045 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:35 +0000 (0:00:00.023) 0:00:39.068 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.026) 0:00:39.095 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.025) 0:00:39.121 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.023) 0:00:39.144 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.126) 0:00:39.271 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.026) 0:00:39.297 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.062) 0:00:39.360 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.047) 0:00:39.408 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.030) 0:00:39.439 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.023) 0:00:39.462 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:36 +0000 (0:00:00.024) 0:00:39.487 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:37 +0000 (0:00:01.489) 0:00:40.976 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.611) 0:00:41.587 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.027) 0:00:41.615 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.026) 0:00:41.641 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.024) 0:00:41.666 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.053) 0:00:41.719 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.026) 0:00:41.746 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.023) 0:00:41.770 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.028) 0:00:41.799 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.023) 0:00:41.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.022) 0:00:41.845 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:38 +0000 (0:00:00.195) 0:00:42.041 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmpj45sp9jh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.196) 0:00:42.238 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.401) 0:00:42.640 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.025) 0:00:42.665 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.025) 0:00:42.690 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.026) 0:00:42.716 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.023) 0:00:42.740 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.138) 0:00:42.879 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.041) 0:00:42.921 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.047) 0:00:42.969 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.033) 0:00:43.003 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.026) 0:00:43.029 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:39 +0000 (0:00:00.024) 0:00:43.053 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:41 +0000 (0:00:01.493) 0:00:44.547 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.575) 0:00:45.122 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.026) 0:00:45.148 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.024) 0:00:45.173 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.023) 0:00:45.196 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.050) 0:00:45.247 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.024) 0:00:45.272 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.024) 0:00:45.296 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.028) 0:00:45.325 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.044) 0:00:45.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.024) 0:00:45.394 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.196) 0:00:45.591 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmp442drbfn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.198) 0:00:45.790 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.241) 0:00:46.031 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.025) 0:00:46.056 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:42 +0000 (0:00:00.025) 0:00:46.082 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:43 +0000 (0:00:00.026) 0:00:46.109 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:43 +0000 (0:00:00.023) 0:00:46.133 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:58:43 +0000 (0:00:00.125) 0:00:46.258 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:58:43 +0000 (0:00:00.047) 0:00:46.306 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:43 +0000 (0:00:00.046) 0:00:46.353 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:43 +0000 (0:00:00.070) 0:00:46.423 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:43 +0000 (0:00:00.031) 0:00:46.455 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:43 +0000 (0:00:00.025) 0:00:46.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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:43 +0000 (0:00:00.023) 0:00:46.504 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:44 +0000 (0:00:01.501) 0:00:48.005 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.592) 0:00:48.598 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.026) 0:00:48.624 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.024) 0:00:48.648 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.023) 0:00:48.671 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.049) 0:00:48.721 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.023) 0:00:48.744 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.024) 0:00:48.769 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.028) 0:00:48.797 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.024) 0:00:48.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.024) 0:00:48.846 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:45 +0000 (0:00:00.197) 0:00:49.044 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmp9baifm4g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.197) 0:00:49.242 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.241) 0:00:49.483 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.025) 0:00:49.508 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.025) 0:00:49.533 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.049) 0:00:49.582 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.025) 0:00:49.608 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.127) 0:00:49.735 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.047) 0:00:49.783 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.043) 0:00:49.826 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.025) 0:00:49.851 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.129) 0:00:49.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:58:46 +0000 (0:00:00.024) 0:00:50.005 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006441", "end": "2024-01-31 23:58:47.083200", "rc": 1, "start": "2024-01-31 23:58:47.076759" } 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.138) 0:00:50.143 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.026) 0:00:50.170 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.024) 0:00:50.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.024) 0:00:50.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.025) 0:00:50.244 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.047) 0:00:50.292 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.027) 0:00:50.319 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.030) 0:00:50.350 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.027) 0:00:50.377 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.047) 0:00:50.425 ***** 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.040886", "end": "2024-01-31 23:58:47.538026", "rc": 0, "start": "2024-01-31 23:58:47.497140" } 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_rewrite4h_am_zo/tests/playbooks/tests_states.yml:126 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.177) 0:00:50.602 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.044) 0:00:50.647 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.026) 0:00:50.673 ***** 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" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.056) 0:00:50.730 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.040) 0:00:50.770 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.037) 0:00:50.808 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003019", "end": "2024-01-31 23:58:47.888060", "rc": 0, "start": "2024-01-31 23:58:47.885041" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.137) 0:00:50.946 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.048) 0:00:50.994 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.026) 0:00:51.021 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:58:47 +0000 (0:00:00.051) 0:00:51.072 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:48 +0000 (0:00:00.041) 0:00:51.113 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:48 +0000 (0:00:00.045) 0:00:51.159 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:48 +0000 (0:00:00.029) 0:00:51.189 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:48 +0000 (0:00:00.024) 0:00:51.214 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:48 +0000 (0:00:00.023) 0:00:51.237 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:54 +0000 (0:00:06.522) 0:00:57.759 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.571) 0:00:58.331 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.025) 0:00:58.357 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.023) 0:00:58.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.042) 0:00:58.423 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.053) 0:00:58.476 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.024) 0:00:58.501 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.024) 0:00:58.525 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.028) 0:00:58.553 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.024) 0:00:58.577 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.023) 0:00:58.601 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.195) 0:00:58.797 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmphkte96zb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:55 +0000 (0:00:00.198) 0:00:58.995 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.238) 0:00:59.234 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.025) 0:00:59.259 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.025) 0:00:59.284 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.025) 0:00:59.310 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.023) 0:00:59.333 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.151) 0:00:59.485 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.027) 0:00:59.512 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.042) 0:00:59.555 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.047) 0:00:59.602 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.030) 0:00:59.633 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.024) 0:00:59.658 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:58:56 +0000 (0:00:00.025) 0:00:59.683 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:58:58 +0000 (0:00:01.493) 0:01:01.177 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.595) 0:01:01.772 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.027) 0:01:01.799 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.024) 0:01:01.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.024) 0:01:01.848 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.053) 0:01:01.902 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.025) 0:01:01.927 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.023) 0:01:01.951 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.028) 0:01:01.979 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.023) 0:01:02.002 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:58:58 +0000 (0:00:00.023) 0:01:02.025 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:58:59 +0000 (0:00:00.194) 0:01:02.220 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmpc9iibks1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:58:59 +0000 (0:00:00.196) 0:01:02.416 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:58:59 +0000 (0:00:00.382) 0:01:02.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:58:59 +0000 (0:00:00.024) 0:01:02.823 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:58:59 +0000 (0:00:00.025) 0:01:02.849 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:58:59 +0000 (0:00:00.026) 0:01:02.876 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:58:59 +0000 (0:00:00.023) 0:01:02.900 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:58:59 +0000 (0:00:00.128) 0:01:03.028 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:58:59 +0000 (0:00:00.043) 0:01:03.071 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:59:00 +0000 (0:00:00.049) 0:01:03.120 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:59:00 +0000 (0:00:00.030) 0:01:03.151 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:59:00 +0000 (0:00:00.024) 0:01:03.175 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:59:00 +0000 (0:00:00.024) 0:01:03.200 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:59:01 +0000 (0:00:01.537) 0:01:04.738 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.577) 0:01:05.315 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.026) 0:01:05.342 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.025) 0:01:05.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.024) 0:01:05.392 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.052) 0:01:05.444 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.024) 0:01:05.469 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.024) 0:01:05.493 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.048) 0:01:05.542 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.026) 0:01:05.568 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.023) 0:01:05.592 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.193) 0:01:05.785 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmpil4kuyvm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:59:02 +0000 (0:00:00.195) 0:01:05.980 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.254) 0:01:06.234 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.024) 0:01:06.259 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.025) 0:01:06.285 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.027) 0:01:06.312 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.024) 0:01:06.337 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.129) 0:01:06.466 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.046) 0:01:06.513 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.064) 0:01:06.577 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.050) 0:01:06.628 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.031) 0:01:06.660 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.025) 0:01:06.686 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:59:03 +0000 (0:00:00.024) 0:01:06.710 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:59:05 +0000 (0:00:01.521) 0:01:08.231 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.601) 0:01:08.833 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.026) 0:01:08.859 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.024) 0:01:08.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.025) 0:01:08.909 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.050) 0:01:08.959 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.024) 0:01:08.984 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.023) 0:01:09.008 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.029) 0:01:09.037 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.024) 0:01:09.062 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:59:05 +0000 (0:00:00.023) 0:01:09.086 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.197) 0:01:09.283 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15169y1j9niiq/tmpufz2r4y9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.196) 0:01:09.480 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.236) 0:01:09.716 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.024) 0:01:09.741 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.049) 0:01:09.791 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.027) 0:01:09.818 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.025) 0:01:09.844 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.124) 0:01:09.968 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.054) 0:01:10.023 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:59:06 +0000 (0:00:00.044) 0:01:10.068 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.028) 0:01:10.097 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.130) 0:01:10.227 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.024) 0:01:10.252 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006831", "end": "2024-01-31 23:59:07.330262", "rc": 1, "start": "2024-01-31 23:59:07.323431" } 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.136) 0:01:10.389 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.027) 0:01:10.416 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.025) 0:01:10.441 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.024) 0:01:10.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.047) 0:01:10.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.027) 0:01:10.541 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.027) 0:01:10.568 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.373669", "end": "2024-01-31 23:59:08.013269", "rc": 0, "start": "2024-01-31 23:59:07.639600" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 31 January 2024 23:59:07 +0000 (0:00:00.509) 0:01:11.078 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 31 January 2024 23:59:08 +0000 (0:00:00.025) 0:01:11.103 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:59:08 +0000 (0:00:00.024) 0:01:11.128 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:59:08 +0000 (0:00:00.028) 0:01:11.157 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:59:08 +0000 (0:00:00.024) 0:01:11.182 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:59:08 +0000 (0:00:00.047) 0:01:11.229 ***** 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.044144", "end": "2024-01-31 23:59:08.348010", "rc": 0, "start": "2024-01-31 23:59:08.303866" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Wednesday 31 January 2024 23:59:08 +0000 (0:00:00.169) 0:01:11.398 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 6.52s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.86s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/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_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.50s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.35s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.08s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.99s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-bond_options_rewrite4h_am_zo/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. ---^---^---^---^---^---