# 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_type7bwn9fbo/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/tests_states_initscripts.yml:5 Thursday 11 January 2024 00:20:39 +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_type7bwn9fbo/tests/tests_states_initscripts.yml:8 Thursday 11 January 2024 00:20:40 +0000 (0:00:00.717) 0:00:00.729 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:20:40 +0000 (0:00:00.023) 0:00:00.752 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 00:20:40 +0000 (0:00:00.340) 0:00:01.093 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 00:20:40 +0000 (0:00:00.252) 0:00:01.345 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 00:20:40 +0000 (0:00:00.020) 0:00:01.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 00:20:40 +0000 (0:00:00.017) 0:00:01.383 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:20:40 +0000 (0:00:00.046) 0:00:01.429 ****** 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_type7bwn9fbo/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:20:41 +0000 (0:00:00.238) 0:00:01.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:20:41 +0000 (0:00:00.010) 0:00:01.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:20:41 +0000 (0:00:00.010) 0:00:01.689 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.249626", "end": "2024-01-11 00:20:42.524931", "rc": 0, "start": "2024-01-11 00:20:41.275305" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:20:42 +0000 (0:00:01.437) 0:00:03.127 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tests_states_initscripts.yml:10 Thursday 11 January 2024 00:20:42 +0000 (0:00:00.009) 0:00:03.136 ****** 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_type7bwn9fbo/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 00:20:42 +0000 (0:00:00.010) 0:00:03.147 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.572) 0:00:03.719 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.010) 0:00:03.730 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.015) 0:00:03.745 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.013) 0:00:03.759 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.035) 0:00:03.794 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.014) 0:00:03.809 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.013) 0:00:03.823 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003350", "end": "2024-01-11 00:20:43.410823", "rc": 0, "start": "2024-01-11 00:20:43.407473" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.189) 0:00:04.012 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.012) 0:00:04.024 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.013) 0:00:04.037 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.023) 0:00:04.061 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008491", "end": "2024-01-11 00:20:43.654569", "rc": 1, "start": "2024-01-11 00:20:43.646078" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.194) 0:00:04.256 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.015) 0:00:04.271 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.185) 0:00:04.457 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.012) 0:00:04.469 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.017) 0:00:04.486 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:20:43 +0000 (0:00:00.033) 0:00:04.519 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:20:44 +0000 (0:00:00.067) 0:00:04.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:20:44 +0000 (0:00:00.013) 0:00:04.601 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:20:44 +0000 (0:00:00.012) 0:00:04.613 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:20:44 +0000 (0:00:00.014) 0:00:04.628 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:20:45 +0000 (0:00:01.632) 0:00:06.261 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:20:47 +0000 (0:00:01.473) 0:00:07.734 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.026) 0:00:07.760 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.022) 0:00:07.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.021) 0:00:07.805 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.045) 0:00:07.850 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.022) 0:00:07.873 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.029) 0:00:07.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.039) 0:00:07.942 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.023) 0:00:07.966 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.028) 0:00:07.994 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:20:47 +0000 (0:00:00.500) 0:00:08.494 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpsz4pdt1a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:20:48 +0000 (0:00:00.313) 0:00:08.807 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:20:48 +0000 (0:00:00.456) 0:00:09.263 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:20:48 +0000 (0:00:00.023) 0:00:09.287 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:20:48 +0000 (0:00:00.023) 0:00:09.311 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:20:48 +0000 (0:00:00.025) 0:00:09.336 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:20:48 +0000 (0:00:00.025) 0:00:09.361 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.257) 0:00:09.619 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.023) 0:00:09.643 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.040) 0:00:09.684 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.038) 0:00:09.722 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.021) 0:00:09.744 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932448.651112, "block_size": 4096, "blocks": 8, "ctime": 1704932448.651112, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704932448.651112, "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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.203) 0:00:09.948 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.068) 0:00:10.016 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023239", "end": "2024-01-11 00:20:49.637973", "rc": 1, "start": "2024-01-11 00:20:49.614734" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.243) 0:00:10.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.028) 0:00:10.289 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003614", "end": "2024-01-11 00:20:49.887658", "rc": 0, "start": "2024-01-11 00:20:49.884044" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.212) 0:00:10.502 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:20:49 +0000 (0:00:00.026) 0:00:10.529 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003425", "end": "2024-01-11 00:20:50.123534", "rc": 0, "start": "2024-01-11 00:20:50.120109" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.242) 0:00:10.771 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.046) 0:00:10.818 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.025) 0:00:10.844 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.055) 0:00:10.899 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.028) 0:00:10.927 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.029) 0:00:10.957 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.039) 0:00:10.996 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.054) 0:00:11.050 ****** 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.045034", "end": "2024-01-11 00:20:50.685439", "rc": 1, "start": "2024-01-11 00:20:50.640405" } 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_type7bwn9fbo/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.304) 0:00:11.355 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.053) 0:00:11.409 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.029) 0:00:11.438 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:20:50 +0000 (0:00:00.097) 0:00:11.536 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:20:51 +0000 (0:00:00.066) 0:00:11.602 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:20:51 +0000 (0:00:00.064) 0:00:11.666 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2024-01-11 00:20:51.256769", "rc": 0, "start": "2024-01-11 00:20:51.253105" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:20:51 +0000 (0:00:00.213) 0:00:11.880 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:20:51 +0000 (0:00:00.038) 0:00:11.918 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:20:51 +0000 (0:00:00.043) 0:00:11.962 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:20:51 +0000 (0:00:00.053) 0:00:12.016 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006585", "end": "2024-01-11 00:20:51.633085", "rc": 1, "start": "2024-01-11 00:20:51.626500" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:20:51 +0000 (0:00:00.230) 0:00:12.246 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:20:51 +0000 (0:00:00.091) 0:00:12.337 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:20:52 +0000 (0:00:00.316) 0:00:12.654 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:20:52 +0000 (0:00:00.046) 0:00:12.700 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 00:20:52 +0000 (0:00:00.068) 0:00:12.768 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:20:52 +0000 (0:00:00.042) 0:00:12.811 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:20:52 +0000 (0:00:00.045) 0:00:12.857 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:20:52 +0000 (0:00:00.047) 0:00:12.904 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:20:52 +0000 (0:00:00.032) 0:00:12.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:20:52 +0000 (0:00:00.033) 0:00:12.970 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:20:53 +0000 (0:00:01.594) 0:00:14.565 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:20:55 +0000 (0:00:01.311) 0:00:15.876 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.026) 0:00:15.902 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.022) 0:00:15.925 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.030) 0:00:15.955 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.051) 0:00:16.007 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.025) 0:00:16.033 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.053) 0:00:16.086 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.028) 0:00:16.115 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.025) 0:00:16.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.023) 0:00:16.164 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:20:55 +0000 (0:00:00.350) 0:00:16.514 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpu0poeqlr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:20:56 +0000 (0:00:00.344) 0:00:16.859 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:20:56 +0000 (0:00:00.329) 0:00:17.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:20:56 +0000 (0:00:00.032) 0:00:17.220 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:20:56 +0000 (0:00:00.028) 0:00:17.249 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:20:56 +0000 (0:00:00.024) 0:00:17.273 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:20:56 +0000 (0:00:00.031) 0:00:17.304 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 00:20:56 +0000 (0:00:00.203) 0:00:17.508 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:20:56 +0000 (0:00:00.061) 0:00:17.570 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:20:57 +0000 (0:00:00.095) 0:00:17.666 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:20:57 +0000 (0:00:00.051) 0:00:17.717 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:20:57 +0000 (0:00:00.219) 0:00:17.937 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:20:57 +0000 (0:00:00.037) 0:00:17.975 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:20:57 +0000 (0:00:00.051) 0:00:18.026 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:20:57 +0000 (0:00:00.055) 0:00:18.082 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932456.5630145, "block_size": 4096, "blocks": 8, "ctime": 1704932456.5630145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704932456.5630145, "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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:20:57 +0000 (0:00:00.241) 0:00:18.323 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:20:57 +0000 (0:00:00.037) 0:00:18.361 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022223", "end": "2024-01-11 00:20:57.986182", "rc": 1, "start": "2024-01-11 00:20:57.963959" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.237) 0:00:18.598 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.023) 0:00:18.622 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003323", "end": "2024-01-11 00:20:58.215641", "rc": 0, "start": "2024-01-11 00:20:58.212318" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.207) 0:00:18.829 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.051) 0:00:18.881 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003329", "end": "2024-01-11 00:20:58.474904", "rc": 0, "start": "2024-01-11 00:20:58.471575" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.211) 0:00:19.092 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.034) 0:00:19.127 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.027) 0:00:19.154 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.027) 0:00:19.181 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.029) 0:00:19.211 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.027) 0:00:19.239 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.036) 0:00:19.275 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:20:58 +0000 (0:00:00.045) 0:00:19.320 ****** 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.043714", "end": "2024-01-11 00:20:58.972422", "rc": 1, "start": "2024-01-11 00:20:58.928708" } 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_type7bwn9fbo/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.264) 0:00:19.585 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.037) 0:00:19.623 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.023) 0:00:19.646 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.077) 0:00:19.724 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.037) 0:00:19.761 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.038) 0:00:19.800 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003495", "end": "2024-01-11 00:20:59.390921", "rc": 0, "start": "2024-01-11 00:20:59.387426" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.204) 0:00:20.005 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.026) 0:00:20.031 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.024) 0:00:20.055 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.039) 0:00:20.094 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.037) 0:00:20.132 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.041) 0:00:20.173 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.032) 0:00:20.206 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.022) 0:00:20.228 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:20:59 +0000 (0:00:00.053) 0:00:20.282 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:01 +0000 (0:00:01.640) 0:00:21.922 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:02 +0000 (0:00:01.315) 0:00:23.238 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:02 +0000 (0:00:00.023) 0:00:23.261 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:02 +0000 (0:00:00.041) 0:00:23.303 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:02 +0000 (0:00:00.023) 0:00:23.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:02 +0000 (0:00:00.044) 0:00:23.370 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:02 +0000 (0:00:00.023) 0:00:23.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:02 +0000 (0:00:00.024) 0:00:23.418 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:02 +0000 (0:00:00.040) 0:00:23.458 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:02 +0000 (0:00:00.036) 0:00:23.494 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:02 +0000 (0:00:00.032) 0:00:23.526 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:03 +0000 (0:00:00.353) 0:00:23.880 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpzv81511m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:03 +0000 (0:00:00.308) 0:00:24.188 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:03 +0000 (0:00:00.297) 0:00:24.485 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:03 +0000 (0:00:00.023) 0:00:24.509 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:03 +0000 (0:00:00.023) 0:00:24.532 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.054) 0:00:24.586 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.023) 0:00:24.610 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.200) 0:00:24.810 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.039) 0:00:24.850 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.060) 0:00:24.911 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.050) 0:00:24.961 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.046) 0:00:25.008 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.035) 0:00:25.044 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.024) 0:00:25.068 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:04 +0000 (0:00:00.025) 0:00:25.094 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:06 +0000 (0:00:01.655) 0:00:26.749 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:07 +0000 (0:00:01.313) 0:00:28.062 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:07 +0000 (0:00:00.024) 0:00:28.087 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:07 +0000 (0:00:00.026) 0:00:28.113 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:07 +0000 (0:00:00.056) 0:00:28.170 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:07 +0000 (0:00:00.045) 0:00:28.215 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:07 +0000 (0:00:00.022) 0:00:28.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:07 +0000 (0:00:00.022) 0:00:28.261 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:07 +0000 (0:00:00.025) 0:00:28.287 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:07 +0000 (0:00:00.022) 0:00:28.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:07 +0000 (0:00:00.022) 0:00:28.332 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:08 +0000 (0:00:00.354) 0:00:28.687 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpt7kugtqo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:08 +0000 (0:00:00.310) 0:00:28.998 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:08 +0000 (0:00:00.579) 0:00:29.577 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.033) 0:00:29.611 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.025) 0:00:29.636 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.052) 0:00:29.688 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.022) 0:00:29.711 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.197) 0:00:29.909 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.046) 0:00:29.955 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.039) 0:00:29.994 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932468.8681445, "block_size": 4096, "blocks": 0, "ctime": 1704932468.8681445, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35918, "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": 1704932468.8681445, "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_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.214) 0:00:30.209 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.043) 0:00:30.252 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.047) 0:00:30.299 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.024) 0:00:30.324 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932468.684865, "block_size": 4096, "blocks": 8, "ctime": 1704932463.8709242, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704932463.8709242, "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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:21:09 +0000 (0:00:00.215) 0:00:30.539 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.048) 0:00:30.588 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022915", "end": "2024-01-11 00:21:10.202022", "rc": 1, "start": "2024-01-11 00:21:10.179107" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.256) 0:00:30.845 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.024) 0:00:30.869 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003445", "end": "2024-01-11 00:21:10.464791", "rc": 0, "start": "2024-01-11 00:21:10.461346" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.220) 0:00:31.090 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.033) 0:00:31.123 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003528", "end": "2024-01-11 00:21:10.718188", "rc": 0, "start": "2024-01-11 00:21:10.714660" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.209) 0:00:31.332 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.034) 0:00:31.367 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.028) 0:00:31.396 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.026) 0:00:31.422 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.059) 0:00:31.482 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.036) 0:00:31.519 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:21:10 +0000 (0:00:00.041) 0:00:31.560 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.059) 0:00:31.620 ****** 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.050832", "end": "2024-01-11 00:21:11.258966", "rc": 0, "start": "2024-01-11 00:21:11.208134" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.255) 0:00:31.875 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.066) 0:00:31.941 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.024) 0:00:31.965 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.046) 0:00:32.012 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.038) 0:00:32.050 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.042) 0:00:32.093 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003518", "end": "2024-01-11 00:21:11.686307", "rc": 0, "start": "2024-01-11 00:21:11.682789" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.209) 0:00:32.303 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.027) 0:00:32.331 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.025) 0:00:32.356 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.044) 0:00:32.400 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.064) 0:00:32.465 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.078) 0:00:32.544 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:11 +0000 (0:00:00.032) 0:00:32.576 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:12 +0000 (0:00:00.022) 0:00:32.598 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:12 +0000 (0:00:00.022) 0:00:32.621 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:13 +0000 (0:00:01.664) 0:00:34.285 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:15 +0000 (0:00:01.329) 0:00:35.615 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.023) 0:00:35.639 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.022) 0:00:35.661 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.023) 0:00:35.685 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.046) 0:00:35.731 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.029) 0:00:35.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.025) 0:00:35.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.027) 0:00:35.814 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.023) 0:00:35.838 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.023) 0:00:35.862 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.365) 0:00:36.227 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpci5gatmz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:15 +0000 (0:00:00.307) 0:00:36.535 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.390) 0:00:36.925 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.025) 0:00:36.950 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.034) 0:00:36.984 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.032) 0:00:37.017 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.026) 0:00:37.044 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.194) 0:00:37.238 ****** 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_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.024) 0:00:37.262 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.037) 0:00:37.300 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.043) 0:00:37.343 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.034) 0:00:37.377 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.022) 0:00:37.400 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:16 +0000 (0:00:00.023) 0:00:37.423 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:18 +0000 (0:00:01.604) 0:00:39.028 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:19 +0000 (0:00:01.327) 0:00:40.355 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:19 +0000 (0:00:00.030) 0:00:40.386 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:19 +0000 (0:00:00.025) 0:00:40.411 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:19 +0000 (0:00:00.035) 0:00:40.446 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:19 +0000 (0:00:00.109) 0:00:40.556 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:20 +0000 (0:00:00.026) 0:00:40.583 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:20 +0000 (0:00:00.023) 0:00:40.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:20 +0000 (0:00:00.029) 0:00:40.635 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:20 +0000 (0:00:00.023) 0:00:40.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:20 +0000 (0:00:00.023) 0:00:40.681 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:20 +0000 (0:00:00.351) 0:00:41.033 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpqhll6rf4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:20 +0000 (0:00:00.305) 0:00:41.338 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.569) 0:00:41.908 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.023) 0:00:41.931 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.023) 0:00:41.955 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.045) 0:00:42.001 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.022) 0:00:42.023 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.195) 0:00:42.219 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.045) 0:00:42.264 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.048) 0:00:42.313 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.047) 0:00:42.361 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.035) 0:00:42.396 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.024) 0:00:42.421 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:21 +0000 (0:00:00.023) 0:00:42.444 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:23 +0000 (0:00:01.594) 0:00:44.038 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:24 +0000 (0:00:01.313) 0:00:45.352 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:24 +0000 (0:00:00.030) 0:00:45.382 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:24 +0000 (0:00:00.042) 0:00:45.424 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:24 +0000 (0:00:00.023) 0:00:45.448 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:24 +0000 (0:00:00.072) 0:00:45.520 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:24 +0000 (0:00:00.037) 0:00:45.558 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:25 +0000 (0:00:00.051) 0:00:45.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:25 +0000 (0:00:00.054) 0:00:45.663 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:25 +0000 (0:00:00.034) 0:00:45.698 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:25 +0000 (0:00:00.023) 0:00:45.722 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:25 +0000 (0:00:00.357) 0:00:46.079 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmp94iihoyk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:25 +0000 (0:00:00.311) 0:00:46.390 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.308) 0:00:46.699 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.022) 0:00:46.721 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.023) 0:00:46.745 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.023) 0:00:46.768 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.021) 0:00:46.790 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.195) 0:00:46.986 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.067) 0:00:47.054 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.037) 0:00:47.091 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932481.2011356, "block_size": 4096, "blocks": 0, "ctime": 1704932481.2011356, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36049, "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": 1704932481.2011356, "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_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.201) 0:00:47.293 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.025) 0:00:47.318 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.038) 0:00:47.357 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.024) 0:00:47.381 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:21:26 +0000 (0:00:00.200) 0:00:47.582 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.022) 0:00:47.604 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022486", "end": "2024-01-11 00:21:27.213884", "rc": 1, "start": "2024-01-11 00:21:27.191398" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.229) 0:00:47.834 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.026) 0:00:47.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.027) 0:00:47.888 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.060) 0:00:47.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.030) 0:00:47.979 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.025) 0:00:48.005 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.029) 0:00:48.034 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.024) 0:00:48.058 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.024) 0:00:48.082 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.044) 0:00:48.127 ****** 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.049921", "end": "2024-01-11 00:21:27.766912", "rc": 0, "start": "2024-01-11 00:21:27.716991" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.256) 0:00:48.383 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.040) 0:00:48.423 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.026) 0:00:48.449 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.064) 0:00:48.514 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:21:27 +0000 (0:00:00.039) 0:00:48.553 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.068) 0:00:48.622 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003514", "end": "2024-01-11 00:21:28.217425", "rc": 0, "start": "2024-01-11 00:21:28.213911" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.219) 0:00:48.841 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.028) 0:00:48.870 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.029) 0:00:48.900 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.048) 0:00:48.948 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.040) 0:00:48.989 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.042) 0:00:49.031 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.048) 0:00:49.079 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.024) 0:00:49.103 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:28 +0000 (0:00:00.024) 0:00:49.128 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:30 +0000 (0:00:01.665) 0:00:50.793 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:31 +0000 (0:00:01.328) 0:00:52.121 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:31 +0000 (0:00:00.026) 0:00:52.148 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:31 +0000 (0:00:00.023) 0:00:52.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:31 +0000 (0:00:00.026) 0:00:52.199 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:31 +0000 (0:00:00.047) 0:00:52.246 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:31 +0000 (0:00:00.050) 0:00:52.296 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:31 +0000 (0:00:00.030) 0:00:52.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:31 +0000 (0:00:00.027) 0:00:52.354 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:31 +0000 (0:00:00.025) 0:00:52.379 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:31 +0000 (0:00:00.030) 0:00:52.410 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:32 +0000 (0:00:00.371) 0:00:52.781 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpt0jkmfxl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:32 +0000 (0:00:00.377) 0:00:53.159 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:32 +0000 (0:00:00.307) 0:00:53.467 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:32 +0000 (0:00:00.022) 0:00:53.489 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:32 +0000 (0:00:00.022) 0:00:53.512 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:32 +0000 (0:00:00.023) 0:00:53.536 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:32 +0000 (0:00:00.021) 0:00:53.557 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:21:33 +0000 (0:00:00.224) 0:00:53.782 ****** 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_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:21:33 +0000 (0:00:00.024) 0:00:53.806 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:33 +0000 (0:00:00.037) 0:00:53.844 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:33 +0000 (0:00:00.042) 0:00:53.886 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:33 +0000 (0:00:00.028) 0:00:53.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:33 +0000 (0:00:00.023) 0:00:53.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:33 +0000 (0:00:00.022) 0:00:53.961 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:35 +0000 (0:00:01.688) 0:00:55.649 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:36 +0000 (0:00:01.325) 0:00:56.975 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:36 +0000 (0:00:00.025) 0:00:57.000 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:36 +0000 (0:00:00.025) 0:00:57.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:36 +0000 (0:00:00.024) 0:00:57.051 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:36 +0000 (0:00:00.057) 0:00:57.109 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:36 +0000 (0:00:00.024) 0:00:57.134 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:36 +0000 (0:00:00.034) 0:00:57.168 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:36 +0000 (0:00:00.027) 0:00:57.196 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:36 +0000 (0:00:00.022) 0:00:57.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:36 +0000 (0:00:00.046) 0:00:57.264 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:37 +0000 (0:00:00.354) 0:00:57.619 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpw8d9a7sn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:37 +0000 (0:00:00.315) 0:00:57.935 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:37 +0000 (0:00:00.576) 0:00:58.511 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:37 +0000 (0:00:00.025) 0:00:58.536 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:37 +0000 (0:00:00.027) 0:00:58.563 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:38 +0000 (0:00:00.025) 0:00:58.589 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:38 +0000 (0:00:00.022) 0:00:58.611 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:21:38 +0000 (0:00:00.196) 0:00:58.808 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:38 +0000 (0:00:00.039) 0:00:58.848 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:38 +0000 (0:00:00.065) 0:00:58.913 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:38 +0000 (0:00:00.028) 0:00:58.942 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:38 +0000 (0:00:00.022) 0:00:58.965 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:38 +0000 (0:00:00.021) 0:00:58.986 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:40 +0000 (0:00:01.649) 0:01:00.635 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:41 +0000 (0:00:01.321) 0:01:01.957 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.024) 0:01:01.981 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.022) 0:01:02.003 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.022) 0:01:02.026 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.044) 0:01:02.070 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.022) 0:01:02.092 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.022) 0:01:02.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.026) 0:01:02.141 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.022) 0:01:02.164 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.023) 0:01:02.187 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:41 +0000 (0:00:00.353) 0:01:02.541 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpu0qe4dtn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:42 +0000 (0:00:00.334) 0:01:02.875 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:42 +0000 (0:00:00.307) 0:01:03.183 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:42 +0000 (0:00:00.028) 0:01:03.212 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:42 +0000 (0:00:00.025) 0:01:03.238 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:42 +0000 (0:00:00.024) 0:01:03.263 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:42 +0000 (0:00:00.023) 0:01:03.287 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:21:42 +0000 (0:00:00.197) 0:01:03.484 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:21:42 +0000 (0:00:00.042) 0:01:03.527 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:42 +0000 (0:00:00.049) 0:01:03.577 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:43 +0000 (0:00:00.045) 0:01:03.622 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:43 +0000 (0:00:00.028) 0:01:03.651 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:43 +0000 (0:00:00.081) 0:01:03.733 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:43 +0000 (0:00:00.025) 0:01:03.758 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:44 +0000 (0:00:01.669) 0:01:05.427 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:46 +0000 (0:00:01.354) 0:01:06.781 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.026) 0:01:06.807 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.032) 0:01:06.840 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.022) 0:01:06.863 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.043) 0:01:06.906 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.022) 0:01:06.929 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.022) 0:01:06.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.025) 0:01:06.977 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.022) 0:01:06.999 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.023) 0:01:07.023 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:46 +0000 (0:00:00.365) 0:01:07.388 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpbo3ubbw3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.313) 0:01:07.702 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.362) 0:01:08.065 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.034) 0:01:08.099 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.029) 0:01:08.129 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.035) 0:01:08.164 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.023) 0:01:08.188 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.199) 0:01:08.387 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.043) 0:01:08.430 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.039) 0:01:08.470 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:21:47 +0000 (0:00:00.024) 0:01:08.495 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.201) 0:01:08.696 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.023) 0:01:08.720 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022738", "end": "2024-01-11 00:21:48.333180", "rc": 1, "start": "2024-01-11 00:21:48.310442" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.226) 0:01:08.946 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.023) 0:01:08.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.068) 0:01:09.039 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.025) 0:01:09.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.024) 0:01:09.089 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.024) 0:01:09.113 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.025) 0:01:09.138 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.026) 0:01:09.165 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.023) 0:01:09.188 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.042) 0:01:09.230 ****** 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.051010", "end": "2024-01-11 00:21:48.870899", "rc": 0, "start": "2024-01-11 00:21:48.819889" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.256) 0:01:09.487 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.040) 0:01:09.528 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:21:48 +0000 (0:00:00.025) 0:01:09.553 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.046) 0:01:09.600 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.065) 0:01:09.666 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.037) 0:01:09.703 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-01-11 00:21:49.296625", "rc": 0, "start": "2024-01-11 00:21:49.292919" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.206) 0:01:09.910 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.026) 0:01:09.936 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.024) 0:01:09.961 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.047) 0:01:10.008 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.041) 0:01:10.050 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.041) 0:01:10.091 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.027) 0:01:10.119 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.021) 0:01:10.141 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:49 +0000 (0:00:00.022) 0:01:10.163 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:51 +0000 (0:00:01.706) 0:01:11.869 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:52 +0000 (0:00:01.379) 0:01:13.249 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:52 +0000 (0:00:00.058) 0:01:13.308 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:52 +0000 (0:00:00.025) 0:01:13.333 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:52 +0000 (0:00:00.046) 0:01:13.380 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:52 +0000 (0:00:00.049) 0:01:13.430 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:52 +0000 (0:00:00.023) 0:01:13.453 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:52 +0000 (0:00:00.028) 0:01:13.481 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:52 +0000 (0:00:00.027) 0:01:13.508 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:52 +0000 (0:00:00.023) 0:01:13.532 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:52 +0000 (0:00:00.031) 0:01:13.564 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:53 +0000 (0:00:00.369) 0:01:13.933 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmpuyvo2ad1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:53 +0000 (0:00:00.314) 0:01:14.247 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:53 +0000 (0:00:00.308) 0:01:14.556 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:53 +0000 (0:00:00.025) 0:01:14.581 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.033) 0:01:14.615 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.041) 0:01:14.656 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.062) 0:01:14.718 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.204) 0:01:14.923 ****** 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_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.027) 0:01:14.950 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.039) 0:01:14.990 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.043) 0:01:15.033 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.029) 0:01:15.062 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.024) 0:01:15.087 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:54 +0000 (0:00:00.028) 0:01:15.115 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:21:56 +0000 (0:00:01.708) 0:01:16.824 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:21:57 +0000 (0:00:01.316) 0:01:18.140 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:21:57 +0000 (0:00:00.026) 0:01:18.167 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:21:57 +0000 (0:00:00.022) 0:01:18.189 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:21:57 +0000 (0:00:00.022) 0:01:18.212 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:21:57 +0000 (0:00:00.044) 0:01:18.256 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:21:57 +0000 (0:00:00.022) 0:01:18.279 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:21:57 +0000 (0:00:00.024) 0:01:18.304 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:21:57 +0000 (0:00:00.061) 0:01:18.365 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:21:57 +0000 (0:00:00.036) 0:01:18.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:21:57 +0000 (0:00:00.026) 0:01:18.428 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:21:58 +0000 (0:00:00.356) 0:01:18.784 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmp6x8cwadk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:21:58 +0000 (0:00:00.341) 0:01:19.125 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.583) 0:01:19.709 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.022) 0:01:19.731 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.024) 0:01:19.755 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.027) 0:01:19.782 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.026) 0:01:19.809 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.198) 0:01:20.008 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.060) 0:01:20.069 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.042) 0:01:20.111 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.029) 0:01:20.141 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.023) 0:01:20.164 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:21:59 +0000 (0:00:00.024) 0:01:20.188 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:22:01 +0000 (0:00:01.640) 0:01:21.829 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:22:02 +0000 (0:00:01.337) 0:01:23.166 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:22:02 +0000 (0:00:00.025) 0:01:23.191 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:22:02 +0000 (0:00:00.023) 0:01:23.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:22:02 +0000 (0:00:00.022) 0:01:23.238 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:22:02 +0000 (0:00:00.045) 0:01:23.283 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:22:02 +0000 (0:00:00.022) 0:01:23.306 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:22:02 +0000 (0:00:00.022) 0:01:23.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:22:02 +0000 (0:00:00.026) 0:01:23.355 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:22:02 +0000 (0:00:00.022) 0:01:23.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:22:02 +0000 (0:00:00.021) 0:01:23.399 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:22:03 +0000 (0:00:00.387) 0:01:23.787 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmp5jjsuerj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:22:03 +0000 (0:00:00.312) 0:01:24.099 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:22:03 +0000 (0:00:00.330) 0:01:24.429 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:22:03 +0000 (0:00:00.022) 0:01:24.451 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:22:03 +0000 (0:00:00.024) 0:01:24.476 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:22:03 +0000 (0:00:00.024) 0:01:24.500 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:22:03 +0000 (0:00:00.022) 0:01:24.522 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:22:04 +0000 (0:00:00.196) 0:01:24.719 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:22:04 +0000 (0:00:00.043) 0:01:24.762 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:22:04 +0000 (0:00:00.037) 0:01:24.800 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:22:04 +0000 (0:00:00.068) 0:01:24.868 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:22:04 +0000 (0:00:00.029) 0:01:24.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:22:04 +0000 (0:00:00.024) 0:01:24.922 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:22:04 +0000 (0:00:00.026) 0:01:24.948 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:22:05 +0000 (0:00:01.611) 0:01:26.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:22:07 +0000 (0:00:01.349) 0:01:27.910 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.027) 0:01:27.937 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.024) 0:01:27.961 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.026) 0:01:27.987 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.056) 0:01:28.044 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.023) 0:01:28.068 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.022) 0:01:28.090 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.028) 0:01:28.118 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.024) 0:01:28.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.022) 0:01:28.166 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:22:07 +0000 (0:00:00.350) 0:01:28.516 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17770qygygkd7/tmppcwheznn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.316) 0:01:28.832 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.331) 0:01:29.164 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.022) 0:01:29.187 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.023) 0:01:29.211 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.024) 0:01:29.235 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.022) 0:01:29.258 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.199) 0:01:29.457 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.049) 0:01:29.507 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.041) 0:01:29.549 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:22:08 +0000 (0:00:00.026) 0:01:29.576 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:22:09 +0000 (0:00:00.201) 0:01:29.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:22:09 +0000 (0:00:00.024) 0:01:29.802 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022459", "end": "2024-01-11 00:22:09.418207", "rc": 1, "start": "2024-01-11 00:22:09.395748" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:22:09 +0000 (0:00:00.267) 0:01:30.069 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:22:09 +0000 (0:00:00.026) 0:01:30.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:22:09 +0000 (0:00:00.027) 0:01:30.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:22:09 +0000 (0:00:00.031) 0:01:30.155 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:22:09 +0000 (0:00:00.032) 0:01:30.188 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:22:09 +0000 (0:00:00.028) 0:01:30.217 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 00:22:09 +0000 (0:00:00.038) 0:01:30.255 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.946574", "end": "2024-01-11 00:22:10.800208", "rc": 0, "start": "2024-01-11 00:22:09.853634" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 00:22:10 +0000 (0:00:01.159) 0:01:31.414 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 00:22:10 +0000 (0:00:00.024) 0:01:31.439 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:22:10 +0000 (0:00:00.023) 0:01:31.462 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:22:10 +0000 (0:00:00.025) 0:01:31.488 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:22:10 +0000 (0:00:00.023) 0:01:31.511 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:22:10 +0000 (0:00:00.071) 0:01:31.582 ****** 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.052321", "end": "2024-01-11 00:22:11.223946", "rc": 0, "start": "2024-01-11 00:22:11.171625" } 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 Thursday 11 January 2024 00:22:11 +0000 (0:00:00.243) 0:01:31.826 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.31s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.96s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.76s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.62s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---