# 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-weekly-ciy2wmq9r9/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tests_states_initscripts.yml:5 Saturday 17 February 2024 20:34:02 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tests_states_initscripts.yml:8 Saturday 17 February 2024 20:34:03 +0000 (0:00:00.779) 0:00:00.791 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:3 Saturday 17 February 2024 20:34:03 +0000 (0:00:00.021) 0:00:00.813 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:19 Saturday 17 February 2024 20:34:04 +0000 (0:00:00.394) 0:00:01.207 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:24 Saturday 17 February 2024 20:34:04 +0000 (0:00:00.259) 0:00:01.466 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:28 Saturday 17 February 2024 20:34:04 +0000 (0:00:00.020) 0:00:01.487 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:53 Saturday 17 February 2024 20:34:04 +0000 (0:00:00.018) 0:00:01.505 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:8 Saturday 17 February 2024 20:34:04 +0000 (0:00:00.030) 0:00:01.536 ***** 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-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:24 Saturday 17 February 2024 20:34:04 +0000 (0:00:00.226) 0:00:01.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:30 Saturday 17 February 2024 20:34:04 +0000 (0:00:00.010) 0:00:01.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:35 Saturday 17 February 2024 20:34:04 +0000 (0:00:00.010) 0:00:01.784 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.235732", "end": "2024-02-17 20:34:05.121203", "rc": 0, "start": "2024-02-17 20:34:04.885471" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:40 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.414) 0:00:02.199 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tests_states_initscripts.yml:10 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.011) 0:00:02.210 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:3 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.011) 0:00:02.221 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:11 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.461) 0:00:02.683 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:22 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.010) 0:00:02.694 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.016) 0:00:02.711 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:34:05 +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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.035) 0:00:02.758 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.014) 0:00:02.773 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.013) 0:00:02.787 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002714", "end": "2024-02-17 20:34:05.890065", "rc": 0, "start": "2024-02-17 20:34:05.887351" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.178) 0:00:02.965 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.012) 0:00:02.977 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.011) 0:00:02.989 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 17 February 2024 20:34:05 +0000 (0:00:00.021) 0:00:03.010 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007266", "end": "2024-02-17 20:34:06.118758", "rc": 1, "start": "2024-02-17 20:34:06.111492" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.183) 0:00:03.193 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.015) 0:00:03.209 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.177) 0:00:03.386 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.013) 0:00:03.399 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.020) 0:00:03.420 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.032) 0:00:03.452 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.068) 0:00:03.520 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.014) 0:00:03.535 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.011) 0:00:03.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:06 +0000 (0:00:00.011) 0:00:03.557 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:08 +0000 (0:00:01.522) 0:00:05.080 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:09 +0000 (0:00:01.437) 0:00:06.517 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:09 +0000 (0:00:00.024) 0:00:06.542 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:09 +0000 (0:00:00.021) 0:00:06.564 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:09 +0000 (0:00:00.021) 0:00:06.586 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:09 +0000 (0:00:00.044) 0:00:06.630 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:09 +0000 (0:00:00.021) 0:00:06.652 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:09 +0000 (0:00:00.022) 0:00:06.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:09 +0000 (0:00:00.026) 0:00:06.701 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:09 +0000 (0:00:00.021) 0:00:06.722 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:09 +0000 (0:00:00.022) 0:00:06.745 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:10 +0000 (0:00:00.464) 0:00:07.209 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpx9j9uro7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:10 +0000 (0:00:00.289) 0:00:07.498 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:10 +0000 (0:00:00.410) 0:00:07.909 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:10 +0000 (0:00:00.022) 0:00:07.932 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:10 +0000 (0:00:00.024) 0:00:07.956 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:10 +0000 (0:00:00.025) 0:00:07.981 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:34:10 +0000 (0:00:00.022) 0:00:08.004 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.234) 0:00:08.238 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.025) 0:00:08.264 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.040) 0:00:08.304 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.038) 0:00:08.343 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.022) 0:00:08.365 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202050.8226142, "block_size": 4096, "blocks": 8, "ctime": 1708202050.8226142, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708202050.8226142, "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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.189) 0:00:08.555 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.046) 0:00:08.602 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019974", "end": "2024-02-17 20:34:11.724637", "rc": 1, "start": "2024-02-17 20:34:11.704663" } 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.210) 0:00:08.812 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.025) 0:00:08.838 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002784", "end": "2024-02-17 20:34:11.946260", "rc": 0, "start": "2024-02-17 20:34:11.943476" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:34:11 +0000 (0:00:00.197) 0:00:09.036 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.027) 0:00:09.063 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002591", "end": "2024-02-17 20:34:12.171402", "rc": 0, "start": "2024-02-17 20:34:12.168811" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.197) 0:00:09.260 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.027) 0:00:09.288 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.025) 0:00:09.314 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.025) 0:00:09.340 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.024) 0:00:09.364 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.026) 0:00:09.391 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.023) 0:00:09.414 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.041) 0:00:09.455 ***** 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.037857", "end": "2024-02-17 20:34:12.595384", "rc": 1, "start": "2024-02-17 20:34:12.557527" } 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-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:45 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.251) 0:00:09.707 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.039) 0:00:09.746 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.024) 0:00:09.771 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.047) 0:00:09.819 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.036) 0:00:09.855 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:34:12 +0000 (0:00:00.036) 0:00:09.891 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002803", "end": "2024-02-17 20:34:12.997010", "rc": 0, "start": "2024-02-17 20:34:12.994207" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.192) 0:00:10.084 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.023) 0:00:10.107 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.023) 0:00:10.130 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.042) 0:00:10.173 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006186", "end": "2024-02-17 20:34:13.281884", "rc": 1, "start": "2024-02-17 20:34:13.275698" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.221) 0:00:10.394 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.036) 0:00:10.431 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.190) 0:00:10.622 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.025) 0:00:10.647 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.040) 0:00:10.688 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.042) 0:00:10.730 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.040) 0:00:10.770 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.027) 0:00:10.798 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.021) 0:00:10.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:13 +0000 (0:00:00.022) 0:00:10.843 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:15 +0000 (0:00:01.472) 0:00:12.315 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:16 +0000 (0:00:01.279) 0:00:13.595 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:16 +0000 (0:00:00.024) 0:00:13.619 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:16 +0000 (0:00:00.023) 0:00:13.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:16 +0000 (0:00:00.023) 0:00:13.665 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:16 +0000 (0:00:00.089) 0:00:13.754 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:16 +0000 (0:00:00.023) 0:00:13.777 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:16 +0000 (0:00:00.022) 0:00:13.800 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:16 +0000 (0:00:00.028) 0:00:13.828 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:16 +0000 (0:00:00.022) 0:00:13.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:16 +0000 (0:00:00.021) 0:00:13.872 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:17 +0000 (0:00:00.334) 0:00:14.206 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpeo62o6hp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:17 +0000 (0:00:00.288) 0:00:14.494 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:17 +0000 (0:00:00.280) 0:00:14.775 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:17 +0000 (0:00:00.023) 0:00:14.798 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:17 +0000 (0:00:00.025) 0:00:14.823 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:17 +0000 (0:00:00.024) 0:00:14.848 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:34:17 +0000 (0:00:00.021) 0:00:14.870 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 17 February 2024 20:34:17 +0000 (0:00:00.183) 0:00:15.054 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.025) 0:00:15.079 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.045) 0:00:15.124 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.037) 0:00:15.162 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.189) 0:00:15.351 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.024) 0:00:15.375 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.039) 0:00:15.414 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.024) 0:00:15.439 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202057.68738, "block_size": 4096, "blocks": 8, "ctime": 1708202057.68738, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708202057.68738, "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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.189) 0:00:15.628 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.023) 0:00:15.651 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019494", "end": "2024-02-17 20:34:18.772343", "rc": 1, "start": "2024-02-17 20:34:18.752849" } 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.207) 0:00:15.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:34:18 +0000 (0:00:00.048) 0:00:15.907 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002587", "end": "2024-02-17 20:34:19.014827", "rc": 0, "start": "2024-02-17 20:34:19.012240" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.196) 0:00:16.104 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.028) 0:00:16.133 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002560", "end": "2024-02-17 20:34:19.239246", "rc": 0, "start": "2024-02-17 20:34:19.236686" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.195) 0:00:16.328 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.028) 0:00:16.357 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.025) 0:00:16.383 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.025) 0:00:16.408 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.023) 0:00:16.431 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.020) 0:00:16.452 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.023) 0:00:16.475 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.041) 0:00:16.517 ***** 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.037912", "end": "2024-02-17 20:34:19.659049", "rc": 1, "start": "2024-02-17 20:34:19.621137" } 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-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:65 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.229) 0:00:16.746 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.065) 0:00:16.812 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.025) 0:00:16.837 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.047) 0:00:16.884 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.036) 0:00:16.920 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:34:19 +0000 (0:00:00.035) 0:00:16.956 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002732", "end": "2024-02-17 20:34:20.060936", "rc": 0, "start": "2024-02-17 20:34:20.058204" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:34:20 +0000 (0:00:00.191) 0:00:17.147 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:34:20 +0000 (0:00:00.024) 0:00:17.172 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:34:20 +0000 (0:00:00.023) 0:00:17.196 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:34:20 +0000 (0:00:00.038) 0:00:17.235 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:20 +0000 (0:00:00.037) 0:00:17.272 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:20 +0000 (0:00:00.067) 0:00:17.339 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:20 +0000 (0:00:00.029) 0:00:17.369 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:20 +0000 (0:00:00.024) 0:00:17.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:20 +0000 (0:00:00.022) 0:00:17.417 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:21 +0000 (0:00:01.471) 0:00:18.889 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:23 +0000 (0:00:01.298) 0:00:20.187 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.024) 0:00:20.211 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.022) 0:00:20.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.022) 0:00:20.256 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.045) 0:00:20.301 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.022) 0:00:20.323 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.022) 0:00:20.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.025) 0:00:20.372 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.022) 0:00:20.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.022) 0:00:20.417 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.336) 0:00:20.754 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpm1j6v8kw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:23 +0000 (0:00:00.292) 0:00:21.046 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.309) 0:00:21.355 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.022) 0:00:21.378 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.023) 0:00:21.402 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.023) 0:00:21.425 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.022) 0:00:21.448 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.184) 0:00:21.633 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.025) 0:00:21.658 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.039) 0:00:21.697 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.042) 0:00:21.739 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.041) 0:00:21.781 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.028) 0:00:21.809 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.021) 0:00:21.831 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:24 +0000 (0:00:00.047) 0:00:21.878 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:26 +0000 (0:00:01.472) 0:00:23.351 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:27 +0000 (0:00:01.278) 0:00:24.629 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:27 +0000 (0:00:00.045) 0:00:24.674 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:27 +0000 (0:00:00.022) 0:00:24.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:27 +0000 (0:00:00.021) 0:00:24.719 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:27 +0000 (0:00:00.046) 0:00:24.765 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:27 +0000 (0:00:00.022) 0:00:24.788 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:27 +0000 (0:00:00.021) 0:00:24.810 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:27 +0000 (0:00:00.026) 0:00:24.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:27 +0000 (0:00:00.022) 0:00:24.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:27 +0000 (0:00:00.021) 0:00:24.881 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:28 +0000 (0:00:00.334) 0:00:25.215 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmp__f7wkx5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:28 +0000 (0:00:00.287) 0:00:25.503 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:28 +0000 (0:00:00.545) 0:00:26.049 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.049) 0:00:26.098 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.025) 0:00:26.123 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.024) 0:00:26.147 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.022) 0:00:26.170 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.185) 0:00:26.356 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.046) 0:00:26.403 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.037) 0:00:26.440 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202068.873016, "block_size": 4096, "blocks": 0, "ctime": 1708202068.873016, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33394, "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": 1708202068.873016, "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-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.190) 0:00:26.631 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.024) 0:00:26.655 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.038) 0:00:26.694 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.021) 0:00:26.716 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202068.696005, "block_size": 4096, "blocks": 8, "ctime": 1708202064.2681558, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708202064.2681558, "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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.190) 0:00:26.907 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:34:29 +0000 (0:00:00.052) 0:00:26.960 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020142", "end": "2024-02-17 20:34:30.082575", "rc": 1, "start": "2024-02-17 20:34:30.062433" } 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.210) 0:00:27.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.023) 0:00:27.194 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002546", "end": "2024-02-17 20:34:30.301414", "rc": 0, "start": "2024-02-17 20:34:30.298868" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.196) 0:00:27.391 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.029) 0:00:27.420 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002554", "end": "2024-02-17 20:34:30.526835", "rc": 0, "start": "2024-02-17 20:34:30.524281" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.195) 0:00:27.616 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.030) 0:00:27.647 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.025) 0:00:27.673 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.025) 0:00:27.698 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.025) 0:00:27.724 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.021) 0:00:27.745 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.025) 0:00:27.770 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.043) 0:00:27.814 ***** 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.049652", "end": "2024-02-17 20:34:30.966645", "rc": 0, "start": "2024-02-17 20:34:30.916993" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:83 Saturday 17 February 2024 20:34:30 +0000 (0:00:00.240) 0:00:28.054 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.038) 0:00:28.092 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.023) 0:00:28.116 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.047) 0:00:28.164 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.036) 0:00:28.200 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.036) 0:00:28.237 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002862", "end": "2024-02-17 20:34:31.342659", "rc": 0, "start": "2024-02-17 20:34:31.339797" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.194) 0:00:28.431 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.023) 0:00:28.455 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.022) 0:00:28.477 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.043) 0:00:28.521 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.063) 0:00:28.584 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.041) 0:00:28.626 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.030) 0:00:28.657 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.023) 0:00:28.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:31 +0000 (0:00:00.022) 0:00:28.702 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:33 +0000 (0:00:01.475) 0:00:30.178 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:34 +0000 (0:00:01.302) 0:00:31.480 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:34 +0000 (0:00:00.025) 0:00:31.506 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:34 +0000 (0:00:00.023) 0:00:31.529 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:34 +0000 (0:00:00.022) 0:00:31.552 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:34 +0000 (0:00:00.045) 0:00:31.597 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:34 +0000 (0:00:00.023) 0:00:31.621 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:34 +0000 (0:00:00.022) 0:00:31.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:34 +0000 (0:00:00.025) 0:00:31.670 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:34 +0000 (0:00:00.021) 0:00:31.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:34 +0000 (0:00:00.022) 0:00:31.714 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.361) 0:00:32.075 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmp80sj5atv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.289) 0:00:32.365 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.282) 0:00:32.647 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.023) 0:00:32.670 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.024) 0:00:32.694 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.023) 0:00:32.718 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.022) 0:00:32.741 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.184) 0:00:32.925 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.024) 0:00:32.950 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.036) 0:00:32.987 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.040) 0:00:33.028 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:35 +0000 (0:00:00.028) 0:00:33.056 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:36 +0000 (0:00:00.052) 0:00:33.109 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:36 +0000 (0:00:00.022) 0:00:33.131 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:37 +0000 (0:00:01.474) 0:00:34.606 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:38 +0000 (0:00:01.278) 0:00:35.884 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:38 +0000 (0:00:00.023) 0:00:35.908 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:38 +0000 (0:00:00.050) 0:00:35.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:38 +0000 (0:00:00.023) 0:00:35.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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:38 +0000 (0:00:00.044) 0:00:36.026 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:38 +0000 (0:00:00.022) 0:00:36.049 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:39 +0000 (0:00:00.022) 0:00:36.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:39 +0000 (0:00:00.025) 0:00:36.097 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:39 +0000 (0:00:00.022) 0:00:36.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:39 +0000 (0:00:00.022) 0:00:36.142 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:39 +0000 (0:00:00.333) 0:00:36.476 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpakm8154m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:39 +0000 (0:00:00.286) 0:00:36.763 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.547) 0:00:37.310 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.022) 0:00:37.332 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.053) 0:00:37.386 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.025) 0:00:37.411 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.022) 0:00:37.434 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.184) 0:00:37.618 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.042) 0:00:37.660 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.042) 0:00:37.703 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.042) 0:00:37.746 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.027) 0:00:37.774 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.022) 0:00:37.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:40 +0000 (0:00:00.022) 0:00:37.819 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:42 +0000 (0:00:01.471) 0:00:39.291 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:43 +0000 (0:00:01.282) 0:00:40.573 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:43 +0000 (0:00:00.024) 0:00:40.598 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:43 +0000 (0:00:00.022) 0:00:40.620 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:43 +0000 (0:00:00.022) 0:00:40.643 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:43 +0000 (0:00:00.068) 0:00:40.711 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:43 +0000 (0:00:00.022) 0:00:40.734 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:43 +0000 (0:00:00.024) 0:00:40.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:43 +0000 (0:00:00.026) 0:00:40.784 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:43 +0000 (0:00:00.022) 0:00:40.806 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:43 +0000 (0:00:00.023) 0:00:40.829 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:44 +0000 (0:00:00.333) 0:00:41.163 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmp23dkke4i" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:44 +0000 (0:00:00.289) 0:00:41.453 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:44 +0000 (0:00:00.290) 0:00:41.743 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:44 +0000 (0:00:00.023) 0:00:41.767 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:44 +0000 (0:00:00.023) 0:00:41.791 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:44 +0000 (0:00:00.024) 0:00:41.815 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:34:44 +0000 (0:00:00.022) 0:00:41.838 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:34:44 +0000 (0:00:00.213) 0:00:42.051 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.045) 0:00:42.097 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.037) 0:00:42.134 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202080.1339505, "block_size": 4096, "blocks": 0, "ctime": 1708202080.1339505, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33525, "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": 1708202080.1339505, "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-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.190) 0:00:42.325 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.026) 0:00:42.352 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.040) 0:00:42.392 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.023) 0:00:42.416 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.188) 0:00:42.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.022) 0:00:42.626 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019962", "end": "2024-02-17 20:34:45.749858", "rc": 1, "start": "2024-02-17 20:34:45.729896" } 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.210) 0:00:42.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.023) 0:00:42.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.053) 0:00:42.914 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.024) 0:00:42.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.026) 0:00:42.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.023) 0:00:42.989 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.025) 0:00:43.015 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:34:45 +0000 (0:00:00.021) 0:00:43.036 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.024) 0:00:43.060 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.041) 0:00:43.102 ***** 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.049141", "end": "2024-02-17 20:34:46.253649", "rc": 0, "start": "2024-02-17 20:34:46.204508" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:103 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.239) 0:00:43.341 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.038) 0:00:43.379 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.023) 0:00:43.403 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.047) 0:00:43.451 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.036) 0:00:43.488 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.065) 0:00:43.553 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002756", "end": "2024-02-17 20:34:46.658589", "rc": 0, "start": "2024-02-17 20:34:46.655833" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.193) 0:00:43.747 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.026) 0:00:43.773 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.025) 0:00:43.798 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.049) 0:00:43.848 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.038) 0:00:43.886 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.044) 0:00:43.931 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.030) 0:00:43.961 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.024) 0:00:43.985 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:46 +0000 (0:00:00.021) 0:00:44.007 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:48 +0000 (0:00:01.471) 0:00:45.479 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:49 +0000 (0:00:01.279) 0:00:46.759 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:49 +0000 (0:00:00.023) 0:00:46.782 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:49 +0000 (0:00:00.022) 0:00:46.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:49 +0000 (0:00:00.047) 0:00:46.852 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:49 +0000 (0:00:00.045) 0:00:46.898 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:49 +0000 (0:00:00.023) 0:00:46.921 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:49 +0000 (0:00:00.022) 0:00:46.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:49 +0000 (0:00:00.025) 0:00:46.969 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:49 +0000 (0:00:00.022) 0:00:46.992 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:49 +0000 (0:00:00.023) 0:00:47.016 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:50 +0000 (0:00:00.332) 0:00:47.348 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpftv7v82t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:50 +0000 (0:00:00.290) 0:00:47.638 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:50 +0000 (0:00:00.281) 0:00:47.920 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:50 +0000 (0:00:00.023) 0:00:47.943 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:50 +0000 (0:00:00.023) 0:00:47.967 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:50 +0000 (0:00:00.023) 0:00:47.990 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:34:50 +0000 (0:00:00.051) 0:00:48.042 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:34:51 +0000 (0:00:00.186) 0:00:48.228 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 17 February 2024 20:34:51 +0000 (0:00:00.024) 0:00:48.253 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:51 +0000 (0:00:00.038) 0:00:48.292 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:51 +0000 (0:00:00.041) 0:00:48.333 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:51 +0000 (0:00:00.028) 0:00:48.362 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:51 +0000 (0:00:00.023) 0:00:48.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:51 +0000 (0:00:00.022) 0:00:48.408 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:52 +0000 (0:00:01.500) 0:00:49.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:54 +0000 (0:00:01.285) 0:00:51.193 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.024) 0:00:51.217 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.024) 0:00:51.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.023) 0:00:51.265 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.044) 0:00:51.309 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.023) 0:00:51.332 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.022) 0:00:51.355 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.025) 0:00:51.381 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.049) 0:00:51.430 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.022) 0:00:51.453 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:54 +0000 (0:00:00.334) 0:00:51.788 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpprmbh8lp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.287) 0:00:52.076 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.547) 0:00:52.624 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.023) 0:00:52.647 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.025) 0:00:52.673 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.025) 0:00:52.698 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.022) 0:00:52.720 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.185) 0:00:52.905 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.065) 0:00:52.970 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.042) 0:00:53.013 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:34:55 +0000 (0:00:00.028) 0:00:53.042 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:34:56 +0000 (0:00:00.022) 0:00:53.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:34:56 +0000 (0:00:00.022) 0:00:53.087 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:34:57 +0000 (0:00:01.468) 0:00:54.555 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:34:58 +0000 (0:00:01.276) 0:00:55.832 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:34:58 +0000 (0:00:00.024) 0:00:55.857 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:34:58 +0000 (0:00:00.022) 0:00:55.880 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:34:58 +0000 (0:00:00.022) 0:00:55.902 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:34:58 +0000 (0:00:00.044) 0:00:55.947 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:34:58 +0000 (0:00:00.022) 0:00:55.970 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:34:58 +0000 (0:00:00.022) 0:00:55.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:34:58 +0000 (0:00:00.025) 0:00:56.018 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:34:58 +0000 (0:00:00.022) 0:00:56.041 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:34:59 +0000 (0:00:00.022) 0:00:56.063 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:34:59 +0000 (0:00:00.332) 0:00:56.396 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpznt_bl45" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:34:59 +0000 (0:00:00.287) 0:00:56.683 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:34:59 +0000 (0:00:00.288) 0:00:56.971 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:34:59 +0000 (0:00:00.022) 0:00:56.994 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:34:59 +0000 (0:00:00.024) 0:00:57.018 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:34:59 +0000 (0:00:00.025) 0:00:57.044 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:00 +0000 (0:00:00.022) 0:00:57.066 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:35:00 +0000 (0:00:00.183) 0:00:57.250 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 February 2024 20:35:00 +0000 (0:00:00.043) 0:00:57.293 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:00 +0000 (0:00:00.041) 0:00:57.335 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:00 +0000 (0:00:00.041) 0:00:57.376 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:00 +0000 (0:00:00.028) 0:00:57.405 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:00 +0000 (0:00:00.053) 0:00:57.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:00 +0000 (0:00:00.024) 0:00:57.483 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:01 +0000 (0:00:01.486) 0:00:58.969 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:03 +0000 (0:00:01.307) 0:01:00.277 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.024) 0:01:00.301 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.022) 0:01:00.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.022) 0:01:00.346 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.045) 0:01:00.391 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.022) 0:01:00.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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.022) 0:01:00.436 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.026) 0:01:00.462 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.023) 0:01:00.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.021) 0:01:00.507 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:03 +0000 (0:00:00.332) 0:01:00.840 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpafpvugze" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.288) 0:01:01.128 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.316) 0:01:01.445 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.054) 0:01:01.499 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.025) 0:01:01.524 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.026) 0:01:01.550 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.023) 0:01:01.573 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.185) 0:01:01.759 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.042) 0:01:01.802 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.038) 0:01:01.840 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.023) 0:01:01.864 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:35:04 +0000 (0:00:00.188) 0:01:02.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.022) 0:01:02.075 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019757", "end": "2024-02-17 20:35:05.197455", "rc": 1, "start": "2024-02-17 20:35:05.177698" } 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.209) 0:01:02.284 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.023) 0:01:02.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.053) 0:01:02.361 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.023) 0:01:02.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.026) 0:01:02.411 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.024) 0:01:02.435 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.025) 0:01:02.461 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.028) 0:01:02.490 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.023) 0:01:02.514 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.041) 0:01:02.555 ***** 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.046812", "end": "2024-02-17 20:35:05.704654", "rc": 0, "start": "2024-02-17 20:35:05.657842" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:126 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.237) 0:01:02.793 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.038) 0:01:02.831 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.023) 0:01:02.855 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.048) 0:01:02.903 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.036) 0:01:02.940 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:35:05 +0000 (0:00:00.065) 0:01:03.005 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002684", "end": "2024-02-17 20:35:06.110329", "rc": 0, "start": "2024-02-17 20:35:06.107645" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:35:06 +0000 (0:00:00.192) 0:01:03.198 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:35:06 +0000 (0:00:00.025) 0:01:03.223 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:35:06 +0000 (0:00:00.023) 0:01:03.247 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:35:06 +0000 (0:00:00.047) 0:01:03.294 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:06 +0000 (0:00:00.037) 0:01:03.332 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:06 +0000 (0:00:00.041) 0:01:03.373 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:06 +0000 (0:00:00.028) 0:01:03.402 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:06 +0000 (0:00:00.022) 0:01:03.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:06 +0000 (0:00:00.021) 0:01:03.447 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:07 +0000 (0:00:01.470) 0:01:04.918 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:09 +0000 (0:00:01.280) 0:01:06.198 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.025) 0:01:06.224 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.025) 0:01:06.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.057) 0:01:06.308 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.049) 0:01:06.357 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.025) 0:01:06.383 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.025) 0:01:06.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.027) 0:01:06.436 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.024) 0:01:06.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.022) 0:01:06.483 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:09 +0000 (0:00:00.337) 0:01:06.820 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpwlnxg5zl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.291) 0:01:07.111 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.281) 0:01:07.393 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.023) 0:01:07.416 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.024) 0:01:07.441 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.025) 0:01:07.466 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.052) 0:01:07.518 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.186) 0:01:07.704 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.025) 0:01:07.729 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.037) 0:01:07.767 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.041) 0:01:07.809 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.029) 0:01:07.838 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.024) 0:01:07.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:10 +0000 (0:00:00.022) 0:01:07.885 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:12 +0000 (0:00:01.494) 0:01:09.379 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:13 +0000 (0:00:01.284) 0:01:10.664 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:13 +0000 (0:00:00.024) 0:01:10.689 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:13 +0000 (0:00:00.022) 0:01:10.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:13 +0000 (0:00:00.022) 0:01:10.734 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:13 +0000 (0:00:00.043) 0:01:10.778 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:13 +0000 (0:00:00.023) 0:01:10.801 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:13 +0000 (0:00:00.023) 0:01:10.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:13 +0000 (0:00:00.025) 0:01:10.849 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:13 +0000 (0:00:00.049) 0:01:10.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:13 +0000 (0:00:00.022) 0:01:10.922 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:14 +0000 (0:00:00.332) 0:01:11.254 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpszznqegt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:14 +0000 (0:00:00.286) 0:01:11.541 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.542) 0:01:12.083 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.022) 0:01:12.105 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.025) 0:01:12.131 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.025) 0:01:12.156 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.022) 0:01:12.178 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.185) 0:01:12.363 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.067) 0:01:12.431 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.042) 0:01:12.474 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.028) 0:01:12.503 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.023) 0:01:12.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:15 +0000 (0:00:00.022) 0:01:12.548 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:16 +0000 (0:00:01.469) 0:01:14.017 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:18 +0000 (0:00:01.305) 0:01:15.323 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.024) 0:01:15.347 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.022) 0:01:15.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.022) 0:01:15.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.044) 0:01:15.437 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.023) 0:01:15.460 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.022) 0:01:15.483 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.025) 0:01:15.508 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.022) 0:01:15.531 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.022) 0:01:15.553 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:18 +0000 (0:00:00.331) 0:01:15.885 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmpfynfnm6j" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.289) 0:01:16.175 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.295) 0:01:16.471 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.023) 0:01:16.494 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.024) 0:01:16.519 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.024) 0:01:16.543 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.023) 0:01:16.567 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.185) 0:01:16.752 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.042) 0:01:16.795 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.037) 0:01:16.832 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.041) 0:01:16.874 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.028) 0:01:16.902 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.051) 0:01:16.954 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:19 +0000 (0:00:00.023) 0:01:16.977 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:21 +0000 (0:00:01.472) 0:01:18.450 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:22 +0000 (0:00:01.302) 0:01:19.752 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:22 +0000 (0:00:00.025) 0:01:19.778 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:22 +0000 (0:00:00.024) 0:01:19.802 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:22 +0000 (0:00:00.022) 0:01:19.825 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:22 +0000 (0:00:00.045) 0:01: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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:22 +0000 (0:00:00.023) 0:01:19.894 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:22 +0000 (0:00:00.022) 0:01:19.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:22 +0000 (0:00:00.026) 0:01:19.943 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:22 +0000 (0:00:00.022) 0:01:19.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:22 +0000 (0:00:00.021) 0:01:19.987 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:23 +0000 (0:00:00.333) 0:01:20.321 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18645hxozc039/tmp33uzmvqd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:23 +0000 (0:00:00.290) 0:01:20.611 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:23 +0000 (0:00:00.316) 0:01:20.928 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:23 +0000 (0:00:00.055) 0:01:20.984 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:23 +0000 (0:00:00.027) 0:01:21.011 ***** 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-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:23 +0000 (0:00:00.024) 0:01:21.036 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.022) 0:01:21.059 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.187) 0:01:21.246 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.047) 0:01:21.294 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.038) 0:01:21.332 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.024) 0:01:21.356 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.189) 0:01:21.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.022) 0:01:21.568 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020352", "end": "2024-02-17 20:35:24.693548", "rc": 1, "start": "2024-02-17 20:35:24.673196" } 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.212) 0:01:21.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.023) 0:01:21.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.054) 0:01:21.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.025) 0:01:21.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.026) 0:01:21.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.025) 0:01:21.936 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 17 February 2024 20:35:24 +0000 (0:00:00.024) 0:01:21.961 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.928241", "end": "2024-02-17 20:35:25.990639", "rc": 0, "start": "2024-02-17 20:35:25.062398" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 17 February 2024 20:35:26 +0000 (0:00:01.118) 0:01:23.079 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 17 February 2024 20:35:26 +0000 (0:00:00.024) 0:01:23.104 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:35:26 +0000 (0:00:00.023) 0:01:23.127 ***** 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-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:35:26 +0000 (0:00:00.029) 0:01:23.157 ***** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:35:26 +0000 (0:00:00.023) 0:01:23.181 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:35:26 +0000 (0:00:00.046) 0:01:23.228 ***** 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.046544", "end": "2024-02-17 20:35:26.378653", "rc": 0, "start": "2024-02-17 20:35:26.332109" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 17 February 2024 20:35:26 +0000 (0:00:00.237) 0:01:23.466 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008870", "end": "2024-02-17 20:35:26.577423", "rc": 0, "start": "2024-02-17 20:35:26.568553" } 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 0e:dc:76:4d:c8:e9 brd ff:ff:ff:ff:ff:ff inet 10.31.43.215/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2281sec preferred_lft 2281sec inet6 fe80::cdc:76ff:fe4d:c8e9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.215 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.215 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium 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 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 17 February 2024 20:35:26 +0000 (0:00:00.198) 0:01:23.665 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\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.364884", "end": "2024-02-17 20:35:27.139745", "rc": 0, "start": "2024-02-17 20:35:26.774861" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1297 0 --:--:-- --:--:-- --:--:-- 1292 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2745 0 --:--:-- --:--:-- --:--:-- 2745 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Saturday 17 February 2024 20:35:27 +0000 (0:00:00.550) 0:01:24.216 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.18s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.83s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.56s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.45s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---