# 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_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/tests_states_initscripts.yml:5 Wednesday 14 February 2024 00:30:21 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tests_states_initscripts.yml:8 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.961) 0:00:00.973 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.023) 0:00:00.997 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.232) 0:00:01.229 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.181) 0:00:01.411 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.020) 0:00:01.432 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.017) 0:00:01.449 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.031) 0:00:01.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.012) 0:00:01.492 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.010) 0:00:01.503 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.010) 0:00:01.514 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:30:22 +0000 (0:00:00.013) 0:00:01.527 **** 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_rewrite7rt0iehz/tests/tests_states_initscripts.yml:10 Wednesday 14 February 2024 00:30:23 +0000 (0:00:00.432) 0:00:01.959 **** 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_rewrite7rt0iehz/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 00:30:23 +0000 (0:00:00.012) 0:00:01.971 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 00:30:23 +0000 (0:00:00.710) 0:00:02.681 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 00:30:23 +0000 (0:00:00.014) 0:00:02.696 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:30:23 +0000 (0:00:00.018) 0:00:02.715 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.012) 0:00:02.728 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.037) 0:00:02.766 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.017) 0:00:02.784 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.016) 0:00:02.800 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003138", "end": "2024-02-14 00:30:24.246585", "rc": 0, "start": "2024-02-14 00:30:24.243447" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.187) 0:00:02.987 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.013) 0:00:03.001 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.013) 0:00:03.014 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.023) 0:00:03.037 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.026176", "end": "2024-02-14 00:30:24.438214", "rc": 255, "start": "2024-02-14 00:30:24.412038" } 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_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.159) 0:00:03.197 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.019) 0:00:03.216 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.117) 0:00:03.334 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.014) 0:00:03.348 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.021) 0:00:03.369 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.034) 0:00:03.404 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.071) 0:00:03.476 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.013) 0:00:03.489 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.011) 0:00:03.501 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:30:24 +0000 (0:00:00.011) 0:00:03.513 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:30:26 +0000 (0:00:01.665) 0:00:05.179 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.697) 0:00:05.877 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.022) 0:00:05.899 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.021) 0:00:05.921 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.020) 0:00:05.941 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.042) 0:00:05.984 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.020) 0:00:06.004 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.035) 0:00:06.039 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.024) 0:00:06.064 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.020) 0:00:06.084 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.019) 0:00:06.104 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.243) 0:00:06.347 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmpp76mvj4m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:30:27 +0000 (0:00:00.196) 0:00:06.544 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.349) 0:00:06.893 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.020) 0:00:06.914 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.021) 0:00:06.936 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.021) 0:00:06.957 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.019) 0:00:06.977 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.189) 0:00:07.166 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.022) 0:00:07.189 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.058) 0:00:07.247 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.036) 0:00:07.284 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.021) 0:00:07.305 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707870628.1416118, "block_size": 4096, "blocks": 8, "ctime": 1707870628.1416118, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707870628.1416118, "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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.130) 0:00:07.435 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.021) 0:00:07.457 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004756", "end": "2024-02-14 00:30:28.837607", "rc": 1, "start": "2024-02-14 00:30:28.832851" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.128) 0:00:07.586 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:30:28 +0000 (0:00:00.022) 0:00:07.609 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003005", "end": "2024-02-14 00:30:28.990512", "rc": 0, "start": "2024-02-14 00:30:28.987507" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.133) 0:00:07.742 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.026) 0:00:07.769 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003027", "end": "2024-02-14 00:30:29.150261", "rc": 0, "start": "2024-02-14 00:30:29.147234" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.132) 0:00:07.901 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.026) 0:00:07.928 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.023) 0:00:07.951 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.022) 0:00:07.973 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.023) 0:00:07.997 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.025) 0:00:08.023 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.042) 0:00:08.066 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.039) 0:00:08.105 **** 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.012917", "end": "2024-02-14 00:30:29.494365", "rc": 255, "start": "2024-02-14 00:30:29.481448" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.143) 0:00:08.248 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.037) 0:00:08.286 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.022) 0:00:08.309 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.046) 0:00:08.355 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.040) 0:00:08.396 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.032) 0:00:08.428 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003121", "end": "2024-02-14 00:30:29.807110", "rc": 0, "start": "2024-02-14 00:30:29.803989" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.128) 0:00:08.557 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.023) 0:00:08.580 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.021) 0:00:08.602 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 00:30:29 +0000 (0:00:00.063) 0:00:08.666 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004570", "end": "2024-02-14 00:30:30.048227", "rc": 255, "start": "2024-02-14 00:30:30.043657" } 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_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.132) 0:00:08.798 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.037) 0:00:08.835 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.126) 0:00:08.962 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.023) 0:00:08.986 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.037) 0:00:09.023 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.041) 0:00:09.065 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.041) 0:00:09.106 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.025) 0:00:09.132 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.020) 0:00:09.153 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:30:30 +0000 (0:00:00.020) 0:00:09.173 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:30:31 +0000 (0:00:01.442) 0:00:10.616 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.566) 0:00:11.182 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.022) 0:00:11.204 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.021) 0:00:11.225 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.020) 0:00:11.246 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.042) 0:00:11.289 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.024) 0:00:11.313 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.021) 0:00:11.335 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.048) 0:00:11.383 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.021) 0:00:11.405 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.023) 0:00:11.428 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:30:32 +0000 (0:00:00.192) 0:00:11.620 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmpu4928lww" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.233) 0:00:11.853 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.242) 0:00:12.096 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.021) 0:00:12.117 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.021) 0:00:12.139 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.023) 0:00:12.163 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.020) 0:00:12.184 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.119) 0:00:12.304 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.023) 0:00:12.327 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.043) 0:00:12.371 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.061) 0:00:12.433 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.127) 0:00:12.560 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.026) 0:00:12.586 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.037) 0:00:12.624 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:30:33 +0000 (0:00:00.022) 0:00:12.647 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707870633.342612, "block_size": 4096, "blocks": 8, "ctime": 1707870633.342612, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707870633.342612, "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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.130) 0:00:12.777 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.022) 0:00:12.800 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005013", "end": "2024-02-14 00:30:34.180489", "rc": 1, "start": "2024-02-14 00:30:34.175476" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.129) 0:00:12.930 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.022) 0:00:12.952 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003075", "end": "2024-02-14 00:30:34.333855", "rc": 0, "start": "2024-02-14 00:30:34.330780" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.144) 0:00:13.097 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.027) 0:00:13.124 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003060", "end": "2024-02-14 00:30:34.505970", "rc": 0, "start": "2024-02-14 00:30:34.502910" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.133) 0:00:13.257 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.025) 0:00:13.283 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.025) 0:00:13.309 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.025) 0:00:13.334 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.057) 0:00:13.392 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.020) 0:00:13.412 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.021) 0:00:13.433 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.039) 0:00:13.473 **** 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.012012", "end": "2024-02-14 00:30:34.861788", "rc": 255, "start": "2024-02-14 00:30:34.849776" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.137) 0:00:13.610 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.035) 0:00:13.646 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.021) 0:00:13.667 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:30:34 +0000 (0:00:00.044) 0:00:13.712 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.034) 0:00:13.746 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.032) 0:00:13.779 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003102", "end": "2024-02-14 00:30:35.157495", "rc": 0, "start": "2024-02-14 00:30:35.154393" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.128) 0:00:13.908 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.021) 0:00:13.929 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.044) 0:00:13.973 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.036) 0:00:14.010 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.035) 0:00:14.045 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.041) 0:00:14.087 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.026) 0:00:14.113 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.021) 0:00:14.134 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:30:35 +0000 (0:00:00.020) 0:00:14.155 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:30:36 +0000 (0:00:01.391) 0:00:15.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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.576) 0:00:16.123 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.023) 0:00:16.146 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.023) 0:00:16.169 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.020) 0:00:16.190 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.043) 0:00:16.234 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.021) 0:00:16.255 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.021) 0:00:16.276 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.025) 0:00:16.301 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.022) 0:00:16.323 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.021) 0:00:16.344 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.186) 0:00:16.531 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmp4otbvlvr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:30:37 +0000 (0:00:00.186) 0:00:16.717 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.277) 0:00:16.994 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.021) 0:00:17.016 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.022) 0:00:17.039 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.022) 0:00:17.061 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.021) 0:00:17.083 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.135) 0:00:17.218 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.023) 0:00:17.242 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.038) 0:00:17.280 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.040) 0:00:17.321 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.038) 0:00:17.359 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.025) 0:00:17.384 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.020) 0:00:17.405 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:30:38 +0000 (0:00:00.020) 0:00:17.426 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:30:40 +0000 (0:00:01.382) 0:00:18.808 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.562) 0:00:19.371 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.022) 0:00:19.394 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.022) 0:00:19.416 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.021) 0:00:19.438 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.044) 0:00:19.483 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.021) 0:00:19.504 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.021) 0:00:19.526 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.048) 0:00:19.574 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.022) 0:00:19.597 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:30:40 +0000 (0:00:00.021) 0:00:19.618 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.182) 0:00:19.801 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmplpvhy1pl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.189) 0:00:19.991 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.355) 0:00:20.346 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.021) 0:00:20.367 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.022) 0:00:20.390 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.022) 0:00:20.412 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.021) 0:00:20.433 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.123) 0:00:20.557 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.042) 0:00:20.599 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:30:41 +0000 (0:00:00.035) 0:00:20.635 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707870641.5166118, "block_size": 4096, "blocks": 0, "ctime": 1707870641.515612, "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": 1707870641.515612, "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_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.151) 0:00:20.786 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.024) 0:00:20.811 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.043) 0:00:20.854 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.022) 0:00:20.877 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707870639.689612, "block_size": 4096, "blocks": 8, "ctime": 1707870638.2236118, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707870638.2236118, "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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.126) 0:00:21.004 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.023) 0:00:21.027 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004964", "end": "2024-02-14 00:30:42.406970", "rc": 1, "start": "2024-02-14 00:30:42.402006" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.141) 0:00:21.168 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.024) 0:00:21.193 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003009", "end": "2024-02-14 00:30:42.581921", "rc": 0, "start": "2024-02-14 00:30:42.578912" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.141) 0:00:21.334 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.027) 0:00:21.362 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003138", "end": "2024-02-14 00:30:42.743389", "rc": 0, "start": "2024-02-14 00:30:42.740251" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.131) 0:00:21.494 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.028) 0:00:21.522 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.022) 0:00:21.545 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.023) 0:00:21.569 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.053) 0:00:21.622 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.024) 0:00:21.647 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:30:42 +0000 (0:00:00.037) 0:00:21.684 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.042) 0:00:21.727 **** 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.022517", "end": "2024-02-14 00:30:43.131155", "rc": 0, "start": "2024-02-14 00:30:43.108638" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.159) 0:00:21.886 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.036) 0:00:21.922 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.020) 0:00:21.943 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.045) 0:00:21.989 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.035) 0:00:22.024 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.036) 0:00:22.060 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003118", "end": "2024-02-14 00:30:43.443681", "rc": 0, "start": "2024-02-14 00:30:43.440563" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.132) 0:00:22.193 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.022) 0:00:22.215 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.023) 0:00:22.239 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.090) 0:00:22.329 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.038) 0:00:22.368 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.039) 0:00:22.407 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.034) 0:00:22.442 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.024) 0:00:22.466 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:30:43 +0000 (0:00:00.024) 0:00:22.490 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:30:45 +0000 (0:00:01.397) 0:00:23.888 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.581) 0:00:24.469 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.024) 0:00:24.494 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.021) 0:00:24.515 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.021) 0:00:24.537 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.044) 0:00:24.581 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.022) 0:00:24.604 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.022) 0:00:24.626 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.026) 0:00:24.653 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.021) 0:00:24.675 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:30:45 +0000 (0:00:00.021) 0:00:24.696 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.183) 0:00:24.879 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmprgtyr7m8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.189) 0:00:25.069 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.301) 0:00:25.370 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.024) 0:00:25.395 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.028) 0:00:25.423 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.023) 0:00:25.447 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.022) 0:00:25.469 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.120) 0:00:25.589 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.022) 0:00:25.612 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.034) 0:00:25.646 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.039) 0:00:25.685 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:30:46 +0000 (0:00:00.027) 0:00:25.712 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:30:47 +0000 (0:00:00.021) 0:00:25.734 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:30:47 +0000 (0:00:00.020) 0:00:25.755 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:30:48 +0000 (0:00:01.378) 0:00:27.133 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:30:48 +0000 (0:00:00.557) 0:00:27.691 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:30:48 +0000 (0:00:00.027) 0:00:27.718 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.033) 0:00:27.751 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.023) 0:00:27.775 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.047) 0:00:27.822 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.029) 0:00:27.851 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.021) 0:00:27.873 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.024) 0:00:27.897 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.021) 0:00:27.918 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.020) 0:00:27.939 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.211) 0:00:28.150 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmpadub6zx9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.191) 0:00:28.342 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.342) 0:00:28.684 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:30:49 +0000 (0:00:00.022) 0:00:28.707 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.022) 0:00:28.729 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.023) 0:00:28.753 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.022) 0:00:28.775 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.129) 0:00:28.905 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.040) 0:00:28.945 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.038) 0:00:28.984 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.039) 0:00:29.023 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.051) 0:00:29.074 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.021) 0:00:29.096 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:30:50 +0000 (0:00:00.020) 0:00:29.117 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:30:51 +0000 (0:00:01.405) 0:00:30.522 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.566) 0:00:31.089 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.022) 0:00:31.112 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.020) 0:00:31.133 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.042) 0:00:31.175 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.043) 0:00:31.219 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.021) 0:00:31.240 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.020) 0:00:31.261 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.029) 0:00:31.291 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.021) 0:00:31.312 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.019) 0:00:31.332 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.186) 0:00:31.519 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmpj23bgeup" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:30:52 +0000 (0:00:00.192) 0:00:31.711 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.236) 0:00:31.947 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.020) 0:00:31.968 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.022) 0:00:31.990 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.021) 0:00:32.012 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.020) 0:00:32.033 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.123) 0:00:32.157 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.068) 0:00:32.225 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.036) 0:00:32.261 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707870649.868612, "block_size": 4096, "blocks": 0, "ctime": 1707870649.866612, "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": 1707870649.866612, "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_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.127) 0:00:32.388 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.023) 0:00:32.412 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.036) 0:00:32.448 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.021) 0:00:32.470 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.125) 0:00:32.595 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:30:53 +0000 (0:00:00.020) 0:00:32.616 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005140", "end": "2024-02-14 00:30:53.998515", "rc": 1, "start": "2024-02-14 00:30:53.993375" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.132) 0:00:32.749 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.025) 0:00:32.774 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.022) 0:00:32.796 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.021) 0:00:32.818 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.022) 0:00:32.840 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.023) 0:00:32.864 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.060) 0:00:32.924 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.020) 0:00:32.945 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.028) 0:00:32.973 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.047) 0:00:33.021 **** 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.018571", "end": "2024-02-14 00:30:54.421122", "rc": 0, "start": "2024-02-14 00:30:54.402551" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.155) 0:00:33.176 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.036) 0:00:33.212 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.023) 0:00:33.236 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.045) 0:00:33.281 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.034) 0:00:33.315 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.034) 0:00:33.350 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003183", "end": "2024-02-14 00:30:54.731074", "rc": 0, "start": "2024-02-14 00:30:54.727891" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.132) 0:00:33.482 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.021) 0:00:33.504 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.043) 0:00:33.548 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.045) 0:00:33.593 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.036) 0:00:33.629 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.039) 0:00:33.669 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.025) 0:00:33.694 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:30:54 +0000 (0:00:00.021) 0:00:33.716 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:30:55 +0000 (0:00:00.022) 0:00:33.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:30:56 +0000 (0:00:01.392) 0:00:35.130 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:30:56 +0000 (0:00:00.585) 0:00:35.716 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.022) 0:00:35.738 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.021) 0:00:35.760 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.020) 0:00:35.781 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.043) 0:00:35.825 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.021) 0:00:35.846 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.020) 0:00:35.867 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.025) 0:00:35.892 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.020) 0:00:35.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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.021) 0:00:35.935 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.186) 0:00:36.121 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmp2kmbpi80" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.191) 0:00:36.313 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.261) 0:00:36.574 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.021) 0:00:36.596 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.021) 0:00:36.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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.022) 0:00:36.640 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:30:57 +0000 (0:00:00.021) 0:00:36.661 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:30:58 +0000 (0:00:00.120) 0:00:36.782 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:30:58 +0000 (0:00:00.022) 0:00:36.804 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:30:58 +0000 (0:00:00.034) 0:00:36.839 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:30:58 +0000 (0:00:00.038) 0:00:36.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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:30:58 +0000 (0:00:00.024) 0:00:36.903 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:30:58 +0000 (0:00:00.020) 0:00:36.923 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:30:58 +0000 (0:00:00.020) 0:00:36.944 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:30:59 +0000 (0:00:01.370) 0:00:38.315 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.553) 0:00:38.869 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.022) 0:00:38.891 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.021) 0:00:38.912 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.020) 0:00:38.933 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.042) 0:00:38.975 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.020) 0:00:38.996 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.021) 0:00:39.017 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.024) 0:00:39.042 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.020) 0:00:39.063 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.042) 0:00:39.105 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.186) 0:00:39.292 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmpbd1pnqi4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:31:00 +0000 (0:00:00.187) 0:00:39.480 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.340) 0:00:39.820 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.035) 0:00:39.855 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.030) 0:00:39.886 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.026) 0:00:39.912 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.034) 0:00:39.947 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.143) 0:00:40.090 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.053) 0:00:40.144 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.040) 0:00:40.185 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.028) 0:00:40.214 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.021) 0:00:40.235 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:31:01 +0000 (0:00:00.051) 0:00:40.286 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:31:02 +0000 (0:00:01.379) 0:00:41.666 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.558) 0:00:42.224 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.022) 0:00:42.247 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.020) 0:00:42.267 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.021) 0:00:42.289 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.041) 0:00:42.330 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.040) 0:00:42.371 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.021) 0:00:42.393 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.023) 0:00:42.417 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.021) 0:00:42.438 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.021) 0:00:42.459 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:31:03 +0000 (0:00:00.183) 0:00:42.642 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmp671ymalm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.189) 0:00:42.832 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.236) 0:00:43.068 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.020) 0:00:43.089 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.022) 0:00:43.111 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.021) 0:00:43.133 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.021) 0:00:43.155 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.123) 0:00:43.278 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.043) 0:00:43.322 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.076) 0:00:43.398 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.043) 0:00:43.442 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.027) 0:00:43.469 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.020) 0:00:43.490 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:31:04 +0000 (0:00:00.021) 0:00:43.511 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:31:06 +0000 (0:00:01.374) 0:00:44.885 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.573) 0:00:45.459 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.023) 0:00:45.482 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.022) 0:00:45.505 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.023) 0:00:45.528 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.043) 0:00:45.572 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.020) 0:00:45.593 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.021) 0:00:45.615 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.024) 0:00:45.639 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.020) 0:00:45.660 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:31:06 +0000 (0:00:00.021) 0:00:45.681 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.183) 0:00:45.865 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmp40y1fhmz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.188) 0:00:46.053 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.230) 0:00:46.284 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.020) 0:00:46.304 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.021) 0:00:46.326 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.050) 0:00:46.377 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.024) 0:00:46.401 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.122) 0:00:46.523 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.039) 0:00:46.563 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.036) 0:00:46.599 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:31:07 +0000 (0:00:00.022) 0:00:46.622 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.128) 0:00:46.750 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.021) 0:00:46.771 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005006", "end": "2024-02-14 00:31:08.152247", "rc": 1, "start": "2024-02-14 00:31:08.147241" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.131) 0:00:46.902 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.024) 0:00:46.926 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.022) 0:00:46.948 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.030) 0:00:46.979 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.026) 0:00:47.006 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.021) 0:00:47.027 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.047) 0:00:47.075 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.025) 0:00:47.100 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.023) 0:00:47.124 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.039) 0:00:47.163 **** 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.028461", "end": "2024-02-14 00:31:08.570175", "rc": 0, "start": "2024-02-14 00:31:08.541714" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.161) 0:00:47.325 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.036) 0:00:47.361 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.022) 0:00:47.383 **** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.048) 0:00:47.431 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.035) 0:00:47.466 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.035) 0:00:47.502 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003151", "end": "2024-02-14 00:31:08.882097", "rc": 0, "start": "2024-02-14 00:31:08.878946" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.129) 0:00:47.632 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.022) 0:00:47.655 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:31:08 +0000 (0:00:00.023) 0:00:47.678 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:31:09 +0000 (0:00:00.084) 0:00:47.763 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:31:09 +0000 (0:00:00.035) 0:00:47.798 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:31:09 +0000 (0:00:00.039) 0:00:47.838 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:31:09 +0000 (0:00:00.026) 0:00:47.865 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:31:09 +0000 (0:00:00.022) 0:00:47.887 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:31:09 +0000 (0:00:00.021) 0:00:47.908 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:31:10 +0000 (0:00:01.377) 0:00:49.285 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.586) 0:00:49.871 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.029) 0:00:49.901 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.045) 0:00:49.946 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.024) 0:00:49.970 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.051) 0:00:50.022 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.022) 0:00:50.045 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.023) 0:00:50.068 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.032) 0:00:50.100 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.026) 0:00:50.127 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.026) 0:00:50.154 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.185) 0:00:50.339 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmp637a1uum" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:31:11 +0000 (0:00:00.187) 0:00:50.527 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.285) 0:00:50.812 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.022) 0:00:50.835 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.022) 0:00:50.857 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.024) 0:00:50.882 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.021) 0:00:50.904 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.124) 0:00:51.028 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.023) 0:00:51.052 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.036) 0:00:51.089 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.042) 0:00:51.131 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.027) 0:00:51.158 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.021) 0:00:51.180 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:31:12 +0000 (0:00:00.021) 0:00:51.202 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:31:13 +0000 (0:00:01.370) 0:00:52.572 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.561) 0:00:53.133 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.024) 0:00:53.157 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.021) 0:00:53.178 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.021) 0:00:53.200 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.042) 0:00:53.242 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.021) 0:00:53.264 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.022) 0:00:53.287 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.024) 0:00:53.311 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.022) 0:00:53.334 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.021) 0:00:53.356 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:31:14 +0000 (0:00:00.213) 0:00:53.569 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmph7chga1x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.184) 0:00:53.754 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.334) 0:00:54.088 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.021) 0:00:54.110 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.023) 0:00:54.133 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.023) 0:00:54.157 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.021) 0:00:54.178 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.122) 0:00:54.301 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.036) 0:00:54.337 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.039) 0:00:54.377 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.029) 0:00:54.406 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.021) 0:00:54.428 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:31:15 +0000 (0:00:00.069) 0:00:54.498 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:31:17 +0000 (0:00:01.375) 0:00:55.873 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.560) 0:00:56.433 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.023) 0:00:56.457 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.022) 0:00:56.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.020) 0:00:56.500 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.044) 0:00:56.544 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.045) 0:00:56.590 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.021) 0:00:56.612 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.027) 0:00:56.640 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.021) 0:00:56.661 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:31:17 +0000 (0:00:00.021) 0:00:56.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.185) 0:00:56.868 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmppi7z6ewn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.187) 0:00:57.055 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.240) 0:00:57.296 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.023) 0:00:57.319 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.023) 0:00:57.343 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.027) 0:00:57.370 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.024) 0:00:57.395 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.124) 0:00:57.519 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.042) 0:00:57.561 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.068) 0:00:57.630 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.049) 0:00:57.679 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:31:18 +0000 (0:00:00.041) 0:00:57.721 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:31:19 +0000 (0:00:00.045) 0:00:57.766 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:31:19 +0000 (0:00:00.030) 0:00:57.796 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:31:20 +0000 (0:00:01.379) 0:00:59.176 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.587) 0:00:59.764 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.023) 0:00:59.787 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.023) 0:00:59.811 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.025) 0:00:59.836 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.047) 0:00:59.883 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.024) 0:00:59.907 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.021) 0:00:59.929 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.026) 0:00:59.956 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.029) 0:00:59.986 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.037) 0:01:00.024 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.209) 0:01:00.233 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14667fzystun8/tmpztdvsuca" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.203) 0:01:00.436 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.230) 0:01:00.667 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.022) 0:01:00.690 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:31:21 +0000 (0:00:00.023) 0:01:00.713 **** 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_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.023) 0:01:00.736 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.021) 0:01:00.758 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.121) 0:01:00.879 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.045) 0:01:00.924 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.037) 0:01:00.962 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.021) 0:01:00.984 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.124) 0:01:01.108 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.023) 0:01:01.131 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005027", "end": "2024-02-14 00:31:22.512576", "rc": 1, "start": "2024-02-14 00:31:22.507549" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.130) 0:01:01.262 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.027) 0:01:01.290 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.022) 0:01:01.312 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.022) 0:01:01.335 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.021) 0:01:01.357 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.023) 0:01:01.380 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 00:31:22 +0000 (0:00:00.023) 0:01:01.404 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.366263", "end": "2024-02-14 00:31:23.147410", "rc": 0, "start": "2024-02-14 00:31:22.781147" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 00:31:23 +0000 (0:00:00.494) 0:01:01.899 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 00:31:23 +0000 (0:00:00.023) 0:01:01.923 **** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:31:23 +0000 (0:00:00.023) 0:01:01.946 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:31:23 +0000 (0:00:00.025) 0:01:01.972 **** 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_rewrite7rt0iehz/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:31:23 +0000 (0:00:00.023) 0:01:01.995 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:31:23 +0000 (0:00:00.047) 0:01:02.042 **** 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.023918", "end": "2024-02-14 00:31:23.446186", "rc": 0, "start": "2024-02-14 00:31:23.422268" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 00:31:23 +0000 (0:00:00.156) 0:01:02.199 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.006935", "end": "2024-02-14 00:31:23.581307", "rc": 0, "start": "2024-02-14 00:31:23.574372" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 12:f3:86:ce:93:5f brd ff:ff:ff:ff:ff:ff inet 10.31.8.160/22 brd 10.31.11.255 scope global eth0 inet6 fe80::10f3:86ff:fece:935f/64 scope link valid_lft forever preferred_lft forever 11: dummy0: mtu 1500 qdisc noop state DOWN link/ether c2:64:e5:79:68:30 brd ff:ff:ff:ff:ff:ff IP ROUTE 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.160 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.8.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 00:31:23 +0000 (0:00:00.132) 0:01:02.331 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=228 rescued=0 ignored=10 Wednesday 14 February 2024 00:31:23 +0000 (0:00:00.015) 0:01:02.346 **** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.48s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.37s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.98s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tests_states_initscripts.yml:5 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.95s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---