# 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_types97i77li/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_types97i77li/tests/tests_states_initscripts.yml:5 Wednesday 10 January 2024 16:09:44 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_types97i77li/tests/tests_states_initscripts.yml:8 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.882) 0:00:00.894 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.024) 0:00:00.918 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.208) 0:00:01.126 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.191) 0:00:01.317 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.021) 0:00:01.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.018) 0:00:01.356 ***** included: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.032) 0:00:01.389 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.011) 0:00:01.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.010) 0:00:01.411 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.010) 0:00:01.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 16:09:45 +0000 (0:00:00.010) 0:00:01.432 ***** 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_types97i77li/tests/tests_states_initscripts.yml:10 Wednesday 10 January 2024 16:09:46 +0000 (0:00:00.430) 0:00:01.863 ***** 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_types97i77li/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 16:09:46 +0000 (0:00:00.012) 0:00:01.875 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 16:09:46 +0000 (0:00:00.699) 0:00:02.575 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 16:09:46 +0000 (0:00:00.011) 0:00:02.587 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:09:46 +0000 (0:00:00.019) 0:00:02.606 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:09:46 +0000 (0:00:00.013) 0:00:02.620 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:09:46 +0000 (0:00:00.037) 0:00:02.657 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:09:46 +0000 (0:00:00.016) 0:00:02.674 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:09:46 +0000 (0:00:00.015) 0:00:02.690 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003113", "end": "2024-01-10 16:09:47.089003", "rc": 0, "start": "2024-01-10 16:09:47.085890" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.187) 0:00:02.877 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.013) 0:00:02.890 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.012) 0:00:02.903 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.023) 0:00:02.926 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.032370", "end": "2024-01-10 16:09:47.285225", "rc": 255, "start": "2024-01-10 16:09:47.252855" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.146) 0:00:03.073 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.017) 0:00:03.091 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.119) 0:00:03.210 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.014) 0:00:03.225 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.021) 0:00:03.246 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.034) 0:00:03.281 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.069) 0:00:03.351 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.013) 0:00:03.365 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.012) 0:00:03.377 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:09:47 +0000 (0:00:00.011) 0:00:03.389 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:09:49 +0000 (0:00:01.825) 0:00:05.214 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.702) 0:00:05.917 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.022) 0:00:05.940 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.021) 0:00:05.961 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.020) 0:00:05.981 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.075) 0:00:06.057 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.021) 0:00:06.078 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.021) 0:00:06.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.024) 0:00:06.124 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.021) 0:00:06.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.020) 0:00:06.166 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.265) 0:00:06.432 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmpgikogn2d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:09:50 +0000 (0:00:00.189) 0:00:06.622 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.346) 0:00:06.968 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.021) 0:00:06.989 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.022) 0:00:07.011 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.021) 0:00:07.033 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.020) 0:00:07.054 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.216) 0:00:07.270 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.023) 0:00:07.294 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.041) 0:00:07.335 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.037) 0:00:07.372 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.021) 0:00:07.393 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902991.1693935, "block_size": 4096, "blocks": 8, "ctime": 1704902991.1693935, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704902991.1693935, "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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.128) 0:00:07.522 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.022) 0:00:07.544 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006417", "end": "2024-01-10 16:09:51.877315", "rc": 1, "start": "2024-01-10 16:09:51.870898" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.130) 0:00:07.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:09:51 +0000 (0:00:00.022) 0:00:07.697 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002944", "end": "2024-01-10 16:09:52.028172", "rc": 0, "start": "2024-01-10 16:09:52.025228" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.131) 0:00:07.828 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.027) 0:00:07.855 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002895", "end": "2024-01-10 16:09:52.189018", "rc": 0, "start": "2024-01-10 16:09:52.186123" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.133) 0:00:07.989 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.027) 0:00:08.017 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.047) 0:00:08.064 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.023) 0:00:08.088 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.022) 0:00:08.111 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.025) 0:00:08.137 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.021) 0:00:08.158 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.040) 0:00:08.199 ***** 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.033597", "end": "2024-01-10 16:09:52.560885", "rc": 255, "start": "2024-01-10 16:09:52.527288" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.161) 0:00:08.361 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.035) 0:00:08.396 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.022) 0:00:08.419 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.044) 0:00:08.464 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.033) 0:00:08.497 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.033) 0:00:08.531 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003084", "end": "2024-01-10 16:09:52.868655", "rc": 0, "start": "2024-01-10 16:09:52.865571" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.157) 0:00:08.688 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.022) 0:00:08.711 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.021) 0:00:08.733 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 16:09:52 +0000 (0:00:00.040) 0:00:08.773 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004604", "end": "2024-01-10 16:09:53.106643", "rc": 255, "start": "2024-01-10 16:09:53.102039" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.130) 0:00:08.903 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.034) 0:00:08.938 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.124) 0:00:09.062 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.022) 0:00:09.085 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.038) 0:00:09.124 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.039) 0:00:09.164 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.039) 0:00:09.203 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.051) 0:00:09.255 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.021) 0:00:09.276 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:09:53 +0000 (0:00:00.021) 0:00:09.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:09:55 +0000 (0:00:01.619) 0:00:10.917 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.575) 0:00:11.492 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.040) 0:00:11.532 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.021) 0:00:11.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.021) 0:00:11.575 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.043) 0:00:11.619 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.020) 0:00:11.639 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.021) 0:00:11.661 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.023) 0:00:11.685 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.021) 0:00:11.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:09:55 +0000 (0:00:00.020) 0:00:11.727 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.185) 0:00:11.912 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmp1bwde6p9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.189) 0:00:12.102 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.234) 0:00:12.336 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.021) 0:00:12.357 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.022) 0:00:12.379 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.022) 0:00:12.402 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.042) 0:00:12.444 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.121) 0:00:12.566 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.022) 0:00:12.588 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.044) 0:00:12.632 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:09:56 +0000 (0:00:00.034) 0:00:12.667 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.124) 0:00:12.792 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.022) 0:00:12.814 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.036) 0:00:12.851 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.020) 0:00:12.872 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902996.5363934, "block_size": 4096, "blocks": 8, "ctime": 1704902996.5373936, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704902996.5373936, "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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.125) 0:00:12.997 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.023) 0:00:13.020 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006519", "end": "2024-01-10 16:09:57.354419", "rc": 1, "start": "2024-01-10 16:09:57.347900" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.131) 0:00:13.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.022) 0:00:13.174 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002934", "end": "2024-01-10 16:09:57.534473", "rc": 0, "start": "2024-01-10 16:09:57.531539" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.159) 0:00:13.333 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.027) 0:00:13.360 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002952", "end": "2024-01-10 16:09:57.692435", "rc": 0, "start": "2024-01-10 16:09:57.689483" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.132) 0:00:13.493 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.027) 0:00:13.520 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.024) 0:00:13.544 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.025) 0:00:13.569 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.022) 0:00:13.592 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.019) 0:00:13.611 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.022) 0:00:13.634 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:09:57 +0000 (0:00:00.039) 0:00:13.674 ***** 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.023015", "end": "2024-01-10 16:09:58.026139", "rc": 255, "start": "2024-01-10 16:09:58.003124" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.149) 0:00:13.824 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.035) 0:00:13.859 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.021) 0:00:13.881 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.071) 0:00:13.953 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.036) 0:00:13.989 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.033) 0:00:14.023 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003148", "end": "2024-01-10 16:09:58.354699", "rc": 0, "start": "2024-01-10 16:09:58.351551" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.130) 0:00:14.153 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.022) 0:00:14.175 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.023) 0:00:14.198 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.039) 0:00:14.238 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.037) 0:00:14.275 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.039) 0:00:14.314 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.026) 0:00:14.340 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.021) 0:00:14.362 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:09:58 +0000 (0:00:00.045) 0:00:14.407 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:00 +0000 (0:00:01.540) 0:00:15.948 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.561) 0:00:16.510 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.022) 0:00:16.533 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.021) 0:00:16.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.021) 0:00:16.576 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.065) 0:00:16.642 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.021) 0:00:16.664 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.021) 0:00:16.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.024) 0:00:16.709 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.020) 0:00:16.730 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:00 +0000 (0:00:00.022) 0:00:16.752 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.192) 0:00:16.945 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmpmv9nrdw2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.189) 0:00:17.135 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.235) 0:00:17.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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.021) 0:00:17.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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.023) 0:00:17.415 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.022) 0:00:17.437 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.021) 0:00:17.458 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.133) 0:00:17.592 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.022) 0:00:17.614 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.086) 0:00:17.701 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:01 +0000 (0:00:00.039) 0:00:17.740 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:02 +0000 (0:00:00.039) 0:00:17.780 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:02 +0000 (0:00:00.025) 0:00:17.805 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:02 +0000 (0:00:00.021) 0:00:17.827 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:02 +0000 (0:00:00.021) 0:00:17.849 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:03 +0000 (0:00:01.634) 0:00:19.483 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.576) 0:00:20.060 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.022) 0:00:20.082 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.021) 0:00:20.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.020) 0:00:20.125 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.042) 0:00:20.167 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.021) 0:00:20.189 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.020) 0:00:20.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.025) 0:00:20.235 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.021) 0:00:20.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.020) 0:00:20.276 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.184) 0:00:20.461 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmp_d5w3o8d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:04 +0000 (0:00:00.219) 0:00:20.680 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.366) 0:00:21.047 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.021) 0:00:21.068 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.022) 0:00:21.091 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.022) 0:00:21.113 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.021) 0:00:21.135 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.126) 0:00:21.261 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.042) 0:00:21.303 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.034) 0:00:21.338 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704903005.1613934, "block_size": 4096, "blocks": 0, "ctime": 1704903005.1603935, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1704903005.1603935, "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_types97i77li/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.128) 0:00:21.467 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.023) 0:00:21.490 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.058) 0:00:21.548 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.022) 0:00:21.571 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704903003.2373936, "block_size": 4096, "blocks": 8, "ctime": 1704903001.5693936, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704903001.5693936, "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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.127) 0:00:21.699 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:10:05 +0000 (0:00:00.023) 0:00:21.723 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006677", "end": "2024-01-10 16:10:06.060288", "rc": 1, "start": "2024-01-10 16:10:06.053611" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.135) 0:00:21.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.023) 0:00:21.882 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003103", "end": "2024-01-10 16:10:06.219521", "rc": 0, "start": "2024-01-10 16:10:06.216418" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.137) 0:00:22.020 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.026) 0:00:22.046 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003061", "end": "2024-01-10 16:10:06.380336", "rc": 0, "start": "2024-01-10 16:10:06.377275" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.133) 0:00:22.179 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.027) 0:00:22.206 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.023) 0:00:22.230 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.022) 0:00:22.253 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.022) 0:00:22.275 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.019) 0:00:22.294 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.021) 0:00:22.316 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.064) 0:00:22.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.034637", "end": "2024-01-10 16:10:06.746030", "rc": 0, "start": "2024-01-10 16:10:06.711393" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.169) 0:00:22.550 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.036) 0:00:22.587 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.022) 0:00:22.610 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.044) 0:00:22.655 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.035) 0:00:22.690 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:10:06 +0000 (0:00:00.034) 0:00:22.725 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003237", "end": "2024-01-10 16:10:07.060449", "rc": 0, "start": "2024-01-10 16:10:07.057212" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:10:07 +0000 (0:00:00.134) 0:00:22.860 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:10:07 +0000 (0:00:00.022) 0:00:22.882 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:10:07 +0000 (0:00:00.022) 0:00:22.904 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:10:07 +0000 (0:00:00.040) 0:00:22.944 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:07 +0000 (0:00:00.059) 0:00:23.004 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:07 +0000 (0:00:00.039) 0:00:23.043 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:07 +0000 (0:00:00.026) 0:00:23.069 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:07 +0000 (0:00:00.020) 0:00:23.090 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:07 +0000 (0:00:00.021) 0:00:23.112 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:08 +0000 (0:00:01.656) 0:00:24.769 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.591) 0:00:25.360 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.023) 0:00:25.383 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.020) 0:00:25.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.021) 0:00:25.426 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.043) 0:00:25.470 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.021) 0:00:25.491 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.021) 0:00:25.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.024) 0:00:25.536 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.021) 0:00:25.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.021) 0:00:25.579 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:09 +0000 (0:00:00.186) 0:00:25.766 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmpq4ktf1zx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.197) 0:00:25.963 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.279) 0:00:26.243 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.021) 0:00:26.264 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.021) 0:00:26.286 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.022) 0:00:26.309 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.021) 0:00:26.330 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.124) 0:00:26.455 ***** 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_types97i77li/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.022) 0:00:26.477 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.036) 0:00:26.513 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.039) 0:00:26.553 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.027) 0:00:26.580 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.021) 0:00:26.602 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:10 +0000 (0:00:00.022) 0:00:26.624 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:12 +0000 (0:00:01.591) 0:00:28.215 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.574) 0:00:28.790 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.023) 0:00:28.813 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.021) 0:00:28.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.021) 0:00:28.856 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.044) 0:00:28.900 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.021) 0:00:28.922 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.020) 0:00:28.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.047) 0:00:28.990 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.021) 0:00:29.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.021) 0:00:29.033 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.187) 0:00:29.221 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmpne4haicf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.190) 0:00:29.411 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:13 +0000 (0:00:00.359) 0:00:29.770 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.021) 0:00:29.792 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.022) 0:00:29.815 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.023) 0:00:29.838 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.020) 0:00:29.859 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.121) 0:00:29.980 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.038) 0:00:30.019 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.063) 0:00:30.083 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.040) 0:00:30.124 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.026) 0:00:30.150 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.021) 0:00:30.172 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:14 +0000 (0:00:00.021) 0:00:30.193 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:15 +0000 (0:00:01.541) 0:00:31.735 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.605) 0:00:32.340 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.023) 0:00:32.364 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.020) 0:00:32.384 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.021) 0:00:32.406 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.042) 0:00:32.448 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.020) 0:00:32.469 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.021) 0:00:32.490 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.024) 0:00:32.515 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.021) 0:00:32.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.021) 0:00:32.557 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:16 +0000 (0:00:00.184) 0:00:32.742 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmpgvx5nc_5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.186) 0:00:32.928 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.261) 0:00:33.190 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.049) 0:00:33.239 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.022) 0:00:33.261 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.022) 0:00:33.284 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.021) 0:00:33.306 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.125) 0:00:33.431 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.042) 0:00:33.474 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.035) 0:00:33.509 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704903013.9013934, "block_size": 4096, "blocks": 0, "ctime": 1704903013.8973935, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1704903013.8973935, "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_types97i77li/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.127) 0:00:33.636 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.023) 0:00:33.660 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.035) 0:00:33.695 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:10:17 +0000 (0:00:00.021) 0:00:33.716 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.125) 0:00:33.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.021) 0:00:33.863 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006910", "end": "2024-01-10 16:10:18.200179", "rc": 1, "start": "2024-01-10 16:10:18.193269" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.137) 0:00:34.001 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.023) 0:00:34.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.022) 0:00:34.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.024) 0:00:34.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.022) 0:00:34.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.022) 0:00:34.117 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.025) 0:00:34.143 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.020) 0:00:34.164 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.022) 0:00:34.186 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.041) 0:00:34.227 ***** 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.027430", "end": "2024-01-10 16:10:18.587969", "rc": 0, "start": "2024-01-10 16:10:18.560539" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.163) 0:00:34.391 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.035) 0:00:34.426 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.022) 0:00:34.449 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.075) 0:00:34.525 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.035) 0:00:34.560 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.034) 0:00:34.594 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003168", "end": "2024-01-10 16:10:18.927156", "rc": 0, "start": "2024-01-10 16:10:18.923988" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.131) 0:00:34.726 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.022) 0:00:34.749 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:10:18 +0000 (0:00:00.021) 0:00:34.771 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:10:19 +0000 (0:00:00.046) 0:00:34.817 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:19 +0000 (0:00:00.035) 0:00:34.853 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:19 +0000 (0:00:00.039) 0:00:34.892 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:19 +0000 (0:00:00.025) 0:00:34.918 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:19 +0000 (0:00:00.021) 0:00:34.939 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:19 +0000 (0:00:00.020) 0:00:34.960 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:20 +0000 (0:00:01.549) 0:00:36.509 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.568) 0:00:37.077 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.022) 0:00:37.100 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.020) 0:00:37.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.021) 0:00:37.142 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.042) 0:00:37.184 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.042) 0:00:37.226 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.021) 0:00:37.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.024) 0:00:37.272 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.021) 0:00:37.293 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.021) 0:00:37.315 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.184) 0:00:37.499 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmpxxskxb9v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:21 +0000 (0:00:00.187) 0:00:37.686 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.229) 0:00:37.916 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.021) 0:00:37.938 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.022) 0:00:37.960 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.022) 0:00:37.983 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.021) 0:00:38.004 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.121) 0:00:38.126 ***** 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_types97i77li/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.023) 0:00:38.149 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.057) 0:00:38.207 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.040) 0:00:38.247 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.026) 0:00:38.273 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.023) 0:00:38.297 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:22 +0000 (0:00:00.021) 0:00:38.319 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:24 +0000 (0:00:01.520) 0:00:39.839 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.605) 0:00:40.445 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.023) 0:00:40.468 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.020) 0:00:40.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.020) 0:00:40.508 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.042) 0:00:40.551 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.019) 0:00:40.571 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.020) 0:00:40.591 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.024) 0:00:40.615 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.021) 0:00:40.636 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:24 +0000 (0:00:00.020) 0:00:40.656 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.184) 0:00:40.841 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmp45zy82ca" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.184) 0:00:41.026 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.340) 0:00:41.367 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.048) 0:00:41.415 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.022) 0:00:41.438 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.022) 0:00:41.460 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.021) 0:00:41.482 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.122) 0:00:41.605 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.035) 0:00:41.640 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.039) 0:00:41.680 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.025) 0:00:41.705 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.021) 0:00:41.727 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:25 +0000 (0:00:00.020) 0:00:41.748 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:27 +0000 (0:00:01.519) 0:00:43.267 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.563) 0:00:43.831 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.022) 0:00:43.853 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.021) 0:00:43.875 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.021) 0:00:43.896 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.042) 0:00:43.938 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.021) 0:00:43.960 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.021) 0:00:43.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.024) 0:00:44.005 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.021) 0:00:44.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.044) 0:00:44.072 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.186) 0:00:44.259 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmphxc6eg8p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.189) 0:00:44.448 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.229) 0:00:44.678 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.021) 0:00:44.700 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.022) 0:00:44.723 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.023) 0:00:44.746 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:28 +0000 (0:00:00.021) 0:00:44.767 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:10:29 +0000 (0:00:00.121) 0:00:44.889 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 16:10:29 +0000 (0:00:00.038) 0:00:44.928 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:29 +0000 (0:00:00.039) 0:00:44.967 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:29 +0000 (0:00:00.064) 0:00:45.032 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:29 +0000 (0:00:00.026) 0:00:45.059 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:29 +0000 (0:00:00.021) 0:00:45.081 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:29 +0000 (0:00:00.021) 0:00:45.102 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:30 +0000 (0:00:01.533) 0:00:46.636 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.564) 0:00:47.201 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.044) 0:00:47.246 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.021) 0:00:47.267 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.021) 0:00:47.288 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.043) 0:00:47.331 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.020) 0:00:47.352 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.021) 0:00:47.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.024) 0:00:47.398 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.020) 0:00:47.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.021) 0:00:47.441 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:31 +0000 (0:00:00.186) 0:00:47.627 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmpy8u374eg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.190) 0:00:47.818 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.231) 0:00:48.049 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.021) 0:00:48.070 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.022) 0:00:48.093 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.022) 0:00:48.115 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.047) 0:00:48.162 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.123) 0:00:48.286 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.039) 0:00:48.325 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.037) 0:00:48.363 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.021) 0:00:48.384 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.125) 0:00:48.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.021) 0:00:48.531 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006554", "end": "2024-01-10 16:10:32.865153", "rc": 1, "start": "2024-01-10 16:10:32.858599" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.133) 0:00:48.664 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.021) 0:00:48.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.022) 0:00:48.709 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.022) 0:00:48.731 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.021) 0:00:48.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 16:10:32 +0000 (0:00:00.022) 0:00:48.776 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.023) 0:00:48.799 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.053) 0:00:48.852 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.022) 0:00:48.875 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.038) 0:00:48.914 ***** 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.035758", "end": "2024-01-10 16:10:33.279058", "rc": 0, "start": "2024-01-10 16:10:33.243300" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.169) 0:00:49.083 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.036) 0:00:49.120 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.021) 0:00:49.142 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.045) 0:00:49.187 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.034) 0:00:49.221 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.033) 0:00:49.255 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003338", "end": "2024-01-10 16:10:33.587185", "rc": 0, "start": "2024-01-10 16:10:33.583847" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.131) 0:00:49.386 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.022) 0:00:49.409 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.022) 0:00:49.431 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.089) 0:00:49.520 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.036) 0:00:49.556 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.039) 0:00:49.596 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.025) 0:00:49.622 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.021) 0:00:49.643 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:33 +0000 (0:00:00.021) 0:00:49.665 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:35 +0000 (0:00:01.551) 0:00:51.217 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.581) 0:00:51.798 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.022) 0:00:51.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.020) 0:00:51.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.022) 0:00:51.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.045) 0:00:51.909 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.021) 0:00:51.930 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.021) 0:00:51.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.024) 0:00:51.976 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.020) 0:00:51.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.021) 0:00:52.018 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.184) 0:00:52.203 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmp1td27tu3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.210) 0:00:52.413 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.230) 0:00:52.644 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.021) 0:00:52.666 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.022) 0:00:52.689 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.022) 0:00:52.711 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:36 +0000 (0:00:00.021) 0:00:52.732 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:10:37 +0000 (0:00:00.124) 0:00:52.857 ***** 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_types97i77li/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 16:10:37 +0000 (0:00:00.022) 0:00:52.879 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:37 +0000 (0:00:00.035) 0:00:52.915 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:37 +0000 (0:00:00.039) 0:00:52.954 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:37 +0000 (0:00:00.025) 0:00:52.980 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:37 +0000 (0:00:00.021) 0:00:53.001 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:37 +0000 (0:00:00.020) 0:00:53.022 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:38 +0000 (0:00:01.541) 0:00:54.564 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.570) 0:00:55.135 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.022) 0:00:55.157 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.021) 0:00:55.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.021) 0:00:55.200 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.042) 0:00:55.242 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.042) 0:00:55.284 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.021) 0:00:55.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.024) 0:00:55.330 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.021) 0:00:55.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.020) 0:00:55.372 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.186) 0:00:55.559 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmp20qt9b26" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:39 +0000 (0:00:00.191) 0:00:55.750 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.348) 0:00:56.098 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.021) 0:00:56.119 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.021) 0:00:56.141 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.022) 0:00:56.164 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.020) 0:00:56.185 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.123) 0:00:56.308 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.061) 0:00:56.370 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.039) 0:00:56.409 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.027) 0:00:56.437 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.021) 0:00:56.458 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:40 +0000 (0:00:00.020) 0:00:56.479 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:42 +0000 (0:00:01.542) 0:00:58.022 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:42 +0000 (0:00:00.588) 0:00:58.610 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:42 +0000 (0:00:00.022) 0:00:58.632 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:42 +0000 (0:00:00.021) 0:00:58.654 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:42 +0000 (0:00:00.021) 0:00:58.675 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:42 +0000 (0:00:00.042) 0:00:58.718 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:42 +0000 (0:00:00.021) 0:00:58.739 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:42 +0000 (0:00:00.021) 0:00:58.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.024) 0:00:58.786 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.021) 0:00:58.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.021) 0:00:58.829 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.184) 0:00:59.014 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmp_4hhhoog" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.186) 0:00:59.200 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.239) 0:00:59.439 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.047) 0:00:59.487 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.023) 0:00:59.510 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.022) 0:00:59.533 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.021) 0:00:59.555 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.126) 0:00:59.681 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.038) 0:00:59.719 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:10:43 +0000 (0:00:00.035) 0:00:59.755 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:10:44 +0000 (0:00:00.039) 0:00:59.794 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:10:44 +0000 (0:00:00.025) 0:00:59.820 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:10:44 +0000 (0:00:00.021) 0:00:59.841 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:10:44 +0000 (0:00:00.021) 0:00:59.862 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:10:45 +0000 (0:00:01.530) 0:01:01.393 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.570) 0:01:01.963 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.022) 0:01:01.986 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.021) 0:01:02.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.021) 0:01:02.029 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.043) 0:01:02.073 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.021) 0:01:02.094 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.021) 0:01:02.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.024) 0:01:02.139 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.044) 0:01:02.184 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.021) 0:01:02.205 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.186) 0:01:02.391 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15315zz4hh_oq/tmprlz7g9xd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:10:46 +0000 (0:00:00.188) 0:01:02.580 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.227) 0:01:02.807 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.021) 0:01:02.829 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.022) 0:01:02.851 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.022) 0:01:02.874 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.020) 0:01:02.895 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.121) 0:01:03.017 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.044) 0:01:03.061 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.036) 0:01:03.097 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.047) 0:01:03.145 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.126) 0:01:03.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.021) 0:01:03.293 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006986", "end": "2024-01-10 16:10:47.626261", "rc": 1, "start": "2024-01-10 16:10:47.619275" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.132) 0:01:03.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.022) 0:01:03.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.022) 0:01:03.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.022) 0:01:03.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.022) 0:01:03.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.022) 0:01:03.537 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 16:10:47 +0000 (0:00:00.023) 0:01:03.561 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.374386", "end": "2024-01-10 16:10:48.263170", "rc": 0, "start": "2024-01-10 16:10:47.888784" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 16:10:48 +0000 (0:00:00.503) 0:01:04.065 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 16:10:48 +0000 (0:00:00.023) 0:01:04.088 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:10:48 +0000 (0:00:00.021) 0:01:04.110 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:10:48 +0000 (0:00:00.025) 0:01:04.135 ***** 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_types97i77li/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:10:48 +0000 (0:00:00.047) 0:01:04.183 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:10:48 +0000 (0:00:00.041) 0:01:04.225 ***** 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.047855", "end": "2024-01-10 16:10:48.610030", "rc": 0, "start": "2024-01-10 16:10:48.562175" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Wednesday 10 January 2024 16:10:48 +0000 (0:00:00.175) 0:01:04.400 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.83s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.32s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.01s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.97s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-route_types97i77li/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. ---^---^---^---^---^---