# 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-cimhy7x2c6/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tests_states_initscripts.yml:5 Saturday 13 January 2024 13:52:14 +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-cimhy7x2c6/tests/tests_states_initscripts.yml:8 Saturday 13 January 2024 13:52:14 +0000 (0:00:00.870) 0:00:00.882 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/tasks/el_repo_setup.yml:3 Saturday 13 January 2024 13:52:14 +0000 (0:00:00.024) 0:00:00.906 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/el_repo_setup.yml:19 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.217) 0:00:01.123 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/el_repo_setup.yml:24 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.192) 0:00:01.315 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/el_repo_setup.yml:28 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.020) 0:00:01.336 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/el_repo_setup.yml:53 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.017) 0:00:01.353 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/enable_epel.yml:8 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.031) 0:00:01.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/enable_epel.yml:24 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.011) 0:00:01.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/enable_epel.yml:30 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.012) 0:00:01.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/enable_epel.yml:35 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.010) 0:00:01.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/tasks/enable_epel.yml:40 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.010) 0:00:01.430 ****** 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-cimhy7x2c6/tests/tests_states_initscripts.yml:10 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.417) 0:00:01.848 ****** 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-cimhy7x2c6/tests/playbooks/tests_states.yml:3 Saturday 13 January 2024 13:52:15 +0000 (0:00:00.012) 0:00:01.860 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tests_states.yml:11 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.692) 0:00:02.553 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tests_states.yml:22 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.012) 0:00:02.565 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.018) 0:00:02.584 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.012) 0:00:02.597 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.035) 0:00:02.632 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.016) 0:00:02.648 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.014) 0:00:02.663 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003028", "end": "2024-01-13 13:52:16.918926", "rc": 0, "start": "2024-01-13 13:52:16.915898" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.180) 0:00:02.843 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.013) 0:00:02.856 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.013) 0:00:02.870 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:52:16 +0000 (0:00:00.024) 0:00:02.894 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.025690", "end": "2024-01-13 13:52:17.109724", "rc": 255, "start": "2024-01-13 13:52:17.084034" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.140) 0:00:03.035 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.017) 0:00:03.052 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.112) 0:00:03.165 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.014) 0:00:03.179 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.023) 0:00:03.202 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.035) 0:00:03.238 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.071) 0:00:03.310 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.013) 0:00:03.323 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.011) 0:00:03.334 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:17 +0000 (0:00:00.010) 0:00:03.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:19 +0000 (0:00:01.625) 0:00:04.971 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.699) 0:00:05.671 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.022) 0:00:05.693 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.021) 0:00:05.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.020) 0:00:05.735 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.042) 0:00:05.778 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.035) 0:00:05.814 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.022) 0:00:05.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.024) 0:00:05.862 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.021) 0:00:05.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:19 +0000 (0:00:00.021) 0:00:05.904 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:20 +0000 (0:00:00.236) 0:00:06.140 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmpsm4wsmda" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:20 +0000 (0:00:00.189) 0:00:06.330 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:20 +0000 (0:00:00.345) 0:00:06.675 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:20 +0000 (0:00:00.020) 0:00:06.696 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:20 +0000 (0:00:00.022) 0:00:06.718 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:20 +0000 (0:00:00.021) 0:00:06.740 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:20 +0000 (0:00:00.020) 0:00:06.761 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.186) 0:00:06.947 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.023) 0:00:06.971 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.059) 0:00:07.031 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.037) 0:00:07.068 ****** 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.022) 0:00:07.090 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153940.7396562, "block_size": 4096, "blocks": 8, "ctime": 1705153940.7396562, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153940.7396562, "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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.122) 0:00:07.213 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.023) 0:00:07.237 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005062", "end": "2024-01-13 13:52:21.434369", "rc": 1, "start": "2024-01-13 13:52:21.429307" } STDERR: /bin/sh: nmcli: command not found 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.129) 0:00:07.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.022) 0:00:07.389 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002884", "end": "2024-01-13 13:52:21.585125", "rc": 0, "start": "2024-01-13 13:52:21.582241" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.130) 0:00:07.520 ****** 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.027) 0:00:07.547 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002955", "end": "2024-01-13 13:52:21.742866", "rc": 0, "start": "2024-01-13 13:52:21.739911" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.130) 0:00:07.678 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.025) 0:00:07.703 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.023) 0:00:07.727 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.023) 0:00:07.750 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.023) 0:00:07.773 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.046) 0:00:07.820 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.022) 0:00:07.842 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:52:21 +0000 (0:00:00.040) 0:00:07.882 ****** 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.012322", "end": "2024-01-13 13:52:22.085241", "rc": 255, "start": "2024-01-13 13:52:22.072919" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tests_states.yml:45 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.135) 0:00:08.018 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.036) 0:00:08.054 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.023) 0:00:08.078 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.045) 0:00:08.123 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.034) 0:00:08.158 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.033) 0:00:08.191 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003055", "end": "2024-01-13 13:52:22.384182", "rc": 0, "start": "2024-01-13 13:52:22.381127" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.126) 0:00:08.318 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.022) 0:00:08.340 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.021) 0:00:08.362 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.064) 0:00:08.426 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004451", "end": "2024-01-13 13:52:22.622201", "rc": 255, "start": "2024-01-13 13:52:22.617750" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.129) 0:00:08.555 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.037) 0:00:08.593 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.121) 0:00:08.715 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.023) 0:00:08.738 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.039) 0:00:08.778 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.042) 0:00:08.820 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.040) 0:00:08.860 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.026) 0:00:08.886 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:22 +0000 (0:00:00.021) 0:00:08.908 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:23 +0000 (0:00:00.023) 0:00:08.931 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:24 +0000 (0:00:01.418) 0:00:10.350 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.561) 0:00:10.911 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.021) 0:00:10.933 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.021) 0:00:10.955 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.021) 0:00:10.976 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.042) 0:00:11.019 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.021) 0:00:11.040 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.020) 0:00:11.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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.047) 0:00:11.109 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.022) 0:00:11.131 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.021) 0:00:11.153 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.180) 0:00:11.333 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmpx4fp7tuw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.181) 0:00:11.514 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.229) 0:00:11.744 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.021) 0:00:11.765 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.022) 0:00:11.788 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.022) 0:00:11.810 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:25 +0000 (0:00:00.021) 0:00:11.831 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.117) 0:00:11.948 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.021) 0:00:11.970 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.042) 0:00:12.012 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.055) 0:00:12.067 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.124) 0:00:12.192 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.023) 0:00:12.215 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.036) 0:00:12.251 ****** 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.021) 0:00:12.273 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153945.8096561, "block_size": 4096, "blocks": 8, "ctime": 1705153945.8096561, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153945.8096561, "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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.121) 0:00:12.394 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.022) 0:00:12.417 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004890", "end": "2024-01-13 13:52:26.613057", "rc": 1, "start": "2024-01-13 13:52:26.608167" } STDERR: /bin/sh: nmcli: command not found 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.128) 0:00:12.546 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.022) 0:00:12.568 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002837", "end": "2024-01-13 13:52:26.762806", "rc": 0, "start": "2024-01-13 13:52:26.759969" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.128) 0:00:12.696 ****** 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.026) 0:00:12.723 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002896", "end": "2024-01-13 13:52:26.918449", "rc": 0, "start": "2024-01-13 13:52:26.915553" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.129) 0:00:12.853 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.025) 0:00:12.878 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:52:26 +0000 (0:00:00.024) 0:00:12.903 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.046) 0:00:12.950 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.022) 0:00:12.972 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.020) 0:00:12.993 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.022) 0:00:13.016 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.041) 0:00:13.057 ****** 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.011910", "end": "2024-01-13 13:52:27.265933", "rc": 255, "start": "2024-01-13 13:52:27.254023" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tests_states.yml:65 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.141) 0:00:13.198 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.036) 0:00:13.234 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.022) 0:00:13.257 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.043) 0:00:13.301 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.034) 0:00:13.336 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.033) 0:00:13.369 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003584", "end": "2024-01-13 13:52:27.564233", "rc": 0, "start": "2024-01-13 13:52:27.560649" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.126) 0:00:13.496 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.021) 0:00:13.518 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.044) 0:00:13.562 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.037) 0:00:13.599 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.036) 0:00:13.636 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.039) 0:00:13.675 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.026) 0:00:13.701 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.020) 0:00:13.722 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:27 +0000 (0:00:00.021) 0:00:13.744 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:29 +0000 (0:00:01.360) 0:00:15.104 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.576) 0:00:15.680 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.024) 0:00:15.704 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.023) 0:00:15.728 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.021) 0:00:15.749 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.044) 0:00:15.794 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.021) 0:00:15.816 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.021) 0:00:15.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.025) 0:00:15.863 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.021) 0:00:15.884 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:29 +0000 (0:00:00.022) 0:00:15.907 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.204) 0:00:16.111 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmpglyerbbm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.195) 0:00:16.306 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.243) 0:00:16.549 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.021) 0:00:16.571 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.022) 0:00:16.594 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.022) 0:00:16.617 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.021) 0:00:16.638 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.120) 0:00:16.758 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.023) 0:00:16.782 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.037) 0:00:16.820 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.039) 0:00:16.860 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:30 +0000 (0:00:00.038) 0:00:16.898 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:31 +0000 (0:00:00.025) 0:00:16.924 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:31 +0000 (0:00:00.020) 0:00:16.945 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:31 +0000 (0:00:00.026) 0:00:16.972 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:32 +0000 (0:00:01.360) 0:00:18.333 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:32 +0000 (0:00:00.547) 0:00:18.880 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:32 +0000 (0:00:00.022) 0:00:18.903 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.022) 0:00:18.925 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.022) 0:00:18.948 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.042) 0:00:18.991 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.021) 0:00:19.012 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.020) 0:00:19.033 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.048) 0:00:19.081 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.022) 0:00:19.103 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.020) 0:00:19.124 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.180) 0:00:19.305 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmpyhga029m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.182) 0:00:19.487 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.345) 0:00:19.833 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.021) 0:00:19.855 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.022) 0:00:19.877 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:33 +0000 (0:00:00.022) 0:00:19.900 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.020) 0:00:19.921 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.119) 0:00:20.040 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.042) 0:00:20.083 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.057) 0:00:20.140 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153953.8296561, "block_size": 4096, "blocks": 0, "ctime": 1705153953.8256562, "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": 1705153953.8256562, "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-cimhy7x2c6/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.125) 0:00:20.266 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.023) 0:00:20.289 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.038) 0:00:20.328 ****** 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.021) 0:00:20.349 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153952.0356562, "block_size": 4096, "blocks": 8, "ctime": 1705153950.6156561, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153950.6156561, "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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.124) 0:00:20.474 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.022) 0:00:20.497 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004857", "end": "2024-01-13 13:52:34.691746", "rc": 1, "start": "2024-01-13 13:52:34.686889" } STDERR: /bin/sh: nmcli: command not found 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.127) 0:00:20.624 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.022) 0:00:20.647 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002991", "end": "2024-01-13 13:52:34.844711", "rc": 0, "start": "2024-01-13 13:52:34.841720" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.134) 0:00:20.781 ****** 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:52:34 +0000 (0:00:00.028) 0:00:20.809 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002997", "end": "2024-01-13 13:52:35.006269", "rc": 0, "start": "2024-01-13 13:52:35.003272" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.132) 0:00:20.942 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.027) 0:00:20.969 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.025) 0:00:20.995 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.028) 0:00:21.024 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.075) 0:00:21.099 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.020) 0:00:21.119 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.022) 0:00:21.142 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.039) 0:00:21.181 ****** 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.023422", "end": "2024-01-13 13:52:35.395556", "rc": 0, "start": "2024-01-13 13:52:35.372134" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tests_states.yml:83 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.152) 0:00:21.334 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.037) 0:00:21.371 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.023) 0:00:21.395 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.046) 0:00:21.441 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.040) 0:00:21.482 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.033) 0:00:21.515 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003057", "end": "2024-01-13 13:52:35.708807", "rc": 0, "start": "2024-01-13 13:52:35.705750" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.127) 0:00:21.642 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.022) 0:00:21.664 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.044) 0:00:21.709 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.041) 0:00:21.751 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.035) 0:00:21.786 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.039) 0:00:21.826 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.025) 0:00:21.852 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.021) 0:00:21.874 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:35 +0000 (0:00:00.020) 0:00:21.894 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:37 +0000 (0:00:01.381) 0:00:23.275 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:37 +0000 (0:00:00.581) 0:00:23.857 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:37 +0000 (0:00:00.022) 0:00:23.880 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:37 +0000 (0:00:00.021) 0:00:23.902 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.026) 0:00:23.928 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.047) 0:00:23.976 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.021) 0:00:23.997 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.021) 0:00:24.018 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.024) 0:00:24.043 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.021) 0:00:24.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.024) 0:00:24.089 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.186) 0:00:24.275 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmp56408s77" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.192) 0:00:24.468 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.286) 0:00:24.755 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.022) 0:00:24.777 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.022) 0:00:24.800 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.022) 0:00:24.823 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:38 +0000 (0:00:00.020) 0:00:24.844 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:52:39 +0000 (0:00:00.117) 0:00:24.961 ****** 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-cimhy7x2c6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:52:39 +0000 (0:00:00.025) 0:00:24.987 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:39 +0000 (0:00:00.040) 0:00:25.027 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:39 +0000 (0:00:00.043) 0:00:25.071 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:39 +0000 (0:00:00.028) 0:00:25.099 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:39 +0000 (0:00:00.021) 0:00:25.121 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:39 +0000 (0:00:00.020) 0:00:25.142 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:40 +0000 (0:00:01.355) 0:00:26.497 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.552) 0:00:27.050 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.023) 0:00:27.073 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.021) 0:00:27.095 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.022) 0:00:27.117 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.042) 0:00:27.160 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.021) 0:00:27.181 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.022) 0:00:27.204 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.026) 0:00:27.230 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.022) 0:00:27.252 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.021) 0:00:27.274 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.208) 0:00:27.483 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmp6flz8eyq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:41 +0000 (0:00:00.182) 0:00:27.665 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.334) 0:00:27.999 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.021) 0:00:28.020 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.022) 0:00:28.043 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.023) 0:00:28.066 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.023) 0:00:28.090 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.124) 0:00:28.214 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.040) 0:00:28.255 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.047) 0:00:28.303 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.043) 0:00:28.346 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.053) 0:00:28.399 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.021) 0:00:28.421 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:42 +0000 (0:00:00.023) 0:00:28.445 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:43 +0000 (0:00:01.373) 0:00:29.818 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.551) 0:00:30.369 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.022) 0:00:30.392 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.022) 0:00:30.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.022) 0:00:30.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.066) 0:00:30.503 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.021) 0:00:30.525 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.021) 0:00:30.546 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.024) 0:00:30.571 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.020) 0:00:30.591 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.021) 0:00:30.613 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:44 +0000 (0:00:00.185) 0:00:30.798 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmpc_9w4h3k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.183) 0:00:30.982 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.231) 0:00:31.213 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.026) 0:00:31.240 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.024) 0:00:31.265 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.023) 0:00:31.289 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.021) 0:00:31.311 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.119) 0:00:31.430 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.069) 0:00:31.500 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.038) 0:00:31.538 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153962.0036561, "block_size": 4096, "blocks": 0, "ctime": 1705153962.001656, "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": 1705153962.001656, "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-cimhy7x2c6/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.124) 0:00:31.663 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.023) 0:00:31.686 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.036) 0:00:31.723 ****** 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.021) 0:00:31.744 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.122) 0:00:31.867 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:52:45 +0000 (0:00:00.022) 0:00:31.890 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004903", "end": "2024-01-13 13:52:46.087659", "rc": 1, "start": "2024-01-13 13:52:46.082756" } STDERR: /bin/sh: nmcli: command not found 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.129) 0:00:32.019 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.024) 0:00:32.044 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.022) 0:00:32.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.024) 0:00:32.091 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.023) 0:00:32.114 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.022) 0:00:32.136 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.051) 0:00:32.188 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.020) 0:00:32.208 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.022) 0:00:32.231 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.040) 0:00:32.271 ****** 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.025291", "end": "2024-01-13 13:52:46.488467", "rc": 0, "start": "2024-01-13 13:52:46.463176" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tests_states.yml:103 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.154) 0:00:32.425 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.036) 0:00:32.462 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.021) 0:00:32.484 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.045) 0:00:32.530 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.034) 0:00:32.565 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.033) 0:00:32.598 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003044", "end": "2024-01-13 13:52:46.791680", "rc": 0, "start": "2024-01-13 13:52:46.788636" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.126) 0:00:32.725 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.022) 0:00:32.747 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.050) 0:00:32.798 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.045) 0:00:32.844 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:46 +0000 (0:00:00.037) 0:00:32.881 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:47 +0000 (0:00:00.040) 0:00:32.922 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:47 +0000 (0:00:00.027) 0:00:32.949 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:47 +0000 (0:00:00.021) 0:00:32.970 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:47 +0000 (0:00:00.022) 0:00:32.993 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:48 +0000 (0:00:01.356) 0:00:34.350 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.575) 0:00:34.925 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.022) 0:00:34.948 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.021) 0:00:34.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.020) 0:00:34.990 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.043) 0:00:35.034 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.020) 0:00:35.054 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.021) 0:00:35.076 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.027) 0:00:35.104 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.021) 0:00:35.125 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.022) 0:00:35.147 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.183) 0:00:35.331 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmpkeu8pr3t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.182) 0:00:35.514 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.273) 0:00:35.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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.021) 0:00:35.809 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.022) 0:00:35.831 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.022) 0:00:35.853 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:49 +0000 (0:00:00.020) 0:00:35.874 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:52:50 +0000 (0:00:00.119) 0:00:35.994 ****** 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-cimhy7x2c6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:52:50 +0000 (0:00:00.022) 0:00:36.017 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:50 +0000 (0:00:00.035) 0:00:36.052 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:50 +0000 (0:00:00.041) 0:00:36.093 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:50 +0000 (0:00:00.027) 0:00:36.121 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:50 +0000 (0:00:00.022) 0:00:36.143 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:50 +0000 (0:00:00.020) 0:00:36.164 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:51 +0000 (0:00:01.356) 0:00:37.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.553) 0:00:38.074 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.023) 0:00:38.097 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.021) 0:00:38.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.021) 0:00:38.140 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.042) 0:00:38.183 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.021) 0:00:38.204 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.021) 0:00:38.225 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.024) 0:00:38.250 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.022) 0:00:38.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.043) 0:00:38.316 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.183) 0:00:38.500 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmpo2j3sunu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:52 +0000 (0:00:00.181) 0:00:38.682 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.333) 0:00:39.015 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.021) 0:00:39.037 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.022) 0:00:39.059 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.025) 0:00:39.085 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.022) 0:00:39.108 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.119) 0:00:39.227 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.036) 0:00:39.263 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.041) 0:00:39.304 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.027) 0:00:39.332 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.023) 0:00:39.355 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:53 +0000 (0:00:00.044) 0:00:39.400 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:54 +0000 (0:00:01.378) 0:00:40.778 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.559) 0:00:41.337 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.022) 0:00:41.360 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.022) 0:00:41.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.022) 0:00:41.405 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.042) 0:00:41.447 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.041) 0:00:41.489 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.021) 0:00:41.510 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.025) 0:00:41.536 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.023) 0:00:41.559 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.022) 0:00:41.582 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:55 +0000 (0:00:00.183) 0:00:41.765 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmp7x1fbkgg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.181) 0:00:41.947 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.231) 0:00:42.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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.021) 0:00:42.199 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.022) 0:00:42.222 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.021) 0:00:42.244 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.021) 0:00:42.266 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.120) 0:00:42.386 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.038) 0:00:42.425 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.068) 0:00:42.494 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.040) 0:00:42.535 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.026) 0:00:42.561 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.022) 0:00:42.584 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:52:56 +0000 (0:00:00.021) 0:00:42.605 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:52:58 +0000 (0:00:01.366) 0:00:43.972 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.575) 0:00:44.547 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.023) 0:00:44.571 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.021) 0:00:44.592 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.023) 0:00:44.615 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.042) 0:00:44.658 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.021) 0:00:44.679 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.021) 0:00:44.701 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.024) 0:00:44.725 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.020) 0:00:44.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:52:58 +0000 (0:00:00.021) 0:00:44.768 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.181) 0:00:44.949 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmp08cg930l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.183) 0:00:45.133 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.219) 0:00:45.352 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.021) 0:00:45.374 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.022) 0:00:45.396 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.051) 0:00:45.447 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.021) 0:00:45.469 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.117) 0:00:45.587 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.039) 0:00:45.626 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.037) 0:00:45.664 ****** 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.021) 0:00:45.685 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.121) 0:00:45.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:52:59 +0000 (0:00:00.021) 0:00:45.828 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005028", "end": "2024-01-13 13:53:00.025780", "rc": 1, "start": "2024-01-13 13:53:00.020752" } STDERR: /bin/sh: nmcli: command not found 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.131) 0:00:45.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.022) 0:00:45.982 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.023) 0:00:46.005 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.023) 0:00:46.029 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.023) 0:00:46.053 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.024) 0:00:46.077 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.058) 0:00:46.136 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.026) 0:00:46.162 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.023) 0:00:46.186 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.040) 0:00:46.226 ****** 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.018222", "end": "2024-01-13 13:53:00.437482", "rc": 0, "start": "2024-01-13 13:53:00.419260" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tests_states.yml:126 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.148) 0:00:46.375 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.037) 0:00:46.413 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.023) 0:00:46.436 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.049) 0:00:46.485 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.034) 0:00:46.520 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.034) 0:00:46.554 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003076", "end": "2024-01-13 13:53:00.752116", "rc": 0, "start": "2024-01-13 13:53:00.749040" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.131) 0:00:46.686 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.022) 0:00:46.709 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.022) 0:00:46.731 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.072) 0:00:46.803 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.037) 0:00:46.841 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:53:00 +0000 (0:00:00.040) 0:00:46.882 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:53:01 +0000 (0:00:00.028) 0:00:46.910 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:53:01 +0000 (0:00:00.022) 0:00:46.932 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:53:01 +0000 (0:00:00.022) 0:00:46.955 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:53:02 +0000 (0:00:01.369) 0:00:48.325 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.584) 0:00:48.909 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.023) 0:00:48.932 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.021) 0:00:48.953 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.021) 0:00:48.975 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.043) 0:00:49.018 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.021) 0:00:49.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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.021) 0:00:49.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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.024) 0:00:49.086 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.022) 0:00:49.109 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.021) 0:00:49.131 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.184) 0:00:49.315 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmp9uo1a87c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.187) 0:00:49.503 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.278) 0:00:49.781 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.021) 0:00:49.803 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.023) 0:00:49.826 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.023) 0:00:49.849 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:53:03 +0000 (0:00:00.021) 0:00:49.871 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:53:04 +0000 (0:00:00.120) 0:00:49.991 ****** 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-cimhy7x2c6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:53:04 +0000 (0:00:00.023) 0:00:50.015 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:53:04 +0000 (0:00:00.035) 0:00:50.050 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:53:04 +0000 (0:00:00.039) 0:00:50.090 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:53:04 +0000 (0:00:00.028) 0:00:50.118 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:53:04 +0000 (0:00:00.022) 0:00:50.141 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:53:04 +0000 (0:00:00.020) 0:00:50.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:53:05 +0000 (0:00:01.352) 0:00:51.515 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.546) 0:00:52.061 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.022) 0:00:52.084 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.021) 0:00:52.106 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.022) 0:00:52.128 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.043) 0:00:52.171 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.021) 0:00:52.193 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.021) 0:00:52.214 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.024) 0:00:52.239 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.021) 0:00:52.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.021) 0:00:52.282 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.207) 0:00:52.489 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmp8ii4vo4d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:53:06 +0000 (0:00:00.185) 0:00:52.674 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.336) 0:00:53.011 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.021) 0:00:53.032 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.022) 0:00:53.055 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.022) 0:00:53.077 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.021) 0:00:53.099 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.124) 0:00:53.224 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.036) 0:00:53.261 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.040) 0:00:53.301 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.028) 0:00:53.330 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.021) 0:00:53.352 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:53:07 +0000 (0:00:00.044) 0:00:53.397 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:53:08 +0000 (0:00:01.382) 0:00:54.780 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.566) 0:00:55.346 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.023) 0:00:55.369 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.025) 0:00:55.395 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.025) 0:00:55.420 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.046) 0:00:55.467 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.047) 0:00:55.514 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.033) 0:00:55.547 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.026) 0:00:55.573 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.022) 0:00:55.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.021) 0:00:55.617 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:53:09 +0000 (0:00:00.186) 0:00:55.804 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmpeqga_8l9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.184) 0:00:55.988 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.234) 0:00:56.223 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.027) 0:00:56.250 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.022) 0:00:56.272 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.025) 0:00:56.298 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.022) 0:00:56.320 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.119) 0:00:56.440 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.038) 0:00:56.478 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.070) 0:00:56.549 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.042) 0:00:56.591 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.027) 0:00:56.619 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.021) 0:00:56.641 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:53:10 +0000 (0:00:00.021) 0:00:56.662 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:53:12 +0000 (0:00:01.355) 0:00:58.017 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.569) 0:00:58.587 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.023) 0:00:58.610 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.021) 0:00:58.631 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.021) 0:00:58.653 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.042) 0:00:58.695 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.022) 0:00:58.718 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.022) 0:00:58.740 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.025) 0:00:58.766 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.024) 0:00:58.790 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:53:12 +0000 (0:00:00.023) 0:00:58.813 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.186) 0:00:58.999 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1525509tr0q0z/tmpbnwow8b9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.181) 0:00:59.181 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.220) 0:00:59.402 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.021) 0:00:59.423 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.022) 0:00:59.446 ****** 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-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.022) 0:00:59.468 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.046) 0:00:59.514 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.124) 0:00:59.639 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.043) 0:00:59.682 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.036) 0:00:59.719 ****** 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.021) 0:00:59.740 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.121) 0:00:59.861 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:53:13 +0000 (0:00:00.022) 0:00:59.883 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004862", "end": "2024-01-13 13:53:14.081885", "rc": 1, "start": "2024-01-13 13:53:14.077023" } STDERR: /bin/sh: nmcli: command not found 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-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.131) 0:01:00.015 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.022) 0:01:00.038 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.023) 0:01:00.061 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.023) 0:01:00.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.023) 0:01:00.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.023) 0:01:00.132 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.055) 0:01:00.187 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.355914", "end": "2024-01-13 13:53:14.734844", "rc": 0, "start": "2024-01-13 13:53:14.378930" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.484) 0:01:00.672 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.022) 0:01:00.695 ****** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.022) 0:01:00.717 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.025) 0:01:00.742 ****** 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-cimhy7x2c6/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.022) 0:01:00.765 ****** included: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cimhy7x2c6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:53:14 +0000 (0:00:00.039) 0:01:00.805 ****** 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.030404", "end": "2024-01-13 13:53:15.027501", "rc": 0, "start": "2024-01-13 13:53:14.997097" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Saturday 13 January 2024 13:53:15 +0000 (0:00:00.147) 0:01:00.953 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.43s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.35s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.35s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.00s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.95s /WORKDIR/git-weekly-cimhy7x2c6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-weekly-cimhy7x2c6/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. ---^---^---^---^---^---