# 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_fixtlbtcofk/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tests_states_initscripts.yml:4 Thursday 21 December 2023 18:00:04 +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_fixtlbtcofk/tests/tests_states_initscripts.yml:8 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.920) 0:00:00.932 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.023) 0:00:00.956 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.245) 0:00:01.202 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.185) 0:00:01.387 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.022) 0:00:01.410 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.020) 0:00:01.431 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.036) 0:00:01.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.021) 0:00:01.489 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.013) 0:00:01.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.010) 0:00:01.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 18:00:05 +0000 (0:00:00.011) 0:00:01.526 ***** 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_fixtlbtcofk/tests/tests_states_initscripts.yml:10 Thursday 21 December 2023 18:00:06 +0000 (0:00:00.434) 0:00:01.960 ***** 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_fixtlbtcofk/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 18:00:06 +0000 (0:00:00.010) 0:00:01.971 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.704) 0:00:02.675 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.013) 0:00:02.689 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.019) 0:00:02.708 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.013) 0:00:02.721 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.037) 0:00:02.759 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.017) 0:00:02.776 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.016) 0:00:02.792 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003172", "end": "2023-12-21 18:00:07.347790", "rc": 0, "start": "2023-12-21 18:00:07.344618" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.192) 0:00:02.984 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.013) 0:00:02.998 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.011) 0:00:03.010 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.022) 0:00:03.032 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.025831", "end": "2023-12-21 18:00:07.537477", "rc": 255, "start": "2023-12-21 18:00:07.511646" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.142) 0:00:03.174 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.017) 0:00:03.192 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.116) 0:00:03.309 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.015) 0:00:03.324 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.021) 0:00:03.345 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.035) 0:00:03.381 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.070) 0:00:03.452 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.013) 0:00:03.465 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.010) 0:00:03.476 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:07 +0000 (0:00:00.010) 0:00:03.486 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:09 +0000 (0:00:01.764) 0:00:05.251 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.699) 0:00:05.950 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.022) 0:00:05.972 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.020) 0:00:05.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.019) 0:00:06.013 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.056) 0:00:06.069 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.021) 0:00:06.090 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.021) 0:00:06.112 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.024) 0:00:06.137 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.020) 0:00:06.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.019) 0:00:06.177 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:10 +0000 (0:00:00.271) 0:00:06.448 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmp_1rh3wt7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.194) 0:00:06.642 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.350) 0:00:06.992 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.020) 0:00:07.013 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.022) 0:00:07.035 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.022) 0:00:07.058 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.019) 0:00:07.077 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.189) 0:00:07.266 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.043) 0:00:07.310 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.039) 0:00:07.350 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.038) 0:00:07.388 ***** 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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 18:00:11 +0000 (0:00:00.020) 0:00:07.409 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703181611.3449464, "block_size": 4096, "blocks": 8, "ctime": 1703181611.3449464, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703181611.3449464, "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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.173) 0:00:07.582 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.025) 0:00:07.607 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006782", "end": "2023-12-21 18:00:12.097466", "rc": 1, "start": "2023-12-21 18:00:12.090684" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.135) 0:00:07.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.022) 0:00:07.765 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002988", "end": "2023-12-21 18:00:12.251392", "rc": 0, "start": "2023-12-21 18:00:12.248404" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.132) 0:00:07.898 ***** 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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.026) 0:00:07.925 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002952", "end": "2023-12-21 18:00:12.409569", "rc": 0, "start": "2023-12-21 18:00:12.406617" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.132) 0:00:08.057 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.026) 0:00:08.083 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.022) 0:00:08.106 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.044) 0:00:08.150 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.022) 0:00:08.173 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.027) 0:00:08.200 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.022) 0:00:08.222 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.039) 0:00:08.262 ***** 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.042192", "end": "2023-12-21 18:00:12.785356", "rc": 255, "start": "2023-12-21 18:00:12.743164" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.172) 0:00:08.434 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.038) 0:00:08.472 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.022) 0:00:08.495 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.046) 0:00:08.542 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 18:00:12 +0000 (0:00:00.034) 0:00:08.577 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.033) 0:00:08.611 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003154", "end": "2023-12-21 18:00:13.097457", "rc": 0, "start": "2023-12-21 18:00:13.094303" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.132) 0:00:08.743 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.046) 0:00:08.789 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.022) 0:00:08.812 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.040) 0:00:08.853 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004545", "end": "2023-12-21 18:00:13.339973", "rc": 255, "start": "2023-12-21 18:00:13.335428" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.132) 0:00:08.986 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.035) 0:00:09.021 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.127) 0:00:09.149 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.023) 0:00:09.172 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.038) 0:00:09.211 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.041) 0:00:09.252 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.039) 0:00:09.291 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.026) 0:00:09.318 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.046) 0:00:09.364 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:13 +0000 (0:00:00.022) 0:00:09.387 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:15 +0000 (0:00:01.533) 0:00:10.920 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:15 +0000 (0:00:00.560) 0:00:11.480 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:15 +0000 (0:00:00.023) 0:00:11.503 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:15 +0000 (0:00:00.020) 0:00:11.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:15 +0000 (0:00:00.039) 0:00:11.564 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.043) 0:00:11.607 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.019) 0:00:11.627 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.020) 0:00:11.647 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.024) 0:00:11.672 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.021) 0:00:11.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.022) 0:00:11.716 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.185) 0:00:11.901 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmpzmv9wbpn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.191) 0:00:12.093 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.229) 0:00:12.322 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.021) 0:00:12.344 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.021) 0:00:12.366 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.022) 0:00:12.388 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.021) 0:00:12.409 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.120) 0:00:12.529 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 18:00:16 +0000 (0:00:00.044) 0:00:12.573 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.043) 0:00:12.617 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.035) 0:00:12.652 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.123) 0:00:12.776 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.022) 0:00:12.799 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.037) 0:00:12.836 ***** 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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.020) 0:00:12.857 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703181616.6749465, "block_size": 4096, "blocks": 8, "ctime": 1703181616.6749465, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703181616.6749465, "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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.123) 0:00:12.980 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.022) 0:00:13.002 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006352", "end": "2023-12-21 18:00:17.488399", "rc": 1, "start": "2023-12-21 18:00:17.482047" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.131) 0:00:13.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.021) 0:00:13.155 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002970", "end": "2023-12-21 18:00:17.642970", "rc": 0, "start": "2023-12-21 18:00:17.640000" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.134) 0:00:13.290 ***** 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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.047) 0:00:13.337 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002948", "end": "2023-12-21 18:00:17.822428", "rc": 0, "start": "2023-12-21 18:00:17.819480" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.133) 0:00:13.470 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.025) 0:00:13.496 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.024) 0:00:13.521 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.023) 0:00:13.545 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 18:00:17 +0000 (0:00:00.022) 0:00:13.567 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.019) 0:00:13.587 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.022) 0:00:13.610 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.039) 0:00:13.649 ***** 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.026613", "end": "2023-12-21 18:00:18.155488", "rc": 255, "start": "2023-12-21 18:00:18.128875" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.151) 0:00:13.800 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.036) 0:00:13.837 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.022) 0:00:13.859 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.044) 0:00:13.903 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.056) 0:00:13.960 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.034) 0:00:13.994 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003195", "end": "2023-12-21 18:00:18.477676", "rc": 0, "start": "2023-12-21 18:00:18.474481" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.130) 0:00:14.124 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.022) 0:00:14.147 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.020) 0:00:14.168 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.039) 0:00:14.207 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.036) 0:00:14.243 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.039) 0:00:14.283 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.025) 0:00:14.308 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.021) 0:00:14.330 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:18 +0000 (0:00:00.020) 0:00:14.350 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:20 +0000 (0:00:01.521) 0:00:15.872 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:20 +0000 (0:00:00.562) 0:00:16.434 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:20 +0000 (0:00:00.023) 0:00:16.458 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:20 +0000 (0:00:00.021) 0:00:16.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:20 +0000 (0:00:00.021) 0:00:16.501 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:20 +0000 (0:00:00.042) 0:00:16.544 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:20 +0000 (0:00:00.021) 0:00:16.566 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.021) 0:00:16.587 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.045) 0:00:16.633 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.022) 0:00:16.655 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.021) 0:00:16.676 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.184) 0:00:16.861 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmpnmo0adw8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.187) 0:00:17.048 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.230) 0:00:17.279 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.021) 0:00:17.300 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.022) 0:00:17.322 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.022) 0:00:17.345 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.021) 0:00:17.366 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.122) 0:00:17.488 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.023) 0:00:17.511 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 18:00:21 +0000 (0:00:00.038) 0:00:17.549 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:22 +0000 (0:00:00.063) 0:00:17.613 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:22 +0000 (0:00:00.040) 0:00:17.654 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:22 +0000 (0:00:00.025) 0:00:17.679 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:22 +0000 (0:00:00.021) 0:00:17.700 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:22 +0000 (0:00:00.020) 0:00:17.721 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:23 +0000 (0:00:01.517) 0:00:19.238 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.601) 0:00:19.840 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.023) 0:00:19.863 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.020) 0:00:19.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.021) 0:00:19.906 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.041) 0:00:19.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.021) 0:00:19.969 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.020) 0:00:19.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.023) 0:00:20.013 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.021) 0:00:20.034 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.019) 0:00:20.054 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.185) 0:00:20.239 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmpgutmoajj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:24 +0000 (0:00:00.199) 0:00:20.439 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.352) 0:00:20.792 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.045) 0:00:20.837 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.023) 0:00:20.860 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.022) 0:00:20.883 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.021) 0:00:20.905 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.129) 0:00:21.034 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.043) 0:00:21.077 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.035) 0:00:21.113 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703181625.0679464, "block_size": 4096, "blocks": 0, "ctime": 1703181625.0669465, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6461, "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": 1703181625.0669465, "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_fixtlbtcofk/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.129) 0:00:21.242 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.023) 0:00:21.266 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.037) 0:00:21.303 ***** 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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.022) 0:00:21.326 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703181623.1839464, "block_size": 4096, "blocks": 8, "ctime": 1703181621.6309464, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703181621.6309464, "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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.128) 0:00:21.455 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 18:00:25 +0000 (0:00:00.022) 0:00:21.477 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006806", "end": "2023-12-21 18:00:25.965702", "rc": 1, "start": "2023-12-21 18:00:25.958896" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.134) 0:00:21.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.023) 0:00:21.634 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003044", "end": "2023-12-21 18:00:26.122102", "rc": 0, "start": "2023-12-21 18:00:26.119058" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.136) 0:00:21.770 ***** 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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.025) 0:00:21.796 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003048", "end": "2023-12-21 18:00:26.284542", "rc": 0, "start": "2023-12-21 18:00:26.281494" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.135) 0:00:21.931 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.027) 0:00:21.959 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.025) 0:00:21.984 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.023) 0:00:22.007 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.023) 0:00:22.031 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.020) 0:00:22.051 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.021) 0:00:22.073 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.039) 0:00:22.113 ***** 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.031112", "end": "2023-12-21 18:00:26.624266", "rc": 0, "start": "2023-12-21 18:00:26.593154" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.161) 0:00:22.274 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.059) 0:00:22.333 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.023) 0:00:22.357 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.044) 0:00:22.401 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.035) 0:00:22.436 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 18:00:26 +0000 (0:00:00.033) 0:00:22.470 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003030", "end": "2023-12-21 18:00:26.954009", "rc": 0, "start": "2023-12-21 18:00:26.950979" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 18:00:27 +0000 (0:00:00.129) 0:00:22.600 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 18:00:27 +0000 (0:00:00.023) 0:00:22.623 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 18:00:27 +0000 (0:00:00.022) 0:00:22.646 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 18:00:27 +0000 (0:00:00.041) 0:00:22.687 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:27 +0000 (0:00:00.037) 0:00:22.725 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:27 +0000 (0:00:00.040) 0:00:22.765 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:27 +0000 (0:00:00.053) 0:00:22.818 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:27 +0000 (0:00:00.022) 0:00:22.840 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:27 +0000 (0:00:00.022) 0:00:22.863 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:28 +0000 (0:00:01.542) 0:00:24.405 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.560) 0:00:24.965 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.023) 0:00:24.988 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.022) 0:00:25.010 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.045) 0:00:25.055 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.044) 0:00:25.100 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.020) 0:00:25.121 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.021) 0:00:25.142 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.024) 0:00:25.167 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.020) 0:00:25.188 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.021) 0:00:25.210 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:29 +0000 (0:00:00.184) 0:00:25.395 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmp58fmnz6w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.189) 0:00:25.584 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.233) 0:00:25.817 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.021) 0:00:25.838 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.022) 0:00:25.861 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.022) 0:00:25.883 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.021) 0:00:25.904 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.143) 0:00:26.048 ***** 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_fixtlbtcofk/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.022) 0:00:26.071 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.036) 0:00:26.107 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.039) 0:00:26.147 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.026) 0:00:26.173 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.021) 0:00:26.194 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:30 +0000 (0:00:00.021) 0:00:26.216 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:32 +0000 (0:00:01.513) 0:00:27.730 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.590) 0:00:28.320 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.022) 0:00:28.343 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.020) 0:00:28.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.020) 0:00:28.384 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.042) 0:00:28.427 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.021) 0:00:28.448 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.020) 0:00:28.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.024) 0:00:28.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.020) 0:00:28.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:32 +0000 (0:00:00.021) 0:00:28.535 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.185) 0:00:28.720 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmp57l2k6e5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.187) 0:00:28.908 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.368) 0:00:29.277 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.021) 0:00:29.298 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.022) 0:00:29.321 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.022) 0:00:29.343 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.021) 0:00:29.365 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.123) 0:00:29.489 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.039) 0:00:29.528 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:33 +0000 (0:00:00.041) 0:00:29.570 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:34 +0000 (0:00:00.040) 0:00:29.610 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:34 +0000 (0:00:00.026) 0:00:29.636 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:34 +0000 (0:00:00.021) 0:00:29.658 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:34 +0000 (0:00:00.023) 0:00:29.681 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:35 +0000 (0:00:01.519) 0:00:31.201 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.561) 0:00:31.763 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.023) 0:00:31.787 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.022) 0:00:31.809 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.021) 0:00:31.831 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.044) 0:00:31.876 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.023) 0:00:31.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.043) 0:00:31.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.025) 0:00:31.968 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.020) 0:00:31.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.020) 0:00:32.009 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.182) 0:00:32.191 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmpc4rtysqb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:36 +0000 (0:00:00.188) 0:00:32.379 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.228) 0:00:32.608 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.021) 0:00:32.630 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.022) 0:00:32.652 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.022) 0:00:32.674 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.021) 0:00:32.696 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.119) 0:00:32.815 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.042) 0:00:32.858 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.061) 0:00:32.919 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703181633.5669465, "block_size": 4096, "blocks": 0, "ctime": 1703181633.5629466, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6461, "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": 1703181633.5629466, "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_fixtlbtcofk/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.127) 0:00:33.046 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.023) 0:00:33.070 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.036) 0:00:33.106 ***** 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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.021) 0:00:33.128 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.124) 0:00:33.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.021) 0:00:33.274 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006799", "end": "2023-12-21 18:00:37.759667", "rc": 1, "start": "2023-12-21 18:00:37.752868" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.129) 0:00:33.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.023) 0:00:33.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.022) 0:00:33.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.023) 0:00:33.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.021) 0:00:33.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.020) 0:00:33.515 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 18:00:37 +0000 (0:00:00.023) 0:00:33.538 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.043) 0:00:33.582 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.022) 0:00:33.604 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.040) 0:00:33.645 ***** 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.032751", "end": "2023-12-21 18:00:38.160295", "rc": 0, "start": "2023-12-21 18:00:38.127544" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.166) 0:00:33.811 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.036) 0:00:33.847 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.023) 0:00:33.870 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.045) 0:00:33.916 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.035) 0:00:33.952 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.033) 0:00:33.985 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003443", "end": "2023-12-21 18:00:38.469687", "rc": 0, "start": "2023-12-21 18:00:38.466244" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.129) 0:00:34.115 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.021) 0:00:34.137 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.021) 0:00:34.158 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.067) 0:00:34.226 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.036) 0:00:34.263 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.039) 0:00:34.302 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.026) 0:00:34.329 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.020) 0:00:34.349 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:38 +0000 (0:00:00.020) 0:00:34.370 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:40 +0000 (0:00:01.509) 0:00:35.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 : Print network provider] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:40 +0000 (0:00:00.584) 0:00:36.463 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:40 +0000 (0:00:00.022) 0:00:36.486 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:40 +0000 (0:00:00.021) 0:00:36.508 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:40 +0000 (0:00:00.020) 0:00:36.529 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:40 +0000 (0:00:00.043) 0:00:36.572 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.021) 0:00:36.593 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.021) 0:00:36.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.025) 0:00:36.640 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.021) 0:00:36.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.020) 0:00:36.683 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.183) 0:00:36.867 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmpcc9qcp7y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.190) 0:00:37.057 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.248) 0:00:37.306 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.022) 0:00:37.328 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.022) 0:00:37.351 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.023) 0:00:37.374 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.021) 0:00:37.396 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.120) 0:00:37.516 ***** 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_fixtlbtcofk/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.022) 0:00:37.539 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:41 +0000 (0:00:00.036) 0:00:37.575 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:42 +0000 (0:00:00.039) 0:00:37.615 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:42 +0000 (0:00:00.025) 0:00:37.641 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:42 +0000 (0:00:00.020) 0:00:37.661 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:42 +0000 (0:00:00.021) 0:00:37.683 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:43 +0000 (0:00:01.502) 0:00:39.185 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.554) 0:00:39.740 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.024) 0:00:39.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.021) 0:00:39.785 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.021) 0:00:39.807 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.042) 0:00:39.849 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.021) 0:00:39.870 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.021) 0:00:39.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.024) 0:00:39.917 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.045) 0:00:39.962 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.022) 0:00:39.984 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.184) 0:00:40.169 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmp8vqr7hn8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:44 +0000 (0:00:00.191) 0:00:40.360 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.343) 0:00:40.704 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.021) 0:00:40.725 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.023) 0:00:40.748 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.021) 0:00:40.770 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.020) 0:00:40.790 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.127) 0:00:40.917 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.035) 0:00:40.953 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.039) 0:00:40.992 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.080) 0:00:41.073 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.021) 0:00:41.095 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:45 +0000 (0:00:00.021) 0:00:41.116 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:47 +0000 (0:00:01.570) 0:00:42.686 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.563) 0:00:43.249 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.043) 0:00:43.293 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.021) 0:00:43.314 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.021) 0:00:43.336 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.041) 0:00:43.378 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.021) 0:00:43.399 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.021) 0:00:43.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.024) 0:00:43.446 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.021) 0:00:43.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:47 +0000 (0:00:00.021) 0:00:43.489 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.187) 0:00:43.676 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmpk7h0qgs5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.191) 0:00:43.868 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.228) 0:00:44.097 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.020) 0:00:44.118 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.022) 0:00:44.140 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.022) 0:00:44.162 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.020) 0:00:44.183 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.131) 0:00:44.315 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.040) 0:00:44.355 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.040) 0:00:44.396 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.039) 0:00:44.435 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.026) 0:00:44.462 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.022) 0:00:44.484 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:48 +0000 (0:00:00.022) 0:00:44.507 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:50 +0000 (0:00:01.519) 0:00:46.026 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.559) 0:00:46.586 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.022) 0:00:46.608 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.021) 0:00:46.630 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.020) 0:00:46.651 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.043) 0:00:46.694 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.021) 0:00:46.716 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.021) 0:00:46.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.024) 0:00:46.762 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.020) 0:00:46.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.021) 0:00:46.804 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.186) 0:00:46.991 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmpicjgwp_2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.216) 0:00:47.208 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.222) 0:00:47.430 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.022) 0:00:47.452 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.022) 0:00:47.475 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.023) 0:00:47.499 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:51 +0000 (0:00:00.021) 0:00:47.520 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.124) 0:00:47.645 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.039) 0:00:47.684 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.037) 0:00:47.721 ***** 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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.021) 0:00:47.743 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.123) 0:00:47.866 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.021) 0:00:47.887 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006201", "end": "2023-12-21 18:00:52.372722", "rc": 1, "start": "2023-12-21 18:00:52.366521" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.129) 0:00:48.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.047) 0:00:48.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.023) 0:00:48.088 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.022) 0:00:48.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.022) 0:00:48.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.021) 0:00:48.155 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.024) 0:00:48.180 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.024) 0:00:48.204 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.022) 0:00:48.226 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.041) 0:00:48.268 ***** 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.024638", "end": "2023-12-21 18:00:52.773265", "rc": 0, "start": "2023-12-21 18:00:52.748627" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.154) 0:00:48.423 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.036) 0:00:48.459 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.021) 0:00:48.481 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 18:00:52 +0000 (0:00:00.045) 0:00:48.526 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.060) 0:00:48.587 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.034) 0:00:48.621 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003038", "end": "2023-12-21 18:00:53.103939", "rc": 0, "start": "2023-12-21 18:00:53.100901" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.128) 0:00:48.750 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.024) 0:00:48.774 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.022) 0:00:48.797 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.046) 0:00:48.843 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.036) 0:00:48.880 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.040) 0:00:48.920 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.027) 0:00:48.947 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.021) 0:00:48.969 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:53 +0000 (0:00:00.020) 0:00:48.990 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:54 +0000 (0:00:01.481) 0:00:50.471 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.553) 0:00:51.025 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.022) 0:00:51.048 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.021) 0:00:51.069 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.020) 0:00:51.090 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.043) 0:00:51.134 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.021) 0:00:51.156 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.021) 0:00:51.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.045) 0:00:51.222 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.022) 0:00:51.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.021) 0:00:51.267 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:55 +0000 (0:00:00.185) 0:00:51.452 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmpmf0cbfiu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.189) 0:00:51.642 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.225) 0:00:51.868 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.022) 0:00:51.890 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.024) 0:00:51.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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.023) 0:00:51.938 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.021) 0:00:51.960 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.124) 0:00:52.085 ***** 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_fixtlbtcofk/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.023) 0:00:52.109 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.036) 0:00:52.145 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.068) 0:00:52.214 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.027) 0:00:52.242 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.021) 0:00:52.263 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:00:56 +0000 (0:00:00.022) 0:00:52.286 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:00:58 +0000 (0:00:01.484) 0:00:53.771 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.557) 0:00:54.328 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.045) 0:00:54.373 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.021) 0:00:54.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.022) 0:00:54.417 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.042) 0:00:54.460 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.021) 0:00:54.481 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.021) 0:00:54.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.024) 0:00:54.527 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.021) 0:00:54.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:00:58 +0000 (0:00:00.021) 0:00:54.570 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:00:59 +0000 (0:00:00.183) 0:00:54.754 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmp0pn3n1al" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:00:59 +0000 (0:00:00.189) 0:00:54.943 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:00:59 +0000 (0:00:00.336) 0:00:55.280 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:00:59 +0000 (0:00:00.021) 0:00:55.301 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:00:59 +0000 (0:00:00.022) 0:00:55.324 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:00:59 +0000 (0:00:00.021) 0:00:55.346 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:00:59 +0000 (0:00:00.051) 0:00:55.398 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 18:00:59 +0000 (0:00:00.121) 0:00:55.519 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:00:59 +0000 (0:00:00.038) 0:00:55.558 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:01:00 +0000 (0:00:00.040) 0:00:55.598 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:01:00 +0000 (0:00:00.025) 0:00:55.624 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:01:00 +0000 (0:00:00.021) 0:00:55.645 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:01:00 +0000 (0:00:00.020) 0:00:55.666 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:01:01 +0000 (0:00:01.518) 0:00:57.184 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.602) 0:00:57.786 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.022) 0:00:57.809 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.021) 0:00:57.831 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.021) 0:00:57.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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.041) 0:00:57.895 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.022) 0:00:57.917 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.021) 0:00:57.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.024) 0:00:57.963 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.021) 0:00:57.984 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.021) 0:00:58.006 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.183) 0:00:58.189 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmplgsdecvi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:01:02 +0000 (0:00:00.190) 0:00:58.379 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.263) 0:00:58.642 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.021) 0:00:58.664 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.023) 0:00:58.687 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.022) 0:00:58.710 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.022) 0:00:58.732 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.123) 0:00:58.856 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.039) 0:00:58.896 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.036) 0:00:58.932 ***** included: /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.039) 0:00:58.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.026) 0:00:58.998 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.020) 0:00:59.019 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 18:01:03 +0000 (0:00:00.021) 0:00:59.041 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 18:01:05 +0000 (0:00:01.572) 0:01:00.614 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.565) 0:01:01.179 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.023) 0:01:01.203 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.021) 0:01:01.224 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.022) 0:01:01.246 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.043) 0:01:01.290 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.021) 0:01:01.312 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.048) 0:01:01.360 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.026) 0:01:01.386 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.022) 0:01:01.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 18:01:05 +0000 (0:00:00.022) 0:01:01.431 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.182) 0:01:01.614 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15000zd_v5kow/tmpskmh1eso" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.193) 0:01:01.807 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.227) 0:01:02.034 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.023) 0:01:02.058 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.022) 0:01:02.081 ***** 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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.024) 0:01:02.106 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.021) 0:01:02.127 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.120) 0:01:02.247 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.043) 0:01:02.290 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.068) 0:01:02.359 ***** 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_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.023) 0:01:02.383 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.126) 0:01:02.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 18:01:06 +0000 (0:00:00.020) 0:01:02.530 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.007026", "end": "2023-12-21 18:01:07.020859", "rc": 1, "start": "2023-12-21 18:01:07.013833" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.134) 0:01:02.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.022) 0:01:02.687 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.022) 0:01:02.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.022) 0:01:02.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.021) 0:01:02.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.022) 0:01:02.776 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.024) 0:01:02.801 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.368173", "end": "2023-12-21 18:01:07.649994", "rc": 0, "start": "2023-12-21 18:01:07.281821" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.497) 0:01:03.298 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.022) 0:01:03.321 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.022) 0:01:03.344 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.055) 0:01:03.399 ***** 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_fixtlbtcofk/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.022) 0:01:03.422 ***** included: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixtlbtcofk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 18:01:07 +0000 (0:00:00.042) 0:01:03.464 ***** 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.040554", "end": "2023-12-21 18:01:07.985285", "rc": 0, "start": "2023-12-21 18:01:07.944731" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Thursday 21 December 2023 18:01:08 +0000 (0:00:00.159) 0:01:03.624 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.76s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-ci_fixtlbtcofk/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_fixtlbtcofk/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_fixtlbtcofk/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_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.40s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.29s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.01s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.95s /WORKDIR/git-ci_fixtlbtcofk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-ci_fixtlbtcofk/tests/tests_states_initscripts.yml:4 -------------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---