# 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_typeg10y32xh/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 02:46:01 +0000 (0:00:00.014) 0:00:00.014 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeg10y32xh/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 02:46:02 +0000 (0:00:00.921) 0:00:00.936 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:46:02 +0000 (0:00:00.036) 0:00:00.972 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 02:46:02 +0000 (0:00:00.231) 0:00:01.204 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.215) 0:00:01.419 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.022) 0:00:01.442 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.052) 0:00:01.495 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.041) 0:00:01.537 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.019) 0:00:01.556 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.011) 0:00:01.568 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.026) 0:00:01.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.042) 0:00:01.637 ******* 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_typeg10y32xh/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.453) 0:00:02.090 ******* 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_typeg10y32xh/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 02:46:03 +0000 (0:00:00.012) 0:00:02.103 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.709) 0:00:02.812 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.012) 0:00:02.825 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.019) 0:00:02.844 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.012) 0:00:02.856 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.036) 0:00:02.892 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.017) 0:00:02.909 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.016) 0:00:02.926 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003168", "end": "2024-01-09 02:46:04.975731", "rc": 0, "start": "2024-01-09 02:46:04.972563" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.194) 0:00:03.120 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.013) 0:00:03.133 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.012) 0:00:03.146 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:46:04 +0000 (0:00:00.022) 0:00:03.168 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.026557", "end": "2024-01-09 02:46:05.168637", "rc": 255, "start": "2024-01-09 02:46:05.142080" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.144) 0:00:03.313 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.018) 0:00:03.331 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.121) 0:00:03.453 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.017) 0:00:03.470 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.020) 0:00:03.491 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.035) 0:00:03.526 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.072) 0:00:03.598 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.013) 0:00:03.612 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.010) 0:00:03.623 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:05 +0000 (0:00:00.010) 0:00:03.634 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:06 +0000 (0:00:01.663) 0:00:05.298 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.723) 0:00:06.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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.023) 0:00:06.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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.021) 0:00:06.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.021) 0:00:06.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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.043) 0:00:06.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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.021) 0:00:06.152 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.039) 0:00:06.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.026) 0:00:06.218 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.021) 0:00:06.239 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:07 +0000 (0:00:00.019) 0:00:06.259 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:08 +0000 (0:00:00.242) 0:00:06.501 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmppx85jefz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:08 +0000 (0:00:00.198) 0:00:06.700 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:08 +0000 (0:00:00.377) 0:00:07.077 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:08 +0000 (0:00:00.028) 0:00:07.106 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:08 +0000 (0:00:00.022) 0:00:07.128 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:08 +0000 (0:00:00.058) 0:00:07.187 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:08 +0000 (0:00:00.035) 0:00:07.223 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.226) 0:00:07.449 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.027) 0:00:07.476 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.045) 0:00:07.522 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.062) 0:00:07.585 ******* 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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.023) 0:00:07.609 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768368.915431, "block_size": 4096, "blocks": 8, "ctime": 1704768368.915431, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704768368.915431, "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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.160) 0:00:07.769 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.029) 0:00:07.798 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005026", "end": "2024-01-09 02:46:09.785397", "rc": 1, "start": "2024-01-09 02:46:09.780371" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.173) 0:00:07.971 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.044) 0:00:08.016 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003050", "end": "2024-01-09 02:46:09.994884", "rc": 0, "start": "2024-01-09 02:46:09.991834" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.141) 0:00:08.157 ******* 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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:46:09 +0000 (0:00:00.031) 0:00:08.188 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003059", "end": "2024-01-09 02:46:10.172672", "rc": 0, "start": "2024-01-09 02:46:10.169613" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.143) 0:00:08.332 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.028) 0:00:08.361 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.025) 0:00:08.387 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.023) 0:00:08.411 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.023) 0:00:08.434 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.025) 0:00:08.460 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.026) 0:00:08.487 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.065) 0:00:08.552 ******* 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.025494", "end": "2024-01-09 02:46:10.553019", "rc": 255, "start": "2024-01-09 02:46:10.527525" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.158) 0:00:08.711 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.036) 0:00:08.747 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.021) 0:00:08.769 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.044) 0:00:08.814 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.035) 0:00:08.850 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.041) 0:00:08.892 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003273", "end": "2024-01-09 02:46:10.870932", "rc": 0, "start": "2024-01-09 02:46:10.867659" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.136) 0:00:09.028 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.022) 0:00:09.050 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.022) 0:00:09.073 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.041) 0:00:09.114 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004610", "end": "2024-01-09 02:46:11.092770", "rc": 255, "start": "2024-01-09 02:46:11.088160" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:46:10 +0000 (0:00:00.162) 0:00:09.277 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:46:11 +0000 (0:00:00.036) 0:00:09.314 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:46:11 +0000 (0:00:00.129) 0:00:09.443 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:46:11 +0000 (0:00:00.023) 0:00:09.467 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 02:46:11 +0000 (0:00:00.038) 0:00:09.505 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:11 +0000 (0:00:00.040) 0:00:09.546 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:11 +0000 (0:00:00.039) 0:00:09.585 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:11 +0000 (0:00:00.025) 0:00:09.611 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:11 +0000 (0:00:00.020) 0:00:09.631 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:11 +0000 (0:00:00.020) 0:00:09.651 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:12 +0000 (0:00:01.429) 0:00:11.081 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.566) 0:00:11.647 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.022) 0:00:11.670 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.022) 0:00:11.692 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.022) 0:00:11.714 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.042) 0:00:11.756 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.022) 0:00:11.779 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.021) 0:00:11.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.024) 0:00:11.825 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.042) 0:00:11.868 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.021) 0:00:11.889 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.187) 0:00:12.077 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmpry29i1gg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:13 +0000 (0:00:00.194) 0:00:12.272 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.231) 0:00:12.503 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.021) 0:00:12.524 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.022) 0:00:12.546 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.021) 0:00:12.568 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.020) 0:00:12.589 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.121) 0:00:12.710 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.023) 0:00:12.733 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.043) 0:00:12.776 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.034) 0:00:12.811 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.153) 0:00:12.964 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.023) 0:00:12.988 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.037) 0:00:13.025 ******* 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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.020) 0:00:13.046 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768374.3437154, "block_size": 4096, "blocks": 8, "ctime": 1704768374.3437154, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704768374.3437154, "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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.126) 0:00:13.173 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:46:14 +0000 (0:00:00.024) 0:00:13.197 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005153", "end": "2024-01-09 02:46:15.174487", "rc": 1, "start": "2024-01-09 02:46:15.169334" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.135) 0:00:13.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.022) 0:00:13.355 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002998", "end": "2024-01-09 02:46:15.328895", "rc": 0, "start": "2024-01-09 02:46:15.325897" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.143) 0:00:13.498 ******* 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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.027) 0:00:13.526 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003070", "end": "2024-01-09 02:46:15.502415", "rc": 0, "start": "2024-01-09 02:46:15.499345" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.144) 0:00:13.671 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.027) 0:00:13.698 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.025) 0:00:13.724 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.024) 0:00:13.749 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.038) 0:00:13.788 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.058) 0:00:13.846 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.024) 0:00:13.871 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.041) 0:00:13.912 ******* 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.008509", "end": "2024-01-09 02:46:15.890008", "rc": 255, "start": "2024-01-09 02:46:15.881499" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.136) 0:00:14.049 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.043) 0:00:14.092 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.022) 0:00:14.114 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.045) 0:00:14.160 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.037) 0:00:14.197 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:46:15 +0000 (0:00:00.035) 0:00:14.233 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003160", "end": "2024-01-09 02:46:16.207357", "rc": 0, "start": "2024-01-09 02:46:16.204197" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:46:16 +0000 (0:00:00.133) 0:00:14.366 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:46:16 +0000 (0:00:00.022) 0:00:14.389 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:46:16 +0000 (0:00:00.026) 0:00:14.415 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:46:16 +0000 (0:00:00.090) 0:00:14.505 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:16 +0000 (0:00:00.039) 0:00:14.545 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:16 +0000 (0:00:00.049) 0:00:14.594 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:16 +0000 (0:00:00.035) 0:00:14.630 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:16 +0000 (0:00:00.024) 0:00:14.654 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:16 +0000 (0:00:00.027) 0:00:14.682 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:17 +0000 (0:00:01.429) 0:00:16.111 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.590) 0:00:16.702 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.022) 0:00:16.724 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.021) 0:00:16.745 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.019) 0:00:16.765 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.043) 0:00:16.808 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.021) 0:00:16.830 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.019) 0:00:16.850 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.028) 0:00:16.878 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.024) 0:00:16.903 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.024) 0:00:16.927 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.186) 0:00:17.114 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmptiwmb_1v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:18 +0000 (0:00:00.185) 0:00:17.299 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.251) 0:00:17.551 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.042) 0:00:17.593 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.024) 0:00:17.618 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.024) 0:00:17.643 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.022) 0:00:17.665 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.126) 0:00:17.792 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.022) 0:00:17.814 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.038) 0:00:17.853 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.040) 0:00:17.893 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.039) 0:00:17.932 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.026) 0:00:17.959 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.022) 0:00:17.982 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:19 +0000 (0:00:00.023) 0:00:18.006 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:21 +0000 (0:00:01.390) 0:00:19.396 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.567) 0:00:19.964 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.028) 0:00:19.993 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.022) 0:00:20.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.022) 0:00:20.038 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.043) 0:00:20.081 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.025) 0:00:20.107 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.024) 0:00:20.131 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.026) 0:00:20.158 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.042) 0:00:20.201 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:21 +0000 (0:00:00.021) 0:00:20.222 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.189) 0:00:20.412 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmp8x9806h1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.192) 0:00:20.604 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.360) 0:00:20.965 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.021) 0:00:20.986 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.022) 0:00:21.009 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.022) 0:00:21.031 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.025) 0:00:21.057 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.130) 0:00:21.187 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.042) 0:00:21.230 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:46:22 +0000 (0:00:00.035) 0:00:21.265 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768382.7315195, "block_size": 4096, "blocks": 0, "ctime": 1704768382.726522, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1704768382.726522, "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_typeg10y32xh/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.126) 0:00:21.392 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.068) 0:00:21.460 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.039) 0:00:21.499 ******* 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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.028) 0:00:21.528 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768380.855458, "block_size": 4096, "blocks": 8, "ctime": 1704768379.390191, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704768379.390191, "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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.128) 0:00:21.656 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.023) 0:00:21.680 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005050", "end": "2024-01-09 02:46:23.650921", "rc": 1, "start": "2024-01-09 02:46:23.645871" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.133) 0:00:21.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.024) 0:00:21.837 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003048", "end": "2024-01-09 02:46:23.807618", "rc": 0, "start": "2024-01-09 02:46:23.804570" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.133) 0:00:21.971 ******* 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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.025) 0:00:21.997 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002932", "end": "2024-01-09 02:46:23.969163", "rc": 0, "start": "2024-01-09 02:46:23.966231" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.134) 0:00:22.132 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.026) 0:00:22.159 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.023) 0:00:22.182 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.023) 0:00:22.205 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.021) 0:00:22.227 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.041) 0:00:22.268 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:46:23 +0000 (0:00:00.022) 0:00:22.290 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.040) 0:00:22.330 ******* 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.016840", "end": "2024-01-09 02:46:24.312308", "rc": 0, "start": "2024-01-09 02:46:24.295468" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.150) 0:00:22.481 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.038) 0:00:22.519 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.022) 0:00:22.542 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.044) 0:00:22.586 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.033) 0:00:22.620 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.033) 0:00:22.654 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003245", "end": "2024-01-09 02:46:24.623529", "rc": 0, "start": "2024-01-09 02:46:24.620284" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.133) 0:00:22.787 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.021) 0:00:22.809 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.021) 0:00:22.830 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.070) 0:00:22.901 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.036) 0:00:22.938 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.039) 0:00:22.977 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.026) 0:00:23.003 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.024) 0:00:23.028 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:24 +0000 (0:00:00.023) 0:00:23.051 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:26 +0000 (0:00:01.433) 0:00:24.485 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:26 +0000 (0:00:00.616) 0:00:25.102 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:26 +0000 (0:00:00.023) 0:00:25.126 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:26 +0000 (0:00:00.022) 0:00:25.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:26 +0000 (0:00:00.023) 0:00:25.172 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:26 +0000 (0:00:00.049) 0:00:25.221 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:26 +0000 (0:00:00.023) 0:00:25.245 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:26 +0000 (0:00:00.022) 0:00:25.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:26 +0000 (0:00:00.025) 0:00:25.292 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:27 +0000 (0:00:00.023) 0:00:25.315 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:27 +0000 (0:00:00.033) 0:00:25.349 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:27 +0000 (0:00:00.185) 0:00:25.534 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmpz5ov5q36" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:27 +0000 (0:00:00.234) 0:00:25.769 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:27 +0000 (0:00:00.275) 0:00:26.045 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:27 +0000 (0:00:00.049) 0:00:26.094 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:27 +0000 (0:00:00.025) 0:00:26.120 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:27 +0000 (0:00:00.026) 0:00:26.147 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:27 +0000 (0:00:00.026) 0:00:26.174 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:46:28 +0000 (0:00:00.137) 0:00:26.311 ******* 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_typeg10y32xh/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:46:28 +0000 (0:00:00.024) 0:00:26.336 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:28 +0000 (0:00:00.046) 0:00:26.382 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:28 +0000 (0:00:00.041) 0:00:26.423 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:28 +0000 (0:00:00.032) 0:00:26.456 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:28 +0000 (0:00:00.021) 0:00:26.478 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:28 +0000 (0:00:00.021) 0:00:26.499 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:29 +0000 (0:00:01.405) 0:00:27.905 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.571) 0:00:28.476 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.023) 0:00:28.499 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.023) 0:00:28.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.024) 0:00:28.547 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.042) 0:00:28.589 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.022) 0:00:28.611 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.021) 0:00:28.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.025) 0:00:28.658 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.021) 0:00:28.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.021) 0:00:28.701 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.184) 0:00:28.885 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmpjob2m7vo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:30 +0000 (0:00:00.185) 0:00:29.071 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.344) 0:00:29.415 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.021) 0:00:29.437 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.022) 0:00:29.459 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.022) 0:00:29.481 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.020) 0:00:29.502 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.121) 0:00:29.624 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.038) 0:00:29.663 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.039) 0:00:29.702 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.038) 0:00:29.741 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.025) 0:00:29.767 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.021) 0:00:29.788 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:31 +0000 (0:00:00.047) 0:00:29.835 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:32 +0000 (0:00:01.383) 0:00:31.219 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.567) 0:00:31.787 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.030) 0:00:31.817 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.026) 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.035) 0:00:31.879 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.080) 0:00:31.959 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.023) 0:00:31.983 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.044) 0:00:32.027 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.027) 0:00:32.054 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.022) 0:00:32.077 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.025) 0:00:32.103 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:33 +0000 (0:00:00.196) 0:00:32.299 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmpijhwkzgd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.201) 0:00:32.500 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.238) 0:00:32.739 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.022) 0:00:32.761 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.027) 0:00:32.789 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.023) 0:00:32.812 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.030) 0:00:32.842 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.124) 0:00:32.966 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.045) 0:00:33.012 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.060) 0:00:33.072 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768391.1842911, "block_size": 4096, "blocks": 0, "ctime": 1704768391.180293, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1704768391.180293, "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_typeg10y32xh/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.129) 0:00:33.202 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.024) 0:00:33.226 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.036) 0:00:33.262 ******* 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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:46:34 +0000 (0:00:00.020) 0:00:33.283 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.126) 0:00:33.409 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.021) 0:00:33.431 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004987", "end": "2024-01-09 02:46:35.396369", "rc": 1, "start": "2024-01-09 02:46:35.391382" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.132) 0:00:33.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.022) 0:00:33.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.022) 0:00:33.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.021) 0:00:33.629 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.020) 0:00:33.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.022) 0:00:33.672 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.022) 0:00:33.694 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.018) 0:00:33.712 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.050) 0:00:33.763 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.041) 0:00:33.804 ******* 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.016493", "end": "2024-01-09 02:46:35.781361", "rc": 0, "start": "2024-01-09 02:46:35.764868" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.149) 0:00:33.954 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.037) 0:00:33.991 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.022) 0:00:34.014 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.050) 0:00:34.065 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.035) 0:00:34.101 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.033) 0:00:34.135 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003197", "end": "2024-01-09 02:46:36.102141", "rc": 0, "start": "2024-01-09 02:46:36.098944" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.136) 0:00:34.271 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:46:35 +0000 (0:00:00.023) 0:00:34.295 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:46:36 +0000 (0:00:00.022) 0:00:34.318 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:46:36 +0000 (0:00:00.072) 0:00:34.391 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:36 +0000 (0:00:00.036) 0:00:34.427 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:36 +0000 (0:00:00.039) 0:00:34.467 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:36 +0000 (0:00:00.025) 0:00:34.493 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:36 +0000 (0:00:00.021) 0:00:34.514 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:36 +0000 (0:00:00.026) 0:00:34.541 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:37 +0000 (0:00:01.390) 0:00:35.931 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.612) 0:00:36.544 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.023) 0:00:36.567 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.021) 0:00:36.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.022) 0:00:36.611 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.043) 0:00:36.654 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.021) 0:00:36.675 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.022) 0:00:36.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.024) 0:00:36.723 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.021) 0:00:36.745 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.021) 0:00:36.766 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.185) 0:00:36.952 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmpxho2eele" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:38 +0000 (0:00:00.187) 0:00:37.139 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.230) 0:00:37.370 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.021) 0:00:37.391 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.046) 0:00:37.438 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.023) 0:00:37.462 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.020) 0:00:37.482 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.121) 0:00:37.603 ******* 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_typeg10y32xh/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.022) 0:00:37.626 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.035) 0:00:37.661 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.039) 0:00:37.701 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.026) 0:00:37.727 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.022) 0:00:37.749 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:39 +0000 (0:00:00.021) 0:00:37.770 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:40 +0000 (0:00:01.377) 0:00:39.147 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.558) 0:00:39.706 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.022) 0:00:39.728 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.020) 0:00:39.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.020) 0:00:39.769 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.043) 0:00:39.813 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.022) 0:00:39.836 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.022) 0:00:39.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.023) 0:00:39.881 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.020) 0:00:39.901 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.019) 0:00:39.921 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:41 +0000 (0:00:00.184) 0:00:40.105 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmphch7yxvo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.220) 0:00:40.326 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.341) 0:00:40.667 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.023) 0:00:40.691 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.029) 0:00:40.721 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.031) 0:00:40.752 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.025) 0:00:40.778 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.122) 0:00:40.900 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.036) 0:00:40.937 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.040) 0:00:40.977 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.026) 0:00:41.004 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.021) 0:00:41.025 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:42 +0000 (0:00:00.021) 0:00:41.047 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:44 +0000 (0:00:01.375) 0:00:42.423 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.563) 0:00:42.987 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.025) 0:00:43.012 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.024) 0:00:43.036 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.023) 0:00:43.059 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.049) 0:00:43.108 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.023) 0:00:43.132 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.031) 0:00:43.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.043) 0:00:43.207 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.021) 0:00:43.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:44 +0000 (0:00:00.020) 0:00:43.249 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:45 +0000 (0:00:00.204) 0:00:43.454 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmpqdoitwr0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:45 +0000 (0:00:00.232) 0:00:43.686 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:45 +0000 (0:00:00.259) 0:00:43.946 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:45 +0000 (0:00:00.042) 0:00:43.989 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:45 +0000 (0:00:00.030) 0:00:44.019 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:45 +0000 (0:00:00.024) 0:00:44.043 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:45 +0000 (0:00:00.034) 0:00:44.078 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:46:45 +0000 (0:00:00.165) 0:00:44.243 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:46:46 +0000 (0:00:00.078) 0:00:44.321 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:46 +0000 (0:00:00.040) 0:00:44.362 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:46 +0000 (0:00:00.064) 0:00:44.426 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:46 +0000 (0:00:00.031) 0:00:44.457 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:46 +0000 (0:00:00.022) 0:00:44.479 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:46 +0000 (0:00:00.024) 0:00:44.503 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:47 +0000 (0:00:01.419) 0:00:45.923 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.573) 0:00:46.496 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.022) 0:00:46.518 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.039) 0:00:46.558 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.022) 0:00:46.580 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.042) 0:00:46.623 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.021) 0:00:46.644 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.020) 0:00:46.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.026) 0:00:46.691 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.022) 0:00:46.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.021) 0:00:46.734 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.185) 0:00:46.920 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmptvk7lp93" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:48 +0000 (0:00:00.186) 0:00:47.106 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.228) 0:00:47.335 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.021) 0:00:47.356 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.022) 0:00:47.379 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.021) 0:00:47.401 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.021) 0:00:47.422 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.152) 0:00:47.575 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.042) 0:00:47.618 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.082) 0:00:47.700 ******* 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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.023) 0:00:47.724 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.128) 0:00:47.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.021) 0:00:47.874 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005051", "end": "2024-01-09 02:46:49.832385", "rc": 1, "start": "2024-01-09 02:46:49.827334" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.141) 0:00:48.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.024) 0:00:48.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.023) 0:00:48.063 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.038) 0:00:48.101 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.027) 0:00:48.129 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.022) 0:00:48.151 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.024) 0:00:48.176 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.024) 0:00:48.200 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.020) 0:00:48.221 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:46:49 +0000 (0:00:00.063) 0:00:48.284 ******* 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.018201", "end": "2024-01-09 02:46:50.253336", "rc": 0, "start": "2024-01-09 02:46:50.235135" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.147) 0:00:48.432 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.045) 0:00:48.478 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.026) 0:00:48.504 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.049) 0:00:48.553 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.035) 0:00:48.589 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.034) 0:00:48.624 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003276", "end": "2024-01-09 02:46:50.582999", "rc": 0, "start": "2024-01-09 02:46:50.579723" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.134) 0:00:48.758 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.022) 0:00:48.781 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.021) 0:00:48.802 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.044) 0:00:48.847 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.064) 0:00:48.912 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.050) 0:00:48.963 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.026) 0:00:48.989 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.021) 0:00:49.011 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:50 +0000 (0:00:00.022) 0:00:49.033 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:52 +0000 (0:00:01.392) 0:00:50.425 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.588) 0:00:51.014 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.023) 0:00:51.037 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.022) 0:00:51.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.024) 0:00:51.084 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.043) 0:00:51.127 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.023) 0:00:51.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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.021) 0:00:51.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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.026) 0:00:51.199 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.021) 0:00:51.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:52 +0000 (0:00:00.021) 0:00:51.242 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.197) 0:00:51.440 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmp5685tgjm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.191) 0:00:51.631 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.242) 0:00:51.873 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.034) 0:00:51.908 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.023) 0:00:51.931 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.022) 0:00:51.954 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.049) 0:00:52.003 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.125) 0:00:52.129 ******* 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_typeg10y32xh/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.024) 0:00:52.153 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.036) 0:00:52.189 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.041) 0:00:52.231 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.028) 0:00:52.259 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:53 +0000 (0:00:00.025) 0:00:52.284 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:54 +0000 (0:00:00.023) 0:00:52.308 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:55 +0000 (0:00:01.400) 0:00:53.709 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.594) 0:00:54.304 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.028) 0:00:54.332 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.028) 0:00:54.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.027) 0:00:54.387 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.054) 0:00:54.442 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.035) 0:00:54.478 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.046) 0:00:54.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.027) 0:00:54.551 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.023) 0:00:54.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.023) 0:00:54.599 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.190) 0:00:54.790 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmpmo2iwz0q" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:46:56 +0000 (0:00:00.195) 0:00:54.985 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.369) 0:00:55.354 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.021) 0:00:55.375 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.022) 0:00:55.398 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.022) 0:00:55.421 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.020) 0:00:55.442 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.126) 0:00:55.568 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.035) 0:00:55.604 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.039) 0:00:55.644 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.025) 0:00:55.669 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.020) 0:00:55.690 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:46:57 +0000 (0:00:00.021) 0:00:55.711 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:46:58 +0000 (0:00:01.394) 0:00:57.105 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.562) 0:00:57.668 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.025) 0:00:57.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.022) 0:00:57.715 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.022) 0:00:57.738 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.045) 0:00:57.783 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.024) 0:00:57.808 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.044) 0:00:57.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.028) 0:00:57.880 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.021) 0:00:57.902 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.045) 0:00:57.947 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:46:59 +0000 (0:00:00.185) 0:00:58.132 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmpfv8b8fq8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.188) 0:00:58.320 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.248) 0:00:58.569 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.025) 0:00:58.595 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.025) 0:00:58.621 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.033) 0:00:58.655 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.027) 0:00:58.682 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.136) 0:00:58.819 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.059) 0:00:58.879 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.043) 0:00:58.923 ******* included: /WORKDIR/git-route_typeg10y32xh/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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.042) 0:00:58.965 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.053) 0:00:59.018 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.021) 0:00:59.040 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:47:00 +0000 (0:00:00.027) 0:00:59.068 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:47:02 +0000 (0:00:01.418) 0:01:00.486 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:47:02 +0000 (0:00:00.583) 0:01:01.069 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:47:02 +0000 (0:00:00.022) 0:01:01.091 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:47:02 +0000 (0:00:00.021) 0:01:01.113 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:47:02 +0000 (0:00:00.020) 0:01:01.133 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:47:02 +0000 (0:00:00.082) 0:01:01.216 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:47:02 +0000 (0:00:00.021) 0:01:01.238 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:47:02 +0000 (0:00:00.021) 0:01:01.259 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:47:02 +0000 (0:00:00.024) 0:01:01.284 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.021) 0:01:01.305 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.020) 0:01:01.325 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.184) 0:01:01.510 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15014sus17wmf/tmpkuui_rtn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.188) 0:01:01.698 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.227) 0:01:01.926 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.021) 0:01:01.948 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.022) 0:01:01.970 ******* 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_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.022) 0:01:01.992 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.021) 0:01:02.014 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.124) 0:01:02.139 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.066) 0:01:02.206 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.037) 0:01:02.244 ******* 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_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:47:03 +0000 (0:00:00.022) 0:01:02.266 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.127) 0:01:02.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.021) 0:01:02.415 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005032", "end": "2024-01-09 02:47:04.365668", "rc": 1, "start": "2024-01-09 02:47:04.360636" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.130) 0:01:02.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.023) 0:01:02.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.023) 0:01:02.592 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.021) 0:01:02.613 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.021) 0:01:02.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.021) 0:01:02.657 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.025) 0:01:02.682 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.376517", "end": "2024-01-09 02:47:05.006447", "rc": 0, "start": "2024-01-09 02:47:04.629930" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.506) 0:01:03.189 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.067) 0:01:03.257 ******* ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:47:04 +0000 (0:00:00.022) 0:01:03.280 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:47:05 +0000 (0:00:00.026) 0:01:03.306 ******* 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_typeg10y32xh/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:47:05 +0000 (0:00:00.026) 0:01:03.332 ******* included: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeg10y32xh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:47:05 +0000 (0:00:00.048) 0:01:03.381 ******* 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.022744", "end": "2024-01-09 02:47:05.365398", "rc": 0, "start": "2024-01-09 02:47:05.342654" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Tuesday 09 January 2024 02:47:05 +0000 (0:00:00.158) 0:01:03.540 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.38s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.00s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.00s /WORKDIR/git-route_typeg10y32xh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-route_typeg10y32xh/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. ---^---^---^---^---^---