# 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-ci_fixm3a2e6xf/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tests_states_initscripts.yml:5 Friday 26 January 2024 23:46:09 +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-ci_fixm3a2e6xf/tests/tests_states_initscripts.yml:8 Friday 26 January 2024 23:46:10 +0000 (0:00:00.826) 0:00:00.837 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 23:46:10 +0000 (0:00:00.024) 0:00:00.862 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/el_repo_setup.yml:19 Friday 26 January 2024 23:46:10 +0000 (0:00:00.232) 0:00:01.094 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/el_repo_setup.yml:24 Friday 26 January 2024 23:46:10 +0000 (0:00:00.207) 0:00:01.302 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/el_repo_setup.yml:28 Friday 26 January 2024 23:46:10 +0000 (0:00:00.021) 0:00:01.324 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/el_repo_setup.yml:53 Friday 26 January 2024 23:46:10 +0000 (0:00:00.019) 0:00:01.343 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 23:46:10 +0000 (0:00:00.034) 0:00:01.378 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 23:46:10 +0000 (0:00:00.011) 0:00:01.389 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 23:46:10 +0000 (0:00:00.012) 0:00:01.401 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 23:46:10 +0000 (0:00:00.010) 0:00:01.411 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 23:46:10 +0000 (0:00:00.010) 0:00:01.422 ******** 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-ci_fixm3a2e6xf/tests/tests_states_initscripts.yml:10 Friday 26 January 2024 23:46:11 +0000 (0:00:00.422) 0:00:01.845 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 23:46:11 +0000 (0:00:00.010) 0:00:01.855 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 23:46:11 +0000 (0:00:00.627) 0:00:02.483 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 23:46:11 +0000 (0:00:00.011) 0:00:02.495 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 23:46:11 +0000 (0:00:00.018) 0:00:02.514 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 23:46:11 +0000 (0:00:00.011) 0:00:02.525 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 23:46:11 +0000 (0:00:00.034) 0:00:02.560 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 23:46:11 +0000 (0:00:00.015) 0:00:02.575 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 23:46:12 +0000 (0:00:00.015) 0:00:02.591 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003439", "end": "2024-01-26 23:46:12.179702", "rc": 0, "start": "2024-01-26 23:46:12.176263" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 23:46:12 +0000 (0:00:00.194) 0:00:02.785 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 23:46:12 +0000 (0:00:00.012) 0:00:02.798 ******** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 23:46:12 +0000 (0:00:00.012) 0:00:02.810 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 23:46:12 +0000 (0:00:00.022) 0:00:02.832 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.029587", "end": "2024-01-26 23:46:12.381807", "rc": 255, "start": "2024-01-26 23:46:12.352220" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 23:46:12 +0000 (0:00:00.153) 0:00:02.986 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 23:46:12 +0000 (0:00:00.017) 0:00:03.004 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 23:46:12 +0000 (0:00:00.124) 0:00:03.128 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 23:46:12 +0000 (0:00:00.013) 0:00:03.141 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 23:46:12 +0000 (0:00:00.020) 0:00:03.161 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:12 +0000 (0:00:00.033) 0:00:03.195 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:12 +0000 (0:00:00.069) 0:00:03.264 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:12 +0000 (0:00:00.013) 0:00:03.278 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:12 +0000 (0:00:00.011) 0:00:03.290 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:12 +0000 (0:00:00.010) 0:00:03.300 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:14 +0000 (0:00:01.756) 0:00:05.057 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:15 +0000 (0:00:00.736) 0:00:05.793 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:15 +0000 (0:00:00.020) 0:00:05.814 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:15 +0000 (0:00:00.019) 0:00:05.833 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:15 +0000 (0:00:00.019) 0:00:05.853 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:15 +0000 (0:00:00.040) 0:00:05.894 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:15 +0000 (0:00:00.034) 0:00:05.928 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:15 +0000 (0:00:00.019) 0:00:05.948 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:15 +0000 (0:00:00.024) 0:00:05.972 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:15 +0000 (0:00:00.020) 0:00:05.993 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:15 +0000 (0:00:00.019) 0:00:06.012 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:15 +0000 (0:00:00.252) 0:00:06.264 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpceuif4s2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:15 +0000 (0:00:00.198) 0:00:06.462 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:16 +0000 (0:00:00.364) 0:00:06.827 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:16 +0000 (0:00:00.020) 0:00:06.848 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:16 +0000 (0:00:00.021) 0:00:06.869 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:16 +0000 (0:00:00.023) 0:00:06.892 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:16 +0000 (0:00:00.020) 0:00:06.913 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 23:46:16 +0000 (0:00:00.203) 0:00:07.116 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 23:46:16 +0000 (0:00:00.021) 0:00:07.138 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 23:46:16 +0000 (0:00:00.061) 0:00:07.200 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 23:46:16 +0000 (0:00:00.040) 0:00:07.240 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 23:46:16 +0000 (0:00:00.020) 0:00:07.261 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706312776.211971, "block_size": 4096, "blocks": 8, "ctime": 1706312776.211971, "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": 1706312776.211971, "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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 23:46:16 +0000 (0:00:00.133) 0:00:07.394 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 23:46:16 +0000 (0:00:00.022) 0:00:07.417 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005337", "end": "2024-01-26 23:46:16.941659", "rc": 1, "start": "2024-01-26 23:46:16.936322" } 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 23:46:16 +0000 (0:00:00.137) 0:00:07.554 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 23:46:16 +0000 (0:00:00.022) 0:00:07.576 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003204", "end": "2024-01-26 23:46:17.102347", "rc": 0, "start": "2024-01-26 23:46:17.099143" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 23:46:17 +0000 (0:00:00.139) 0:00:07.716 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 23:46:17 +0000 (0:00:00.025) 0:00:07.741 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003254", "end": "2024-01-26 23:46:17.266251", "rc": 0, "start": "2024-01-26 23:46:17.262997" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 23:46:17 +0000 (0:00:00.140) 0:00:07.881 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 23:46:17 +0000 (0:00:00.024) 0:00:07.906 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 23:46:17 +0000 (0:00:00.023) 0:00:07.930 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 23:46:17 +0000 (0:00:00.022) 0:00:07.953 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 23:46:17 +0000 (0:00:00.021) 0:00:07.974 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 23:46:17 +0000 (0:00:00.043) 0:00:08.018 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 23:46:17 +0000 (0:00:00.022) 0:00:08.041 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 23:46:17 +0000 (0:00:00.038) 0:00:08.080 ******** 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.019910", "end": "2024-01-26 23:46:17.621128", "rc": 255, "start": "2024-01-26 23:46:17.601218" } 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-ci_fixm3a2e6xf/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 23:46:17 +0000 (0:00:00.155) 0:00:08.235 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 23:46:17 +0000 (0:00:00.035) 0:00:08.270 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 23:46:17 +0000 (0:00:00.020) 0:00:08.291 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 23:46:17 +0000 (0:00:00.043) 0:00:08.334 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 23:46:17 +0000 (0:00:00.033) 0:00:08.368 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 23:46:17 +0000 (0:00:00.032) 0:00:08.400 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003413", "end": "2024-01-26 23:46:17.923635", "rc": 0, "start": "2024-01-26 23:46:17.920222" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 23:46:17 +0000 (0:00:00.137) 0:00:08.537 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 23:46:17 +0000 (0:00:00.021) 0:00:08.559 ******** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 23:46:17 +0000 (0:00:00.020) 0:00:08.580 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 23:46:18 +0000 (0:00:00.061) 0:00:08.641 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005035", "end": "2024-01-26 23:46:18.167746", "rc": 255, "start": "2024-01-26 23:46:18.162711" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 23:46:18 +0000 (0:00:00.139) 0:00:08.780 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 23:46:18 +0000 (0:00:00.034) 0:00:08.815 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 23:46:18 +0000 (0:00:00.132) 0:00:08.947 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 23:46:18 +0000 (0:00:00.023) 0:00:08.970 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 23:46:18 +0000 (0:00:00.037) 0:00:09.008 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:18 +0000 (0:00:00.039) 0:00:09.047 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:18 +0000 (0:00:00.038) 0:00:09.085 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:18 +0000 (0:00:00.025) 0:00:09.110 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:18 +0000 (0:00:00.020) 0:00:09.130 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:18 +0000 (0:00:00.019) 0:00:09.150 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:20 +0000 (0:00:01.498) 0:00:10.648 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:20 +0000 (0:00:00.591) 0:00:11.239 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:20 +0000 (0:00:00.021) 0:00:11.260 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:20 +0000 (0:00:00.020) 0:00:11.281 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:20 +0000 (0:00:00.020) 0:00:11.302 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:20 +0000 (0:00:00.041) 0:00:11.344 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:20 +0000 (0:00:00.020) 0:00:11.364 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:20 +0000 (0:00:00.040) 0:00:11.404 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:20 +0000 (0:00:00.024) 0:00:11.428 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:20 +0000 (0:00:00.021) 0:00:11.450 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:20 +0000 (0:00:00.021) 0:00:11.472 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:21 +0000 (0:00:00.197) 0:00:11.669 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmp3obca9yz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:21 +0000 (0:00:00.209) 0:00:11.878 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:21 +0000 (0:00:00.244) 0:00:12.123 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:21 +0000 (0:00:00.020) 0:00:12.144 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:21 +0000 (0:00:00.021) 0:00:12.165 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:21 +0000 (0:00:00.022) 0:00:12.187 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:21 +0000 (0:00:00.020) 0:00:12.208 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 23:46:21 +0000 (0:00:00.129) 0:00:12.338 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 23:46:21 +0000 (0:00:00.023) 0:00:12.361 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 23:46:21 +0000 (0:00:00.042) 0:00:12.403 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 23:46:21 +0000 (0:00:00.060) 0:00:12.464 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 23:46:22 +0000 (0:00:00.137) 0:00:12.602 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 23:46:22 +0000 (0:00:00.023) 0:00:12.625 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 23:46:22 +0000 (0:00:00.036) 0:00:12.661 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 23:46:22 +0000 (0:00:00.020) 0:00:12.682 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706312781.506971, "block_size": 4096, "blocks": 8, "ctime": 1706312781.506971, "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": 1706312781.506971, "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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 23:46:22 +0000 (0:00:00.133) 0:00:12.816 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 23:46:22 +0000 (0:00:00.021) 0:00:12.837 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005441", "end": "2024-01-26 23:46:22.362380", "rc": 1, "start": "2024-01-26 23:46:22.356939" } 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 23:46:22 +0000 (0:00:00.137) 0:00:12.974 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 23:46:22 +0000 (0:00:00.021) 0:00:12.996 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003365", "end": "2024-01-26 23:46:22.522935", "rc": 0, "start": "2024-01-26 23:46:22.519570" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 23:46:22 +0000 (0:00:00.142) 0:00:13.138 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 23:46:22 +0000 (0:00:00.025) 0:00:13.164 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003400", "end": "2024-01-26 23:46:22.690927", "rc": 0, "start": "2024-01-26 23:46:22.687527" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 23:46:22 +0000 (0:00:00.142) 0:00:13.306 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 23:46:22 +0000 (0:00:00.025) 0:00:13.331 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 23:46:22 +0000 (0:00:00.049) 0:00:13.381 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 23:46:22 +0000 (0:00:00.024) 0:00:13.406 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 23:46:22 +0000 (0:00:00.023) 0:00:13.429 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 23:46:22 +0000 (0:00:00.019) 0:00:13.449 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 23:46:22 +0000 (0:00:00.020) 0:00:13.470 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 23:46:22 +0000 (0:00:00.039) 0:00:13.509 ******** 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.021917", "end": "2024-01-26 23:46:23.053253", "rc": 255, "start": "2024-01-26 23:46:23.031336" } 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-ci_fixm3a2e6xf/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 23:46:23 +0000 (0:00:00.158) 0:00:13.668 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 23:46:23 +0000 (0:00:00.036) 0:00:13.704 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 23:46:23 +0000 (0:00:00.022) 0:00:13.726 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 23:46:23 +0000 (0:00:00.043) 0:00:13.769 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 23:46:23 +0000 (0:00:00.033) 0:00:13.803 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 23:46:23 +0000 (0:00:00.033) 0:00:13.836 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003426", "end": "2024-01-26 23:46:23.361016", "rc": 0, "start": "2024-01-26 23:46:23.357590" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 23:46:23 +0000 (0:00:00.163) 0:00:13.999 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 23:46:23 +0000 (0:00:00.021) 0:00:14.021 ******** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 23:46:23 +0000 (0:00:00.021) 0:00:14.042 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 23:46:23 +0000 (0:00:00.036) 0:00:14.079 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:23 +0000 (0:00:00.035) 0:00:14.114 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:23 +0000 (0:00:00.039) 0:00:14.153 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:23 +0000 (0:00:00.025) 0:00:14.179 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:23 +0000 (0:00:00.021) 0:00:14.200 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:23 +0000 (0:00:00.020) 0:00:14.220 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:25 +0000 (0:00:01.482) 0:00:15.703 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:25 +0000 (0:00:00.598) 0:00:16.302 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:25 +0000 (0:00:00.021) 0:00:16.323 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:25 +0000 (0:00:00.020) 0:00:16.344 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:25 +0000 (0:00:00.020) 0:00:16.365 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:25 +0000 (0:00:00.042) 0:00:16.408 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:25 +0000 (0:00:00.019) 0:00:16.427 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:25 +0000 (0:00:00.019) 0:00:16.447 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:25 +0000 (0:00:00.024) 0:00:16.471 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:25 +0000 (0:00:00.020) 0:00:16.491 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:25 +0000 (0:00:00.018) 0:00:16.510 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:26 +0000 (0:00:00.195) 0:00:16.706 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpz_l492ha" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:26 +0000 (0:00:00.195) 0:00:16.901 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:26 +0000 (0:00:00.243) 0:00:17.145 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:26 +0000 (0:00:00.021) 0:00:17.166 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:26 +0000 (0:00:00.022) 0:00:17.189 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:26 +0000 (0:00:00.021) 0:00:17.210 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:26 +0000 (0:00:00.021) 0:00:17.232 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 23:46:26 +0000 (0:00:00.129) 0:00:17.361 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 23:46:26 +0000 (0:00:00.021) 0:00:17.383 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 23:46:26 +0000 (0:00:00.038) 0:00:17.421 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:26 +0000 (0:00:00.038) 0:00:17.459 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:26 +0000 (0:00:00.038) 0:00:17.498 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:26 +0000 (0:00:00.025) 0:00:17.523 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:26 +0000 (0:00:00.044) 0:00:17.567 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:27 +0000 (0:00:00.021) 0:00:17.588 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:28 +0000 (0:00:01.459) 0:00:19.048 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:29 +0000 (0:00:00.592) 0:00:19.641 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:29 +0000 (0:00:00.021) 0:00:19.662 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:29 +0000 (0:00:00.021) 0:00:19.684 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:29 +0000 (0:00:00.020) 0:00:19.704 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:29 +0000 (0:00:00.081) 0:00:19.786 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:29 +0000 (0:00:00.021) 0:00:19.807 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:29 +0000 (0:00:00.020) 0:00:19.828 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:29 +0000 (0:00:00.024) 0:00:19.852 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:29 +0000 (0:00:00.020) 0:00:19.873 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:29 +0000 (0:00:00.020) 0:00:19.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:29 +0000 (0:00:00.196) 0:00:20.090 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpgai1_w99" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:29 +0000 (0:00:00.195) 0:00:20.286 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:30 +0000 (0:00:00.375) 0:00:20.662 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:30 +0000 (0:00:00.020) 0:00:20.682 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:30 +0000 (0:00:00.022) 0:00:20.704 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:30 +0000 (0:00:00.024) 0:00:20.728 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:30 +0000 (0:00:00.020) 0:00:20.749 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 23:46:30 +0000 (0:00:00.138) 0:00:20.887 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 23:46:30 +0000 (0:00:00.063) 0:00:20.951 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 23:46:30 +0000 (0:00:00.034) 0:00:20.986 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706312789.973971, "block_size": 4096, "blocks": 0, "ctime": 1706312789.969971, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6603, "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": 1706312789.969971, "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-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 23:46:30 +0000 (0:00:00.135) 0:00:21.121 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 23:46:30 +0000 (0:00:00.022) 0:00:21.144 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 23:46:30 +0000 (0:00:00.036) 0:00:21.180 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 23:46:30 +0000 (0:00:00.020) 0:00:21.201 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706312788.043971, "block_size": 4096, "blocks": 8, "ctime": 1706312786.528971, "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": 1706312786.528971, "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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 23:46:30 +0000 (0:00:00.134) 0:00:21.336 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 23:46:30 +0000 (0:00:00.023) 0:00:21.359 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005464", "end": "2024-01-26 23:46:30.885195", "rc": 1, "start": "2024-01-26 23:46:30.879731" } 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 23:46:30 +0000 (0:00:00.139) 0:00:21.499 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 23:46:30 +0000 (0:00:00.021) 0:00:21.520 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003304", "end": "2024-01-26 23:46:31.047628", "rc": 0, "start": "2024-01-26 23:46:31.044324" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 23:46:31 +0000 (0:00:00.142) 0:00:21.663 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 23:46:31 +0000 (0:00:00.025) 0:00:21.689 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003328", "end": "2024-01-26 23:46:31.214862", "rc": 0, "start": "2024-01-26 23:46:31.211534" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 23:46:31 +0000 (0:00:00.162) 0:00:21.851 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 23:46:31 +0000 (0:00:00.025) 0:00:21.876 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 23:46:31 +0000 (0:00:00.023) 0:00:21.900 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 23:46:31 +0000 (0:00:00.023) 0:00:21.923 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 23:46:31 +0000 (0:00:00.021) 0:00:21.945 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 23:46:31 +0000 (0:00:00.019) 0:00:21.964 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 23:46:31 +0000 (0:00:00.022) 0:00:21.986 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 23:46:31 +0000 (0:00:00.038) 0:00:22.025 ******** 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.030602", "end": "2024-01-26 23:46:31.576028", "rc": 0, "start": "2024-01-26 23:46:31.545426" } 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-ci_fixm3a2e6xf/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 23:46:31 +0000 (0:00:00.170) 0:00:22.195 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 23:46:31 +0000 (0:00:00.034) 0:00:22.230 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 23:46:31 +0000 (0:00:00.020) 0:00:22.251 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 23:46:31 +0000 (0:00:00.043) 0:00:22.295 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 23:46:31 +0000 (0:00:00.033) 0:00:22.328 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 23:46:31 +0000 (0:00:00.054) 0:00:22.383 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-01-26 23:46:31.909203", "rc": 0, "start": "2024-01-26 23:46:31.905737" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 23:46:31 +0000 (0:00:00.140) 0:00:22.523 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 23:46:31 +0000 (0:00:00.021) 0:00:22.545 ******** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 23:46:31 +0000 (0:00:00.020) 0:00:22.566 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 23:46:32 +0000 (0:00:00.039) 0:00:22.606 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:32 +0000 (0:00:00.034) 0:00:22.641 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:32 +0000 (0:00:00.037) 0:00:22.679 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:32 +0000 (0:00:00.025) 0:00:22.704 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:32 +0000 (0:00:00.020) 0:00:22.724 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:32 +0000 (0:00:00.020) 0:00:22.745 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:33 +0000 (0:00:01.487) 0:00:24.232 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:34 +0000 (0:00:00.589) 0:00:24.821 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:34 +0000 (0:00:00.022) 0:00:24.844 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:34 +0000 (0:00:00.020) 0:00:24.865 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:34 +0000 (0:00:00.021) 0:00:24.886 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:34 +0000 (0:00:00.041) 0:00:24.927 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:34 +0000 (0:00:00.020) 0:00:24.948 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:34 +0000 (0:00:00.021) 0:00:24.969 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:34 +0000 (0:00:00.023) 0:00:24.992 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:34 +0000 (0:00:00.020) 0:00:25.013 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:34 +0000 (0:00:00.019) 0:00:25.033 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:34 +0000 (0:00:00.220) 0:00:25.254 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpabg6ff7n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:34 +0000 (0:00:00.196) 0:00:25.450 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:35 +0000 (0:00:00.245) 0:00:25.695 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:35 +0000 (0:00:00.020) 0:00:25.716 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:35 +0000 (0:00:00.022) 0:00:25.739 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:35 +0000 (0:00:00.023) 0:00:25.762 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:35 +0000 (0:00:00.021) 0:00:25.783 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 23:46:35 +0000 (0:00:00.131) 0:00:25.914 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 23:46:35 +0000 (0:00:00.022) 0:00:25.937 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:35 +0000 (0:00:00.034) 0:00:25.971 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:35 +0000 (0:00:00.038) 0:00:26.010 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:35 +0000 (0:00:00.025) 0:00:26.036 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:35 +0000 (0:00:00.047) 0:00:26.083 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:35 +0000 (0:00:00.021) 0:00:26.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:36 +0000 (0:00:01.447) 0:00:27.552 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:37 +0000 (0:00:00.593) 0:00:28.146 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:37 +0000 (0:00:00.022) 0:00:28.169 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:37 +0000 (0:00:00.021) 0:00:28.190 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:37 +0000 (0:00:00.020) 0:00:28.211 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:37 +0000 (0:00:00.065) 0:00:28.277 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:37 +0000 (0:00:00.021) 0:00:28.299 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:37 +0000 (0:00:00.021) 0:00:28.320 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:37 +0000 (0:00:00.024) 0:00:28.345 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:37 +0000 (0:00:00.020) 0:00:28.365 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:37 +0000 (0:00:00.020) 0:00:28.386 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:37 +0000 (0:00:00.196) 0:00:28.582 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmp7x1i2b1p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:38 +0000 (0:00:00.197) 0:00:28.780 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:38 +0000 (0:00:00.360) 0:00:29.141 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:38 +0000 (0:00:00.020) 0:00:29.162 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:38 +0000 (0:00:00.021) 0:00:29.183 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:38 +0000 (0:00:00.021) 0:00:29.205 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:38 +0000 (0:00:00.019) 0:00:29.225 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 23:46:38 +0000 (0:00:00.129) 0:00:29.354 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 23:46:38 +0000 (0:00:00.061) 0:00:29.415 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:38 +0000 (0:00:00.039) 0:00:29.454 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:38 +0000 (0:00:00.039) 0:00:29.493 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:38 +0000 (0:00:00.025) 0:00:29.519 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:38 +0000 (0:00:00.021) 0:00:29.540 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:38 +0000 (0:00:00.021) 0:00:29.561 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:40 +0000 (0:00:01.459) 0:00:31.020 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:41 +0000 (0:00:00.611) 0:00:31.631 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:41 +0000 (0:00:00.022) 0:00:31.654 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:41 +0000 (0:00:00.021) 0:00:31.675 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:41 +0000 (0:00:00.020) 0:00:31.695 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:41 +0000 (0:00:00.041) 0:00:31.736 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:41 +0000 (0:00:00.020) 0:00:31.756 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:41 +0000 (0:00:00.020) 0:00:31.777 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:41 +0000 (0:00:00.025) 0:00:31.802 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:41 +0000 (0:00:00.020) 0:00:31.823 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:41 +0000 (0:00:00.019) 0:00:31.842 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:41 +0000 (0:00:00.193) 0:00:32.036 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpzsydd44r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:41 +0000 (0:00:00.196) 0:00:32.232 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:41 +0000 (0:00:00.298) 0:00:32.530 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:41 +0000 (0:00:00.021) 0:00:32.551 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:41 +0000 (0:00:00.023) 0:00:32.574 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:42 +0000 (0:00:00.022) 0:00:32.596 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:42 +0000 (0:00:00.020) 0:00:32.617 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 23:46:42 +0000 (0:00:00.128) 0:00:32.745 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 23:46:42 +0000 (0:00:00.042) 0:00:32.788 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 23:46:42 +0000 (0:00:00.034) 0:00:32.822 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706312798.459971, "block_size": 4096, "blocks": 0, "ctime": 1706312798.456971, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6603, "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": 1706312798.456971, "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-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 23:46:42 +0000 (0:00:00.135) 0:00:32.958 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 23:46:42 +0000 (0:00:00.022) 0:00:32.981 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 23:46:42 +0000 (0:00:00.036) 0:00:33.017 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 23:46:42 +0000 (0:00:00.020) 0:00:33.038 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 23:46:42 +0000 (0:00:00.131) 0:00:33.170 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 23:46:42 +0000 (0:00:00.051) 0:00:33.221 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005356", "end": "2024-01-26 23:46:42.748143", "rc": 1, "start": "2024-01-26 23:46:42.742787" } 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 23:46:42 +0000 (0:00:00.140) 0:00:33.362 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 23:46:42 +0000 (0:00:00.022) 0:00:33.384 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 23:46:42 +0000 (0:00:00.021) 0:00:33.405 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 23:46:42 +0000 (0:00:00.020) 0:00:33.426 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 23:46:42 +0000 (0:00:00.021) 0:00:33.447 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 23:46:42 +0000 (0:00:00.020) 0:00:33.468 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 23:46:42 +0000 (0:00:00.022) 0:00:33.490 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 23:46:42 +0000 (0:00:00.018) 0:00:33.509 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 23:46:42 +0000 (0:00:00.021) 0:00:33.530 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 23:46:42 +0000 (0:00:00.037) 0:00:33.567 ******** 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.024562", "end": "2024-01-26 23:46:43.112951", "rc": 0, "start": "2024-01-26 23:46:43.088389" } 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-ci_fixm3a2e6xf/tests/playbooks/tests_states.yml:103 Friday 26 January 2024 23:46:43 +0000 (0:00:00.161) 0:00:33.729 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 23:46:43 +0000 (0:00:00.034) 0:00:33.764 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 23:46:43 +0000 (0:00:00.020) 0:00:33.784 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 23:46:43 +0000 (0:00:00.044) 0:00:33.829 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 23:46:43 +0000 (0:00:00.055) 0:00:33.884 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 23:46:43 +0000 (0:00:00.033) 0:00:33.918 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003380", "end": "2024-01-26 23:46:43.441048", "rc": 0, "start": "2024-01-26 23:46:43.437668" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 23:46:43 +0000 (0:00:00.137) 0:00:34.055 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 23:46:43 +0000 (0:00:00.022) 0:00:34.077 ******** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 23:46:43 +0000 (0:00:00.021) 0:00:34.098 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 23:46:43 +0000 (0:00:00.043) 0:00:34.141 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:43 +0000 (0:00:00.034) 0:00:34.176 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:43 +0000 (0:00:00.038) 0:00:34.215 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:43 +0000 (0:00:00.025) 0:00:34.240 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:43 +0000 (0:00:00.019) 0:00:34.260 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:43 +0000 (0:00:00.019) 0:00:34.279 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:45 +0000 (0:00:01.455) 0:00:35.735 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:45 +0000 (0:00:00.590) 0:00:36.325 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:45 +0000 (0:00:00.022) 0:00:36.347 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:45 +0000 (0:00:00.020) 0:00:36.368 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:45 +0000 (0:00:00.020) 0:00:36.388 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:45 +0000 (0:00:00.041) 0:00:36.430 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:45 +0000 (0:00:00.020) 0:00:36.450 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:45 +0000 (0:00:00.039) 0:00:36.490 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:45 +0000 (0:00:00.024) 0:00:36.515 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:45 +0000 (0:00:00.021) 0:00:36.536 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:45 +0000 (0:00:00.019) 0:00:36.555 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:46 +0000 (0:00:00.196) 0:00:36.752 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpivsi2fg8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:46 +0000 (0:00:00.195) 0:00:36.948 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:46 +0000 (0:00:00.247) 0:00:37.195 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:46 +0000 (0:00:00.021) 0:00:37.216 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:46 +0000 (0:00:00.021) 0:00:37.238 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:46 +0000 (0:00:00.022) 0:00:37.260 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:46 +0000 (0:00:00.019) 0:00:37.280 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 23:46:46 +0000 (0:00:00.129) 0:00:37.409 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 23:46:46 +0000 (0:00:00.022) 0:00:37.432 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:46 +0000 (0:00:00.034) 0:00:37.466 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:46 +0000 (0:00:00.063) 0:00:37.529 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:46 +0000 (0:00:00.026) 0:00:37.556 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:46 +0000 (0:00:00.021) 0:00:37.577 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:47 +0000 (0:00:00.020) 0:00:37.597 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:48 +0000 (0:00:01.452) 0:00:39.050 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:49 +0000 (0:00:00.601) 0:00:39.651 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:49 +0000 (0:00:00.040) 0:00:39.691 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:49 +0000 (0:00:00.021) 0:00:39.713 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:49 +0000 (0:00:00.019) 0:00:39.732 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:49 +0000 (0:00:00.041) 0:00:39.774 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:49 +0000 (0:00:00.020) 0:00:39.795 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:49 +0000 (0:00:00.020) 0:00:39.816 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:49 +0000 (0:00:00.023) 0:00:39.839 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:49 +0000 (0:00:00.020) 0:00:39.859 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:49 +0000 (0:00:00.019) 0:00:39.879 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:49 +0000 (0:00:00.194) 0:00:40.073 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpsps76vsr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:49 +0000 (0:00:00.196) 0:00:40.269 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:50 +0000 (0:00:00.358) 0:00:40.628 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:50 +0000 (0:00:00.020) 0:00:40.649 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:50 +0000 (0:00:00.021) 0:00:40.671 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:50 +0000 (0:00:00.021) 0:00:40.693 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:50 +0000 (0:00:00.044) 0:00:40.737 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 23:46:50 +0000 (0:00:00.129) 0:00:40.867 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:50 +0000 (0:00:00.034) 0:00:40.901 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:50 +0000 (0:00:00.038) 0:00:40.940 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:50 +0000 (0:00:00.025) 0:00:40.966 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:50 +0000 (0:00:00.021) 0:00:40.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:50 +0000 (0:00:00.020) 0:00:41.008 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:51 +0000 (0:00:01.455) 0:00:42.463 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:52 +0000 (0:00:00.610) 0:00:43.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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:52 +0000 (0:00:00.022) 0:00:43.096 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:52 +0000 (0:00:00.021) 0:00:43.117 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:52 +0000 (0:00:00.019) 0:00:43.136 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:52 +0000 (0:00:00.041) 0:00:43.178 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:52 +0000 (0:00:00.019) 0:00:43.198 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:52 +0000 (0:00:00.019) 0:00:43.217 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:52 +0000 (0:00:00.023) 0:00:43.241 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:52 +0000 (0:00:00.020) 0:00:43.261 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:52 +0000 (0:00:00.019) 0:00:43.281 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:52 +0000 (0:00:00.195) 0:00:43.477 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpa9l5166e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:53 +0000 (0:00:00.200) 0:00:43.677 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:53 +0000 (0:00:00.277) 0:00:43.955 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:53 +0000 (0:00:00.021) 0:00:43.976 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:53 +0000 (0:00:00.022) 0:00:43.999 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:53 +0000 (0:00:00.023) 0:00:44.022 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:53 +0000 (0:00:00.021) 0:00:44.043 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 23:46:53 +0000 (0:00:00.126) 0:00:44.170 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 23:46:53 +0000 (0:00:00.039) 0:00:44.210 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:53 +0000 (0:00:00.039) 0:00:44.249 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:53 +0000 (0:00:00.038) 0:00:44.287 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:53 +0000 (0:00:00.025) 0:00:44.313 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:53 +0000 (0:00:00.020) 0:00:44.333 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:53 +0000 (0:00:00.020) 0:00:44.353 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:55 +0000 (0:00:01.445) 0:00:45.799 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:46:55 +0000 (0:00:00.592) 0:00:46.392 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:46:55 +0000 (0:00:00.022) 0:00:46.414 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:46:55 +0000 (0:00:00.021) 0:00:46.435 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:46:55 +0000 (0:00:00.020) 0:00:46.456 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:46:55 +0000 (0:00:00.042) 0:00:46.499 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:46:55 +0000 (0:00:00.021) 0:00:46.520 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:46:55 +0000 (0:00:00.021) 0:00:46.541 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:46:56 +0000 (0:00:00.047) 0:00:46.588 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:46:56 +0000 (0:00:00.021) 0:00:46.609 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:46:56 +0000 (0:00:00.021) 0:00:46.631 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:46:56 +0000 (0:00:00.194) 0:00:46.826 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpboxj10pu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:46:56 +0000 (0:00:00.196) 0:00:47.022 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:46:56 +0000 (0:00:00.240) 0:00:47.263 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:46:56 +0000 (0:00:00.021) 0:00:47.284 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:46:56 +0000 (0:00:00.021) 0:00:47.306 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:46:56 +0000 (0:00:00.022) 0:00:47.328 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:46:56 +0000 (0:00:00.020) 0:00:47.349 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 23:46:56 +0000 (0:00:00.128) 0:00:47.477 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 23:46:56 +0000 (0:00:00.038) 0:00:47.516 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 23:46:56 +0000 (0:00:00.036) 0:00:47.552 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 23:46:56 +0000 (0:00:00.021) 0:00:47.573 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 23:46:57 +0000 (0:00:00.132) 0:00:47.705 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 23:46:57 +0000 (0:00:00.021) 0:00:47.726 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005373", "end": "2024-01-26 23:46:57.251127", "rc": 1, "start": "2024-01-26 23:46:57.245754" } 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 23:46:57 +0000 (0:00:00.137) 0:00:47.864 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 23:46:57 +0000 (0:00:00.021) 0:00:47.886 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 23:46:57 +0000 (0:00:00.022) 0:00:47.908 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 23:46:57 +0000 (0:00:00.021) 0:00:47.929 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 23:46:57 +0000 (0:00:00.020) 0:00:47.950 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 23:46:57 +0000 (0:00:00.021) 0:00:47.972 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 23:46:57 +0000 (0:00:00.022) 0:00:47.995 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 23:46:57 +0000 (0:00:00.023) 0:00:48.019 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 23:46:57 +0000 (0:00:00.021) 0:00:48.041 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 23:46:57 +0000 (0:00:00.037) 0:00:48.078 ******** 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.016577", "end": "2024-01-26 23:46:57.615940", "rc": 0, "start": "2024-01-26 23:46:57.599363" } 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-ci_fixm3a2e6xf/tests/playbooks/tests_states.yml:126 Friday 26 January 2024 23:46:57 +0000 (0:00:00.154) 0:00:48.233 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 23:46:57 +0000 (0:00:00.035) 0:00:48.268 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 23:46:57 +0000 (0:00:00.044) 0:00:48.313 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 23:46:57 +0000 (0:00:00.046) 0:00:48.359 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 23:46:57 +0000 (0:00:00.033) 0:00:48.393 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 23:46:57 +0000 (0:00:00.032) 0:00:48.426 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003406", "end": "2024-01-26 23:46:57.949624", "rc": 0, "start": "2024-01-26 23:46:57.946218" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 23:46:57 +0000 (0:00:00.137) 0:00:48.563 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 23:46:57 +0000 (0:00:00.022) 0:00:48.585 ******** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 23:46:58 +0000 (0:00:00.020) 0:00:48.605 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 23:46:58 +0000 (0:00:00.045) 0:00:48.651 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:46:58 +0000 (0:00:00.034) 0:00:48.685 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:46:58 +0000 (0:00:00.038) 0:00:48.723 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:46:58 +0000 (0:00:00.024) 0:00:48.748 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:46:58 +0000 (0:00:00.043) 0:00:48.791 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:46:58 +0000 (0:00:00.020) 0:00:48.812 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:46:59 +0000 (0:00:01.449) 0:00:50.261 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:47:00 +0000 (0:00:00.596) 0:00:50.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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:47:00 +0000 (0:00:00.021) 0:00:50.879 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:47:00 +0000 (0:00:00.021) 0:00:50.901 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:47:00 +0000 (0:00:00.019) 0:00:50.920 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:47:00 +0000 (0:00:00.082) 0:00:51.003 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:47:00 +0000 (0:00:00.021) 0:00:51.024 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:47:00 +0000 (0:00:00.020) 0:00:51.045 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:47:00 +0000 (0:00:00.024) 0:00:51.069 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:47:00 +0000 (0:00:00.020) 0:00:51.089 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:47:00 +0000 (0:00:00.019) 0:00:51.109 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:47:00 +0000 (0:00:00.198) 0:00:51.307 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpx4q9aqrk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:47:00 +0000 (0:00:00.195) 0:00:51.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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:47:01 +0000 (0:00:00.242) 0:00:51.745 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:47:01 +0000 (0:00:00.020) 0:00:51.766 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:47:01 +0000 (0:00:00.021) 0:00:51.788 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:47:01 +0000 (0:00:00.021) 0:00:51.810 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:47:01 +0000 (0:00:00.020) 0:00:51.830 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 23:47:01 +0000 (0:00:00.129) 0:00:51.960 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 23:47:01 +0000 (0:00:00.021) 0:00:51.981 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:47:01 +0000 (0:00:00.058) 0:00:52.040 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:47:01 +0000 (0:00:00.039) 0:00:52.079 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:47:01 +0000 (0:00:00.025) 0:00:52.105 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:47:01 +0000 (0:00:00.020) 0:00:52.125 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:47:01 +0000 (0:00:00.021) 0:00:52.146 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:47:03 +0000 (0:00:01.488) 0:00:53.634 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:47:03 +0000 (0:00:00.615) 0:00:54.250 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:47:03 +0000 (0:00:00.023) 0:00:54.274 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:47:03 +0000 (0:00:00.021) 0:00:54.295 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:47:03 +0000 (0:00:00.021) 0:00:54.317 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:47:03 +0000 (0:00:00.041) 0:00:54.358 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:47:03 +0000 (0:00:00.021) 0:00:54.380 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:47:03 +0000 (0:00:00.021) 0:00:54.402 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:47:03 +0000 (0:00:00.024) 0:00:54.426 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:47:03 +0000 (0:00:00.021) 0:00:54.447 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:47:03 +0000 (0:00:00.020) 0:00:54.468 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:47:04 +0000 (0:00:00.196) 0:00:54.664 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpphuiqa11" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:47:04 +0000 (0:00:00.199) 0:00:54.864 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:47:04 +0000 (0:00:00.364) 0:00:55.228 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:47:04 +0000 (0:00:00.044) 0:00:55.273 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:47:04 +0000 (0:00:00.022) 0:00:55.295 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:47:04 +0000 (0:00:00.022) 0:00:55.317 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:47:04 +0000 (0:00:00.020) 0:00:55.338 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 23:47:04 +0000 (0:00:00.131) 0:00:55.469 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:47:04 +0000 (0:00:00.035) 0:00:55.505 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:47:04 +0000 (0:00:00.038) 0:00:55.543 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:47:04 +0000 (0:00:00.026) 0:00:55.570 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:47:05 +0000 (0:00:00.020) 0:00:55.590 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:47:05 +0000 (0:00:00.021) 0:00:55.611 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:47:06 +0000 (0:00:01.448) 0:00:57.060 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:47:07 +0000 (0:00:00.595) 0:00:57.655 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:47:07 +0000 (0:00:00.022) 0:00:57.678 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:47:07 +0000 (0:00:00.021) 0:00:57.700 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:47:07 +0000 (0:00:00.022) 0:00:57.722 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:47:07 +0000 (0:00:00.043) 0:00:57.766 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:47:07 +0000 (0:00:00.021) 0:00:57.787 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:47:07 +0000 (0:00:00.021) 0:00:57.808 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:47:07 +0000 (0:00:00.022) 0:00:57.831 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:47:07 +0000 (0:00:00.022) 0:00:57.854 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:47:07 +0000 (0:00:00.020) 0:00:57.874 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:47:07 +0000 (0:00:00.195) 0:00:58.070 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpzwdbyr94" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:47:07 +0000 (0:00:00.196) 0:00:58.267 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:47:07 +0000 (0:00:00.253) 0:00:58.520 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:47:07 +0000 (0:00:00.020) 0:00:58.541 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:47:07 +0000 (0:00:00.022) 0:00:58.563 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:47:07 +0000 (0:00:00.021) 0:00:58.585 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:47:08 +0000 (0:00:00.020) 0:00:58.606 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 23:47:08 +0000 (0:00:00.127) 0:00:58.734 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 23:47:08 +0000 (0:00:00.038) 0:00:58.772 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 23:47:08 +0000 (0:00:00.035) 0:00:58.808 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 23:47:08 +0000 (0:00:00.039) 0:00:58.847 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 23:47:08 +0000 (0:00:00.025) 0:00:58.872 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 23:47:08 +0000 (0:00:00.019) 0:00:58.892 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 23:47:08 +0000 (0:00:00.019) 0:00:58.912 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 23:47:09 +0000 (0:00:01.472) 0:01:00.384 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 23:47:10 +0000 (0:00:00.591) 0:01:00.975 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 23:47:10 +0000 (0:00:00.020) 0:01:00.996 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 23:47:10 +0000 (0:00:00.020) 0:01:01.017 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 23:47:10 +0000 (0:00:00.020) 0:01:01.037 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 23:47:10 +0000 (0:00:00.041) 0:01:01.079 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 23:47:10 +0000 (0:00:00.041) 0:01:01.120 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 23:47:10 +0000 (0:00:00.020) 0:01:01.141 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 23:47:10 +0000 (0:00:00.024) 0:01:01.166 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 23:47:10 +0000 (0:00:00.020) 0:01:01.186 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 23:47:10 +0000 (0:00:00.020) 0:01:01.206 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 23:47:10 +0000 (0:00:00.193) 0:01:01.400 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1591744zqkmli/tmpf69b8dus" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 23:47:11 +0000 (0:00:00.195) 0:01:01.595 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 23:47:11 +0000 (0:00:00.238) 0:01:01.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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 23:47:11 +0000 (0:00:00.020) 0:01:01.854 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 23:47:11 +0000 (0:00:00.022) 0:01:01.877 ******** 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-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 23:47:11 +0000 (0:00:00.021) 0:01:01.898 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 23:47:11 +0000 (0:00:00.019) 0:01:01.918 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 23:47:11 +0000 (0:00:00.133) 0:01:02.051 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 23:47:11 +0000 (0:00:00.044) 0:01:02.096 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 23:47:11 +0000 (0:00:00.063) 0:01:02.159 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 23:47:11 +0000 (0:00:00.021) 0:01:02.181 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 23:47:11 +0000 (0:00:00.132) 0:01:02.313 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 23:47:11 +0000 (0:00:00.021) 0:01:02.334 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005397", "end": "2024-01-26 23:47:11.861065", "rc": 1, "start": "2024-01-26 23:47:11.855668" } 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-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 23:47:11 +0000 (0:00:00.138) 0:01:02.473 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 23:47:11 +0000 (0:00:00.022) 0:01:02.496 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 23:47:11 +0000 (0:00:00.022) 0:01:02.518 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 23:47:11 +0000 (0:00:00.020) 0:01:02.539 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 23:47:11 +0000 (0:00:00.023) 0:01:02.562 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 23:47:11 +0000 (0:00:00.022) 0:01:02.585 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 23:47:12 +0000 (0:00:00.025) 0:01:02.610 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.384559", "end": "2024-01-26 23:47:12.514946", "rc": 0, "start": "2024-01-26 23:47:12.130387" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 23:47:12 +0000 (0:00:00.520) 0:01:03.130 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 23:47:12 +0000 (0:00:00.021) 0:01:03.151 ******** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 23:47:12 +0000 (0:00:00.020) 0:01:03.171 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 23:47:12 +0000 (0:00:00.046) 0:01:03.218 ******** 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-ci_fixm3a2e6xf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 23:47:12 +0000 (0:00:00.021) 0:01:03.240 ******** included: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixm3a2e6xf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 23:47:12 +0000 (0:00:00.040) 0:01:03.281 ******** 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.019119", "end": "2024-01-26 23:47:12.823932", "rc": 0, "start": "2024-01-26 23:47:12.804813" } 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 Friday 26 January 2024 23:47:12 +0000 (0:00:00.149) 0:01:03.430 ******** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.76s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.46s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.34s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.06s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.98s /WORKDIR/git-ci_fixm3a2e6xf/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-ci_fixm3a2e6xf/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. ---^---^---^---^---^---