# 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_rewrite73us5rz2/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_rewrite73us5rz2/tests/tests_states_initscripts.yml:5 Tuesday 13 February 2024 02:15:14 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tests_states_initscripts.yml:8 Tuesday 13 February 2024 02:15:15 +0000 (0:00:00.736) 0:00:00.749 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 02:15:15 +0000 (0:00:00.021) 0:00:00.770 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 02:15:15 +0000 (0:00:00.366) 0:00:01.137 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 02:15:15 +0000 (0:00:00.253) 0:00:01.390 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 02:15:15 +0000 (0:00:00.020) 0:00:01.410 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 02:15:15 +0000 (0:00:00.018) 0:00:01.429 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 02:15:15 +0000 (0:00:00.029) 0:00:01.458 ****** 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_rewrite73us5rz2/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 02:15:15 +0000 (0:00:00.249) 0:00:01.708 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 02:15:16 +0000 (0:00:00.011) 0:00:01.720 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 02:15:16 +0000 (0:00:00.010) 0:00:01.730 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.249782", "end": "2024-02-13 02:15:16.436172", "rc": 0, "start": "2024-02-13 02:15:16.186390" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 02:15:16 +0000 (0:00:00.437) 0:00:02.167 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tests_states_initscripts.yml:10 Tuesday 13 February 2024 02:15:16 +0000 (0:00:00.010) 0:00:02.178 ****** 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_rewrite73us5rz2/tests/playbooks/tests_states.yml:3 Tuesday 13 February 2024 02:15:16 +0000 (0:00:00.010) 0:00:02.189 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:11 Tuesday 13 February 2024 02:15:16 +0000 (0:00:00.475) 0:00:02.664 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:22 Tuesday 13 February 2024 02:15:16 +0000 (0:00:00.011) 0:00:02.676 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:15:16 +0000 (0:00:00.034) 0:00:02.711 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.012) 0:00:02.723 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.035) 0:00:02.758 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.015) 0:00:02.774 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.013) 0:00:02.787 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003527", "end": "2024-02-13 02:15:17.245774", "rc": 0, "start": "2024-02-13 02:15:17.242247" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.189) 0:00:02.977 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.013) 0:00:02.990 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.011) 0:00:03.002 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.021) 0:00:03.023 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008845", "end": "2024-02-13 02:15:17.490980", "rc": 1, "start": "2024-02-13 02:15:17.482135" } 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_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.198) 0:00:03.222 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.017) 0:00:03.239 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.194) 0:00:03.434 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.023) 0:00:03.457 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.050) 0:00:03.508 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.053) 0:00:03.561 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.071) 0:00:03.633 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.012) 0:00:03.646 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.010) 0:00:03.657 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:15:17 +0000 (0:00:00.011) 0:00:03.668 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:15:19 +0000 (0:00:01.563) 0:00:05.231 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:15:20 +0000 (0:00:01.471) 0:00:06.703 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:15:21 +0000 (0:00:00.025) 0:00:06.728 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:15:21 +0000 (0:00:00.028) 0:00:06.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:15:21 +0000 (0:00:00.048) 0:00:06.805 ****** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:15:25 +0000 (0:00:04.219) 0:00:11.024 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:15:25 +0000 (0:00:00.038) 0:00:11.063 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:15:25 +0000 (0:00:00.055) 0:00:11.118 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:15:25 +0000 (0:00:00.048) 0:00:11.167 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:15:25 +0000 (0:00:00.022) 0:00:11.189 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:15:25 +0000 (0:00:00.026) 0:00:11.215 ****** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:15:26 +0000 (0:00:00.836) 0:00:12.052 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmph1rsqd63" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:15:26 +0000 (0:00:00.374) 0:00:12.426 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.448) 0:00:12.875 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.032) 0:00:12.907 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.030) 0:00:12.938 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.043) 0:00:12.981 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.022) 0:00:13.004 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.350) 0:00:13.354 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.030) 0:00:13.385 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.076) 0:00:13.462 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.038) 0:00:13.500 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:15:27 +0000 (0:00:00.023) 0:00:13.524 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790527.1302633, "block_size": 4096, "blocks": 8, "ctime": 1707790527.1302633, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707790527.1302633, "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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.204) 0:00:13.729 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.025) 0:00:13.754 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.050001", "end": "2024-02-13 02:15:28.257146", "rc": 1, "start": "2024-02-13 02:15:28.207145" } 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.244) 0:00:13.998 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.023) 0:00:14.021 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003140", "end": "2024-02-13 02:15:28.479817", "rc": 0, "start": "2024-02-13 02:15:28.476677" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.236) 0:00:14.257 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.046) 0:00:14.304 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003131", "end": "2024-02-13 02:15:28.773242", "rc": 0, "start": "2024-02-13 02:15:28.770111" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.212) 0:00:14.516 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.054) 0:00:14.571 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.027) 0:00:14.598 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.034) 0:00:14.632 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.026) 0:00:14.659 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:15:28 +0000 (0:00:00.046) 0:00:14.706 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.039) 0:00:14.745 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.057) 0:00:14.803 ****** 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.040081", "end": "2024-02-13 02:15:29.311017", "rc": 1, "start": "2024-02-13 02:15:29.270936" } 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_rewrite73us5rz2/tests/playbooks/tests_states.yml:45 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.285) 0:00:15.088 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.065) 0:00:15.154 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.047) 0:00:15.202 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.056) 0:00:15.259 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.038) 0:00:15.298 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.035) 0:00:15.333 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003138", "end": "2024-02-13 02:15:29.788253", "rc": 0, "start": "2024-02-13 02:15:29.785115" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.217) 0:00:15.551 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.039) 0:00:15.590 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.026) 0:00:15.616 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 02:15:29 +0000 (0:00:00.073) 0:00:15.689 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006550", "end": "2024-02-13 02:15:30.156865", "rc": 1, "start": "2024-02-13 02:15:30.150315" } 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_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.207) 0:00:15.897 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.035) 0:00:15.932 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.198) 0:00:16.131 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.023) 0:00:16.155 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.040) 0:00:16.196 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.040) 0:00:16.236 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.071) 0:00:16.308 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.042) 0:00:16.350 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.044) 0:00:16.395 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:15:30 +0000 (0:00:00.056) 0:00:16.451 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:15:32 +0000 (0:00:01.542) 0:00:17.994 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:15:33 +0000 (0:00:01.427) 0:00:19.421 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:15:33 +0000 (0:00:00.045) 0:00:19.466 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:15:33 +0000 (0:00:00.227) 0:00:19.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:15:34 +0000 (0:00:00.080) 0:00:19.774 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:15:34 +0000 (0:00:00.095) 0:00:19.870 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:15:34 +0000 (0:00:00.023) 0:00:19.893 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:15:34 +0000 (0:00:00.028) 0:00:19.921 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:15:34 +0000 (0:00:00.030) 0:00:19.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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:15:34 +0000 (0:00:00.023) 0:00:19.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:15:34 +0000 (0:00:00.023) 0:00:20.000 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:15:34 +0000 (0:00:00.379) 0:00:20.379 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmppbnn5x2v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.366) 0:00:20.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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.302) 0:00:21.048 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.034) 0:00:21.083 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.051) 0:00:21.135 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.041) 0:00:21.176 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.127) 0:00:21.303 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.224) 0:00:21.527 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.031) 0:00:21.558 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.067) 0:00:21.625 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:15:35 +0000 (0:00:00.040) 0:00:21.666 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.199) 0:00:21.866 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.026) 0:00:21.892 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.053) 0:00:21.945 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.032) 0:00:21.978 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790535.290272, "block_size": 4096, "blocks": 8, "ctime": 1707790535.290272, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707790535.290272, "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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.196) 0:00:22.174 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.022) 0:00:22.197 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020163", "end": "2024-02-13 02:15:36.670193", "rc": 1, "start": "2024-02-13 02:15:36.650030" } 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.216) 0:00:22.413 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.054) 0:00:22.468 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003153", "end": "2024-02-13 02:15:36.928710", "rc": 0, "start": "2024-02-13 02:15:36.925557" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.211) 0:00:22.680 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:15:36 +0000 (0:00:00.027) 0:00:22.708 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003273", "end": "2024-02-13 02:15:37.166839", "rc": 0, "start": "2024-02-13 02:15:37.163566" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.204) 0:00:22.912 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.030) 0:00:22.943 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.024) 0:00:22.967 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.025) 0:00:22.992 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.024) 0:00:23.017 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.021) 0:00:23.038 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.024) 0:00:23.063 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.041) 0:00:23.104 ****** 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.038233", "end": "2024-02-13 02:15:37.600924", "rc": 1, "start": "2024-02-13 02:15:37.562691" } 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_rewrite73us5rz2/tests/playbooks/tests_states.yml:65 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.237) 0:00:23.341 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.080) 0:00:23.422 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.036) 0:00:23.458 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.085) 0:00:23.543 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.039) 0:00:23.583 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:15:37 +0000 (0:00:00.036) 0:00:23.619 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003148", "end": "2024-02-13 02:15:38.076412", "rc": 0, "start": "2024-02-13 02:15:38.073264" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:15:38 +0000 (0:00:00.201) 0:00:23.821 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:15:38 +0000 (0:00:00.023) 0:00:23.845 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:15:38 +0000 (0:00:00.026) 0:00:23.871 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:15:38 +0000 (0:00:00.041) 0:00:23.913 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:15:38 +0000 (0:00:00.039) 0:00:23.953 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:15:38 +0000 (0:00:00.041) 0:00:23.995 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:15:38 +0000 (0:00:00.062) 0:00:24.057 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:15:38 +0000 (0:00:00.027) 0:00:24.085 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:15:38 +0000 (0:00:00.050) 0:00:24.135 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:15:39 +0000 (0:00:01.511) 0:00:25.646 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:15:41 +0000 (0:00:01.311) 0:00:26.958 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.023) 0:00:26.982 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.021) 0:00:27.003 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.021) 0:00:27.025 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.043) 0:00:27.069 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.021) 0:00:27.091 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.021) 0:00:27.112 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.025) 0:00:27.138 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.022) 0:00:27.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.022) 0:00:27.183 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:15:41 +0000 (0:00:00.339) 0:00:27.522 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmp3g4w3miw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.290) 0:00:27.812 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.283) 0:00:28.095 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.047) 0:00:28.143 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.024) 0:00:28.167 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.023) 0:00:28.190 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.022) 0:00:28.212 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.193) 0:00:28.406 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.024) 0:00:28.430 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.040) 0:00:28.471 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.046) 0:00:28.517 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.040) 0:00:28.558 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.026) 0:00:28.584 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.021) 0:00:28.606 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:15:42 +0000 (0:00:00.021) 0:00:28.627 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:15:44 +0000 (0:00:01.499) 0:00:30.126 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:15:45 +0000 (0:00:01.291) 0:00:31.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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:15:45 +0000 (0:00:00.024) 0:00:31.442 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:15:45 +0000 (0:00:00.021) 0:00:31.464 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:15:45 +0000 (0:00:00.043) 0:00:31.507 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:15:45 +0000 (0:00:00.045) 0:00:31.552 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:15:45 +0000 (0:00:00.024) 0:00:31.576 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:15:45 +0000 (0:00:00.028) 0:00:31.605 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:15:45 +0000 (0:00:00.029) 0:00:31.634 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:15:45 +0000 (0:00:00.031) 0:00:31.665 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:15:45 +0000 (0:00:00.025) 0:00:31.691 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:15:46 +0000 (0:00:00.358) 0:00:32.049 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmpx8uhci07" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:15:46 +0000 (0:00:00.291) 0:00:32.341 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:15:47 +0000 (0:00:00.826) 0:00:33.167 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:15:47 +0000 (0:00:00.025) 0:00:33.193 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:15:47 +0000 (0:00:00.058) 0:00:33.251 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:15:47 +0000 (0:00:00.031) 0:00:33.282 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:15:47 +0000 (0:00:00.037) 0:00:33.320 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:15:47 +0000 (0:00:00.191) 0:00:33.512 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 02:15:47 +0000 (0:00:00.047) 0:00:33.559 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:15:47 +0000 (0:00:00.037) 0:00:33.596 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790547.3285282, "block_size": 4096, "blocks": 0, "ctime": 1707790547.3285282, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21403, "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": 1707790547.3285282, "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_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.203) 0:00:33.800 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.026) 0:00:33.826 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.037) 0:00:33.863 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.023) 0:00:33.886 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790546.8872812, "block_size": 4096, "blocks": 8, "ctime": 1707790542.353278, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707790542.353278, "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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.198) 0:00:34.085 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.023) 0:00:34.109 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019745", "end": "2024-02-13 02:15:48.582826", "rc": 1, "start": "2024-02-13 02:15:48.563081" } 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.212) 0:00:34.322 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.023) 0:00:34.345 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002942", "end": "2024-02-13 02:15:48.805976", "rc": 0, "start": "2024-02-13 02:15:48.803034" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.204) 0:00:34.550 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:15:48 +0000 (0:00:00.028) 0:00:34.578 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003388", "end": "2024-02-13 02:15:49.037018", "rc": 0, "start": "2024-02-13 02:15:49.033630" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.201) 0:00:34.780 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.027) 0:00:34.808 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.024) 0:00:34.832 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.024) 0:00:34.857 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.026) 0:00:34.883 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.022) 0:00:34.905 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.023) 0:00:34.928 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.040) 0:00:34.969 ****** 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.046982", "end": "2024-02-13 02:15:49.468993", "rc": 0, "start": "2024-02-13 02:15:49.422011" } 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_rewrite73us5rz2/tests/playbooks/tests_states.yml:83 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.276) 0:00:35.245 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.039) 0:00:35.285 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.023) 0:00:35.308 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.047) 0:00:35.356 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.037) 0:00:35.393 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.035) 0:00:35.429 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003570", "end": "2024-02-13 02:15:49.887261", "rc": 0, "start": "2024-02-13 02:15:49.883691" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.200) 0:00:35.629 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.025) 0:00:35.654 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:15:49 +0000 (0:00:00.026) 0:00:35.681 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:15:50 +0000 (0:00:00.043) 0:00:35.724 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:15:50 +0000 (0:00:00.039) 0:00:35.763 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:15:50 +0000 (0:00:00.072) 0:00:35.836 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:15:50 +0000 (0:00:00.028) 0:00:35.864 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:15:50 +0000 (0:00:00.022) 0:00:35.887 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:15:50 +0000 (0:00:00.022) 0:00:35.909 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:15:51 +0000 (0:00:01.542) 0:00:37.452 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:15:53 +0000 (0:00:01.288) 0:00:38.740 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.023) 0:00:38.764 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.024) 0:00:38.788 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.024) 0:00:38.813 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.043) 0:00:38.856 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.022) 0:00:38.879 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.021) 0:00:38.901 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.027) 0:00:38.928 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.021) 0:00:38.950 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.021) 0:00:38.971 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.344) 0:00:39.316 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmpsm31xsx7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:15:53 +0000 (0:00:00.289) 0:00:39.605 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.287) 0:00:39.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.022) 0:00:39.915 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.023) 0:00:39.939 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.024) 0:00:39.964 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.021) 0:00:39.985 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.190) 0:00:40.176 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.024) 0:00:40.200 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.036) 0:00:40.236 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.041) 0:00:40.278 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.026) 0:00:40.305 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.021) 0:00:40.326 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:15:54 +0000 (0:00:00.047) 0:00:40.374 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:15:56 +0000 (0:00:01.511) 0:00:41.886 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:15:57 +0000 (0:00:01.291) 0:00:43.177 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:15:57 +0000 (0:00:00.022) 0:00:43.200 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:15:57 +0000 (0:00:00.042) 0:00:43.242 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:15:57 +0000 (0:00:00.022) 0:00:43.264 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:15:57 +0000 (0:00:00.043) 0:00:43.308 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:15:57 +0000 (0:00:00.022) 0:00:43.330 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:15:57 +0000 (0:00:00.021) 0:00:43.352 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:15:57 +0000 (0:00:00.025) 0:00:43.378 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:15:57 +0000 (0:00:00.022) 0:00:43.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:15:57 +0000 (0:00:00.021) 0:00:43.421 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:15:58 +0000 (0:00:00.342) 0:00:43.763 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmp6cdm98gq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:15:58 +0000 (0:00:00.291) 0:00:44.055 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:15:58 +0000 (0:00:00.553) 0:00:44.609 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:15:58 +0000 (0:00:00.021) 0:00:44.631 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:15:58 +0000 (0:00:00.048) 0:00:44.679 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:15:58 +0000 (0:00:00.025) 0:00:44.704 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:15:59 +0000 (0:00:00.022) 0:00:44.726 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:15:59 +0000 (0:00:00.192) 0:00:44.919 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 02:15:59 +0000 (0:00:00.042) 0:00:44.961 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:15:59 +0000 (0:00:00.041) 0:00:45.003 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:15:59 +0000 (0:00:00.041) 0:00:45.044 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:15:59 +0000 (0:00:00.026) 0:00:45.071 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:15:59 +0000 (0:00:00.022) 0:00:45.093 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:15:59 +0000 (0:00:00.021) 0:00:45.115 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:16:00 +0000 (0:00:01.502) 0:00:46.617 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:16:02 +0000 (0:00:01.295) 0:00:47.913 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.024) 0:00:47.937 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.021) 0:00:47.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.022) 0:00:47.982 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.042) 0:00:48.024 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.045) 0:00:48.070 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.022) 0:00:48.092 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.024) 0:00:48.117 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.021) 0:00:48.139 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.022) 0:00:48.161 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:16:02 +0000 (0:00:00.340) 0:00:48.502 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmpj5qb_uru" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.291) 0:00:48.793 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.295) 0:00:49.089 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.021) 0:00:49.111 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.022) 0:00:49.133 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.022) 0:00:49.156 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.021) 0:00:49.177 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.215) 0:00:49.393 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.045) 0:00:49.438 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.037) 0:00:49.475 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790558.7777972, "block_size": 4096, "blocks": 0, "ctime": 1707790558.7777972, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21534, "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": 1707790558.7777972, "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_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.195) 0:00:49.671 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 02:16:03 +0000 (0:00:00.024) 0:00:49.695 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.038) 0:00:49.733 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.022) 0:00:49.756 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.193) 0:00:49.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.021) 0:00:49.970 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020309", "end": "2024-02-13 02:16:04.443268", "rc": 1, "start": "2024-02-13 02:16:04.422959" } 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.212) 0:00:50.183 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.023) 0:00:50.207 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.023) 0:00:50.230 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.069) 0:00:50.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.023) 0:00:50.324 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.023) 0:00:50.347 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.025) 0:00:50.372 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.022) 0:00:50.395 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.023) 0:00:50.419 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.041) 0:00:50.460 ****** 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.044893", "end": "2024-02-13 02:16:04.960042", "rc": 0, "start": "2024-02-13 02:16:04.915149" } 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_rewrite73us5rz2/tests/playbooks/tests_states.yml:103 Tuesday 13 February 2024 02:16:04 +0000 (0:00:00.244) 0:00:50.705 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.039) 0:00:50.745 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.024) 0:00:50.769 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.048) 0:00:50.817 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.036) 0:00:50.854 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.067) 0:00:50.921 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003439", "end": "2024-02-13 02:16:05.379878", "rc": 0, "start": "2024-02-13 02:16:05.376439" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.200) 0:00:51.121 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.025) 0:00:51.147 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.022) 0:00:51.169 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.048) 0:00:51.218 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.037) 0:00:51.255 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.040) 0:00:51.296 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.028) 0:00:51.324 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.022) 0:00:51.347 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:16:05 +0000 (0:00:00.021) 0:00:51.368 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:16:07 +0000 (0:00:01.511) 0:00:52.880 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:16:08 +0000 (0:00:01.294) 0:00:54.175 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:16:08 +0000 (0:00:00.022) 0:00:54.197 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:16:08 +0000 (0:00:00.021) 0:00:54.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:16:08 +0000 (0:00:00.041) 0:00:54.261 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:16:08 +0000 (0:00:00.044) 0:00:54.305 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:16:08 +0000 (0:00:00.024) 0:00:54.329 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:16:08 +0000 (0:00:00.022) 0:00:54.352 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:16:08 +0000 (0:00:00.024) 0:00:54.377 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:16:08 +0000 (0:00:00.021) 0:00:54.398 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:16:08 +0000 (0:00:00.022) 0:00:54.421 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:16:09 +0000 (0:00:00.344) 0:00:54.765 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmp_5j6549z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:16:09 +0000 (0:00:00.291) 0:00:55.057 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:16:09 +0000 (0:00:00.288) 0:00:55.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:16:09 +0000 (0:00:00.026) 0:00:55.372 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:16:09 +0000 (0:00:00.027) 0:00:55.399 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:16:09 +0000 (0:00:00.024) 0:00:55.424 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:16:09 +0000 (0:00:00.045) 0:00:55.470 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:16:09 +0000 (0:00:00.190) 0:00:55.661 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 02:16:09 +0000 (0:00:00.024) 0:00:55.685 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:16:10 +0000 (0:00:00.036) 0:00:55.722 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:16:10 +0000 (0:00:00.040) 0:00:55.762 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:16:10 +0000 (0:00:00.026) 0:00:55.789 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:16:10 +0000 (0:00:00.022) 0:00:55.811 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:16:10 +0000 (0:00:00.021) 0:00:55.832 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:16:11 +0000 (0:00:01.530) 0:00:57.362 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:16:12 +0000 (0:00:01.294) 0:00:58.656 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:16:12 +0000 (0:00:00.023) 0:00:58.680 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:16:12 +0000 (0:00:00.021) 0:00:58.702 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:16:13 +0000 (0:00:00.021) 0:00:58.724 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:16:13 +0000 (0:00:00.043) 0:00:58.768 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:16:13 +0000 (0:00:00.022) 0:00:58.790 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:16:13 +0000 (0:00:00.022) 0:00:58.812 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:16:13 +0000 (0:00:00.024) 0:00:58.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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:16:13 +0000 (0:00:00.047) 0:00:58.884 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:16:13 +0000 (0:00:00.024) 0:00:58.908 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:16:13 +0000 (0:00:00.338) 0:00:59.247 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmpespxeums" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:16:13 +0000 (0:00:00.291) 0:00:59.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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.554) 0:01:00.093 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.024) 0:01:00.118 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.025) 0:01:00.143 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.023) 0:01:00.166 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.021) 0:01:00.188 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.191) 0:01:00.379 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.072) 0:01:00.451 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.043) 0:01:00.495 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.027) 0:01:00.523 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.022) 0:01:00.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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:16:14 +0000 (0:00:00.021) 0:01:00.567 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:16:16 +0000 (0:00:01.494) 0:01:02.062 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:16:17 +0000 (0:00:01.320) 0:01:03.383 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:16:17 +0000 (0:00:00.026) 0:01:03.409 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:16:17 +0000 (0:00:00.024) 0:01:03.433 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:16:17 +0000 (0:00:00.024) 0:01:03.458 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:16:17 +0000 (0:00:00.046) 0:01:03.505 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:16:17 +0000 (0:00:00.022) 0:01:03.528 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:16:17 +0000 (0:00:00.023) 0:01:03.551 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:16:17 +0000 (0:00:00.026) 0:01:03.578 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:16:17 +0000 (0:00:00.023) 0:01:03.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:16:17 +0000 (0:00:00.024) 0:01:03.625 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:16:18 +0000 (0:00:00.377) 0:01:04.003 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmpbh8i7meo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:16:18 +0000 (0:00:00.293) 0:01:04.296 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:16:18 +0000 (0:00:00.297) 0:01:04.594 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:16:18 +0000 (0:00:00.022) 0:01:04.617 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:16:18 +0000 (0:00:00.023) 0:01:04.640 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:16:18 +0000 (0:00:00.024) 0:01:04.665 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:16:18 +0000 (0:00:00.022) 0:01:04.687 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:16:19 +0000 (0:00:00.191) 0:01:04.878 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 02:16:19 +0000 (0:00:00.042) 0:01:04.921 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:16:19 +0000 (0:00:00.041) 0:01:04.963 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:16:19 +0000 (0:00:00.042) 0:01:05.005 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:16:19 +0000 (0:00:00.067) 0:01:05.073 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:16:19 +0000 (0:00:00.023) 0:01:05.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:16:19 +0000 (0:00:00.021) 0:01:05.118 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:16:20 +0000 (0:00:01.502) 0:01:06.620 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:16:22 +0000 (0:00:01.309) 0:01:07.930 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.023) 0:01:07.954 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.022) 0:01:07.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.022) 0:01:07.998 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.043) 0:01:08.041 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.021) 0:01:08.063 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.020) 0:01:08.084 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.023) 0:01:08.107 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.021) 0:01:08.129 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.020) 0:01:08.150 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:16:22 +0000 (0:00:00.338) 0:01:08.489 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmpuhq6qzwm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.293) 0:01:08.782 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.285) 0:01:09.067 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.055) 0:01:09.123 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.024) 0:01:09.147 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.023) 0:01:09.171 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.022) 0:01:09.193 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.192) 0:01:09.385 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.040) 0:01:09.426 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.038) 0:01:09.464 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.022) 0:01:09.487 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.191) 0:01:09.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:16:23 +0000 (0:00:00.021) 0:01:09.701 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019211", "end": "2024-02-13 02:16:24.171887", "rc": 1, "start": "2024-02-13 02:16:24.152676" } 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.211) 0:01:09.912 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.023) 0:01:09.935 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.022) 0:01:09.957 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.048) 0:01:10.005 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.023) 0:01:10.029 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.022) 0:01:10.051 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.024) 0:01:10.075 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.026) 0:01:10.102 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.022) 0:01:10.124 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.040) 0:01:10.165 ****** 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.043172", "end": "2024-02-13 02:16:24.662008", "rc": 0, "start": "2024-02-13 02:16:24.618836" } 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_rewrite73us5rz2/tests/playbooks/tests_states.yml:126 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.240) 0:01:10.406 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.037) 0:01:10.443 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.023) 0:01:10.467 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.047) 0:01:10.514 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.035) 0:01:10.550 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:16:24 +0000 (0:00:00.067) 0:01:10.617 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002976", "end": "2024-02-13 02:16:25.074897", "rc": 0, "start": "2024-02-13 02:16:25.071921" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:16:25 +0000 (0:00:00.197) 0:01:10.815 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:16:25 +0000 (0:00:00.024) 0:01:10.839 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:16:25 +0000 (0:00:00.022) 0:01:10.862 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:16:25 +0000 (0:00:00.044) 0:01:10.906 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:16:25 +0000 (0:00:00.037) 0:01:10.943 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:16:25 +0000 (0:00:00.039) 0:01:10.983 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:16:25 +0000 (0:00:00.026) 0:01:11.009 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:16:25 +0000 (0:00:00.021) 0:01:11.031 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:16:25 +0000 (0:00:00.021) 0:01:11.052 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:16:26 +0000 (0:00:01.490) 0:01:12.542 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:16:28 +0000 (0:00:01.287) 0:01:13.830 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.023) 0:01:13.854 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.022) 0:01:13.876 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.021) 0:01:13.898 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.093) 0:01:13.991 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.022) 0:01:14.013 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.021) 0:01:14.035 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.025) 0:01:14.060 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.023) 0:01:14.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.021) 0:01:14.105 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:16:28 +0000 (0:00:00.339) 0:01:14.445 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmpspsgdx0o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.293) 0:01:14.738 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.288) 0:01:15.027 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.021) 0:01:15.049 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.022) 0:01:15.071 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.023) 0:01:15.095 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.021) 0:01:15.116 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.186) 0:01:15.303 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.024) 0:01:15.328 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.036) 0:01:15.364 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.040) 0:01:15.404 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.027) 0:01:15.431 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.021) 0:01:15.453 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:16:29 +0000 (0:00:00.022) 0:01:15.475 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:16:31 +0000 (0:00:01.520) 0:01:16.996 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:16:32 +0000 (0:00:01.289) 0:01:18.285 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:16:32 +0000 (0:00:00.022) 0:01:18.308 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:16:32 +0000 (0:00:00.021) 0:01:18.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:16:32 +0000 (0:00:00.020) 0:01:18.350 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:16:32 +0000 (0:00:00.042) 0:01:18.392 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:16:32 +0000 (0:00:00.022) 0:01:18.414 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:16:32 +0000 (0:00:00.020) 0:01:18.435 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:16:32 +0000 (0:00:00.026) 0:01:18.461 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:16:32 +0000 (0:00:00.056) 0:01:18.518 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:16:32 +0000 (0:00:00.024) 0:01:18.542 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:16:33 +0000 (0:00:00.344) 0:01:18.886 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmpw6m0nizr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:16:33 +0000 (0:00:00.288) 0:01:19.175 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.556) 0:01:19.731 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.022) 0:01:19.754 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.023) 0:01:19.777 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.022) 0:01:19.800 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.021) 0:01:19.822 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.186) 0:01:20.008 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.064) 0:01:20.073 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.041) 0:01:20.114 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.028) 0:01:20.142 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.021) 0:01:20.164 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:16:34 +0000 (0:00:00.021) 0:01:20.186 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:16:35 +0000 (0:00:01.496) 0:01:21.682 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:16:37 +0000 (0:00:01.291) 0:01:22.974 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.023) 0:01:22.997 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.022) 0:01:23.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.022) 0:01:23.042 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.043) 0:01:23.085 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.021) 0:01:23.106 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.020) 0:01:23.127 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.026) 0:01:23.154 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.022) 0:01:23.176 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.020) 0:01:23.197 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:16:37 +0000 (0:00:00.338) 0:01:23.535 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmplu69gl3c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.288) 0:01:23.824 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.303) 0:01:24.128 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.021) 0:01:24.150 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.022) 0:01:24.173 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.023) 0:01:24.196 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.021) 0:01:24.218 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.188) 0:01:24.406 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.039) 0:01:24.446 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.035) 0:01:24.481 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.039) 0:01:24.521 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.027) 0:01:24.548 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.048) 0:01:24.597 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:16:38 +0000 (0:00:00.021) 0:01:24.619 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:16:40 +0000 (0:00:01.525) 0:01:26.144 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:16:41 +0000 (0:00:01.294) 0:01:27.439 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:16:41 +0000 (0:00:00.045) 0:01:27.485 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:16:41 +0000 (0:00:00.021) 0:01:27.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:16:41 +0000 (0:00:00.022) 0:01:27.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:16:41 +0000 (0:00:00.043) 0:01:27.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:16:41 +0000 (0:00:00.021) 0:01:27.594 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:16:41 +0000 (0:00:00.022) 0:01:27.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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:16:41 +0000 (0:00:00.025) 0:01:27.641 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:16:41 +0000 (0:00:00.021) 0:01:27.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:16:41 +0000 (0:00:00.020) 0:01:27.683 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:16:42 +0000 (0:00:00.340) 0:01:28.024 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-48086xdxvgnh4/tmpjh2ciijw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:16:42 +0000 (0:00:00.290) 0:01:28.315 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:16:42 +0000 (0:00:00.281) 0:01:28.596 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:16:42 +0000 (0:00:00.022) 0:01:28.618 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:16:42 +0000 (0:00:00.053) 0:01:28.672 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:16:42 +0000 (0:00:00.024) 0:01:28.696 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.022) 0:01:28.718 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.189) 0:01:28.908 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.044) 0:01:28.952 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.038) 0:01:28.990 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.022) 0:01:29.012 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.189) 0:01:29.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.022) 0:01:29.224 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019766", "end": "2024-02-13 02:16:43.695530", "rc": 1, "start": "2024-02-13 02:16:43.675764" } 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.211) 0:01:29.436 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.023) 0:01:29.459 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.023) 0:01:29.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.022) 0:01:29.505 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.053) 0:01:29.559 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.023) 0:01:29.582 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 13 February 2024 02:16:43 +0000 (0:00:00.023) 0:01:29.606 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.935883", "end": "2024-02-13 02:16:44.995497", "rc": 0, "start": "2024-02-13 02:16:44.059614" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 13 February 2024 02:16:45 +0000 (0:00:01.131) 0:01:30.737 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 13 February 2024 02:16:45 +0000 (0:00:00.023) 0:01:30.761 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:16:45 +0000 (0:00:00.021) 0:01:30.783 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:16:45 +0000 (0:00:00.025) 0:01:30.809 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:16:45 +0000 (0:00:00.022) 0:01:30.831 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:16:45 +0000 (0:00:00.044) 0:01:30.876 ****** 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.045876", "end": "2024-02-13 02:16:45.374019", "rc": 0, "start": "2024-02-13 02:16:45.328143" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 02:16:45 +0000 (0:00:00.241) 0:01:31.117 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\ntype -p resolvectl && resolvectl\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.016231", "end": "2024-02-13 02:16:45.589485", "rc": 1, "start": "2024-02-13 02:16:45.573254" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:50:50:ed:03:a9 brd ff:ff:ff:ff:ff:ff inet 10.31.15.37/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2779sec preferred_lft 2779sec inet6 fe80::850:50ff:feed:3a9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.37 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.37 metric 100 RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 /usr/bin/resolvectl STDERR: Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found. MSG: non-zero return code to retry, use: --limit @/tmp/tests_states_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=335 changed=15 unreachable=0 failed=1 skipped=225 rescued=0 ignored=10 Tuesday 13 February 2024 02:16:45 +0000 (0:00:00.199) 0:01:31.316 ****** =============================================================================== linux-system-roles.network : Install packages --------------------------- 4.44s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.49s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 2.20s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.60s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.54s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite73us5rz2/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. ---^---^---^---^---^---