# 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_types6c1kw0f/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 20:36:04 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 20:36:05 +0000 (0:00:00.733) 0:00:00.745 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:36:05 +0000 (0:00:00.021) 0:00:00.767 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:36:05 +0000 (0:00:00.336) 0:00:01.104 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.252) 0:00:01.356 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.020) 0:00:01.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.018) 0:00:01.395 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.058) 0:00:01.453 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.237) 0:00:01.690 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.014) 0:00:01.704 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.010) 0:00:01.715 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244417", "end": "2024-01-09 20:36:06.892528", "rc": 0, "start": "2024-01-09 20:36:06.648111" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.428) 0:00:02.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.009) 0:00:02.153 ******* 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_types6c1kw0f/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:36:06 +0000 (0:00:00.010) 0:00:02.164 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.551) 0:00:02.715 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.010) 0:00:02.726 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.016) 0:00:02.742 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.010) 0:00:02.752 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.034) 0:00:02.787 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.013) 0:00:02.800 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.012) 0:00:02.812 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002921", "end": "2024-01-09 20:36:07.745967", "rc": 0, "start": "2024-01-09 20:36:07.743046" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.183) 0:00:02.995 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.013) 0:00:03.008 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.010) 0:00:03.019 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.020) 0:00:03.040 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007936", "end": "2024-01-09 20:36:07.979663", "rc": 1, "start": "2024-01-09 20:36:07.971727" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:36:07 +0000 (0:00:00.189) 0:00:03.229 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:36:08 +0000 (0:00:00.014) 0:00:03.244 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:36:08 +0000 (0:00:00.180) 0:00:03.424 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:36:08 +0000 (0:00:00.011) 0:00:03.436 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:36:08 +0000 (0:00:00.017) 0:00:03.453 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:36:08 +0000 (0:00:00.031) 0:00:03.485 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:36:08 +0000 (0:00:00.066) 0:00:03.551 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:36:08 +0000 (0:00:00.011) 0:00:03.563 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:36:08 +0000 (0:00:00.010) 0:00:03.573 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:36:08 +0000 (0:00:00.010) 0:00:03.583 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:36:09 +0000 (0:00:01.583) 0:00:05.167 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:36:11 +0000 (0:00:01.461) 0:00:06.629 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:36:11 +0000 (0:00:00.023) 0:00:06.652 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:36:11 +0000 (0:00:00.022) 0:00:06.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:36:11 +0000 (0:00:00.022) 0:00:06.697 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:36:11 +0000 (0:00:00.043) 0:00:06.740 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:36:11 +0000 (0:00:00.023) 0:00:06.763 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:36:11 +0000 (0:00:00.021) 0:00:06.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:36:11 +0000 (0:00:00.027) 0:00:06.812 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:36:11 +0000 (0:00:00.023) 0:00:06.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:36:11 +0000 (0:00:00.021) 0:00:06.858 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:36:12 +0000 (0:00:00.470) 0:00:07.328 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmpfhh_76_0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:36:12 +0000 (0:00:00.292) 0:00:07.621 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:36:12 +0000 (0:00:00.408) 0:00:08.029 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:36:12 +0000 (0:00:00.022) 0:00:08.051 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:36:12 +0000 (0:00:00.022) 0:00:08.074 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:36:12 +0000 (0:00:00.022) 0:00:08.097 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:36:12 +0000 (0:00:00.022) 0:00:08.119 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.239) 0:00:08.359 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.023) 0:00:08.383 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.042) 0:00:08.425 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.038) 0:00:08.464 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.021) 0:00:08.485 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832572.7684817, "block_size": 4096, "blocks": 8, "ctime": 1704832572.7684817, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704832572.7684817, "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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.197) 0:00:08.683 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.024) 0:00:08.707 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020671", "end": "2024-01-09 20:36:13.662146", "rc": 1, "start": "2024-01-09 20:36:13.641475" } 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.216) 0:00:08.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.023) 0:00:08.948 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003124", "end": "2024-01-09 20:36:13.888585", "rc": 0, "start": "2024-01-09 20:36:13.885461" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.205) 0:00:09.153 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:36:13 +0000 (0:00:00.026) 0:00:09.179 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003076", "end": "2024-01-09 20:36:14.117658", "rc": 0, "start": "2024-01-09 20:36:14.114582" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.202) 0:00:09.381 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.027) 0:00:09.409 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.023) 0:00:09.433 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.024) 0:00:09.457 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.022) 0:00:09.479 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.024) 0:00:09.504 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.021) 0:00:09.525 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.040) 0:00:09.566 ******* 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.037424", "end": "2024-01-09 20:36:14.538256", "rc": 1, "start": "2024-01-09 20:36:14.500832" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.233) 0:00:09.800 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.060) 0:00:09.860 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.023) 0:00:09.883 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.044) 0:00:09.928 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.035) 0:00:09.963 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.034) 0:00:09.997 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003081", "end": "2024-01-09 20:36:14.934097", "rc": 0, "start": "2024-01-09 20:36:14.931016" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.198) 0:00:10.196 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:36:14 +0000 (0:00:00.022) 0:00:10.219 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.020) 0:00:10.240 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.041) 0:00:10.281 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006606", "end": "2024-01-09 20:36:15.222219", "rc": 1, "start": "2024-01-09 20:36:15.215613" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.203) 0:00:10.484 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.059) 0:00:10.544 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.196) 0:00:10.741 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.023) 0:00:10.765 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.039) 0:00:10.804 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.040) 0:00:10.845 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.040) 0:00:10.885 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.025) 0:00:10.911 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.021) 0:00:10.932 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:36:15 +0000 (0:00:00.021) 0:00:10.953 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:36:17 +0000 (0:00:01.520) 0:00:12.474 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:36:18 +0000 (0:00:01.289) 0:00:13.764 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:36:18 +0000 (0:00:00.023) 0:00:13.788 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:36:18 +0000 (0:00:00.021) 0:00:13.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:36:18 +0000 (0:00:00.021) 0:00:13.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:36:18 +0000 (0:00:00.061) 0:00:13.893 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:36:18 +0000 (0:00:00.021) 0:00:13.915 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:36:18 +0000 (0:00:00.022) 0:00:13.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:36:18 +0000 (0:00:00.027) 0:00:13.964 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:36:18 +0000 (0:00:00.021) 0:00:13.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:36:18 +0000 (0:00:00.022) 0:00:14.009 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:36:19 +0000 (0:00:00.344) 0:00:14.353 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmpm2erj7qd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:36:19 +0000 (0:00:00.291) 0:00:14.644 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:36:19 +0000 (0:00:00.285) 0:00:14.930 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:36:19 +0000 (0:00:00.021) 0:00:14.952 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:36:19 +0000 (0:00:00.022) 0:00:14.974 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:36:19 +0000 (0:00:00.022) 0:00:14.997 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:36:19 +0000 (0:00:00.020) 0:00:15.018 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:36:19 +0000 (0:00:00.213) 0:00:15.231 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.023) 0:00:15.255 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.045) 0:00:15.301 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.037) 0:00:15.338 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.194) 0:00:15.532 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.025) 0:00:15.558 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.038) 0:00:15.597 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.022) 0:00:15.619 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832579.667475, "block_size": 4096, "blocks": 8, "ctime": 1704832579.667475, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704832579.667475, "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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.195) 0:00:15.814 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.022) 0:00:15.837 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019763", "end": "2024-01-09 20:36:20.788999", "rc": 1, "start": "2024-01-09 20:36:20.769236" } 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.214) 0:00:16.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:36:20 +0000 (0:00:00.043) 0:00:16.094 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003090", "end": "2024-01-09 20:36:21.035378", "rc": 0, "start": "2024-01-09 20:36:21.032288" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.204) 0:00:16.299 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.028) 0:00:16.328 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002950", "end": "2024-01-09 20:36:21.269279", "rc": 0, "start": "2024-01-09 20:36:21.266329" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.204) 0:00:16.533 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.028) 0:00:16.561 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.024) 0:00:16.586 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.025) 0:00:16.612 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.023) 0:00:16.635 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.020) 0:00:16.656 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.023) 0:00:16.679 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.042) 0:00:16.721 ******* 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.037645", "end": "2024-01-09 20:36:21.693010", "rc": 1, "start": "2024-01-09 20:36:21.655365" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.233) 0:00:16.955 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.059) 0:00:17.014 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.023) 0:00:17.038 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.046) 0:00:17.084 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.035) 0:00:17.120 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:36:21 +0000 (0:00:00.034) 0:00:17.155 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002951", "end": "2024-01-09 20:36:22.089698", "rc": 0, "start": "2024-01-09 20:36:22.086747" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:36:22 +0000 (0:00:00.197) 0:00:17.352 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:36:22 +0000 (0:00:00.023) 0:00:17.376 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:36:22 +0000 (0:00:00.023) 0:00:17.399 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:36:22 +0000 (0:00:00.038) 0:00:17.437 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:36:22 +0000 (0:00:00.036) 0:00:17.474 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:36:22 +0000 (0:00:00.064) 0:00:17.539 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:36:22 +0000 (0:00:00.027) 0:00:17.566 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:36:22 +0000 (0:00:00.022) 0:00:17.588 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:36:22 +0000 (0:00:00.021) 0:00:17.610 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:36:23 +0000 (0:00:01.509) 0:00:19.120 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:36:25 +0000 (0:00:01.311) 0:00:20.432 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.023) 0:00:20.455 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.022) 0:00:20.478 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.022) 0:00:20.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.044) 0:00:20.545 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.022) 0:00:20.567 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.021) 0:00:20.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.025) 0:00:20.614 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.021) 0:00:20.636 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.021) 0:00:20.657 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:36:25 +0000 (0:00:00.342) 0:00:20.999 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmpeofvdww2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.296) 0:00:21.296 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.316) 0:00:21.613 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.021) 0:00:21.635 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.023) 0:00:21.658 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.023) 0:00:21.681 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.021) 0:00:21.702 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.190) 0:00:21.893 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.023) 0:00:21.917 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.039) 0:00:21.956 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.040) 0:00:21.996 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.041) 0:00:22.037 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.028) 0:00:22.065 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.045) 0:00:22.111 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:36:26 +0000 (0:00:00.021) 0:00:22.132 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:36:28 +0000 (0:00:01.512) 0:00:23.645 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:36:29 +0000 (0:00:01.293) 0:00:24.938 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:36:29 +0000 (0:00:00.041) 0:00:24.979 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:36:29 +0000 (0:00:00.021) 0:00:25.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:36:29 +0000 (0:00:00.022) 0:00:25.023 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:36:29 +0000 (0:00:00.044) 0:00:25.067 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:36:29 +0000 (0:00:00.021) 0:00:25.089 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:36:29 +0000 (0:00:00.022) 0:00:25.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:36:29 +0000 (0:00:00.024) 0:00:25.135 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:36:29 +0000 (0:00:00.021) 0:00:25.157 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:36:29 +0000 (0:00:00.021) 0:00:25.179 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:36:30 +0000 (0:00:00.343) 0:00:25.522 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmp0ntgkja3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:36:30 +0000 (0:00:00.293) 0:00:25.816 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:36:31 +0000 (0:00:00.853) 0:00:26.670 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:36:31 +0000 (0:00:00.021) 0:00:26.692 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:36:31 +0000 (0:00:00.023) 0:00:26.716 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:36:31 +0000 (0:00:00.023) 0:00:26.739 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:36:31 +0000 (0:00:00.021) 0:00:26.760 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:36:31 +0000 (0:00:00.191) 0:00:26.952 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:36:31 +0000 (0:00:00.047) 0:00:26.999 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:36:31 +0000 (0:00:00.038) 0:00:27.037 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832591.2855642, "block_size": 4096, "blocks": 0, "ctime": 1704832591.2855642, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22160, "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": 1704832591.2855642, "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_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:36:31 +0000 (0:00:00.196) 0:00:27.233 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.024) 0:00:27.258 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.038) 0:00:27.296 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.023) 0:00:27.320 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832590.8404639, "block_size": 4096, "blocks": 8, "ctime": 1704832586.3514683, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704832586.3514683, "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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.216) 0:00:27.537 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.025) 0:00:27.562 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019403", "end": "2024-01-09 20:36:32.512427", "rc": 1, "start": "2024-01-09 20:36:32.493024" } 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.212) 0:00:27.775 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.024) 0:00:27.799 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002809", "end": "2024-01-09 20:36:32.735342", "rc": 0, "start": "2024-01-09 20:36:32.732533" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.199) 0:00:27.998 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.028) 0:00:28.027 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002789", "end": "2024-01-09 20:36:32.966985", "rc": 0, "start": "2024-01-09 20:36:32.964196" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:36:32 +0000 (0:00:00.202) 0:00:28.229 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.026) 0:00:28.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.024) 0:00:28.280 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.024) 0:00:28.305 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.023) 0:00:28.328 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.021) 0:00:28.349 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.024) 0:00:28.373 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.068) 0:00:28.441 ******* 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.042664", "end": "2024-01-09 20:36:33.418094", "rc": 0, "start": "2024-01-09 20:36:33.375430" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.241) 0:00:28.683 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.039) 0:00:28.722 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.023) 0:00:28.745 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.046) 0:00:28.791 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.036) 0:00:28.828 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.035) 0:00:28.864 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-01-09 20:36:33.800433", "rc": 0, "start": "2024-01-09 20:36:33.796963" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.199) 0:00:29.063 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.022) 0:00:29.086 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.021) 0:00:29.107 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.041) 0:00:29.149 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:36:33 +0000 (0:00:00.058) 0:00:29.208 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:36:34 +0000 (0:00:00.040) 0:00:29.248 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:36:34 +0000 (0:00:00.026) 0:00:29.275 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:36:34 +0000 (0:00:00.022) 0:00:29.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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:36:34 +0000 (0:00:00.021) 0:00:29.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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:36:35 +0000 (0:00:01.525) 0:00:30.845 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:36:36 +0000 (0:00:01.319) 0:00:32.165 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:36:36 +0000 (0:00:00.023) 0:00:32.189 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:36:36 +0000 (0:00:00.022) 0:00:32.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:36:37 +0000 (0:00:00.022) 0:00:32.233 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:36:37 +0000 (0:00:00.044) 0:00:32.278 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:36:37 +0000 (0:00:00.022) 0:00:32.300 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:36:37 +0000 (0:00:00.022) 0:00:32.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:36:37 +0000 (0:00:00.025) 0:00:32.348 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:36:37 +0000 (0:00:00.021) 0:00:32.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:36:37 +0000 (0:00:00.022) 0:00:32.392 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:36:37 +0000 (0:00:00.343) 0:00:32.736 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmp2w78f0dy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:36:37 +0000 (0:00:00.293) 0:00:33.029 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.288) 0:00:33.318 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.022) 0:00:33.340 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.023) 0:00:33.364 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.023) 0:00:33.387 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.022) 0:00:33.409 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.189) 0:00:33.599 ******* 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_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.023) 0:00:33.622 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.035) 0:00:33.658 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.069) 0:00:33.727 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.028) 0:00:33.756 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.023) 0:00:33.779 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:36:38 +0000 (0:00:00.022) 0:00:33.801 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:36:40 +0000 (0:00:01.514) 0:00:35.316 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:36:41 +0000 (0:00:01.312) 0:00:36.629 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.024) 0:00:36.653 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.022) 0:00:36.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.022) 0:00:36.697 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.042) 0:00:36.740 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.021) 0:00:36.761 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.021) 0:00:36.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.024) 0:00:36.808 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.021) 0:00:36.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.021) 0:00:36.851 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:36:41 +0000 (0:00:00.341) 0:00:37.192 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmpexylfigx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:36:42 +0000 (0:00:00.290) 0:00:37.483 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:36:42 +0000 (0:00:00.580) 0:00:38.064 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:36:42 +0000 (0:00:00.022) 0:00:38.086 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:36:42 +0000 (0:00:00.022) 0:00:38.109 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:36:42 +0000 (0:00:00.023) 0:00:38.132 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:36:42 +0000 (0:00:00.021) 0:00:38.154 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:36:43 +0000 (0:00:00.189) 0:00:38.344 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:36:43 +0000 (0:00:00.040) 0:00:38.385 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:36:43 +0000 (0:00:00.041) 0:00:38.426 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:36:43 +0000 (0:00:00.040) 0:00:38.467 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:36:43 +0000 (0:00:00.026) 0:00:38.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:36:43 +0000 (0:00:00.045) 0:00:38.539 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:36:43 +0000 (0:00:00.021) 0:00:38.560 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:36:44 +0000 (0:00:01.519) 0:00:40.080 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:36:46 +0000 (0:00:01.297) 0:00:41.378 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.045) 0:00:41.424 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.023) 0:00:41.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.022) 0:00:41.470 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.044) 0:00:41.515 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.022) 0:00:41.538 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.024) 0:00:41.562 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.025) 0:00:41.587 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.022) 0:00:41.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.022) 0:00:41.632 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:36:46 +0000 (0:00:00.340) 0:00:41.972 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmp9d_3_6ks" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.291) 0:00:42.264 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.295) 0:00:42.559 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.021) 0:00:42.581 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.022) 0:00:42.604 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.047) 0:00:42.652 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.022) 0:00:42.674 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.192) 0:00:42.867 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.044) 0:00:42.911 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.036) 0:00:42.948 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832602.714537, "block_size": 4096, "blocks": 0, "ctime": 1704832602.714537, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22291, "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": 1704832602.714537, "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_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.194) 0:00:43.142 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.023) 0:00:43.166 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.038) 0:00:43.204 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:36:47 +0000 (0:00:00.023) 0:00:43.228 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.193) 0:00:43.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.021) 0:00:43.444 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019460", "end": "2024-01-09 20:36:48.395817", "rc": 1, "start": "2024-01-09 20:36:48.376357" } 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.212) 0:00:43.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.023) 0:00:43.679 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.023) 0:00:43.703 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.022) 0:00:43.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.022) 0:00:43.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.022) 0:00:43.770 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.023) 0:00:43.794 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.019) 0:00:43.814 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.021) 0:00:43.836 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.040) 0:00:43.876 ******* 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.045824", "end": "2024-01-09 20:36:48.857078", "rc": 0, "start": "2024-01-09 20:36:48.811254" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.244) 0:00:44.121 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.037) 0:00:44.158 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:36:48 +0000 (0:00:00.021) 0:00:44.179 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.072) 0:00:44.252 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.036) 0:00:44.288 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.035) 0:00:44.324 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003120", "end": "2024-01-09 20:36:49.259348", "rc": 0, "start": "2024-01-09 20:36:49.256228" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.198) 0:00:44.522 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.024) 0:00:44.547 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.024) 0:00:44.571 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.049) 0:00:44.620 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.038) 0:00:44.659 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.042) 0:00:44.701 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.028) 0:00:44.729 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.054) 0:00:44.784 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:36:49 +0000 (0:00:00.022) 0:00:44.807 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:36:51 +0000 (0:00:01.989) 0:00:46.796 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:36:53 +0000 (0:00:01.777) 0:00:48.574 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:36:53 +0000 (0:00:00.023) 0:00:48.597 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:36:53 +0000 (0:00:00.022) 0:00:48.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:36:53 +0000 (0:00:00.022) 0:00:48.642 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:36:53 +0000 (0:00:00.042) 0:00:48.684 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:36:53 +0000 (0:00:00.021) 0:00:48.706 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:36:53 +0000 (0:00:00.020) 0:00:48.726 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:36:53 +0000 (0:00:00.026) 0:00:48.753 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:36:53 +0000 (0:00:00.022) 0:00:48.775 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:36:53 +0000 (0:00:00.020) 0:00:48.795 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:36:54 +0000 (0:00:00.511) 0:00:49.307 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmp9nsgch_5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:36:54 +0000 (0:00:00.411) 0:00:49.718 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:36:54 +0000 (0:00:00.469) 0:00:50.188 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:36:54 +0000 (0:00:00.022) 0:00:50.211 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.022) 0:00:50.234 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.023) 0:00:50.257 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.022) 0:00:50.279 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.237) 0:00:50.517 ******* 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_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.023) 0:00:50.541 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.036) 0:00:50.577 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.040) 0:00:50.618 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.027) 0:00:50.645 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.021) 0:00:50.667 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:36:55 +0000 (0:00:00.021) 0:00:50.688 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:36:56 +0000 (0:00:01.515) 0:00:52.204 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:36:58 +0000 (0:00:01.290) 0:00:53.495 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.028) 0:00:53.524 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.022) 0:00:53.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.044) 0:00:53.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.045) 0:00:53.636 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.021) 0:00:53.658 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.022) 0:00:53.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.025) 0:00:53.705 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.022) 0:00:53.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.022) 0:00:53.750 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:36:58 +0000 (0:00:00.345) 0:00:54.096 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmpi0wchoz_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:36:59 +0000 (0:00:00.290) 0:00:54.386 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:36:59 +0000 (0:00:00.551) 0:00:54.938 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:36:59 +0000 (0:00:00.022) 0:00:54.960 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:36:59 +0000 (0:00:00.022) 0:00:54.983 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:36:59 +0000 (0:00:00.046) 0:00:55.029 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:36:59 +0000 (0:00:00.022) 0:00:55.051 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:37:00 +0000 (0:00:00.189) 0:00:55.241 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:00 +0000 (0:00:00.037) 0:00:55.278 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:00 +0000 (0:00:00.041) 0:00:55.319 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:00 +0000 (0:00:00.028) 0:00:55.347 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:00 +0000 (0:00:00.022) 0:00:55.370 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:00 +0000 (0:00:00.021) 0:00:55.392 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:01 +0000 (0:00:01.565) 0:00:56.957 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:37:03 +0000 (0:00:01.299) 0:00:58.257 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.024) 0:00:58.282 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.021) 0:00:58.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.022) 0:00:58.326 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.044) 0:00:58.371 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.022) 0:00:58.393 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.022) 0:00:58.416 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.050) 0:00:58.466 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.022) 0:00:58.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.023) 0:00:58.511 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.344) 0:00:58.856 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmp1uw81o23" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:37:03 +0000 (0:00:00.295) 0:00:59.152 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.294) 0:00:59.446 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.022) 0:00:59.468 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.023) 0:00:59.492 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.022) 0:00:59.514 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.021) 0:00:59.536 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.189) 0:00:59.725 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.063) 0:00:59.789 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.040) 0:00:59.830 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.041) 0:00:59.871 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.026) 0:00:59.897 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.022) 0:00:59.919 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:04 +0000 (0:00:00.021) 0:00:59.941 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:06 +0000 (0:00:01.531) 0:01:01.472 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:37:07 +0000 (0:00:01.320) 0:01:02.793 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:37:07 +0000 (0:00:00.023) 0:01:02.817 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:37:07 +0000 (0:00:00.022) 0:01:02.840 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:37:07 +0000 (0:00:00.023) 0:01:02.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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:37:07 +0000 (0:00:00.044) 0:01:02.908 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:37:07 +0000 (0:00:00.023) 0:01:02.931 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:37:07 +0000 (0:00:00.022) 0:01:02.954 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:37:07 +0000 (0:00:00.027) 0:01:02.981 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:37:07 +0000 (0:00:00.023) 0:01:03.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:37:07 +0000 (0:00:00.022) 0:01:03.027 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:37:08 +0000 (0:00:00.375) 0:01:03.403 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmppoz6_rre" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:37:08 +0000 (0:00:00.297) 0:01:03.700 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:37:08 +0000 (0:00:00.289) 0:01:03.989 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:37:08 +0000 (0:00:00.021) 0:01:04.011 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:37:08 +0000 (0:00:00.023) 0:01:04.034 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:37:08 +0000 (0:00:00.023) 0:01:04.058 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:37:08 +0000 (0:00:00.021) 0:01:04.079 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.189) 0:01:04.269 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.040) 0:01:04.309 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.037) 0:01:04.347 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.045) 0:01:04.392 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.195) 0:01:04.588 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.022) 0:01:04.611 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019462", "end": "2024-01-09 20:37:09.561780", "rc": 1, "start": "2024-01-09 20:37:09.542318" } 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.212) 0:01:04.823 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.023) 0:01:04.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.022) 0:01:04.870 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.023) 0:01:04.893 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.022) 0:01:04.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.021) 0:01:04.937 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.024) 0:01:04.962 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.025) 0:01:04.987 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.021) 0:01:05.008 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:37:09 +0000 (0:00:00.040) 0:01:05.049 ******* 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.045872", "end": "2024-01-09 20:37:10.028882", "rc": 0, "start": "2024-01-09 20:37:09.983010" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.270) 0:01:05.319 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.038) 0:01:05.357 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.024) 0:01:05.381 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.046) 0:01:05.428 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.035) 0:01:05.464 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.034) 0:01:05.499 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002943", "end": "2024-01-09 20:37:10.434316", "rc": 0, "start": "2024-01-09 20:37:10.431373" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.198) 0:01:05.697 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.022) 0:01:05.719 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.021) 0:01:05.741 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.044) 0:01:05.786 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.061) 0:01:05.847 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.040) 0:01:05.888 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.027) 0:01:05.915 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.021) 0:01:05.937 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:10 +0000 (0:00:00.022) 0:01:05.959 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:12 +0000 (0:00:01.525) 0:01:07.484 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:37:13 +0000 (0:00:01.289) 0:01:08.774 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:37:13 +0000 (0:00:00.023) 0:01:08.797 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:37:13 +0000 (0:00:00.022) 0:01:08.820 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:37:13 +0000 (0:00:00.022) 0:01:08.842 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:37:13 +0000 (0:00:00.043) 0:01:08.885 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:37:13 +0000 (0:00:00.022) 0:01:08.908 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:37:13 +0000 (0:00:00.022) 0:01:08.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:37:13 +0000 (0:00:00.024) 0:01:08.955 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:37:13 +0000 (0:00:00.022) 0:01:08.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:37:13 +0000 (0:00:00.021) 0:01:08.998 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:37:14 +0000 (0:00:00.342) 0:01:09.340 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmpuzsnndvi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:37:14 +0000 (0:00:00.293) 0:01:09.634 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:37:14 +0000 (0:00:00.286) 0:01:09.921 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:37:14 +0000 (0:00:00.022) 0:01:09.943 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:37:14 +0000 (0:00:00.022) 0:01:09.965 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:37:14 +0000 (0:00:00.023) 0:01:09.989 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:37:14 +0000 (0:00:00.020) 0:01:10.009 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:37:14 +0000 (0:00:00.189) 0:01:10.199 ******* 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_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:37:14 +0000 (0:00:00.023) 0:01:10.222 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:15 +0000 (0:00:00.037) 0:01:10.259 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:15 +0000 (0:00:00.040) 0:01:10.300 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:15 +0000 (0:00:00.026) 0:01:10.327 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:15 +0000 (0:00:00.021) 0:01:10.348 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:15 +0000 (0:00:00.044) 0:01:10.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:16 +0000 (0:00:01.525) 0:01:11.919 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:37:17 +0000 (0:00:01.294) 0:01:13.214 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.024) 0:01:13.238 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.042) 0:01:13.280 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.022) 0:01:13.303 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.043) 0:01:13.346 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.021) 0:01:13.367 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.022) 0:01:13.390 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.024) 0:01:13.415 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.022) 0:01:13.437 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.022) 0:01:13.460 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.342) 0:01:13.803 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmpwt8qepf8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:37:18 +0000 (0:00:00.297) 0:01:14.100 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.552) 0:01:14.652 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.022) 0:01:14.674 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.047) 0:01:14.722 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.025) 0:01:14.747 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.023) 0:01:14.771 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.189) 0:01:14.961 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.037) 0:01:14.998 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.041) 0:01:15.040 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.028) 0:01:15.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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.022) 0:01:15.091 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:19 +0000 (0:00:00.021) 0:01:15.113 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:21 +0000 (0:00:01.521) 0:01:16.634 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:37:22 +0000 (0:00:01.298) 0:01:17.933 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:37:22 +0000 (0:00:00.023) 0:01:17.957 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:37:22 +0000 (0:00:00.021) 0:01:17.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:37:22 +0000 (0:00:00.021) 0:01:18.001 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:37:22 +0000 (0:00:00.044) 0:01:18.045 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:37:22 +0000 (0:00:00.021) 0:01:18.067 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:37:22 +0000 (0:00:00.046) 0:01:18.113 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:37:22 +0000 (0:00:00.026) 0:01:18.140 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:37:22 +0000 (0:00:00.021) 0:01:18.162 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:37:22 +0000 (0:00:00.022) 0:01:18.184 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:37:23 +0000 (0:00:00.349) 0:01:18.534 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmpq4l2_oba" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:37:23 +0000 (0:00:00.297) 0:01:18.832 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:37:23 +0000 (0:00:00.309) 0:01:19.141 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:37:23 +0000 (0:00:00.024) 0:01:19.166 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:37:23 +0000 (0:00:00.024) 0:01:19.190 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:37:23 +0000 (0:00:00.023) 0:01:19.213 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:37:24 +0000 (0:00:00.020) 0:01:19.234 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:37:24 +0000 (0:00:00.193) 0:01:19.427 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:37:24 +0000 (0:00:00.071) 0:01:19.499 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:24 +0000 (0:00:00.038) 0:01:19.537 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:24 +0000 (0:00:00.041) 0:01:19.579 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:24 +0000 (0:00:00.029) 0:01:19.608 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:24 +0000 (0:00:00.022) 0:01:19.630 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:24 +0000 (0:00:00.022) 0:01:19.652 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:26 +0000 (0:00:01.596) 0:01:21.249 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:37:27 +0000 (0:00:01.334) 0:01:22.584 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.023) 0:01:22.607 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.022) 0:01:22.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.022) 0:01:22.652 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.044) 0:01:22.696 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.022) 0:01:22.719 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.022) 0:01:22.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.025) 0:01:22.767 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.046) 0:01:22.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.022) 0:01:22.836 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:37:27 +0000 (0:00:00.353) 0:01:23.190 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19468sccuay_v/tmpmijtklwn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.306) 0:01:23.496 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.288) 0:01:23.785 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.022) 0:01:23.807 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.024) 0:01:23.831 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.023) 0:01:23.855 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.021) 0:01:23.876 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.193) 0:01:24.070 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.045) 0:01:24.116 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.060) 0:01:24.176 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:37:28 +0000 (0:00:00.022) 0:01:24.199 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:37:29 +0000 (0:00:00.197) 0:01:24.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:37:29 +0000 (0:00:00.022) 0:01:24.419 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020497", "end": "2024-01-09 20:37:29.373487", "rc": 1, "start": "2024-01-09 20:37:29.352990" } 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:37:29 +0000 (0:00:00.218) 0:01:24.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:37:29 +0000 (0:00:00.024) 0:01:24.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:37:29 +0000 (0:00:00.024) 0:01:24.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:37:29 +0000 (0:00:00.024) 0:01:24.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:37:29 +0000 (0:00:00.024) 0:01:24.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:37:29 +0000 (0:00:00.025) 0:01:24.761 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:37:29 +0000 (0:00:00.027) 0:01:24.788 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.943817", "end": "2024-01-09 20:37:30.668266", "rc": 0, "start": "2024-01-09 20:37:29.724449" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:37:30 +0000 (0:00:01.142) 0:01:25.930 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:37:30 +0000 (0:00:00.023) 0:01:25.954 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:37:30 +0000 (0:00:00.022) 0:01:25.976 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:37:30 +0000 (0:00:00.025) 0:01:26.001 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:37:30 +0000 (0:00:00.023) 0:01:26.024 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:37:30 +0000 (0:00:00.041) 0:01:26.066 ******* 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.045106", "end": "2024-01-09 20:37:31.052495", "rc": 0, "start": "2024-01-09 20:37:31.007389" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Tuesday 09 January 2024 20:37:31 +0000 (0:00:00.237) 0:01:26.304 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.54s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 2.01s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 1.99s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.78s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.77s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.59s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/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_types6c1kw0f/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_types6c1kw0f/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_types6c1kw0f/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_types6c1kw0f/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_types6c1kw0f/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_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---