# 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_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tests_states_initscripts.yml:5 Friday 09 February 2024 13:51:12 +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_rewritekh3yrgl7/tests/tests_states_initscripts.yml:8 Friday 09 February 2024 13:51:12 +0000 (0:00:00.614) 0:00:00.626 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 13:51:12 +0000 (0:00:00.024) 0:00:00.650 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 13:51:13 +0000 (0:00:00.343) 0:00:00.994 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 13:51:13 +0000 (0:00:00.257) 0:00:01.252 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 13:51:13 +0000 (0:00:00.019) 0:00:01.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 13:51:13 +0000 (0:00:00.017) 0:00:01.289 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 13:51:13 +0000 (0:00:00.030) 0:00:01.320 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 13:51:13 +0000 (0:00:00.248) 0:00:01.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 13:51:13 +0000 (0:00:00.011) 0:00:01.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 13:51:13 +0000 (0:00:00.010) 0:00:01.591 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.239606", "end": "2024-02-09 13:51:14.095173", "rc": 0, "start": "2024-02-09 13:51:13.855567" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 13:51:14 +0000 (0:00:00.421) 0:00:02.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_states_initscripts.yml:10 Friday 09 February 2024 13:51:14 +0000 (0:00:00.009) 0:00:02.023 ******* 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_rewritekh3yrgl7/tests/playbooks/tests_states.yml:3 Friday 09 February 2024 13:51:14 +0000 (0:00:00.010) 0:00:02.033 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_states.yml:11 Friday 09 February 2024 13:51:14 +0000 (0:00:00.482) 0:00:02.516 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_states.yml:22 Friday 09 February 2024 13:51:14 +0000 (0:00:00.011) 0:00:02.527 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 13:51:14 +0000 (0:00:00.019) 0:00:02.546 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 13:51:14 +0000 (0:00:00.012) 0:00:02.559 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 13:51:14 +0000 (0:00:00.034) 0:00:02.594 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:51:14 +0000 (0:00:00.014) 0:00:02.609 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:51:14 +0000 (0:00:00.013) 0:00:02.622 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002789", "end": "2024-02-09 13:51:14.889416", "rc": 0, "start": "2024-02-09 13:51:14.886627" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:51:14 +0000 (0:00:00.182) 0:00:02.805 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:51:14 +0000 (0:00:00.011) 0:00:02.817 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 13:51:14 +0000 (0:00:00.010) 0:00:02.828 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 13:51:14 +0000 (0:00:00.022) 0:00:02.850 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007597", "end": "2024-02-09 13:51:15.122109", "rc": 1, "start": "2024-02-09 13:51:15.114512" } 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 13:51:15 +0000 (0:00:00.187) 0:00:03.037 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:51:15 +0000 (0:00:00.016) 0:00:03.054 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 13:51:15 +0000 (0:00:00.179) 0:00:03.234 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 13:51:15 +0000 (0:00:00.014) 0:00:03.248 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 13:51:15 +0000 (0:00:00.019) 0:00:03.267 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:51:15 +0000 (0:00:00.033) 0:00:03.300 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:51:15 +0000 (0:00:00.069) 0:00:03.369 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:51:15 +0000 (0:00:00.012) 0:00:03.382 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:51:15 +0000 (0:00:00.010) 0:00:03.393 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:51:15 +0000 (0:00:00.009) 0:00:03.403 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:51:17 +0000 (0:00:01.530) 0:00:04.933 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:51:18 +0000 (0:00:01.448) 0:00:06.382 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:51:18 +0000 (0:00:00.024) 0:00:06.406 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:51:18 +0000 (0:00:00.021) 0:00:06.428 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:51:18 +0000 (0:00:00.024) 0:00:06.453 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:51:18 +0000 (0:00:00.046) 0:00:06.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:51:18 +0000 (0:00:00.021) 0:00:06.521 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:51:18 +0000 (0:00:00.024) 0:00:06.546 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:51:18 +0000 (0:00:00.027) 0:00:06.573 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:51:18 +0000 (0:00:00.021) 0:00:06.595 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:51:18 +0000 (0:00:00.021) 0:00:06.617 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:51:19 +0000 (0:00:00.466) 0:00:07.084 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmpku9m6vos" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:51:19 +0000 (0:00:00.296) 0:00:07.380 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:51:19 +0000 (0:00:00.437) 0:00:07.817 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:51:19 +0000 (0:00:00.024) 0:00:07.842 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:51:19 +0000 (0:00:00.025) 0:00:07.867 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:51:19 +0000 (0:00:00.024) 0:00:07.891 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:51:20 +0000 (0:00:00.021) 0:00:07.913 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 13:51:20 +0000 (0:00:00.239) 0:00:08.152 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 13:51:20 +0000 (0:00:00.024) 0:00:08.177 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 13:51:20 +0000 (0:00:00.044) 0:00:08.221 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:51:20 +0000 (0:00:00.042) 0:00:08.263 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:51:20 +0000 (0:00:00.024) 0:00:08.287 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486679.8892827, "block_size": 4096, "blocks": 8, "ctime": 1707486679.8892827, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434771, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707486679.8892827, "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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:51:20 +0000 (0:00:00.193) 0:00:08.481 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:51:20 +0000 (0:00:00.044) 0:00:08.526 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020490", "end": "2024-02-09 13:51:20.813634", "rc": 1, "start": "2024-02-09 13:51:20.793144" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:51:20 +0000 (0:00:00.217) 0:00:08.743 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:51:20 +0000 (0:00:00.026) 0:00:08.769 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002695", "end": "2024-02-09 13:51:21.042718", "rc": 0, "start": "2024-02-09 13:51:21.040023" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:51:21 +0000 (0:00:00.202) 0:00:08.972 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:51:21 +0000 (0:00:00.027) 0:00:08.999 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002683", "end": "2024-02-09 13:51:21.268715", "rc": 0, "start": "2024-02-09 13:51:21.266032" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:51:21 +0000 (0:00:00.197) 0:00:09.197 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 13:51:21 +0000 (0:00:00.028) 0:00:09.225 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 13:51:21 +0000 (0:00:00.028) 0:00:09.254 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 13:51:21 +0000 (0:00:00.025) 0:00:09.280 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 13:51:21 +0000 (0:00:00.025) 0:00:09.305 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 13:51:21 +0000 (0:00:00.025) 0:00:09.331 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 13:51:21 +0000 (0:00:00.025) 0:00:09.356 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 13:51:21 +0000 (0:00:00.044) 0:00:09.400 ******* 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.040241", "end": "2024-02-09 13:51:21.704938", "rc": 1, "start": "2024-02-09 13:51:21.664697" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_states.yml:45 Friday 09 February 2024 13:51:21 +0000 (0:00:00.266) 0:00:09.667 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 13:51:21 +0000 (0:00:00.039) 0:00:09.706 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 13:51:21 +0000 (0:00:00.025) 0:00:09.732 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 13:51:21 +0000 (0:00:00.049) 0:00:09.781 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:51:21 +0000 (0:00:00.036) 0:00:09.818 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:51:21 +0000 (0:00:00.037) 0:00:09.856 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002901", "end": "2024-02-09 13:51:22.123791", "rc": 0, "start": "2024-02-09 13:51:22.120890" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:51:22 +0000 (0:00:00.195) 0:00:10.052 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:51:22 +0000 (0:00:00.024) 0:00:10.076 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 13:51:22 +0000 (0:00:00.022) 0:00:10.098 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 13:51:22 +0000 (0:00:00.043) 0:00:10.141 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005756", "end": "2024-02-09 13:51:22.412200", "rc": 1, "start": "2024-02-09 13:51:22.406444" } 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 13:51:22 +0000 (0:00:00.197) 0:00:10.339 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:51:22 +0000 (0:00:00.067) 0:00:10.407 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 13:51:22 +0000 (0:00:00.191) 0:00:10.599 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 13:51:22 +0000 (0:00:00.025) 0:00:10.624 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 09 February 2024 13:51:22 +0000 (0:00:00.044) 0:00:10.668 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:51:22 +0000 (0:00:00.042) 0:00:10.711 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:51:22 +0000 (0:00:00.045) 0:00:10.756 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:51:22 +0000 (0:00:00.028) 0:00:10.784 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:51:22 +0000 (0:00:00.022) 0:00:10.807 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:51:22 +0000 (0:00:00.024) 0:00:10.831 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:51:24 +0000 (0:00:01.464) 0:00:12.296 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:51:25 +0000 (0:00:01.283) 0:00:13.580 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:51:25 +0000 (0:00:00.024) 0:00:13.605 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:51:25 +0000 (0:00:00.022) 0:00:13.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:51:25 +0000 (0:00:00.025) 0:00:13.653 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:51:25 +0000 (0:00:00.069) 0:00:13.723 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:51:25 +0000 (0:00:00.025) 0:00:13.748 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:51:25 +0000 (0:00:00.024) 0:00:13.772 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:51:25 +0000 (0:00:00.026) 0:00:13.798 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:51:25 +0000 (0:00:00.022) 0:00:13.821 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:51:25 +0000 (0:00:00.024) 0:00:13.845 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:51:26 +0000 (0:00:00.342) 0:00:14.187 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmpd65los0t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:51:26 +0000 (0:00:00.292) 0:00:14.480 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:51:26 +0000 (0:00:00.285) 0:00:14.765 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:51:26 +0000 (0:00:00.023) 0:00:14.789 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:51:26 +0000 (0:00:00.025) 0:00:14.814 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:51:26 +0000 (0:00:00.025) 0:00:14.840 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:51:26 +0000 (0:00:00.024) 0:00:14.864 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 09 February 2024 13:51:27 +0000 (0:00:00.212) 0:00:15.077 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 13:51:27 +0000 (0:00:00.025) 0:00:15.103 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 13:51:27 +0000 (0:00:00.046) 0:00:15.149 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:51:27 +0000 (0:00:00.040) 0:00:15.189 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 13:51:27 +0000 (0:00:00.193) 0:00:15.383 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 13:51:27 +0000 (0:00:00.024) 0:00:15.407 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:51:27 +0000 (0:00:00.041) 0:00:15.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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:51:27 +0000 (0:00:00.023) 0:00:15.472 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486686.8362625, "block_size": 4096, "blocks": 8, "ctime": 1707486686.8362625, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434771, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707486686.8362625, "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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:51:27 +0000 (0:00:00.193) 0:00:15.665 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:51:27 +0000 (0:00:00.024) 0:00:15.689 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019767", "end": "2024-02-09 13:51:27.974494", "rc": 1, "start": "2024-02-09 13:51:27.954727" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:51:28 +0000 (0:00:00.212) 0:00:15.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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:51:28 +0000 (0:00:00.063) 0:00:15.965 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002720", "end": "2024-02-09 13:51:28.234907", "rc": 0, "start": "2024-02-09 13:51:28.232187" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:51:28 +0000 (0:00:00.200) 0:00:16.165 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:51:28 +0000 (0:00:00.028) 0:00:16.194 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002762", "end": "2024-02-09 13:51:28.464092", "rc": 0, "start": "2024-02-09 13:51:28.461330" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:51:28 +0000 (0:00:00.199) 0:00:16.394 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 13:51:28 +0000 (0:00:00.028) 0:00:16.422 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 13:51:28 +0000 (0:00:00.027) 0:00:16.449 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 13:51:28 +0000 (0:00:00.027) 0:00:16.477 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 13:51:28 +0000 (0:00:00.025) 0:00:16.502 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 13:51:28 +0000 (0:00:00.022) 0:00:16.525 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 13:51:28 +0000 (0:00:00.026) 0:00:16.551 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 13:51:28 +0000 (0:00:00.043) 0:00:16.595 ******* 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.037628", "end": "2024-02-09 13:51:28.897633", "rc": 1, "start": "2024-02-09 13:51:28.860005" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_states.yml:65 Friday 09 February 2024 13:51:28 +0000 (0:00:00.229) 0:00:16.824 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 13:51:28 +0000 (0:00:00.067) 0:00:16.891 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 13:51:29 +0000 (0:00:00.024) 0:00:16.916 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 13:51:29 +0000 (0:00:00.050) 0:00:16.967 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:51:29 +0000 (0:00:00.039) 0:00:17.006 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:51:29 +0000 (0:00:00.037) 0:00:17.044 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002847", "end": "2024-02-09 13:51:29.313526", "rc": 0, "start": "2024-02-09 13:51:29.310679" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:51:29 +0000 (0:00:00.198) 0:00:17.242 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:51:29 +0000 (0:00:00.026) 0:00:17.268 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 13:51:29 +0000 (0:00:00.024) 0:00:17.293 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 13:51:29 +0000 (0:00:00.040) 0:00:17.334 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:51:29 +0000 (0:00:00.040) 0:00:17.375 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:51:29 +0000 (0:00:00.042) 0:00:17.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:51:29 +0000 (0:00:00.060) 0:00:17.478 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:51:29 +0000 (0:00:00.026) 0:00:17.504 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:51:29 +0000 (0:00:00.023) 0:00:17.528 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:51:31 +0000 (0:00:01.480) 0:00:19.009 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:51:32 +0000 (0:00:01.303) 0:00:20.312 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:51:32 +0000 (0:00:00.024) 0:00:20.336 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:51:32 +0000 (0:00:00.025) 0:00:20.362 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:51:32 +0000 (0:00:00.024) 0:00:20.386 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:51:32 +0000 (0:00:00.046) 0:00:20.432 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:51:32 +0000 (0:00:00.025) 0:00:20.458 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:51:32 +0000 (0:00:00.023) 0:00:20.482 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:51:32 +0000 (0:00:00.025) 0:00:20.507 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:51:32 +0000 (0:00:00.022) 0:00:20.530 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:51:32 +0000 (0:00:00.024) 0:00:20.555 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:51:32 +0000 (0:00:00.339) 0:00:20.895 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmpnc62e5jg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:51:33 +0000 (0:00:00.294) 0:00:21.190 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:51:33 +0000 (0:00:00.346) 0:00:21.536 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:51:33 +0000 (0:00:00.024) 0:00:21.561 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:51:33 +0000 (0:00:00.023) 0:00:21.585 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:51:33 +0000 (0:00:00.025) 0:00:21.610 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:51:33 +0000 (0:00:00.022) 0:00:21.633 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 13:51:33 +0000 (0:00:00.189) 0:00:21.822 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 13:51:33 +0000 (0:00:00.027) 0:00:21.850 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 13:51:33 +0000 (0:00:00.041) 0:00:21.891 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:51:34 +0000 (0:00:00.042) 0:00:21.933 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:51:34 +0000 (0:00:00.043) 0:00:21.977 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:51:34 +0000 (0:00:00.028) 0:00:22.006 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:51:34 +0000 (0:00:00.022) 0:00:22.028 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:51:34 +0000 (0:00:00.054) 0:00:22.082 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:51:35 +0000 (0:00:01.465) 0:00:23.548 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:51:36 +0000 (0:00:01.293) 0:00:24.842 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:51:36 +0000 (0:00:00.046) 0:00:24.888 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:51:37 +0000 (0:00:00.023) 0:00:24.911 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:51:37 +0000 (0:00:00.023) 0:00:24.935 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:51:37 +0000 (0:00:00.047) 0:00:24.982 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:51:37 +0000 (0:00:00.024) 0:00:25.007 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:51:37 +0000 (0:00:00.022) 0:00:25.030 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:51:37 +0000 (0:00:00.030) 0:00:25.060 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:51:37 +0000 (0:00:00.024) 0:00:25.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:51:37 +0000 (0:00:00.022) 0:00:25.108 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:51:37 +0000 (0:00:00.342) 0:00:25.450 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmp_8gx3hnh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:51:37 +0000 (0:00:00.299) 0:00:25.750 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:51:38 +0000 (0:00:00.556) 0:00:26.306 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:51:38 +0000 (0:00:00.054) 0:00:26.361 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:51:38 +0000 (0:00:00.025) 0:00:26.386 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:51:38 +0000 (0:00:00.025) 0:00:26.412 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:51:38 +0000 (0:00:00.023) 0:00:26.435 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 13:51:38 +0000 (0:00:00.191) 0:00:26.627 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:51:38 +0000 (0:00:00.048) 0:00:26.675 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:51:38 +0000 (0:00:00.038) 0:00:26.714 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486698.2859132, "block_size": 4096, "blocks": 0, "ctime": 1707486698.2859132, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25512, "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": 1707486698.2859132, "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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:51:39 +0000 (0:00:00.195) 0:00:26.909 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 13:51:39 +0000 (0:00:00.024) 0:00:26.934 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:51:39 +0000 (0:00:00.041) 0:00:26.976 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:51:39 +0000 (0:00:00.025) 0:00:27.002 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486698.1092298, "block_size": 4096, "blocks": 8, "ctime": 1707486693.584243, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434771, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707486693.584243, "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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:51:39 +0000 (0:00:00.229) 0:00:27.231 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:51:39 +0000 (0:00:00.027) 0:00:27.259 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020471", "end": "2024-02-09 13:51:39.545044", "rc": 1, "start": "2024-02-09 13:51:39.524573" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:51:39 +0000 (0:00:00.213) 0:00:27.472 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:51:39 +0000 (0:00:00.028) 0:00:27.501 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002804", "end": "2024-02-09 13:51:39.771584", "rc": 0, "start": "2024-02-09 13:51:39.768780" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:51:39 +0000 (0:00:00.200) 0:00:27.701 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:51:39 +0000 (0:00:00.028) 0:00:27.730 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002666", "end": "2024-02-09 13:51:40.002066", "rc": 0, "start": "2024-02-09 13:51:39.999400" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:51:40 +0000 (0:00:00.204) 0:00:27.934 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 13:51:40 +0000 (0:00:00.031) 0:00:27.965 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 13:51:40 +0000 (0:00:00.026) 0:00:27.992 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 13:51:40 +0000 (0:00:00.029) 0:00:28.022 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 13:51:40 +0000 (0:00:00.026) 0:00:28.049 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 13:51:40 +0000 (0:00:00.021) 0:00:28.070 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 13:51:40 +0000 (0:00:00.023) 0:00:28.094 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 13:51:40 +0000 (0:00:00.041) 0:00:28.136 ******* 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.046293", "end": "2024-02-09 13:51:40.449235", "rc": 0, "start": "2024-02-09 13:51:40.402942" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_states.yml:83 Friday 09 February 2024 13:51:40 +0000 (0:00:00.243) 0:00:28.379 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 13:51:40 +0000 (0:00:00.041) 0:00:28.420 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 13:51:40 +0000 (0:00:00.025) 0:00:28.446 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 13:51:40 +0000 (0:00:00.048) 0:00:28.494 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:51:40 +0000 (0:00:00.038) 0:00:28.533 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:51:40 +0000 (0:00:00.037) 0:00:28.571 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003013", "end": "2024-02-09 13:51:40.840157", "rc": 0, "start": "2024-02-09 13:51:40.837144" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:51:40 +0000 (0:00:00.197) 0:00:28.768 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:51:40 +0000 (0:00:00.025) 0:00:28.793 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 13:51:40 +0000 (0:00:00.023) 0:00:28.817 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 13:51:40 +0000 (0:00:00.043) 0:00:28.860 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:51:41 +0000 (0:00:00.063) 0:00:28.924 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:51:41 +0000 (0:00:00.046) 0:00:28.970 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:51:41 +0000 (0:00:00.028) 0:00:28.999 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:51:41 +0000 (0:00:00.023) 0:00:29.022 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:51:41 +0000 (0:00:00.024) 0:00:29.046 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:51:42 +0000 (0:00:01.467) 0:00:30.514 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:51:43 +0000 (0:00:01.308) 0:00:31.823 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:51:43 +0000 (0:00:00.025) 0:00:31.848 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:51:43 +0000 (0:00:00.024) 0:00:31.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:51:43 +0000 (0:00:00.022) 0:00:31.895 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:51:44 +0000 (0:00:00.047) 0:00:31.943 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:51:44 +0000 (0:00:00.024) 0:00:31.967 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:51:44 +0000 (0:00:00.022) 0:00:31.990 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:51:44 +0000 (0:00:00.027) 0:00:32.018 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:51:44 +0000 (0:00:00.029) 0:00:32.047 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:51:44 +0000 (0:00:00.023) 0:00:32.070 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:51:44 +0000 (0:00:00.367) 0:00:32.438 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmp4uyvah4c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:51:44 +0000 (0:00:00.294) 0:00:32.733 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:51:45 +0000 (0:00:00.289) 0:00:33.022 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:51:45 +0000 (0:00:00.025) 0:00:33.048 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:51:45 +0000 (0:00:00.027) 0:00:33.075 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:51:45 +0000 (0:00:00.025) 0:00:33.101 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:51:45 +0000 (0:00:00.022) 0:00:33.123 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 13:51:45 +0000 (0:00:00.189) 0:00:33.313 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 13:51:45 +0000 (0:00:00.026) 0:00:33.340 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:51:45 +0000 (0:00:00.040) 0:00:33.381 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:51:45 +0000 (0:00:00.043) 0:00:33.424 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:51:45 +0000 (0:00:00.029) 0:00:33.454 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:51:45 +0000 (0:00:00.049) 0:00:33.503 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:51:45 +0000 (0:00:00.023) 0:00:33.526 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:51:47 +0000 (0:00:01.464) 0:00:34.991 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:51:48 +0000 (0:00:01.308) 0:00:36.299 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:51:48 +0000 (0:00:00.025) 0:00:36.325 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:51:48 +0000 (0:00:00.024) 0:00:36.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:51:48 +0000 (0:00:00.023) 0:00:36.373 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:51:48 +0000 (0:00:00.045) 0:00:36.418 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:51:48 +0000 (0:00:00.025) 0:00:36.443 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:51:48 +0000 (0:00:00.023) 0:00:36.466 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:51:48 +0000 (0:00:00.026) 0:00:36.492 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:51:48 +0000 (0:00:00.022) 0:00:36.515 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:51:48 +0000 (0:00:00.022) 0:00:36.537 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:51:48 +0000 (0:00:00.340) 0:00:36.878 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmpz071maq7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:51:49 +0000 (0:00:00.293) 0:00:37.171 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:51:49 +0000 (0:00:00.588) 0:00:37.759 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:51:49 +0000 (0:00:00.023) 0:00:37.782 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:51:49 +0000 (0:00:00.025) 0:00:37.808 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:51:49 +0000 (0:00:00.025) 0:00:37.833 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:51:49 +0000 (0:00:00.025) 0:00:37.859 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 13:51:50 +0000 (0:00:00.189) 0:00:38.048 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 13:51:50 +0000 (0:00:00.043) 0:00:38.091 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:51:50 +0000 (0:00:00.042) 0:00:38.134 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:51:50 +0000 (0:00:00.043) 0:00:38.178 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:51:50 +0000 (0:00:00.028) 0:00:38.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:51:50 +0000 (0:00:00.022) 0:00:38.229 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:51:50 +0000 (0:00:00.024) 0:00:38.253 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:51:51 +0000 (0:00:01.499) 0:00:39.753 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:51:53 +0000 (0:00:01.284) 0:00:41.037 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:51:53 +0000 (0:00:00.026) 0:00:41.064 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:51:53 +0000 (0:00:00.045) 0:00:41.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:51:53 +0000 (0:00:00.023) 0:00:41.134 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:51:53 +0000 (0:00:00.046) 0:00:41.180 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:51:53 +0000 (0:00:00.023) 0:00:41.204 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:51:53 +0000 (0:00:00.022) 0:00:41.227 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:51:53 +0000 (0:00:00.028) 0:00:41.255 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:51:53 +0000 (0:00:00.024) 0:00:41.279 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:51:53 +0000 (0:00:00.023) 0:00:41.302 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:51:53 +0000 (0:00:00.339) 0:00:41.642 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmpcch_o4wb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:51:54 +0000 (0:00:00.295) 0:00:41.938 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:51:54 +0000 (0:00:00.295) 0:00:42.233 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:51:54 +0000 (0:00:00.025) 0:00:42.258 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:51:54 +0000 (0:00:00.025) 0:00:42.284 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:51:54 +0000 (0:00:00.063) 0:00:42.347 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:51:54 +0000 (0:00:00.027) 0:00:42.375 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 13:51:54 +0000 (0:00:00.191) 0:00:42.566 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:51:54 +0000 (0:00:00.046) 0:00:42.612 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:51:54 +0000 (0:00:00.039) 0:00:42.652 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486709.7449083, "block_size": 4096, "blocks": 0, "ctime": 1707486709.7449083, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25643, "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": 1707486709.7449083, "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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:51:54 +0000 (0:00:00.195) 0:00:42.848 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 13:51:54 +0000 (0:00:00.026) 0:00:42.874 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:51:55 +0000 (0:00:00.042) 0:00:42.917 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:51:55 +0000 (0:00:00.024) 0:00:42.941 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:51:55 +0000 (0:00:00.192) 0:00:43.134 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:51:55 +0000 (0:00:00.025) 0:00:43.159 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020174", "end": "2024-02-09 13:51:55.444748", "rc": 1, "start": "2024-02-09 13:51:55.424574" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:51:55 +0000 (0:00:00.240) 0:00:43.399 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:51:55 +0000 (0:00:00.024) 0:00:43.423 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:51:55 +0000 (0:00:00.025) 0:00:43.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:51:55 +0000 (0:00:00.026) 0:00:43.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:51:55 +0000 (0:00:00.024) 0:00:43.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 13:51:55 +0000 (0:00:00.024) 0:00:43.524 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 13:51:55 +0000 (0:00:00.027) 0:00:43.552 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 13:51:55 +0000 (0:00:00.022) 0:00:43.574 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 13:51:55 +0000 (0:00:00.023) 0:00:43.597 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 13:51:55 +0000 (0:00:00.043) 0:00:43.640 ******* 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.047389", "end": "2024-02-09 13:51:55.955233", "rc": 0, "start": "2024-02-09 13:51:55.907844" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_states.yml:103 Friday 09 February 2024 13:51:55 +0000 (0:00:00.244) 0:00:43.885 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 13:51:56 +0000 (0:00:00.038) 0:00:43.923 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 13:51:56 +0000 (0:00:00.024) 0:00:43.948 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 13:51:56 +0000 (0:00:00.074) 0:00:44.023 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:51:56 +0000 (0:00:00.041) 0:00:44.064 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:51:56 +0000 (0:00:00.036) 0:00:44.101 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002961", "end": "2024-02-09 13:51:56.369566", "rc": 0, "start": "2024-02-09 13:51:56.366605" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:51:56 +0000 (0:00:00.196) 0:00:44.297 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:51:56 +0000 (0:00:00.025) 0:00:44.323 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 13:51:56 +0000 (0:00:00.025) 0:00:44.348 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 13:51:56 +0000 (0:00:00.049) 0:00:44.398 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:51:56 +0000 (0:00:00.039) 0:00:44.437 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:51:56 +0000 (0:00:00.043) 0:00:44.481 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:51:56 +0000 (0:00:00.028) 0:00:44.509 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:51:56 +0000 (0:00:00.022) 0:00:44.532 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:51:56 +0000 (0:00:00.054) 0:00:44.586 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:51:58 +0000 (0:00:01.467) 0:00:46.054 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:51:59 +0000 (0:00:01.311) 0:00:47.366 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:51:59 +0000 (0:00:00.025) 0:00:47.391 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:51:59 +0000 (0:00:00.023) 0:00:47.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:51:59 +0000 (0:00:00.022) 0:00:47.437 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:51:59 +0000 (0:00:00.046) 0:00:47.484 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:51:59 +0000 (0:00:00.023) 0:00:47.507 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:51:59 +0000 (0:00:00.022) 0:00:47.530 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:51:59 +0000 (0:00:00.032) 0:00:47.562 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:51:59 +0000 (0:00:00.025) 0:00:47.587 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:51:59 +0000 (0:00:00.024) 0:00:47.611 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:52:00 +0000 (0:00:00.340) 0:00:47.952 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmp26jwe2p8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:52:00 +0000 (0:00:00.295) 0:00:48.248 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:52:00 +0000 (0:00:00.288) 0:00:48.537 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:52:00 +0000 (0:00:00.024) 0:00:48.561 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:52:00 +0000 (0:00:00.053) 0:00:48.614 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:52:00 +0000 (0:00:00.026) 0:00:48.640 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:52:00 +0000 (0:00:00.024) 0:00:48.665 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 13:52:00 +0000 (0:00:00.191) 0:00:48.856 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 13:52:00 +0000 (0:00:00.025) 0:00:48.881 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:52:01 +0000 (0:00:00.038) 0:00:48.919 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:52:01 +0000 (0:00:00.044) 0:00:48.964 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:52:01 +0000 (0:00:00.028) 0:00:48.993 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:52:01 +0000 (0:00:00.022) 0:00:49.015 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:52:01 +0000 (0:00:00.022) 0:00:49.038 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:52:02 +0000 (0:00:01.471) 0:00:50.509 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:52:03 +0000 (0:00:01.288) 0:00:51.797 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:52:03 +0000 (0:00:00.023) 0:00:51.821 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:52:03 +0000 (0:00:00.024) 0:00:51.846 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:52:03 +0000 (0:00:00.023) 0:00:51.869 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:52:04 +0000 (0:00:00.046) 0:00:51.916 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:52:04 +0000 (0:00:00.058) 0:00:51.974 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:52:04 +0000 (0:00:00.022) 0:00:51.997 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:52:04 +0000 (0:00:00.027) 0:00:52.024 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:52:04 +0000 (0:00:00.025) 0:00:52.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:52:04 +0000 (0:00:00.024) 0:00:52.074 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:52:04 +0000 (0:00:00.343) 0:00:52.417 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmps3vu7vb0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:52:04 +0000 (0:00:00.297) 0:00:52.715 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:52:05 +0000 (0:00:00.551) 0:00:53.266 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:52:05 +0000 (0:00:00.023) 0:00:53.290 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:52:05 +0000 (0:00:00.025) 0:00:53.315 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:52:05 +0000 (0:00:00.025) 0:00:53.341 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:52:05 +0000 (0:00:00.023) 0:00:53.364 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 13:52:05 +0000 (0:00:00.216) 0:00:53.581 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:52:05 +0000 (0:00:00.038) 0:00:53.619 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:52:05 +0000 (0:00:00.044) 0:00:53.664 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:52:05 +0000 (0:00:00.028) 0:00:53.692 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:52:05 +0000 (0:00:00.023) 0:00:53.715 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:52:05 +0000 (0:00:00.024) 0:00:53.740 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:52:07 +0000 (0:00:01.471) 0:00:55.212 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:52:08 +0000 (0:00:01.312) 0:00:56.525 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:52:08 +0000 (0:00:00.026) 0:00:56.551 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:52:08 +0000 (0:00:00.024) 0:00:56.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:52:08 +0000 (0:00:00.022) 0:00:56.598 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:52:08 +0000 (0:00:00.046) 0:00:56.644 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:52:08 +0000 (0:00:00.023) 0:00:56.668 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:52:08 +0000 (0:00:00.022) 0:00:56.690 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:52:08 +0000 (0:00:00.026) 0:00:56.717 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:52:08 +0000 (0:00:00.024) 0:00:56.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:52:08 +0000 (0:00:00.024) 0:00:56.766 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:52:09 +0000 (0:00:00.336) 0:00:57.103 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmpujg2ymrw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:52:09 +0000 (0:00:00.296) 0:00:57.399 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:52:09 +0000 (0:00:00.293) 0:00:57.693 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:52:09 +0000 (0:00:00.023) 0:00:57.716 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:52:09 +0000 (0:00:00.025) 0:00:57.742 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:52:09 +0000 (0:00:00.025) 0:00:57.768 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:52:09 +0000 (0:00:00.023) 0:00:57.791 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 13:52:10 +0000 (0:00:00.188) 0:00:57.979 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 13:52:10 +0000 (0:00:00.041) 0:00:58.021 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:52:10 +0000 (0:00:00.043) 0:00:58.064 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:52:10 +0000 (0:00:00.071) 0:00:58.135 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:52:10 +0000 (0:00:00.031) 0:00:58.166 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:52:10 +0000 (0:00:00.023) 0:00:58.190 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:52:10 +0000 (0:00:00.022) 0:00:58.212 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:52:11 +0000 (0:00:01.467) 0:00:59.680 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:52:13 +0000 (0:00:01.309) 0:01:00.989 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:52:13 +0000 (0:00:00.025) 0:01:01.015 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:52:13 +0000 (0:00:00.023) 0:01:01.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:52:13 +0000 (0:00:00.025) 0:01:01.065 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:52:13 +0000 (0:00:00.046) 0:01:01.112 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:52:13 +0000 (0:00:00.024) 0:01:01.137 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:52:13 +0000 (0:00:00.025) 0:01:01.162 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:52:13 +0000 (0:00:00.026) 0:01:01.188 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:52:13 +0000 (0:00:00.022) 0:01:01.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:52:13 +0000 (0:00:00.023) 0:01:01.234 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:52:13 +0000 (0:00:00.339) 0:01:01.574 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmph6xhfo64" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:52:13 +0000 (0:00:00.293) 0:01:01.868 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:52:14 +0000 (0:00:00.343) 0:01:02.212 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:52:14 +0000 (0:00:00.025) 0:01:02.237 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:52:14 +0000 (0:00:00.027) 0:01:02.265 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:52:14 +0000 (0:00:00.026) 0:01:02.291 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:52:14 +0000 (0:00:00.024) 0:01:02.315 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 13:52:14 +0000 (0:00:00.188) 0:01:02.504 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 13:52:14 +0000 (0:00:00.043) 0:01:02.547 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:52:14 +0000 (0:00:00.041) 0:01:02.588 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:52:14 +0000 (0:00:00.024) 0:01:02.612 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:52:14 +0000 (0:00:00.191) 0:01:02.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:52:14 +0000 (0:00:00.022) 0:01:02.826 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019952", "end": "2024-02-09 13:52:15.112099", "rc": 1, "start": "2024-02-09 13:52:15.092147" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:52:15 +0000 (0:00:00.213) 0:01:03.040 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:52:15 +0000 (0:00:00.052) 0:01:03.092 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:52:15 +0000 (0:00:00.024) 0:01:03.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:52:15 +0000 (0:00:00.024) 0:01:03.141 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:52:15 +0000 (0:00:00.026) 0:01:03.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 13:52:15 +0000 (0:00:00.026) 0:01:03.195 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 13:52:15 +0000 (0:00:00.025) 0:01:03.220 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 13:52:15 +0000 (0:00:00.029) 0:01:03.250 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 13:52:15 +0000 (0:00:00.024) 0:01:03.275 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 13:52:15 +0000 (0:00:00.042) 0:01:03.317 ******* 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.048035", "end": "2024-02-09 13:52:15.631211", "rc": 0, "start": "2024-02-09 13:52:15.583176" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_states.yml:126 Friday 09 February 2024 13:52:15 +0000 (0:00:00.244) 0:01:03.561 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 13:52:15 +0000 (0:00:00.038) 0:01:03.600 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 13:52:15 +0000 (0:00:00.022) 0:01:03.623 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 13:52:15 +0000 (0:00:00.050) 0:01:03.674 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:52:15 +0000 (0:00:00.065) 0:01:03.739 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:52:15 +0000 (0:00:00.038) 0:01:03.777 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002911", "end": "2024-02-09 13:52:16.046757", "rc": 0, "start": "2024-02-09 13:52:16.043846" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:52:16 +0000 (0:00:00.197) 0:01:03.975 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:52:16 +0000 (0:00:00.025) 0:01:04.000 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 13:52:16 +0000 (0:00:00.023) 0:01:04.024 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 13:52:16 +0000 (0:00:00.049) 0:01:04.074 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:52:16 +0000 (0:00:00.039) 0:01:04.113 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:52:16 +0000 (0:00:00.044) 0:01:04.158 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:52:16 +0000 (0:00:00.029) 0:01:04.187 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:52:16 +0000 (0:00:00.023) 0:01:04.211 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:52:16 +0000 (0:00:00.022) 0:01:04.233 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:52:17 +0000 (0:00:01.512) 0:01:05.746 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:52:19 +0000 (0:00:01.288) 0:01:07.034 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:52:19 +0000 (0:00:00.026) 0:01:07.060 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:52:19 +0000 (0:00:00.024) 0:01:07.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:52:19 +0000 (0:00:00.047) 0:01:07.132 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:52:19 +0000 (0:00:00.046) 0:01:07.179 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:52:19 +0000 (0:00:00.022) 0:01:07.202 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:52:19 +0000 (0:00:00.022) 0:01:07.225 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:52:19 +0000 (0:00:00.028) 0:01:07.253 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:52:19 +0000 (0:00:00.024) 0:01:07.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:52:19 +0000 (0:00:00.022) 0:01:07.301 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:52:19 +0000 (0:00:00.339) 0:01:07.640 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmpqmhjzfb_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:52:20 +0000 (0:00:00.296) 0:01:07.936 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:52:20 +0000 (0:00:00.287) 0:01:08.224 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:52:20 +0000 (0:00:00.024) 0:01:08.249 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:52:20 +0000 (0:00:00.024) 0:01:08.273 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:52:20 +0000 (0:00:00.023) 0:01:08.297 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:52:20 +0000 (0:00:00.061) 0:01:08.359 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 13:52:20 +0000 (0:00:00.190) 0:01:08.549 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 13:52:20 +0000 (0:00:00.025) 0:01:08.575 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:52:20 +0000 (0:00:00.041) 0:01:08.616 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:52:20 +0000 (0:00:00.043) 0:01:08.660 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:52:20 +0000 (0:00:00.029) 0:01:08.689 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:52:20 +0000 (0:00:00.023) 0:01:08.713 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:52:20 +0000 (0:00:00.022) 0:01:08.736 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:52:22 +0000 (0:00:01.489) 0:01:10.226 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:52:23 +0000 (0:00:01.285) 0:01:11.511 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:52:23 +0000 (0:00:00.025) 0:01:11.536 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:52:23 +0000 (0:00:00.024) 0:01:11.561 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:52:23 +0000 (0:00:00.023) 0:01:11.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:52:23 +0000 (0:00:00.045) 0:01:11.630 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:52:23 +0000 (0:00:00.025) 0:01:11.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:52:23 +0000 (0:00:00.023) 0:01:11.680 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:52:23 +0000 (0:00:00.026) 0:01:11.706 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:52:23 +0000 (0:00:00.066) 0:01:11.772 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:52:23 +0000 (0:00:00.024) 0:01:11.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:52:24 +0000 (0:00:00.341) 0:01:12.137 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmpz_iiq5pn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:52:24 +0000 (0:00:00.299) 0:01:12.436 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:52:25 +0000 (0:00:00.558) 0:01:12.995 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:52:25 +0000 (0:00:00.022) 0:01:13.018 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:52:25 +0000 (0:00:00.027) 0:01:13.045 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:52:25 +0000 (0:00:00.027) 0:01:13.072 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:52:25 +0000 (0:00:00.022) 0:01:13.095 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 13:52:25 +0000 (0:00:00.188) 0:01:13.284 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:52:25 +0000 (0:00:00.082) 0:01:13.367 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:52:25 +0000 (0:00:00.044) 0:01:13.411 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:52:25 +0000 (0:00:00.031) 0:01:13.443 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:52:25 +0000 (0:00:00.025) 0:01:13.469 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:52:25 +0000 (0:00:00.024) 0:01:13.493 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:52:27 +0000 (0:00:01.466) 0:01:14.960 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:52:28 +0000 (0:00:01.330) 0:01:16.291 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:52:28 +0000 (0:00:00.024) 0:01:16.316 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:52:28 +0000 (0:00:00.025) 0:01:16.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:52:28 +0000 (0:00:00.025) 0:01:16.367 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:52:28 +0000 (0:00:00.046) 0:01:16.413 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:52:28 +0000 (0:00:00.024) 0:01:16.437 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:52:28 +0000 (0:00:00.025) 0:01:16.463 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:52:28 +0000 (0:00:00.026) 0:01:16.490 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:52:28 +0000 (0:00:00.023) 0:01:16.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:52:28 +0000 (0:00:00.024) 0:01:16.538 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:52:28 +0000 (0:00:00.340) 0:01:16.878 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmp662une1g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:52:29 +0000 (0:00:00.295) 0:01:17.174 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:52:29 +0000 (0:00:00.303) 0:01:17.478 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:52:29 +0000 (0:00:00.025) 0:01:17.504 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:52:29 +0000 (0:00:00.025) 0:01:17.530 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:52:29 +0000 (0:00:00.028) 0:01:17.558 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:52:29 +0000 (0:00:00.024) 0:01:17.582 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 13:52:29 +0000 (0:00:00.189) 0:01:17.772 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 13:52:29 +0000 (0:00:00.043) 0:01:17.816 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:52:29 +0000 (0:00:00.041) 0:01:17.857 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:52:30 +0000 (0:00:00.043) 0:01:17.900 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:52:30 +0000 (0:00:00.029) 0:01:17.929 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:52:30 +0000 (0:00:00.055) 0:01:17.985 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:52:30 +0000 (0:00:00.023) 0:01:18.009 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:52:31 +0000 (0:00:01.467) 0:01:19.476 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:52:32 +0000 (0:00:01.304) 0:01:20.781 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:52:32 +0000 (0:00:00.024) 0:01:20.805 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:52:32 +0000 (0:00:00.023) 0:01:20.828 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:52:32 +0000 (0:00:00.024) 0:01:20.853 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:52:33 +0000 (0:00:00.046) 0:01:20.900 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:52:33 +0000 (0:00:00.022) 0:01:20.923 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:52:33 +0000 (0:00:00.023) 0:01:20.947 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:52:33 +0000 (0:00:00.027) 0:01:20.974 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:52:33 +0000 (0:00:00.023) 0:01:20.998 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:52:33 +0000 (0:00:00.021) 0:01:21.020 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:52:33 +0000 (0:00:00.340) 0:01:21.360 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-198584tms22gs/tmpgfpl6suh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:52:33 +0000 (0:00:00.295) 0:01:21.656 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:52:34 +0000 (0:00:00.329) 0:01:21.985 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:52:34 +0000 (0:00:00.056) 0:01:22.042 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:52:34 +0000 (0:00:00.026) 0:01:22.069 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:52:34 +0000 (0:00:00.025) 0:01:22.094 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:52:34 +0000 (0:00:00.025) 0:01:22.119 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 13:52:34 +0000 (0:00:00.191) 0:01:22.311 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 13:52:34 +0000 (0:00:00.050) 0:01:22.361 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:52:34 +0000 (0:00:00.042) 0:01:22.403 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:52:34 +0000 (0:00:00.023) 0:01:22.427 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:52:34 +0000 (0:00:00.192) 0:01:22.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:52:34 +0000 (0:00:00.024) 0:01:22.645 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020215", "end": "2024-02-09 13:52:34.930901", "rc": 1, "start": "2024-02-09 13:52:34.910686" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:52:34 +0000 (0:00:00.213) 0:01:22.859 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:52:34 +0000 (0:00:00.024) 0:01:22.884 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:52:35 +0000 (0:00:00.052) 0:01:22.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:52:35 +0000 (0:00:00.027) 0:01:22.964 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:52:35 +0000 (0:00:00.023) 0:01:22.987 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 13:52:35 +0000 (0:00:00.024) 0:01:23.012 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 09 February 2024 13:52:35 +0000 (0:00:00.026) 0:01:23.039 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.929769", "end": "2024-02-09 13:52:36.234967", "rc": 0, "start": "2024-02-09 13:52:35.305198" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 09 February 2024 13:52:36 +0000 (0:00:01.126) 0:01:24.165 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 09 February 2024 13:52:36 +0000 (0:00:00.024) 0:01:24.189 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 13:52:36 +0000 (0:00:00.023) 0:01:24.213 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 13:52:36 +0000 (0:00:00.028) 0:01:24.241 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 13:52:36 +0000 (0:00:00.026) 0:01:24.268 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 13:52:36 +0000 (0:00:00.042) 0:01:24.310 ******* 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.047844", "end": "2024-02-09 13:52:36.623059", "rc": 0, "start": "2024-02-09 13:52:36.575215" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Friday 09 February 2024 13:52:36 +0000 (0:00:00.227) 0:01:24.537 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.25s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.85s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.65s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.48s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---