# 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-route_typelyhsdo9y/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/tests_states_initscripts.yml:5 Thursday 11 January 2024 02:55:01 +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-route_typelyhsdo9y/tests/tests_states_initscripts.yml:8 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.893) 0:00:00.904 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.023) 0:00:00.928 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.238) 0:00:01.167 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.182) 0:00:01.349 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.020) 0:00:01.370 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.018) 0:00:01.388 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.032) 0:00:01.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.011) 0:00:01.432 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.010) 0:00:01.443 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.010) 0:00:01.453 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:55:02 +0000 (0:00:00.010) 0:00:01.464 ****** 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-route_typelyhsdo9y/tests/tests_states_initscripts.yml:10 Thursday 11 January 2024 02:55:03 +0000 (0:00:00.441) 0:00:01.906 ****** 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-route_typelyhsdo9y/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 02:55:03 +0000 (0:00:00.011) 0:00:01.918 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.713) 0:00:02.631 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.011) 0:00:02.643 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.018) 0:00:02.662 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.012) 0:00:02.675 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.035) 0:00:02.710 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.016) 0:00:02.727 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.015) 0:00:02.743 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003273", "end": "2024-01-11 02:55:04.443346", "rc": 0, "start": "2024-01-11 02:55:04.440073" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.187) 0:00:02.930 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.013) 0:00:02.943 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.011) 0:00:02.955 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.022) 0:00:02.978 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.029589", "end": "2024-01-11 02:55:04.638243", "rc": 255, "start": "2024-01-11 02:55:04.608654" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.147) 0:00:03.126 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.017) 0:00:03.144 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.117) 0:00:03.261 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.014) 0:00:03.275 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.020) 0:00:03.296 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.035) 0:00:03.331 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.070) 0:00:03.401 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.013) 0:00:03.414 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.011) 0:00:03.426 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:04 +0000 (0:00:00.011) 0:00:03.438 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:06 +0000 (0:00:01.814) 0:00:05.252 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.708) 0:00:05.960 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.022) 0:00:05.983 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.021) 0:00:06.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.020) 0:00:06.025 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.073) 0:00:06.098 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.021) 0:00:06.119 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.020) 0:00:06.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.024) 0:00:06.165 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.020) 0:00:06.186 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.020) 0:00:06.206 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:07 +0000 (0:00:00.267) 0:00:06.474 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpuwqwihdo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.194) 0:00:06.668 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.348) 0:00:07.016 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.021) 0:00:07.037 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.022) 0:00:07.060 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.021) 0:00:07.081 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.021) 0:00:07.102 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.212) 0:00:07.315 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.023) 0:00:07.338 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.038) 0:00:07.376 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.036) 0:00:07.413 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:55:08 +0000 (0:00:00.020) 0:00:07.433 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704941708.521089, "block_size": 4096, "blocks": 8, "ctime": 1704941708.521089, "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": 1704941708.521089, "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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.128) 0:00:07.562 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.022) 0:00:07.584 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.007119", "end": "2024-01-11 02:55:09.225163", "rc": 1, "start": "2024-01-11 02:55:09.218044" } 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.133) 0:00:07.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.021) 0:00:07.740 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002987", "end": "2024-01-11 02:55:09.377670", "rc": 0, "start": "2024-01-11 02:55:09.374683" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.131) 0:00:07.872 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.026) 0:00:07.898 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003008", "end": "2024-01-11 02:55:09.535392", "rc": 0, "start": "2024-01-11 02:55:09.532384" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.130) 0:00:08.029 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.025) 0:00:08.055 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.043) 0:00:08.098 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.024) 0:00:08.122 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.021) 0:00:08.144 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.024) 0:00:08.168 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.021) 0:00:08.190 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.040) 0:00:08.230 ****** 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.037763", "end": "2024-01-11 02:55:09.903163", "rc": 255, "start": "2024-01-11 02:55:09.865400" } 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-route_typelyhsdo9y/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.166) 0:00:08.397 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.035) 0:00:08.432 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.021) 0:00:08.454 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:55:09 +0000 (0:00:00.045) 0:00:08.499 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.033) 0:00:08.533 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.032) 0:00:08.566 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003132", "end": "2024-01-11 02:55:10.205826", "rc": 0, "start": "2024-01-11 02:55:10.202694" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.152) 0:00:08.718 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.023) 0:00:08.742 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.021) 0:00:08.764 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.040) 0:00:08.804 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004784", "end": "2024-01-11 02:55:10.442694", "rc": 255, "start": "2024-01-11 02:55:10.437910" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.130) 0:00:08.935 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.034) 0:00:08.970 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.128) 0:00:09.098 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.022) 0:00:09.121 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.038) 0:00:09.160 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.039) 0:00:09.199 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.038) 0:00:09.238 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.072) 0:00:09.310 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.021) 0:00:09.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:10 +0000 (0:00:00.020) 0:00:09.353 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:12 +0000 (0:00:01.582) 0:00:10.935 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:12 +0000 (0:00:00.571) 0:00:11.507 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.040) 0:00:11.547 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.021) 0:00:11.569 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.021) 0:00:11.590 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.042) 0:00:11.633 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.020) 0:00:11.654 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.021) 0:00:11.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.024) 0:00:11.699 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.020) 0:00:11.720 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.021) 0:00:11.741 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.185) 0:00:11.927 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpmsswsqah" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.185) 0:00:12.112 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.238) 0:00:12.351 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.020) 0:00:12.372 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.022) 0:00:12.394 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.022) 0:00:12.416 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:13 +0000 (0:00:00.042) 0:00:12.459 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.121) 0:00:12.581 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.022) 0:00:12.604 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.042) 0:00:12.646 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.034) 0:00:12.681 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.126) 0:00:12.807 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.023) 0:00:12.831 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.035) 0:00:12.866 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.021) 0:00:12.888 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704941713.8587565, "block_size": 4096, "blocks": 8, "ctime": 1704941713.8587565, "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": 1704941713.8587565, "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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.126) 0:00:13.015 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.022) 0:00:13.037 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006667", "end": "2024-01-11 02:55:14.679185", "rc": 1, "start": "2024-01-11 02:55:14.672518" } 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.131) 0:00:13.168 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.044) 0:00:13.212 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003080", "end": "2024-01-11 02:55:14.854636", "rc": 0, "start": "2024-01-11 02:55:14.851556" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.133) 0:00:13.346 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.026) 0:00:13.372 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002971", "end": "2024-01-11 02:55:15.012861", "rc": 0, "start": "2024-01-11 02:55:15.009890" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:55:14 +0000 (0:00:00.131) 0:00:13.503 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.027) 0:00:13.531 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.024) 0:00:13.555 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.023) 0:00:13.578 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.022) 0:00:13.601 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.019) 0:00:13.621 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.021) 0:00:13.643 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.040) 0:00:13.683 ****** 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.025632", "end": "2024-01-11 02:55:15.345895", "rc": 255, "start": "2024-01-11 02:55:15.320263" } 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-route_typelyhsdo9y/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.152) 0:00:13.835 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.035) 0:00:13.871 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.045) 0:00:13.916 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.045) 0:00:13.961 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.034) 0:00:13.996 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.032) 0:00:14.029 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003127", "end": "2024-01-11 02:55:15.669068", "rc": 0, "start": "2024-01-11 02:55:15.665941" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.129) 0:00:14.158 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.021) 0:00:14.180 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.022) 0:00:14.202 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.037) 0:00:14.240 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.035) 0:00:14.275 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.038) 0:00:14.314 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.026) 0:00:14.340 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.020) 0:00:14.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:15 +0000 (0:00:00.044) 0:00:14.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:17 +0000 (0:00:01.545) 0:00:15.951 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:17 +0000 (0:00:00.562) 0:00:16.514 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.021) 0:00:16.536 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.021) 0:00:16.557 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.021) 0:00:16.578 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.061) 0:00:16.640 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.021) 0:00:16.661 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.021) 0:00:16.682 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.025) 0:00:16.708 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.021) 0:00:16.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.020) 0:00:16.750 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.186) 0:00:16.937 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpm6uuzuuu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.190) 0:00:17.127 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.230) 0:00:17.357 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.020) 0:00:17.378 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.022) 0:00:17.400 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.022) 0:00:17.423 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:18 +0000 (0:00:00.020) 0:00:17.444 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:55:19 +0000 (0:00:00.119) 0:00:17.563 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:55:19 +0000 (0:00:00.046) 0:00:17.609 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:55:19 +0000 (0:00:00.038) 0:00:17.648 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:19 +0000 (0:00:00.040) 0:00:17.688 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:19 +0000 (0:00:00.039) 0:00:17.727 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:19 +0000 (0:00:00.026) 0:00:17.753 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:19 +0000 (0:00:00.021) 0:00:17.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:19 +0000 (0:00:00.021) 0:00:17.796 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:20 +0000 (0:00:01.506) 0:00:19.302 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.565) 0:00:19.868 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.022) 0:00:19.891 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.021) 0:00:19.912 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.021) 0:00:19.933 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.043) 0:00:19.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.021) 0:00:19.998 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.020) 0:00:20.019 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.024) 0:00:20.043 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.021) 0:00:20.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.020) 0:00:20.085 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.188) 0:00:20.274 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpeaxq6elq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:21 +0000 (0:00:00.193) 0:00:20.467 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.357) 0:00:20.824 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.021) 0:00:20.846 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.021) 0:00:20.868 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.022) 0:00:20.890 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.020) 0:00:20.911 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.126) 0:00:21.038 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.042) 0:00:21.080 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.034) 0:00:21.114 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704941722.2649574, "block_size": 4096, "blocks": 0, "ctime": 1704941722.2549524, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "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": 1704941722.2549524, "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-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.127) 0:00:21.242 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.023) 0:00:21.265 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.058) 0:00:21.324 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.022) 0:00:21.347 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704941720.4020264, "block_size": 4096, "blocks": 8, "ctime": 1704941718.86826, "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": 1704941718.86826, "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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.124) 0:00:21.471 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:55:22 +0000 (0:00:00.022) 0:00:21.494 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006668", "end": "2024-01-11 02:55:23.141059", "rc": 1, "start": "2024-01-11 02:55:23.134391" } 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.132) 0:00:21.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.022) 0:00:21.649 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003049", "end": "2024-01-11 02:55:23.297153", "rc": 0, "start": "2024-01-11 02:55:23.294104" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.136) 0:00:21.785 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.026) 0:00:21.811 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002933", "end": "2024-01-11 02:55:23.456186", "rc": 0, "start": "2024-01-11 02:55:23.453253" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.130) 0:00:21.942 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.027) 0:00:21.970 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.023) 0:00:21.993 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.024) 0:00:22.017 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.022) 0:00:22.039 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.019) 0:00:22.059 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.022) 0:00:22.081 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.064) 0:00:22.146 ****** 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.040235", "end": "2024-01-11 02:55:23.827998", "rc": 0, "start": "2024-01-11 02:55:23.787763" } 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-route_typelyhsdo9y/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.170) 0:00:22.316 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.036) 0:00:22.352 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.022) 0:00:22.374 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.044) 0:00:22.419 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.034) 0:00:22.453 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:55:23 +0000 (0:00:00.033) 0:00:22.487 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003259", "end": "2024-01-11 02:55:24.131994", "rc": 0, "start": "2024-01-11 02:55:24.128735" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:55:24 +0000 (0:00:00.131) 0:00:22.618 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:55:24 +0000 (0:00:00.021) 0:00:22.640 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:55:24 +0000 (0:00:00.022) 0:00:22.662 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:55:24 +0000 (0:00:00.041) 0:00:22.704 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:24 +0000 (0:00:00.059) 0:00:22.763 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:24 +0000 (0:00:00.038) 0:00:22.802 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:24 +0000 (0:00:00.026) 0:00:22.829 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:24 +0000 (0:00:00.020) 0:00:22.850 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:24 +0000 (0:00:00.021) 0:00:22.871 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:25 +0000 (0:00:01.537) 0:00:24.409 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.611) 0:00:25.021 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.023) 0:00:25.044 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.021) 0:00:25.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.020) 0:00:25.087 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.043) 0:00:25.130 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.021) 0:00:25.151 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.020) 0:00:25.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.024) 0:00:25.197 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.021) 0:00:25.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.020) 0:00:25.239 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:26 +0000 (0:00:00.184) 0:00:25.423 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpz2zi104e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.188) 0:00:25.611 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.276) 0:00:25.888 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.021) 0:00:25.909 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.022) 0:00:25.932 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.023) 0:00:25.955 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.021) 0:00:25.976 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.122) 0:00:26.098 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.022) 0:00:26.121 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.034) 0:00:26.156 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.039) 0:00:26.195 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.026) 0:00:26.222 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.021) 0:00:26.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:27 +0000 (0:00:00.020) 0:00:26.263 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:29 +0000 (0:00:01.508) 0:00:27.772 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:29 +0000 (0:00:00.560) 0:00:28.333 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:29 +0000 (0:00:00.022) 0:00:28.355 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:29 +0000 (0:00:00.021) 0:00:28.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:29 +0000 (0:00:00.021) 0:00:28.397 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:29 +0000 (0:00:00.042) 0:00:28.440 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:29 +0000 (0:00:00.021) 0:00:28.461 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:29 +0000 (0:00:00.021) 0:00:28.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:29 +0000 (0:00:00.023) 0:00:28.506 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.040) 0:00:28.547 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.021) 0:00:28.569 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.188) 0:00:28.757 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpo2nu92ak" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.187) 0:00:28.944 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.340) 0:00:29.285 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.021) 0:00:29.306 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.022) 0:00:29.329 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.022) 0:00:29.351 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.021) 0:00:29.372 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:55:30 +0000 (0:00:00.121) 0:00:29.494 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:55:31 +0000 (0:00:00.037) 0:00:29.532 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:31 +0000 (0:00:00.067) 0:00:29.599 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:31 +0000 (0:00:00.039) 0:00:29.639 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:31 +0000 (0:00:00.026) 0:00:29.665 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:31 +0000 (0:00:00.021) 0:00:29.687 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:31 +0000 (0:00:00.021) 0:00:29.708 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:32 +0000 (0:00:01.507) 0:00:31.215 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.583) 0:00:31.798 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.022) 0:00:31.821 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.021) 0:00:31.843 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.020) 0:00:31.864 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.041) 0:00:31.906 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.021) 0:00:31.927 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.020) 0:00:31.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.024) 0:00:31.973 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.020) 0:00:31.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.021) 0:00:32.015 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.185) 0:00:32.200 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmp_lh9hz2k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:33 +0000 (0:00:00.185) 0:00:32.386 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.228) 0:00:32.615 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.021) 0:00:32.636 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.047) 0:00:32.683 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.023) 0:00:32.707 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.021) 0:00:32.728 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.124) 0:00:32.853 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.042) 0:00:32.896 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.034) 0:00:32.931 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704941730.738192, "block_size": 4096, "blocks": 0, "ctime": 1704941730.7351904, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "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": 1704941730.7351904, "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-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.126) 0:00:33.058 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.023) 0:00:33.081 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.036) 0:00:33.118 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.021) 0:00:33.139 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.126) 0:00:33.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.021) 0:00:33.287 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006618", "end": "2024-01-11 02:55:34.941864", "rc": 1, "start": "2024-01-11 02:55:34.935246" } 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.133) 0:00:33.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.048) 0:00:33.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.022) 0:00:33.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:55:34 +0000 (0:00:00.022) 0:00:33.514 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.022) 0:00:33.537 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.022) 0:00:33.560 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.023) 0:00:33.583 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.020) 0:00:33.603 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.022) 0:00:33.626 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.039) 0:00:33.665 ****** 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.037567", "end": "2024-01-11 02:55:35.354051", "rc": 0, "start": "2024-01-11 02:55:35.316484" } 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-route_typelyhsdo9y/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.173) 0:00:33.839 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.035) 0:00:33.875 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.021) 0:00:33.896 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.045) 0:00:33.942 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.057) 0:00:33.999 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.033) 0:00:34.033 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003267", "end": "2024-01-11 02:55:35.684846", "rc": 0, "start": "2024-01-11 02:55:35.681579" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.130) 0:00:34.163 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.022) 0:00:34.186 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.022) 0:00:34.208 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.043) 0:00:34.252 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.035) 0:00:34.288 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.039) 0:00:34.327 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.026) 0:00:34.354 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.021) 0:00:34.375 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:35 +0000 (0:00:00.021) 0:00:34.397 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:37 +0000 (0:00:01.510) 0:00:35.907 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:37 +0000 (0:00:00.571) 0:00:36.478 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:37 +0000 (0:00:00.022) 0:00:36.501 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.020) 0:00:36.522 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.021) 0:00:36.543 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.043) 0:00:36.587 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.021) 0:00:36.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.041) 0:00:36.649 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.025) 0:00:36.674 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.020) 0:00:36.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.021) 0:00:36.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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.187) 0:00:36.904 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpbxdxydt5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.191) 0:00:37.095 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.241) 0:00:37.337 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.021) 0:00:37.358 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.022) 0:00:37.381 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.022) 0:00:37.403 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:38 +0000 (0:00:00.021) 0:00:37.424 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:55:39 +0000 (0:00:00.120) 0:00:37.544 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:55:39 +0000 (0:00:00.022) 0:00:37.566 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:39 +0000 (0:00:00.062) 0:00:37.629 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:39 +0000 (0:00:00.040) 0:00:37.669 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:39 +0000 (0:00:00.026) 0:00:37.695 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:39 +0000 (0:00:00.021) 0:00:37.716 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:39 +0000 (0:00:00.021) 0:00:37.737 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:40 +0000 (0:00:01.519) 0:00:39.257 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.584) 0:00:39.842 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.022) 0:00:39.864 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.021) 0:00:39.886 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.020) 0:00:39.907 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.042) 0:00:39.949 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.021) 0:00:39.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.020) 0:00:39.991 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.025) 0:00:40.016 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.021) 0:00:40.038 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.020) 0:00:40.059 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.185) 0:00:40.244 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmp4l7gubi7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:41 +0000 (0:00:00.186) 0:00:40.431 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.342) 0:00:40.773 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.045) 0:00:40.819 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.022) 0:00:40.842 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.022) 0:00:40.865 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.021) 0:00:40.886 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.122) 0:00:41.009 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.035) 0:00:41.044 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.039) 0:00:41.083 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.026) 0:00:41.110 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.021) 0:00:41.131 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:42 +0000 (0:00:00.020) 0:00:41.151 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:44 +0000 (0:00:01.510) 0:00:42.662 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.567) 0:00:43.229 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.022) 0:00:43.252 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.021) 0:00:43.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.021) 0:00:43.295 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.041) 0:00:43.337 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.021) 0:00:43.358 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.020) 0:00:43.379 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.026) 0:00:43.406 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.021) 0:00:43.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:44 +0000 (0:00:00.021) 0:00:43.449 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.210) 0:00:43.660 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpv3i01yzr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.188) 0:00:43.848 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.231) 0:00:44.079 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.020) 0:00:44.100 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.022) 0:00:44.123 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.022) 0:00:44.146 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.020) 0:00:44.166 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.122) 0:00:44.289 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.038) 0:00:44.328 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.039) 0:00:44.367 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.038) 0:00:44.406 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.048) 0:00:44.454 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.021) 0:00:44.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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:45 +0000 (0:00:00.020) 0:00:44.497 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:47 +0000 (0:00:01.524) 0:00:46.022 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.561) 0:00:46.583 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.022) 0:00:46.606 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.039) 0:00:46.646 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.021) 0:00:46.668 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.043) 0:00:46.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.021) 0:00:46.733 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.021) 0:00:46.754 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.024) 0:00:46.778 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.021) 0:00:46.799 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.020) 0:00:46.820 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.185) 0:00:47.006 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmp5_ixol93" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.187) 0:00:47.193 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.224) 0:00:47.417 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.021) 0:00:47.438 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.022) 0:00:47.461 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.022) 0:00:47.483 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:48 +0000 (0:00:00.020) 0:00:47.504 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.146) 0:00:47.651 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.040) 0:00:47.691 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.036) 0:00:47.728 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.021) 0:00:47.750 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.123) 0:00:47.873 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.021) 0:00:47.895 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006516", "end": "2024-01-11 02:55:49.556022", "rc": 1, "start": "2024-01-11 02:55:49.549506" } 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.132) 0:00:48.027 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.022) 0:00:48.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.022) 0:00:48.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.022) 0:00:48.095 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.022) 0:00:48.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.024) 0:00:48.141 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.023) 0:00:48.165 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.024) 0:00:48.189 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.048) 0:00:48.238 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.040) 0:00:48.278 ****** 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.031897", "end": "2024-01-11 02:55:49.966025", "rc": 0, "start": "2024-01-11 02:55:49.934128" } 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-route_typelyhsdo9y/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.164) 0:00:48.443 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.036) 0:00:48.479 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:55:49 +0000 (0:00:00.022) 0:00:48.502 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.045) 0:00:48.548 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.034) 0:00:48.582 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.033) 0:00:48.616 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003280", "end": "2024-01-11 02:55:50.274195", "rc": 0, "start": "2024-01-11 02:55:50.270915" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.130) 0:00:48.746 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.021) 0:00:48.768 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.022) 0:00:48.791 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.071) 0:00:48.862 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.036) 0:00:48.899 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.039) 0:00:48.938 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.026) 0:00:48.965 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.021) 0:00:48.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:50 +0000 (0:00:00.021) 0:00:49.008 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:52 +0000 (0:00:01.513) 0:00:50.521 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.596) 0:00:51.118 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.022) 0:00:51.141 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.021) 0:00:51.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.020) 0:00:51.183 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.044) 0:00:51.228 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.021) 0:00:51.249 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.021) 0:00:51.271 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.026) 0:00:51.297 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.021) 0:00:51.319 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:52 +0000 (0:00:00.020) 0:00:51.340 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.186) 0:00:51.526 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmp5k22p_6y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.187) 0:00:51.714 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.257) 0:00:51.971 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.021) 0:00:51.992 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.023) 0:00:52.016 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.023) 0:00:52.040 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.021) 0:00:52.061 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.122) 0:00:52.184 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.022) 0:00:52.207 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.035) 0:00:52.243 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.039) 0:00:52.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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.027) 0:00:52.310 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.021) 0:00:52.331 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:53 +0000 (0:00:00.020) 0:00:52.352 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:55 +0000 (0:00:01.510) 0:00:53.862 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:55 +0000 (0:00:00.573) 0:00:54.435 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:55 +0000 (0:00:00.022) 0:00:54.457 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:55 +0000 (0:00:00.021) 0:00:54.479 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:55 +0000 (0:00:00.021) 0:00:54.500 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.042) 0:00:54.543 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.021) 0:00:54.564 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.040) 0:00:54.605 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.024) 0:00:54.630 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.022) 0:00:54.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.021) 0:00:54.674 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.188) 0:00:54.862 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmp4qwjot0u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.187) 0:00:55.050 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.345) 0:00:55.395 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.021) 0:00:55.417 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.022) 0:00:55.440 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.022) 0:00:55.462 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:55:56 +0000 (0:00:00.021) 0:00:55.483 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:55:57 +0000 (0:00:00.121) 0:00:55.604 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:55:57 +0000 (0:00:00.034) 0:00:55.639 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:55:57 +0000 (0:00:00.063) 0:00:55.703 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:55:57 +0000 (0:00:00.026) 0:00:55.730 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:55:57 +0000 (0:00:00.021) 0:00:55.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:55:57 +0000 (0:00:00.021) 0:00:55.773 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:55:58 +0000 (0:00:01.522) 0:00:57.295 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.579) 0:00:57.875 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.023) 0:00:57.898 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.020) 0:00:57.919 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.021) 0:00:57.940 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.043) 0:00:57.983 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.021) 0:00:58.005 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.021) 0:00:58.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.024) 0:00:58.051 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.021) 0:00:58.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.021) 0:00:58.094 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.184) 0:00:58.279 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpzd5o4cms" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:55:59 +0000 (0:00:00.188) 0:00:58.467 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.244) 0:00:58.712 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.021) 0:00:58.733 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.022) 0:00:58.755 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.051) 0:00:58.807 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.021) 0:00:58.829 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.124) 0:00:58.953 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.038) 0:00:58.992 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.035) 0:00:59.027 ****** included: /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.039) 0:00:59.067 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.026) 0:00:59.093 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.021) 0:00:59.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:56:00 +0000 (0:00:00.021) 0:00:59.137 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:56:02 +0000 (0:00:01.536) 0:01:00.674 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.572) 0:01:01.246 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.022) 0:01:01.269 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.021) 0:01:01.290 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.021) 0:01:01.312 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.043) 0:01:01.355 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.021) 0:01:01.376 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.021) 0:01:01.398 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.024) 0:01:01.422 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.021) 0:01:01.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:56:02 +0000 (0:00:00.048) 0:01:01.492 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.189) 0:01:01.682 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373z12h5whx/tmpyckvace7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.191) 0:01:01.874 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.231) 0:01:02.105 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.021) 0:01:02.127 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.022) 0:01:02.149 ****** 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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.023) 0:01:02.173 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.021) 0:01:02.195 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.122) 0:01:02.317 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.042) 0:01:02.360 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.035) 0:01:02.396 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:56:03 +0000 (0:00:00.021) 0:01:02.417 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.151) 0:01:02.569 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.021) 0:01:02.590 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006533", "end": "2024-01-11 02:56:04.260050", "rc": 1, "start": "2024-01-11 02:56:04.253517" } 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-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.132) 0:01:02.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.022) 0:01:02.745 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.022) 0:01:02.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.022) 0:01:02.790 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.022) 0:01:02.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.022) 0:01:02.835 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.025) 0:01:02.861 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.382987", "end": "2024-01-11 02:56:04.907771", "rc": 0, "start": "2024-01-11 02:56:04.524784" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.512) 0:01:03.373 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.022) 0:01:03.396 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.022) 0:01:03.418 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.026) 0:01:03.445 ****** 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-route_typelyhsdo9y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:56:04 +0000 (0:00:00.022) 0:01:03.467 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:56:05 +0000 (0:00:00.065) 0:01:03.533 ****** 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.035322", "end": "2024-01-11 02:56:05.241013", "rc": 0, "start": "2024-01-11 02:56:05.205691" } 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 11 January 2024 02:56:05 +0000 (0:00:00.163) 0:01:03.697 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.81s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.35s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.01s /WORKDIR/git-route_typelyhsdo9y/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-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-route_typelyhsdo9y/tests/tests_states_initscripts.yml:5 ---------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---