# 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_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/tests_states_initscripts.yml:5 Wednesday 31 January 2024 23:45:09 +0000 (0:00:00.016) 0:00:00.016 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tests_states_initscripts.yml:8 Wednesday 31 January 2024 23:45:09 +0000 (0:00:00.656) 0:00:00.673 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:45:10 +0000 (0:00:00.030) 0:00:00.703 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:19 Wednesday 31 January 2024 23:45:10 +0000 (0:00:00.348) 0:00:01.052 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:24 Wednesday 31 January 2024 23:45:10 +0000 (0:00:00.293) 0:00:01.345 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:28 Wednesday 31 January 2024 23:45:10 +0000 (0:00:00.029) 0:00:01.375 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:53 Wednesday 31 January 2024 23:45:10 +0000 (0:00:00.024) 0:00:01.399 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:45:10 +0000 (0:00:00.042) 0:00:01.441 ***** 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_rewrite4vle1jzk/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:45:11 +0000 (0:00:00.300) 0:00:01.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:45:11 +0000 (0:00:00.016) 0:00:01.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:45:11 +0000 (0:00:00.017) 0:00:01.775 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247138", "end": "2024-01-31 23:45:11.516436", "rc": 0, "start": "2024-01-31 23:45:11.269298" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:45:11 +0000 (0:00:00.454) 0:00:02.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tests_states_initscripts.yml:10 Wednesday 31 January 2024 23:45:11 +0000 (0:00:00.015) 0:00:02.245 ***** 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_rewrite4vle1jzk/tests/playbooks/tests_states.yml:3 Wednesday 31 January 2024 23:45:11 +0000 (0:00:00.016) 0:00:02.262 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_states.yml:11 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.475) 0:00:02.737 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_states.yml:22 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.018) 0:00:02.755 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.025) 0:00:02.781 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.020) 0:00:02.801 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.054) 0:00:02.856 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.019) 0:00:02.876 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.018) 0:00:02.894 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003320", "end": "2024-01-31 23:45:12.373240", "rc": 0, "start": "2024-01-31 23:45:12.369920" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.193) 0:00:03.087 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.022) 0:00:03.110 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.016) 0:00:03.127 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.028) 0:00:03.155 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008348", "end": "2024-01-31 23:45:12.646053", "rc": 1, "start": "2024-01-31 23:45:12.637705" } 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.204) 0:00:03.360 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.025) 0:00:03.385 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.198) 0:00:03.584 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.019) 0:00:03.603 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.026) 0:00:03.629 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:45:12 +0000 (0:00:00.050) 0:00:03.680 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:45:13 +0000 (0:00:00.107) 0:00:03.787 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:45:13 +0000 (0:00:00.021) 0:00:03.809 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:45:13 +0000 (0:00:00.018) 0:00:03.827 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:45:13 +0000 (0:00:00.013) 0:00:03.841 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:45:14 +0000 (0:00:01.636) 0:00:05.478 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:45:16 +0000 (0:00:01.597) 0:00:07.076 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:45:16 +0000 (0:00:00.034) 0:00:07.110 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:45:16 +0000 (0:00:00.043) 0:00:07.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:45:16 +0000 (0:00:00.030) 0:00:07.184 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:45:16 +0000 (0:00:00.079) 0:00:07.264 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:45:16 +0000 (0:00:00.038) 0:00:07.303 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:45:16 +0000 (0:00:00.040) 0:00:07.343 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:45:16 +0000 (0:00:00.050) 0:00:07.394 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:45:16 +0000 (0:00:00.030) 0:00:07.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:45:16 +0000 (0:00:00.031) 0:00:07.457 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:45:17 +0000 (0:00:00.540) 0:00:07.998 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmpyab_hcyg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:45:17 +0000 (0:00:00.335) 0:00:08.334 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.513) 0:00:08.847 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.039) 0:00:08.886 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.041) 0:00:08.927 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.034) 0:00:08.962 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.041) 0:00:09.003 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.284) 0:00:09.288 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.039) 0:00:09.328 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.080) 0:00:09.408 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.053) 0:00:09.462 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:45:18 +0000 (0:00:00.043) 0:00:09.505 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744718.1173327, "block_size": 4096, "blocks": 8, "ctime": 1706744718.1173327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5803491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706744718.1173327, "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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:45:19 +0000 (0:00:00.210) 0:00:09.716 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:45:19 +0000 (0:00:00.068) 0:00:09.784 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020880", "end": "2024-01-31 23:45:19.289764", "rc": 1, "start": "2024-01-31 23:45:19.268884" } 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:45:19 +0000 (0:00:00.232) 0:00:10.017 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:45:19 +0000 (0:00:00.034) 0:00:10.052 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003229", "end": "2024-01-31 23:45:19.546543", "rc": 0, "start": "2024-01-31 23:45:19.543314" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:45:19 +0000 (0:00:00.236) 0:00:10.288 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:45:19 +0000 (0:00:00.051) 0:00:10.339 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003191", "end": "2024-01-31 23:45:19.830363", "rc": 0, "start": "2024-01-31 23:45:19.827172" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:45:19 +0000 (0:00:00.221) 0:00:10.561 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:45:19 +0000 (0:00:00.053) 0:00:10.614 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:45:19 +0000 (0:00:00.038) 0:00:10.653 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.044) 0:00:10.697 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.079) 0:00:10.776 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.064) 0:00:10.841 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.048) 0:00:10.890 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.100) 0:00:10.990 ***** 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.039923", "end": "2024-01-31 23:45:20.519892", "rc": 1, "start": "2024-01-31 23:45:20.479969" } 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_rewrite4vle1jzk/tests/playbooks/tests_states.yml:45 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.278) 0:00:11.269 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.062) 0:00:11.331 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.031) 0:00:11.362 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.085) 0:00:11.448 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.076) 0:00:11.525 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:45:20 +0000 (0:00:00.078) 0:00:11.603 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003302", "end": "2024-01-31 23:45:21.091444", "rc": 0, "start": "2024-01-31 23:45:21.088142" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.218) 0:00:11.822 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.039) 0:00:11.861 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.041) 0:00:11.903 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.072) 0:00:11.975 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006465", "end": "2024-01-31 23:45:21.465272", "rc": 1, "start": "2024-01-31 23:45:21.458807" } 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.243) 0:00:12.219 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.049) 0:00:12.268 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.209) 0:00:12.478 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.042) 0:00:12.520 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.060) 0:00:12.581 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.053) 0:00:12.635 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:45:21 +0000 (0:00:00.050) 0:00:12.686 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:45:22 +0000 (0:00:00.035) 0:00:12.721 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:45:22 +0000 (0:00:00.028) 0:00:12.750 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:45:22 +0000 (0:00:00.029) 0:00:12.779 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:45:23 +0000 (0:00:01.551) 0:00:14.331 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:45:24 +0000 (0:00:01.340) 0:00:15.672 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.036) 0:00:15.708 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.037) 0:00:15.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.073) 0:00:15.819 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.073) 0:00:15.892 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.033) 0:00:15.926 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.029) 0:00:15.956 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.037) 0:00:15.993 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.029) 0:00:16.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.028) 0:00:16.051 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:45:25 +0000 (0:00:00.373) 0:00:16.425 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmph7gk1x63" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.320) 0:00:16.746 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.317) 0:00:17.063 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.037) 0:00:17.100 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.042) 0:00:17.143 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.041) 0:00:17.184 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.078) 0:00:17.263 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.210) 0:00:17.473 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.044) 0:00:17.518 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.074) 0:00:17.592 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:45:26 +0000 (0:00:00.057) 0:00:17.649 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:45:27 +0000 (0:00:00.210) 0:00:17.860 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:45:27 +0000 (0:00:00.035) 0:00:17.896 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:45:27 +0000 (0:00:00.053) 0:00:17.949 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:45:27 +0000 (0:00:00.029) 0:00:17.979 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744726.3353112, "block_size": 4096, "blocks": 8, "ctime": 1706744726.3353112, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5803491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706744726.3353112, "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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:45:27 +0000 (0:00:00.203) 0:00:18.183 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:45:27 +0000 (0:00:00.031) 0:00:18.214 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020580", "end": "2024-01-31 23:45:27.714911", "rc": 1, "start": "2024-01-31 23:45:27.694331" } 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:45:27 +0000 (0:00:00.253) 0:00:18.468 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:45:27 +0000 (0:00:00.033) 0:00:18.502 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003137", "end": "2024-01-31 23:45:27.986775", "rc": 0, "start": "2024-01-31 23:45:27.983638" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.213) 0:00:18.715 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.038) 0:00:18.754 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003413", "end": "2024-01-31 23:45:28.240160", "rc": 0, "start": "2024-01-31 23:45:28.236747" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.224) 0:00:18.978 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.052) 0:00:19.031 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.038) 0:00:19.069 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.042) 0:00:19.111 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.032) 0:00:19.144 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.032) 0:00:19.176 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.042) 0:00:19.219 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.060) 0:00:19.280 ***** 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.039589", "end": "2024-01-31 23:45:28.799492", "rc": 1, "start": "2024-01-31 23:45:28.759903" } 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_rewrite4vle1jzk/tests/playbooks/tests_states.yml:65 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.248) 0:00:19.528 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.109) 0:00:19.638 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:45:28 +0000 (0:00:00.029) 0:00:19.668 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.070) 0:00:19.738 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.052) 0:00:19.790 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.048) 0:00:19.839 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003300", "end": "2024-01-31 23:45:29.322827", "rc": 0, "start": "2024-01-31 23:45:29.319527" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.211) 0:00:20.051 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.029) 0:00:20.081 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.028) 0:00:20.109 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.055) 0:00:20.164 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.054) 0:00:20.219 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.093) 0:00:20.312 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.042) 0:00:20.355 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.039) 0:00:20.394 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:45:29 +0000 (0:00:00.037) 0:00:20.431 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:45:31 +0000 (0:00:01.585) 0:00:22.017 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:45:32 +0000 (0:00:01.348) 0:00:23.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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:45:32 +0000 (0:00:00.029) 0:00:23.396 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:45:32 +0000 (0:00:00.027) 0:00:23.423 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:45:32 +0000 (0:00:00.029) 0:00:23.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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:45:32 +0000 (0:00:00.056) 0:00:23.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:45:32 +0000 (0:00:00.026) 0:00:23.536 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:45:32 +0000 (0:00:00.028) 0:00:23.564 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:45:32 +0000 (0:00:00.033) 0:00:23.597 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:45:32 +0000 (0:00:00.040) 0:00:23.638 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:45:32 +0000 (0:00:00.039) 0:00:23.678 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:45:33 +0000 (0:00:00.382) 0:00:24.060 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmp2xadohzk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:45:33 +0000 (0:00:00.390) 0:00:24.450 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.329) 0:00:24.780 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.034) 0:00:24.815 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.031) 0:00:24.846 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.033) 0:00:24.880 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.034) 0:00:24.915 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.205) 0:00:25.120 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.029) 0:00:25.149 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.063) 0:00:25.213 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.068) 0:00:25.282 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.056) 0:00:25.338 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.038) 0:00:25.377 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.062) 0:00:25.439 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:45:34 +0000 (0:00:00.037) 0:00:25.477 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:45:36 +0000 (0:00:01.572) 0:00:27.049 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:45:37 +0000 (0:00:01.368) 0:00:28.418 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:45:37 +0000 (0:00:00.044) 0:00:28.462 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:45:37 +0000 (0:00:00.043) 0:00:28.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:45:37 +0000 (0:00:00.038) 0:00:28.545 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:45:37 +0000 (0:00:00.073) 0:00:28.619 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:45:37 +0000 (0:00:00.039) 0:00:28.658 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:45:37 +0000 (0:00:00.034) 0:00:28.692 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:45:38 +0000 (0:00:00.048) 0:00:28.741 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:45:38 +0000 (0:00:00.046) 0:00:28.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:45:38 +0000 (0:00:00.032) 0:00:28.820 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:45:38 +0000 (0:00:00.365) 0:00:29.186 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmpnfmwv2os" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:45:38 +0000 (0:00:00.352) 0:00:29.539 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:45:39 +0000 (0:00:00.678) 0:00:30.217 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:45:39 +0000 (0:00:00.031) 0:00:30.249 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:45:39 +0000 (0:00:00.041) 0:00:30.290 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:45:39 +0000 (0:00:00.032) 0:00:30.323 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:45:39 +0000 (0:00:00.030) 0:00:30.353 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:45:39 +0000 (0:00:00.215) 0:00:30.569 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:45:39 +0000 (0:00:00.076) 0:00:30.646 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:45:40 +0000 (0:00:00.063) 0:00:30.709 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744739.395486, "block_size": 4096, "blocks": 0, "ctime": 1706744739.395486, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40808, "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": 1706744739.395486, "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_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:45:40 +0000 (0:00:00.211) 0:00:30.921 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:45:40 +0000 (0:00:00.049) 0:00:30.970 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:45:40 +0000 (0:00:00.053) 0:00:31.024 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:45:40 +0000 (0:00:00.057) 0:00:31.081 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744739.2142775, "block_size": 4096, "blocks": 8, "ctime": 1706744734.052291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5803491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706744734.052291, "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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:45:40 +0000 (0:00:00.207) 0:00:31.289 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:45:40 +0000 (0:00:00.036) 0:00:31.325 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020817", "end": "2024-01-31 23:45:40.827741", "rc": 1, "start": "2024-01-31 23:45:40.806924" } 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:45:40 +0000 (0:00:00.237) 0:00:31.563 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:45:40 +0000 (0:00:00.032) 0:00:31.595 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003146", "end": "2024-01-31 23:45:41.083963", "rc": 0, "start": "2024-01-31 23:45:41.080817" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.218) 0:00:31.813 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.041) 0:00:31.855 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003325", "end": "2024-01-31 23:45:41.344648", "rc": 0, "start": "2024-01-31 23:45:41.341323" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.224) 0:00:32.079 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.048) 0:00:32.128 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.038) 0:00:32.166 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.031) 0:00:32.198 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.042) 0:00:32.240 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.028) 0:00:32.268 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.034) 0:00:32.303 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.088) 0:00:32.392 ***** 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.046725", "end": "2024-01-31 23:45:41.922857", "rc": 0, "start": "2024-01-31 23:45:41.876132" } 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_rewrite4vle1jzk/tests/playbooks/tests_states.yml:83 Wednesday 31 January 2024 23:45:41 +0000 (0:00:00.260) 0:00:32.652 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.082) 0:00:32.734 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.033) 0:00:32.767 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.068) 0:00:32.835 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.052) 0:00:32.888 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.049) 0:00:32.938 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003419", "end": "2024-01-31 23:45:42.421264", "rc": 0, "start": "2024-01-31 23:45:42.417845" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.215) 0:00:33.153 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.035) 0:00:33.189 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.036) 0:00:33.226 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.108) 0:00:33.334 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.065) 0:00:33.400 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.073) 0:00:33.473 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.042) 0:00:33.516 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.029) 0:00:33.545 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:45:42 +0000 (0:00:00.031) 0:00:33.576 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:45:44 +0000 (0:00:01.570) 0:00:35.147 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:45:45 +0000 (0:00:01.372) 0:00:36.520 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:45:45 +0000 (0:00:00.047) 0:00:36.567 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:45:45 +0000 (0:00:00.037) 0:00:36.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:45:45 +0000 (0:00:00.047) 0:00:36.652 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:45:46 +0000 (0:00:00.080) 0:00:36.733 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:45:46 +0000 (0:00:00.032) 0:00:36.765 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:45:46 +0000 (0:00:00.036) 0:00:36.802 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:45:46 +0000 (0:00:00.035) 0:00:36.837 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:45:46 +0000 (0:00:00.028) 0:00:36.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:45:46 +0000 (0:00:00.058) 0:00:36.924 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:45:46 +0000 (0:00:00.383) 0:00:37.308 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmpdhjyepze" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:45:46 +0000 (0:00:00.325) 0:00:37.633 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.319) 0:00:37.953 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.031) 0:00:37.984 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.033) 0:00:38.018 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.032) 0:00:38.050 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.029) 0:00:38.080 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.202) 0:00:38.283 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.032) 0:00:38.315 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.050) 0:00:38.365 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.107) 0:00:38.473 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.048) 0:00:38.521 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.030) 0:00:38.552 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:45:47 +0000 (0:00:00.031) 0:00:38.584 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:45:49 +0000 (0:00:01.559) 0:00:40.143 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:45:50 +0000 (0:00:01.319) 0:00:41.463 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:45:50 +0000 (0:00:00.032) 0:00:41.496 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:45:50 +0000 (0:00:00.029) 0:00:41.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:45:50 +0000 (0:00:00.029) 0:00:41.554 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:45:50 +0000 (0:00:00.059) 0:00:41.613 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:45:50 +0000 (0:00:00.027) 0:00:41.640 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:45:50 +0000 (0:00:00.026) 0:00:41.667 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:45:51 +0000 (0:00:00.038) 0:00:41.705 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:45:51 +0000 (0:00:00.028) 0:00:41.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:45:51 +0000 (0:00:00.028) 0:00:41.762 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:45:51 +0000 (0:00:00.362) 0:00:42.124 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmpmq5ep_km" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:45:51 +0000 (0:00:00.343) 0:00:42.468 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.592) 0:00:43.060 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.028) 0:00:43.089 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.030) 0:00:43.120 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.032) 0:00:43.152 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.033) 0:00:43.185 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.205) 0:00:43.391 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.069) 0:00:43.461 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.064) 0:00:43.526 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.059) 0:00:43.585 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:45:52 +0000 (0:00:00.075) 0:00:43.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:45:53 +0000 (0:00:00.035) 0:00:43.696 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:45:53 +0000 (0:00:00.030) 0:00:43.727 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:45:54 +0000 (0:00:01.584) 0:00:45.312 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:45:55 +0000 (0:00:01.353) 0:00:46.665 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.035) 0:00:46.701 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.042) 0:00:46.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.043) 0:00:46.787 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.072) 0:00:46.859 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.027) 0:00:46.887 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.027) 0:00:46.914 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.038) 0:00:46.952 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.041) 0:00:46.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.047) 0:00:47.041 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:45:56 +0000 (0:00:00.380) 0:00:47.421 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmpkw0qtgz8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:45:57 +0000 (0:00:00.321) 0:00:47.742 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:45:57 +0000 (0:00:00.404) 0:00:48.147 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:45:57 +0000 (0:00:00.039) 0:00:48.186 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:45:57 +0000 (0:00:00.045) 0:00:48.232 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:45:57 +0000 (0:00:00.048) 0:00:48.280 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:45:57 +0000 (0:00:00.042) 0:00:48.322 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:45:57 +0000 (0:00:00.208) 0:00:48.531 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:45:57 +0000 (0:00:00.058) 0:00:48.589 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:45:57 +0000 (0:00:00.061) 0:00:48.651 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744752.2334092, "block_size": 4096, "blocks": 0, "ctime": 1706744752.2334092, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40939, "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": 1706744752.2334092, "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_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.207) 0:00:48.858 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.034) 0:00:48.893 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.057) 0:00:48.950 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.030) 0:00:48.981 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.203) 0:00:49.184 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.030) 0:00:49.214 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020653", "end": "2024-01-31 23:45:58.713667", "rc": 1, "start": "2024-01-31 23:45:58.693014" } 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.234) 0:00:49.448 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.031) 0:00:49.480 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.033) 0:00:49.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.032) 0:00:49.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.038) 0:00:49.585 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.041) 0:00:49.626 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:45:58 +0000 (0:00:00.033) 0:00:49.659 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.042) 0:00:49.702 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.045) 0:00:49.748 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.092) 0:00:49.840 ***** 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.046900", "end": "2024-01-31 23:45:59.381773", "rc": 0, "start": "2024-01-31 23:45:59.334873" } 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_rewrite4vle1jzk/tests/playbooks/tests_states.yml:103 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.270) 0:00:50.111 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.078) 0:00:50.189 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.030) 0:00:50.220 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.070) 0:00:50.291 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.048) 0:00:50.339 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.047) 0:00:50.386 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003343", "end": "2024-01-31 23:45:59.868724", "rc": 0, "start": "2024-01-31 23:45:59.865381" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.209) 0:00:50.595 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.032) 0:00:50.628 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:45:59 +0000 (0:00:00.035) 0:00:50.663 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:46:00 +0000 (0:00:00.064) 0:00:50.727 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:46:00 +0000 (0:00:00.047) 0:00:50.775 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:46:00 +0000 (0:00:00.079) 0:00:50.854 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:46:00 +0000 (0:00:00.033) 0:00:50.888 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:46:00 +0000 (0:00:00.028) 0:00:50.916 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:46:00 +0000 (0:00:00.037) 0:00:50.953 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:46:01 +0000 (0:00:01.626) 0:00:52.580 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:46:03 +0000 (0:00:01.321) 0:00:53.901 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.029) 0:00:53.931 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.034) 0:00:53.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.028) 0:00:53.994 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.066) 0:00:54.060 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.026) 0:00:54.086 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.033) 0:00:54.120 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.043) 0:00:54.163 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.027) 0:00:54.190 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.027) 0:00:54.218 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:46:03 +0000 (0:00:00.357) 0:00:54.575 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmp5lgn578h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:46:04 +0000 (0:00:00.348) 0:00:54.924 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:46:04 +0000 (0:00:00.318) 0:00:55.242 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:46:04 +0000 (0:00:00.027) 0:00:55.270 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:46:04 +0000 (0:00:00.032) 0:00:55.302 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:46:04 +0000 (0:00:00.031) 0:00:55.334 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:46:04 +0000 (0:00:00.029) 0:00:55.363 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:46:04 +0000 (0:00:00.203) 0:00:55.567 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:46:04 +0000 (0:00:00.039) 0:00:55.607 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:46:04 +0000 (0:00:00.060) 0:00:55.668 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:46:05 +0000 (0:00:00.076) 0:00:55.744 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:46:05 +0000 (0:00:00.038) 0:00:55.782 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:46:05 +0000 (0:00:00.032) 0:00:55.814 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:46:05 +0000 (0:00:00.028) 0:00:55.843 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:46:06 +0000 (0:00:01.577) 0:00:57.420 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:46:08 +0000 (0:00:01.329) 0:00:58.750 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.037) 0:00:58.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.061) 0:00:58.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.030) 0:00:58.879 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.071) 0:00:58.951 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.039) 0:00:58.991 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.034) 0:00:59.025 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.035) 0:00:59.061 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.032) 0:00:59.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.040) 0:00:59.134 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:46:08 +0000 (0:00:00.389) 0:00:59.524 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmpn2t5oo6e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:46:09 +0000 (0:00:00.339) 0:00:59.864 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:46:09 +0000 (0:00:00.590) 0:01:00.454 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:46:09 +0000 (0:00:00.062) 0:01:00.516 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:46:09 +0000 (0:00:00.033) 0:01:00.550 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:46:09 +0000 (0:00:00.038) 0:01:00.588 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:46:09 +0000 (0:00:00.033) 0:01:00.621 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 31 January 2024 23:46:10 +0000 (0:00:00.205) 0:01:00.826 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:46:10 +0000 (0:00:00.051) 0:01:00.878 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:46:10 +0000 (0:00:00.074) 0:01:00.952 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:46:10 +0000 (0:00:00.037) 0:01:00.990 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:46:10 +0000 (0:00:00.032) 0:01:01.023 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:46:10 +0000 (0:00:00.036) 0:01:01.059 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:46:11 +0000 (0:00:01.577) 0:01:02.636 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:46:13 +0000 (0:00:01.315) 0:01:03.952 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:46:13 +0000 (0:00:00.033) 0:01:03.986 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:46:13 +0000 (0:00:00.028) 0:01:04.015 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:46:13 +0000 (0:00:00.029) 0:01:04.044 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:46:13 +0000 (0:00:00.070) 0:01:04.115 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:46:13 +0000 (0:00:00.040) 0:01:04.155 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:46:13 +0000 (0:00:00.066) 0:01:04.222 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:46:13 +0000 (0:00:00.041) 0:01:04.264 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:46:13 +0000 (0:00:00.030) 0:01:04.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:46:13 +0000 (0:00:00.032) 0:01:04.327 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:46:14 +0000 (0:00:00.374) 0:01:04.702 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmp_3ph3y5u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:46:14 +0000 (0:00:00.322) 0:01:05.024 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:46:14 +0000 (0:00:00.327) 0:01:05.352 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:46:14 +0000 (0:00:00.030) 0:01:05.382 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:46:14 +0000 (0:00:00.035) 0:01:05.417 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:46:14 +0000 (0:00:00.033) 0:01:05.451 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:46:14 +0000 (0:00:00.031) 0:01:05.482 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:46:15 +0000 (0:00:00.215) 0:01:05.698 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:46:15 +0000 (0:00:00.112) 0:01:05.811 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:46:15 +0000 (0:00:00.086) 0:01:05.897 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:46:15 +0000 (0:00:00.067) 0:01:05.965 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:46:15 +0000 (0:00:00.036) 0:01:06.001 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:46:15 +0000 (0:00:00.039) 0:01:06.040 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:46:15 +0000 (0:00:00.028) 0:01:06.069 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:46:16 +0000 (0:00:01.605) 0:01:07.674 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:46:18 +0000 (0:00:01.327) 0:01:09.002 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:46:18 +0000 (0:00:00.030) 0:01:09.032 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:46:18 +0000 (0:00:00.031) 0:01:09.063 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:46:18 +0000 (0:00:00.034) 0:01:09.098 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:46:18 +0000 (0:00:00.063) 0:01:09.162 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:46:18 +0000 (0:00:00.027) 0:01:09.190 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:46:18 +0000 (0:00:00.027) 0:01:09.217 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:46:18 +0000 (0:00:00.036) 0:01:09.254 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:46:18 +0000 (0:00:00.059) 0:01:09.314 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:46:18 +0000 (0:00:00.029) 0:01:09.343 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:46:19 +0000 (0:00:00.365) 0:01:09.709 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmpkv802_lg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:46:19 +0000 (0:00:00.313) 0:01:10.023 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:46:19 +0000 (0:00:00.336) 0:01:10.359 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:46:19 +0000 (0:00:00.033) 0:01:10.393 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:46:19 +0000 (0:00:00.038) 0:01:10.431 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:46:19 +0000 (0:00:00.039) 0:01:10.471 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:46:19 +0000 (0:00:00.031) 0:01:10.503 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.205) 0:01:10.709 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.063) 0:01:10.772 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.116) 0:01:10.888 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.030) 0:01:10.919 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.209) 0:01:11.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.029) 0:01:11.158 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021378", "end": "2024-01-31 23:46:20.657842", "rc": 1, "start": "2024-01-31 23:46:20.636464" } 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.236) 0:01:11.395 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.033) 0:01:11.429 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.036) 0:01:11.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.034) 0:01:11.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.035) 0:01:11.535 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.034) 0:01:11.570 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.036) 0:01:11.607 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.041) 0:01:11.648 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:46:20 +0000 (0:00:00.043) 0:01:11.692 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.059) 0:01:11.752 ***** 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.048164", "end": "2024-01-31 23:46:21.281749", "rc": 0, "start": "2024-01-31 23:46:21.233585" } 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_rewrite4vle1jzk/tests/playbooks/tests_states.yml:126 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.259) 0:01:12.011 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.053) 0:01:12.065 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.032) 0:01:12.097 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.064) 0:01:12.162 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.046) 0:01:12.208 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.046) 0:01:12.254 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003359", "end": "2024-01-31 23:46:21.739865", "rc": 0, "start": "2024-01-31 23:46:21.736506" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.219) 0:01:12.473 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.046) 0:01:12.520 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.044) 0:01:12.565 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:46:21 +0000 (0:00:00.091) 0:01:12.657 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:46:22 +0000 (0:00:00.124) 0:01:12.781 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:46:22 +0000 (0:00:00.080) 0:01:12.861 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:46:22 +0000 (0:00:00.049) 0:01:12.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:46:22 +0000 (0:00:00.048) 0:01:12.959 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:46:22 +0000 (0:00:00.063) 0:01:13.023 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:46:23 +0000 (0:00:01.567) 0:01:14.590 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:46:25 +0000 (0:00:01.369) 0:01:15.959 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:46:25 +0000 (0:00:00.033) 0:01:15.993 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:46:25 +0000 (0:00:00.034) 0:01:16.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:46:25 +0000 (0:00:00.031) 0:01:16.058 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:46:25 +0000 (0:00:00.064) 0:01:16.123 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:46:25 +0000 (0:00:00.040) 0:01:16.163 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:46:25 +0000 (0:00:00.041) 0:01:16.205 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:46:25 +0000 (0:00:00.037) 0:01:16.242 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:46:25 +0000 (0:00:00.041) 0:01:16.284 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:46:25 +0000 (0:00:00.040) 0:01:16.324 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:46:26 +0000 (0:00:00.392) 0:01:16.717 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmp8e53olc_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:46:26 +0000 (0:00:00.321) 0:01:17.038 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:46:26 +0000 (0:00:00.331) 0:01:17.369 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:46:26 +0000 (0:00:00.042) 0:01:17.412 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:46:26 +0000 (0:00:00.043) 0:01:17.456 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:46:26 +0000 (0:00:00.044) 0:01:17.500 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:46:26 +0000 (0:00:00.045) 0:01:17.545 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:46:27 +0000 (0:00:00.209) 0:01:17.754 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:46:27 +0000 (0:00:00.046) 0:01:17.801 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:46:27 +0000 (0:00:00.066) 0:01:17.867 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:46:27 +0000 (0:00:00.086) 0:01:17.954 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:46:27 +0000 (0:00:00.089) 0:01:18.043 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:46:27 +0000 (0:00:00.032) 0:01:18.076 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:46:27 +0000 (0:00:00.047) 0:01:18.123 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:46:29 +0000 (0:00:01.573) 0:01:19.696 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:46:30 +0000 (0:00:01.393) 0:01:21.090 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:46:30 +0000 (0:00:00.045) 0:01:21.136 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:46:30 +0000 (0:00:00.041) 0:01:21.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:46:30 +0000 (0:00:00.033) 0:01:21.210 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:46:30 +0000 (0:00:00.062) 0:01:21.272 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:46:30 +0000 (0:00:00.045) 0:01:21.318 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:46:30 +0000 (0:00:00.044) 0:01:21.363 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:46:30 +0000 (0:00:00.049) 0:01:21.412 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:46:30 +0000 (0:00:00.046) 0:01:21.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:46:30 +0000 (0:00:00.033) 0:01:21.492 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:46:31 +0000 (0:00:00.374) 0:01:21.866 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmp6r9gizeh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:46:31 +0000 (0:00:00.354) 0:01:22.220 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.628) 0:01:22.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.048) 0:01:22.898 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.040) 0:01:22.939 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.037) 0:01:22.976 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.041) 0:01:23.018 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.209) 0:01:23.227 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.072) 0:01:23.299 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.065) 0:01:23.364 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.054) 0:01:23.418 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.036) 0:01:23.455 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:46:32 +0000 (0:00:00.033) 0:01:23.489 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:46:34 +0000 (0:00:01.553) 0:01:25.043 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:46:35 +0000 (0:00:01.317) 0:01:26.360 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:46:35 +0000 (0:00:00.032) 0:01:26.393 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:46:35 +0000 (0:00:00.031) 0:01:26.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:46:35 +0000 (0:00:00.028) 0:01:26.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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:46:35 +0000 (0:00:00.062) 0:01:26.515 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:46:35 +0000 (0:00:00.069) 0:01:26.585 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:46:35 +0000 (0:00:00.031) 0:01:26.616 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:46:35 +0000 (0:00:00.033) 0:01:26.650 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:46:35 +0000 (0:00:00.028) 0:01:26.679 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:46:36 +0000 (0:00:00.025) 0:01:26.704 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:46:36 +0000 (0:00:00.364) 0:01:27.069 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmpwsri54px" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:46:36 +0000 (0:00:00.314) 0:01:27.383 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.336) 0:01:27.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.045) 0:01:27.765 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.034) 0:01:27.800 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.031) 0:01:27.832 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.029) 0:01:27.862 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.231) 0:01:28.094 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.054) 0:01:28.149 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.049) 0:01:28.198 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.054) 0:01:28.252 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.038) 0:01:28.291 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.027) 0:01:28.319 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:46:37 +0000 (0:00:00.030) 0:01:28.349 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:46:39 +0000 (0:00:01.595) 0:01:29.944 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:46:40 +0000 (0:00:01.336) 0:01:31.280 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:46:40 +0000 (0:00:00.038) 0:01:31.319 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:46:40 +0000 (0:00:00.037) 0:01:31.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:46:40 +0000 (0:00:00.031) 0:01:31.388 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:46:40 +0000 (0:00:00.059) 0:01:31.448 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:46:40 +0000 (0:00:00.034) 0:01:31.482 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:46:40 +0000 (0:00:00.030) 0:01:31.513 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:46:40 +0000 (0:00:00.042) 0:01:31.556 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:46:40 +0000 (0:00:00.067) 0:01:31.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:46:40 +0000 (0:00:00.029) 0:01:31.653 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:46:41 +0000 (0:00:00.361) 0:01:32.014 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18658b_yttbr0/tmpg2_4k6pk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:46:41 +0000 (0:00:00.310) 0:01:32.325 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:46:41 +0000 (0:00:00.308) 0:01:32.633 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:46:41 +0000 (0:00:00.031) 0:01:32.665 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.029) 0:01:32.695 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.036) 0:01:32.731 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.028) 0:01:32.760 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.202) 0:01:32.962 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.063) 0:01:33.026 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.094) 0:01:33.120 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.032) 0:01:33.152 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.204) 0:01:33.357 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.028) 0:01:33.386 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021113", "end": "2024-01-31 23:46:42.887352", "rc": 1, "start": "2024-01-31 23:46:42.866239" } 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.227) 0:01:33.613 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.030) 0:01:33.644 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:46:42 +0000 (0:00:00.029) 0:01:33.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:46:43 +0000 (0:00:00.031) 0:01:33.704 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:46:43 +0000 (0:00:00.031) 0:01:33.735 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:46:43 +0000 (0:00:00.030) 0:01:33.765 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 31 January 2024 23:46:43 +0000 (0:00:00.032) 0:01:33.798 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.941965", "end": "2024-01-31 23:46:44.220781", "rc": 0, "start": "2024-01-31 23:46:43.278816" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 31 January 2024 23:46:44 +0000 (0:00:01.150) 0:01:34.948 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 31 January 2024 23:46:44 +0000 (0:00:00.028) 0:01:34.977 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:46:44 +0000 (0:00:00.029) 0:01:35.006 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:46:44 +0000 (0:00:00.034) 0:01:35.040 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:46:44 +0000 (0:00:00.028) 0:01:35.069 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:46:44 +0000 (0:00:00.055) 0:01:35.125 ***** 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.052634", "end": "2024-01-31 23:46:44.657542", "rc": 0, "start": "2024-01-31 23:46:44.604908" } 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 Wednesday 31 January 2024 23:46:44 +0000 (0:00:00.242) 0:01:35.367 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.49s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 2.06s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.81s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.72s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.60s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---