# 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-cik62lcujr/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/tests_states_initscripts.yml:5 Saturday 27 January 2024 14:04:13 +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-cik62lcujr/tests/tests_states_initscripts.yml:8 Saturday 27 January 2024 14:04:14 +0000 (0:00:00.900) 0:00:00.911 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/tasks/el_repo_setup.yml:3 Saturday 27 January 2024 14:04:14 +0000 (0:00:00.024) 0:00:00.936 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/el_repo_setup.yml:19 Saturday 27 January 2024 14:04:14 +0000 (0:00:00.232) 0:00:01.168 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/el_repo_setup.yml:24 Saturday 27 January 2024 14:04:14 +0000 (0:00:00.187) 0:00:01.356 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/el_repo_setup.yml:28 Saturday 27 January 2024 14:04:14 +0000 (0:00:00.020) 0:00:01.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/el_repo_setup.yml:53 Saturday 27 January 2024 14:04:14 +0000 (0:00:00.018) 0:00:01.395 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/enable_epel.yml:8 Saturday 27 January 2024 14:04:15 +0000 (0:00:00.032) 0:00:01.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/enable_epel.yml:24 Saturday 27 January 2024 14:04:15 +0000 (0:00:00.011) 0:00:01.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/enable_epel.yml:30 Saturday 27 January 2024 14:04:15 +0000 (0:00:00.010) 0:00:01.450 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/enable_epel.yml:35 Saturday 27 January 2024 14:04:15 +0000 (0:00:00.010) 0:00:01.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tasks/enable_epel.yml:40 Saturday 27 January 2024 14:04:15 +0000 (0:00:00.010) 0:00:01.471 ****** ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/tests_states_initscripts.yml:10 Saturday 27 January 2024 14:04:15 +0000 (0:00:00.440) 0:00:01.912 ****** 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-cik62lcujr/tests/playbooks/tests_states.yml:3 Saturday 27 January 2024 14:04:15 +0000 (0:00:00.012) 0:00:01.924 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tests_states.yml:11 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.708) 0:00:02.632 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tests_states.yml:22 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.012) 0:00:02.644 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.018) 0:00:02.663 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.012) 0:00:02.675 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.036) 0:00:02.711 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.017) 0:00:02.728 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.015) 0:00:02.744 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003140", "end": "2024-01-27 14:04:16.577734", "rc": 0, "start": "2024-01-27 14:04:16.574594" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.187) 0:00:02.931 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.013) 0:00:02.945 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.013) 0:00:02.958 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/delete_interface.yml:3 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.023) 0:00:02.982 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.027202", "end": "2024-01-27 14:04:16.773150", "rc": 255, "start": "2024-01-27 14:04:16.745948" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.146) 0:00:03.128 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.017) 0:00:03.146 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.120) 0:00:03.266 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.014) 0:00:03.280 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.021) 0:00:03.301 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.035) 0:00:03.337 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:16 +0000 (0:00:00.071) 0:00:03.409 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:17 +0000 (0:00:00.015) 0:00:03.424 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:17 +0000 (0:00:00.011) 0:00:03.436 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:17 +0000 (0:00:00.011) 0:00:03.448 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:18 +0000 (0:00:01.797) 0:00:05.246 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.697) 0:00:05.943 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.022) 0:00:05.966 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.020) 0:00:05.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.020) 0:00:06.007 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.077) 0:00:06.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.021) 0:00:06.107 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.021) 0:00:06.128 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.025) 0:00:06.154 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.021) 0:00:06.175 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:19 +0000 (0:00:00.020) 0:00:06.196 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.273) 0:00:06.469 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmpqu3_99t6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.197) 0:00:06.666 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.353) 0:00:07.020 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.021) 0:00:07.042 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.022) 0:00:07.064 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.022) 0:00:07.086 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.021) 0:00:07.108 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.217) 0:00:07.325 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.024) 0:00:07.350 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 14:04:20 +0000 (0:00:00.040) 0:00:07.390 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.038) 0:00:07.429 ****** 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.021) 0:00:07.451 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706364260.6551845, "block_size": 4096, "blocks": 8, "ctime": 1706364260.6551845, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706364260.6551845, "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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.127) 0:00:07.578 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.022) 0:00:07.601 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006350", "end": "2024-01-27 14:04:21.372789", "rc": 1, "start": "2024-01-27 14:04:21.366439" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.135) 0:00:07.736 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.022) 0:00:07.758 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003099", "end": "2024-01-27 14:04:21.528592", "rc": 0, "start": "2024-01-27 14:04:21.525493" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.136) 0:00:07.895 ****** 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.027) 0:00:07.922 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003061", "end": "2024-01-27 14:04:21.692268", "rc": 0, "start": "2024-01-27 14:04:21.689207" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.136) 0:00:08.058 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.026) 0:00:08.085 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.047) 0:00:08.132 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.025) 0:00:08.158 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.022) 0:00:08.180 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.026) 0:00:08.206 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.022) 0:00:08.229 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 14:04:21 +0000 (0:00:00.039) 0:00:08.269 ****** 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.045293", "end": "2024-01-27 14:04:22.079560", "rc": 255, "start": "2024-01-27 14:04:22.034267" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tests_states.yml:45 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.173) 0:00:08.443 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.036) 0:00:08.479 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.022) 0:00:08.501 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.045) 0:00:08.547 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.034) 0:00:08.582 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.033) 0:00:08.615 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003543", "end": "2024-01-27 14:04:22.390818", "rc": 0, "start": "2024-01-27 14:04:22.387275" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.158) 0:00:08.773 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.023) 0:00:08.796 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.021) 0:00:08.818 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/delete_interface.yml:3 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.040) 0:00:08.858 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004609", "end": "2024-01-27 14:04:22.627723", "rc": 255, "start": "2024-01-27 14:04:22.623114" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.132) 0:00:08.991 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.034) 0:00:09.026 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.128) 0:00:09.154 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.023) 0:00:09.178 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.038) 0:00:09.217 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.040) 0:00:09.257 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.062) 0:00:09.320 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.027) 0:00:09.347 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.022) 0:00:09.369 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:22 +0000 (0:00:00.021) 0:00:09.391 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:24 +0000 (0:00:01.588) 0:00:10.979 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.573) 0:00:11.553 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.044) 0:00:11.597 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.022) 0:00:11.620 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.021) 0:00:11.641 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.045) 0:00:11.686 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.021) 0:00:11.708 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.021) 0:00:11.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.024) 0:00:11.754 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.021) 0:00:11.775 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.020) 0:00:11.796 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.186) 0:00:11.983 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmpbillzm5f" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.200) 0:00:12.183 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:25 +0000 (0:00:00.230) 0:00:12.414 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.021) 0:00:12.435 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.022) 0:00:12.458 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.022) 0:00:12.481 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.043) 0:00:12.524 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.125) 0:00:12.649 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.024) 0:00:12.673 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.042) 0:00:12.716 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.035) 0:00:12.752 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.126) 0:00:12.878 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.023) 0:00:12.902 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.036) 0:00:12.938 ****** 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.021) 0:00:12.960 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706364266.0491846, "block_size": 4096, "blocks": 8, "ctime": 1706364266.0491846, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706364266.0491846, "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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.126) 0:00:13.086 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.022) 0:00:13.109 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006382", "end": "2024-01-27 14:04:26.879508", "rc": 1, "start": "2024-01-27 14:04:26.873126" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.133) 0:00:13.242 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 14:04:26 +0000 (0:00:00.048) 0:00:13.291 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003067", "end": "2024-01-27 14:04:27.063162", "rc": 0, "start": "2024-01-27 14:04:27.060095" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.137) 0:00:13.428 ****** 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.027) 0:00:13.456 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003127", "end": "2024-01-27 14:04:27.226444", "rc": 0, "start": "2024-01-27 14:04:27.223317" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.136) 0:00:13.593 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.026) 0:00:13.619 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.024) 0:00:13.643 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.023) 0:00:13.667 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.022) 0:00:13.689 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.019) 0:00:13.709 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.022) 0:00:13.731 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.039) 0:00:13.771 ****** 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.022054", "end": "2024-01-27 14:04:27.561016", "rc": 255, "start": "2024-01-27 14:04:27.538962" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tests_states.yml:65 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.152) 0:00:13.924 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.036) 0:00:13.960 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.050) 0:00:14.011 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.046) 0:00:14.058 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.034) 0:00:14.093 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.033) 0:00:14.127 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003208", "end": "2024-01-27 14:04:27.893641", "rc": 0, "start": "2024-01-27 14:04:27.890433" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.130) 0:00:14.257 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.022) 0:00:14.280 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.021) 0:00:14.302 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.037) 0:00:14.339 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.035) 0:00:14.375 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:27 +0000 (0:00:00.040) 0:00:14.415 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:28 +0000 (0:00:00.025) 0:00:14.441 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:28 +0000 (0:00:00.045) 0:00:14.487 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:28 +0000 (0:00:00.021) 0:00:14.508 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:29 +0000 (0:00:01.530) 0:00:16.038 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.571) 0:00:16.610 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.023) 0:00:16.633 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.021) 0:00:16.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.042) 0:00:16.697 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.043) 0:00:16.740 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.021) 0:00:16.762 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.021) 0:00:16.784 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.024) 0:00:16.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.021) 0:00:16.830 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.021) 0:00:16.851 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.187) 0:00:17.039 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmpbqfkg_fc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:30 +0000 (0:00:00.193) 0:00:17.232 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.232) 0:00:17.465 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.021) 0:00:17.487 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.022) 0:00:17.509 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.022) 0:00:17.532 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.021) 0:00:17.554 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.148) 0:00:17.702 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.023) 0:00:17.725 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.038) 0:00:17.764 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.040) 0:00:17.804 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.039) 0:00:17.844 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.026) 0:00:17.871 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.021) 0:00:17.893 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:31 +0000 (0:00:00.021) 0:00:17.914 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:33 +0000 (0:00:01.554) 0:00:19.468 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.566) 0:00:20.034 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.022) 0:00:20.057 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.021) 0:00:20.079 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.022) 0:00:20.101 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.043) 0:00:20.144 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.021) 0:00:20.166 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.021) 0:00:20.188 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.024) 0:00:20.212 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.021) 0:00:20.234 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:33 +0000 (0:00:00.021) 0:00:20.255 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.213) 0:00:20.468 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmp_i3ykxo_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.202) 0:00:20.671 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.372) 0:00:21.043 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.022) 0:00:21.065 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.023) 0:00:21.089 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.022) 0:00:21.111 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.021) 0:00:21.133 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.136) 0:00:21.270 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.042) 0:00:21.313 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:04:34 +0000 (0:00:00.035) 0:00:21.348 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706364274.5981846, "block_size": 4096, "blocks": 0, "ctime": 1706364274.5971844, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1706364274.5971844, "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-cik62lcujr/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.131) 0:00:21.480 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.024) 0:00:21.504 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.061) 0:00:21.566 ****** 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.023) 0:00:21.590 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706364272.6661844, "block_size": 4096, "blocks": 8, "ctime": 1706364271.1001844, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706364271.1001844, "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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.131) 0:00:21.722 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.023) 0:00:21.745 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006828", "end": "2024-01-27 14:04:35.517639", "rc": 1, "start": "2024-01-27 14:04:35.510811" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.136) 0:00:21.881 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.022) 0:00:21.904 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003077", "end": "2024-01-27 14:04:35.674911", "rc": 0, "start": "2024-01-27 14:04:35.671834" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.135) 0:00:22.040 ****** 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.027) 0:00:22.068 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003097", "end": "2024-01-27 14:04:35.838326", "rc": 0, "start": "2024-01-27 14:04:35.835229" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.136) 0:00:22.204 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.025) 0:00:22.230 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.023) 0:00:22.254 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.023) 0:00:22.278 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.022) 0:00:22.300 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.020) 0:00:22.320 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.049) 0:00:22.370 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 14:04:35 +0000 (0:00:00.040) 0:00:22.410 ****** 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.031333", "end": "2024-01-27 14:04:36.208715", "rc": 0, "start": "2024-01-27 14:04:36.177382" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tests_states.yml:83 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.166) 0:00:22.577 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.036) 0:00:22.614 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.022) 0:00:22.637 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.044) 0:00:22.682 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.034) 0:00:22.716 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.033) 0:00:22.750 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003231", "end": "2024-01-27 14:04:36.519211", "rc": 0, "start": "2024-01-27 14:04:36.515980" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.133) 0:00:22.884 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.022) 0:00:22.907 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.021) 0:00:22.928 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.068) 0:00:22.996 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.037) 0:00:23.034 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.040) 0:00:23.074 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.027) 0:00:23.102 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.022) 0:00:23.124 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:36 +0000 (0:00:00.021) 0:00:23.145 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:38 +0000 (0:00:01.557) 0:00:24.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:38 +0000 (0:00:00.594) 0:00:25.297 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:38 +0000 (0:00:00.023) 0:00:25.320 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:38 +0000 (0:00:00.021) 0:00:25.341 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:38 +0000 (0:00:00.022) 0:00:25.364 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:38 +0000 (0:00:00.044) 0:00:25.408 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.021) 0:00:25.429 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.022) 0:00:25.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.025) 0:00:25.477 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.021) 0:00:25.498 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.022) 0:00:25.520 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.190) 0:00:25.711 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmps73bc8fg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.199) 0:00:25.911 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.267) 0:00:26.178 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.022) 0:00:26.201 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.023) 0:00:26.224 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.023) 0:00:26.248 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.022) 0:00:26.270 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 14:04:39 +0000 (0:00:00.127) 0:00:26.397 ****** 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-cik62lcujr/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 14:04:40 +0000 (0:00:00.024) 0:00:26.422 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:40 +0000 (0:00:00.036) 0:00:26.459 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:40 +0000 (0:00:00.040) 0:00:26.499 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:40 +0000 (0:00:00.027) 0:00:26.527 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:40 +0000 (0:00:00.022) 0:00:26.549 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:40 +0000 (0:00:00.021) 0:00:26.571 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:41 +0000 (0:00:01.539) 0:00:28.110 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.578) 0:00:28.689 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.022) 0:00:28.712 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.022) 0:00:28.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.021) 0:00:28.755 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.044) 0:00:28.800 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.022) 0:00:28.823 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.021) 0:00:28.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.058) 0:00:28.903 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.023) 0:00:28.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.022) 0:00:28.948 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.194) 0:00:29.143 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmpopaovlhp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:42 +0000 (0:00:00.196) 0:00:29.340 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.354) 0:00:29.694 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.021) 0:00:29.716 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.022) 0:00:29.738 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.022) 0:00:29.761 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.021) 0:00:29.783 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.127) 0:00:29.910 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove_profile.yml:3 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.039) 0:00:29.950 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.065) 0:00:30.016 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.040) 0:00:30.056 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.026) 0:00:30.082 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.022) 0:00:30.105 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:43 +0000 (0:00:00.022) 0:00:30.127 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:45 +0000 (0:00:01.544) 0:00:31.671 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:45 +0000 (0:00:00.625) 0:00:32.297 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:45 +0000 (0:00:00.023) 0:00:32.320 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:45 +0000 (0:00:00.021) 0:00:32.342 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:45 +0000 (0:00:00.021) 0:00:32.364 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:45 +0000 (0:00:00.044) 0:00:32.408 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.022) 0:00:32.430 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.021) 0:00:32.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.027) 0:00:32.479 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.023) 0:00:32.502 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.022) 0:00:32.524 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.187) 0:00:32.712 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmpu5js1581" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.197) 0:00:32.910 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.291) 0:00:33.201 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.021) 0:00:33.223 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.023) 0:00:33.246 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.024) 0:00:33.271 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:46 +0000 (0:00:00.022) 0:00:33.294 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.124) 0:00:33.418 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.043) 0:00:33.462 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.035) 0:00:33.497 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706364283.2641845, "block_size": 4096, "blocks": 0, "ctime": 1706364283.2591846, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1706364283.2591846, "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-cik62lcujr/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.130) 0:00:33.628 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.023) 0:00:33.652 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.037) 0:00:33.690 ****** 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.023) 0:00:33.713 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.130) 0:00:33.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.047) 0:00:33.892 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006403", "end": "2024-01-27 14:04:47.664805", "rc": 1, "start": "2024-01-27 14:04:47.658402" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.136) 0:00:34.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.022) 0:00:34.051 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.023) 0:00:34.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.022) 0:00:34.097 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.024) 0:00:34.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.023) 0:00:34.145 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.023) 0:00:34.169 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.020) 0:00:34.189 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.023) 0:00:34.212 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 14:04:47 +0000 (0:00:00.039) 0:00:34.252 ****** 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.035302", "end": "2024-01-27 14:04:48.052692", "rc": 0, "start": "2024-01-27 14:04:48.017390" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tests_states.yml:103 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.168) 0:00:34.420 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.036) 0:00:34.457 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.022) 0:00:34.479 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.069) 0:00:34.549 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.035) 0:00:34.584 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.033) 0:00:34.618 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003162", "end": "2024-01-27 14:04:48.385402", "rc": 0, "start": "2024-01-27 14:04:48.382240" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.129) 0:00:34.748 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.022) 0:00:34.771 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.021) 0:00:34.792 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.044) 0:00:34.837 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.036) 0:00:34.873 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.040) 0:00:34.913 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.027) 0:00:34.941 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.022) 0:00:34.963 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:48 +0000 (0:00:00.049) 0:00:35.012 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:50 +0000 (0:00:01.514) 0:00:36.527 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.567) 0:00:37.095 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.025) 0:00:37.120 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.022) 0:00:37.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.021) 0:00:37.165 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.067) 0:00:37.232 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.021) 0:00:37.253 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.021) 0:00:37.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.025) 0:00:37.300 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.022) 0:00:37.323 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:50 +0000 (0:00:00.022) 0:00:37.345 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.186) 0:00:37.532 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmp7ltgs3u8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.193) 0:00:37.726 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.234) 0:00:37.960 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.021) 0:00:37.982 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.022) 0:00:38.005 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.022) 0:00:38.027 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.021) 0:00:38.049 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.122) 0:00:38.172 ****** 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-cik62lcujr/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.023) 0:00:38.195 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.060) 0:00:38.255 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.040) 0:00:38.295 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.026) 0:00:38.322 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.021) 0:00:38.343 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:51 +0000 (0:00:00.021) 0:00:38.365 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:53 +0000 (0:00:01.494) 0:00:39.859 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.618) 0:00:40.477 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.022) 0:00:40.500 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.021) 0:00:40.522 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.020) 0:00:40.542 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.043) 0:00:40.586 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.021) 0:00:40.608 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.021) 0:00:40.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.024) 0:00:40.654 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.021) 0:00:40.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.020) 0:00:40.695 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.187) 0:00:40.883 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmpwakfen2r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:54 +0000 (0:00:00.192) 0:00:41.075 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.399) 0:00:41.474 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.022) 0:00:41.497 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.022) 0:00:41.520 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.023) 0:00:41.543 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.021) 0:00:41.565 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove_profile.yml:3 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.123) 0:00:41.688 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.036) 0:00:41.724 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.040) 0:00:41.764 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.028) 0:00:41.793 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.021) 0:00:41.814 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:55 +0000 (0:00:00.022) 0:00:41.836 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:04:56 +0000 (0:00:01.515) 0:00:43.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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.567) 0:00:43.919 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.023) 0:00:43.942 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.021) 0:00:43.964 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.021) 0:00:43.985 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.042) 0:00:44.028 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.021) 0:00:44.050 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.021) 0:00:44.071 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.024) 0:00:44.096 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.021) 0:00:44.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.045) 0:00:44.162 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:04:57 +0000 (0:00:00.189) 0:00:44.352 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmpdajtt6al" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.195) 0:00:44.547 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.239) 0:00:44.787 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.021) 0:00:44.808 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.022) 0:00:44.831 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.022) 0:00:44.854 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.021) 0:00:44.875 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.125) 0:00:45.001 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.038) 0:00:45.040 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.040) 0:00:45.080 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.066) 0:00:45.146 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.028) 0:00:45.174 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.021) 0:00:45.196 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:04:58 +0000 (0:00:00.022) 0:00:45.218 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:05:00 +0000 (0:00:01.515) 0:00:46.733 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:05:00 +0000 (0:00:00.569) 0:00:47.302 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:05:00 +0000 (0:00:00.045) 0:00:47.348 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:05:00 +0000 (0:00:00.022) 0:00:47.370 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:05:00 +0000 (0:00:00.021) 0:00:47.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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.047) 0:00:47.439 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.022) 0:00:47.462 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.023) 0:00:47.485 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.025) 0:00:47.511 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.022) 0:00:47.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.021) 0:00:47.554 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.188) 0:00:47.742 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmpthylz2x0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.204) 0:00:47.947 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.232) 0:00:48.179 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.022) 0:00:48.202 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.022) 0:00:48.225 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.051) 0:00:48.276 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:05:01 +0000 (0:00:00.021) 0:00:48.298 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.124) 0:00:48.423 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.040) 0:00:48.463 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.036) 0:00:48.500 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.021) 0:00:48.522 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.127) 0:00:48.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.021) 0:00:48.671 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006433", "end": "2024-01-27 14:05:02.444530", "rc": 1, "start": "2024-01-27 14:05:02.438097" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.135) 0:00:48.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.023) 0:00:48.830 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.022) 0:00:48.853 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.022) 0:00:48.876 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.022) 0:00:48.899 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.022) 0:00:48.921 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.051) 0:00:48.972 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.025) 0:00:48.998 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.024) 0:00:49.022 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.040) 0:00:49.063 ****** 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.035258", "end": "2024-01-27 14:05:02.863698", "rc": 0, "start": "2024-01-27 14:05:02.828440" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tests_states.yml:126 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.168) 0:00:49.232 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.037) 0:00:49.269 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.023) 0:00:49.292 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.045) 0:00:49.338 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.035) 0:00:49.373 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 14:05:02 +0000 (0:00:00.033) 0:00:49.407 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003231", "end": "2024-01-27 14:05:03.175469", "rc": 0, "start": "2024-01-27 14:05:03.172238" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 14:05:03 +0000 (0:00:00.131) 0:00:49.539 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 14:05:03 +0000 (0:00:00.022) 0:00:49.561 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 14:05:03 +0000 (0:00:00.049) 0:00:49.610 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 14:05:03 +0000 (0:00:00.046) 0:00:49.656 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:05:03 +0000 (0:00:00.036) 0:00:49.693 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:05:03 +0000 (0:00:00.039) 0:00:49.732 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:05:03 +0000 (0:00:00.026) 0:00:49.759 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:05:03 +0000 (0:00:00.021) 0:00:49.780 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:05:03 +0000 (0:00:00.021) 0:00:49.802 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:05:04 +0000 (0:00:01.535) 0:00:51.337 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.570) 0:00:51.908 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.022) 0:00:51.930 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.021) 0:00:51.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.021) 0:00:51.974 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.043) 0:00:52.017 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.022) 0:00:52.039 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.021) 0:00:52.061 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.026) 0:00:52.087 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.021) 0:00:52.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.020) 0:00:52.129 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:05:05 +0000 (0:00:00.188) 0:00:52.318 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmp988x0grd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.220) 0:00:52.538 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.231) 0:00:52.770 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.021) 0:00:52.791 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.022) 0:00:52.814 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.023) 0:00:52.838 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.021) 0:00:52.859 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.120) 0:00:52.979 ****** 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-cik62lcujr/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.022) 0:00:53.002 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.035) 0:00:53.037 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.039) 0:00:53.077 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.026) 0:00:53.104 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.022) 0:00:53.126 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:05:06 +0000 (0:00:00.021) 0:00:53.148 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:05:08 +0000 (0:00:01.551) 0:00:54.699 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:05:08 +0000 (0:00:00.567) 0:00:55.267 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:05:08 +0000 (0:00:00.023) 0:00:55.290 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:05:08 +0000 (0:00:00.021) 0:00:55.311 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:05:08 +0000 (0:00:00.021) 0:00:55.333 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:05:08 +0000 (0:00:00.044) 0:00:55.377 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.044) 0:00:55.422 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.022) 0:00:55.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.024) 0:00:55.469 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.021) 0:00:55.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.020) 0:00:55.511 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.187) 0:00:55.698 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmprb__52i3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.190) 0:00:55.889 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.346) 0:00:56.236 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.021) 0:00:56.257 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.022) 0:00:56.280 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.022) 0:00:56.302 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:05:09 +0000 (0:00:00.021) 0:00:56.324 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 14:05:10 +0000 (0:00:00.125) 0:00:56.449 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:05:10 +0000 (0:00:00.062) 0:00:56.512 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:05:10 +0000 (0:00:00.040) 0:00:56.553 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:05:10 +0000 (0:00:00.028) 0:00:56.582 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:05:10 +0000 (0:00:00.022) 0:00:56.604 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:05:10 +0000 (0:00:00.021) 0:00:56.626 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:05:11 +0000 (0:00:01.528) 0:00:58.154 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.614) 0:00:58.769 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.023) 0:00:58.792 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.021) 0:00:58.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.021) 0:00:58.835 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.043) 0:00:58.878 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.021) 0:00:58.899 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.021) 0:00:58.921 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.024) 0:00:58.946 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.022) 0:00:58.968 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.021) 0:00:58.990 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.186) 0:00:59.177 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmptghcom9u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:05:12 +0000 (0:00:00.191) 0:00:59.368 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.270) 0:00:59.639 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.046) 0:00:59.685 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.023) 0:00:59.708 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.023) 0:00:59.732 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.021) 0:00:59.754 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.122) 0:00:59.876 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.039) 0:00:59.915 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.036) 0:00:59.951 ****** included: /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.040) 0:00:59.992 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.027) 0:01:00.020 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.022) 0:01:00.042 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 14:05:13 +0000 (0:00:00.022) 0:01:00.064 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 14:05:15 +0000 (0:00:01.529) 0:01:01.594 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.569) 0:01:02.163 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.023) 0:01:02.186 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.021) 0:01:02.208 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.021) 0:01:02.230 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.043) 0:01:02.273 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.021) 0:01:02.294 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.022) 0:01:02.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.049) 0:01:02.366 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.021) 0:01:02.388 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 14:05:15 +0000 (0:00:00.022) 0:01:02.410 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.185) 0:01:02.595 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360wi6iser4/tmpmc39v_41" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.198) 0:01:02.794 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.231) 0:01:03.025 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.024) 0:01:03.049 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.025) 0:01:03.074 ****** 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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.025) 0:01:03.100 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.022) 0:01:03.123 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.129) 0:01:03.253 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.043) 0:01:03.296 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.036) 0:01:03.333 ****** 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 14:05:16 +0000 (0:00:00.050) 0:01:03.383 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.129) 0:01:03.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.022) 0:01:03.534 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006384", "end": "2024-01-27 14:05:17.305678", "rc": 1, "start": "2024-01-27 14:05:17.299294" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.133) 0:01:03.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.023) 0:01:03.691 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.022) 0:01:03.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.022) 0:01:03.736 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.023) 0:01:03.759 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.023) 0:01:03.782 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.023) 0:01:03.806 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.375020", "end": "2024-01-27 14:05:17.945223", "rc": 0, "start": "2024-01-27 14:05:17.570203" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.505) 0:01:04.311 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.022) 0:01:04.334 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.021) 0:01:04.355 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 14:05:17 +0000 (0:00:00.024) 0:01:04.380 ****** 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-cik62lcujr/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 14:05:18 +0000 (0:00:00.049) 0:01:04.430 ****** included: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cik62lcujr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 14:05:18 +0000 (0:00:00.040) 0:01:04.471 ****** 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.038485", "end": "2024-01-27 14:05:18.279744", "rc": 0, "start": "2024-01-27 14:05:18.241259" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Saturday 27 January 2024 14:05:18 +0000 (0:00:00.163) 0:01:04.634 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.80s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-weekly-cik62lcujr/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-cik62lcujr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.47s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.32s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.03s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.01s /WORKDIR/git-weekly-cik62lcujr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-weekly-cik62lcujr/tests/tests_states_initscripts.yml:5 ----------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---