# 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_type7bx_wqj8/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 19:55:52 +0000 (0:00:00.037) 0:00:00.037 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 19:55:53 +0000 (0:00:00.637) 0:00:00.674 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:55:53 +0000 (0:00:00.050) 0:00:00.724 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:55:53 +0000 (0:00:00.304) 0:00:01.029 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:55:53 +0000 (0:00:00.288) 0:00:01.318 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:55:53 +0000 (0:00:00.041) 0:00:01.359 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:55:53 +0000 (0:00:00.039) 0:00:01.398 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:55:53 +0000 (0:00:00.056) 0:00:01.455 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:55:54 +0000 (0:00:00.196) 0:00:01.651 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:55:54 +0000 (0:00:00.474) 0:00:02.126 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193279", "end": "2024-01-09 19:55:54.854332", "rc": 0, "start": "2024-01-09 19:55:54.661053" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:55:54 +0000 (0:00:00.315) 0:00:02.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:55:54 +0000 (0:00:00.012) 0:00:02.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 19:55:54 +0000 (0:00:00.009) 0:00:02.463 ******* 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_type7bx_wqj8/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 19:55:54 +0000 (0:00:00.011) 0:00:02.474 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.413) 0:00:02.888 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.017) 0:00:02.905 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.044) 0:00:02.949 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.017) 0:00:02.967 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.035) 0:00:03.003 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.022) 0:00:03.025 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.020) 0:00:03.045 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003459", "end": "2024-01-09 19:55:55.591489", "rc": 0, "start": "2024-01-09 19:55:55.588030" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.160) 0:00:03.206 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.019) 0:00:03.225 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.013) 0:00:03.239 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.023) 0:00:03.262 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010801", "end": "2024-01-09 19:55:55.840440", "rc": 1, "start": "2024-01-09 19:55:55.829639" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.183) 0:00:03.446 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:55:55 +0000 (0:00:00.017) 0:00:03.463 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:55:56 +0000 (0:00:00.137) 0:00:03.601 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:55:56 +0000 (0:00:00.016) 0:00:03.617 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:55:56 +0000 (0:00:00.043) 0:00:03.660 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:56 +0000 (0:00:00.058) 0:00:03.718 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:56 +0000 (0:00:00.101) 0:00:03.820 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:56 +0000 (0:00:00.029) 0:00:03.849 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:56 +0000 (0:00:00.086) 0:00:03.936 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:56 +0000 (0:00:00.028) 0:00:03.965 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:57 +0000 (0:00:00.942) 0:00:04.907 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.881) 0:00:05.789 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.064) 0:00:05.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.067) 0:00:05.921 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.050) 0:00:05.972 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.095) 0:00:06.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.029) 0:00:06.097 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.070) 0:00:06.167 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.048) 0:00:06.216 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.045) 0:00:06.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:58 +0000 (0:00:00.070) 0:00:06.333 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:59 +0000 (0:00:00.449) 0:00:06.782 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpr1niv3gw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:59 +0000 (0:00:00.325) 0:00:07.107 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:59 +0000 (0:00:00.365) 0:00:07.473 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:59 +0000 (0:00:00.036) 0:00:07.510 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:59 +0000 (0:00:00.030) 0:00:07.540 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:59 +0000 (0:00:00.030) 0:00:07.571 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.034) 0:00:07.605 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.288) 0:00:07.894 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.038) 0:00:07.932 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.077) 0:00:08.010 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.049) 0:00:08.059 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.038) 0:00:08.098 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830159.8597329, "block_size": 4096, "blocks": 8, "ctime": 1704830159.8597329, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830159.8597329, "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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.138) 0:00:08.236 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.027) 0:00:08.263 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025902", "end": "2024-01-09 19:56:00.825378", "rc": 1, "start": "2024-01-09 19:56:00.799476" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.172) 0:00:08.435 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.055) 0:00:08.491 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003492", "end": "2024-01-09 19:56:01.048598", "rc": 0, "start": "2024-01-09 19:56:01.045106" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.158) 0:00:08.650 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.027) 0:00:08.678 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003515", "end": "2024-01-09 19:56:01.219381", "rc": 0, "start": "2024-01-09 19:56:01.215866" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.143) 0:00:08.821 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.049) 0:00:08.871 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.024) 0:00:08.895 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.039) 0:00:08.934 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.078) 0:00:09.013 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.030) 0:00:09.043 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.035) 0:00:09.079 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.056) 0:00:09.136 ******* 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.049274", "end": "2024-01-09 19:56:01.738096", "rc": 1, "start": "2024-01-09 19:56:01.688822" } 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_type7bx_wqj8/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.231) 0:00:09.367 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.077) 0:00:09.445 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.095) 0:00:09.540 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.083) 0:00:09.624 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.042) 0:00:09.666 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.049) 0:00:09.716 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003522", "end": "2024-01-09 19:56:02.289785", "rc": 0, "start": "2024-01-09 19:56:02.286263" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.194) 0:00:09.910 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.049) 0:00:09.960 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.075) 0:00:10.036 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.137) 0:00:10.173 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007492", "end": "2024-01-09 19:56:02.718831", "rc": 1, "start": "2024-01-09 19:56:02.711339" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.156) 0:00:10.329 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.040) 0:00:10.370 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.182) 0:00:10.553 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.043) 0:00:10.597 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.091) 0:00:10.689 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.064) 0:00:10.753 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.059) 0:00:10.813 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.043) 0:00:10.856 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.024) 0:00:10.881 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.037) 0:00:10.918 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.824) 0:00:11.743 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.638) 0:00:12.381 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.024) 0:00:12.405 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.021) 0:00:12.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.021) 0:00:12.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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.043) 0:00:12.491 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.021) 0:00:12.513 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.021) 0:00:12.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.068) 0:00:12.603 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.087) 0:00:12.691 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.022) 0:00:12.714 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.290) 0:00:13.004 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpp1l9arer" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.254) 0:00:13.258 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.267) 0:00:13.526 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.023) 0:00:13.549 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.026) 0:00:13.576 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.024) 0:00:13.600 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.021) 0:00:13.621 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.126) 0:00:13.748 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.021) 0:00:13.769 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.042) 0:00:13.812 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.041) 0:00:13.854 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.174) 0:00:14.028 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.026) 0:00:14.055 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.040) 0:00:14.095 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.030) 0:00:14.126 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830165.928575, "block_size": 4096, "blocks": 8, "ctime": 1704830165.928575, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830165.928575, "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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.190) 0:00:14.317 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.027) 0:00:14.344 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022270", "end": "2024-01-09 19:56:06.904043", "rc": 1, "start": "2024-01-09 19:56:06.881773" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.156) 0:00:14.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.034) 0:00:14.536 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003542", "end": "2024-01-09 19:56:07.097474", "rc": 0, "start": "2024-01-09 19:56:07.093932" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.163) 0:00:14.699 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.031) 0:00:14.730 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003396", "end": "2024-01-09 19:56:07.275794", "rc": 0, "start": "2024-01-09 19:56:07.272398" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.163) 0:00:14.894 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.030) 0:00:14.925 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.027) 0:00:14.953 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.034) 0:00:14.987 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.037) 0:00:15.025 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.044) 0:00:15.070 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.028) 0:00:15.098 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.050) 0:00:15.148 ******* 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.045355", "end": "2024-01-09 19:56:07.775626", "rc": 1, "start": "2024-01-09 19:56:07.730271" } 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_type7bx_wqj8/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.235) 0:00:15.384 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.124) 0:00:15.509 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.059) 0:00:15.569 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.108) 0:00:15.677 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.050) 0:00:15.728 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.077) 0:00:15.806 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003392", "end": "2024-01-09 19:56:08.452484", "rc": 0, "start": "2024-01-09 19:56:08.449092" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.276) 0:00:16.082 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.059) 0:00:16.142 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.048) 0:00:16.190 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.039) 0:00:16.230 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.044) 0:00:16.274 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.041) 0:00:16.315 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.047) 0:00:16.362 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.023) 0:00:16.386 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.059) 0:00:16.445 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:09 +0000 (0:00:00.772) 0:00:17.218 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.656) 0:00:17.874 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.039) 0:00:17.913 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.076) 0:00:17.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.086) 0:00:18.076 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.185) 0:00:18.261 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.046) 0:00:18.307 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.024) 0:00:18.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.034) 0:00:18.366 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.055) 0:00:18.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.082) 0:00:18.504 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.272) 0:00:18.777 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpcshoq_hc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.219) 0:00:18.996 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.236) 0:00:19.233 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.027) 0:00:19.261 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.030) 0:00:19.291 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.025) 0:00:19.317 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.029) 0:00:19.346 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.140) 0:00:19.486 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.025) 0:00:19.511 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.041) 0:00:19.552 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.039) 0:00:19.592 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.039) 0:00:19.631 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.057) 0:00:19.689 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.031) 0:00:19.720 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.024) 0:00:19.745 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.750) 0:00:20.495 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.650) 0:00:21.146 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.032) 0:00:21.178 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.024) 0:00:21.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.023) 0:00:21.226 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.073) 0:00:21.299 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.024) 0:00:21.324 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.051) 0:00:21.375 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.068) 0:00:21.444 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.063) 0:00:21.508 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.033) 0:00:21.541 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.316) 0:00:21.857 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpvjmvrq8j" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.382) 0:00:22.240 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.566) 0:00:22.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.065) 0:00:22.872 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.024) 0:00:22.897 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.045) 0:00:22.942 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.045) 0:00:22.988 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.169) 0:00:23.157 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.047) 0:00:23.204 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.039) 0:00:23.244 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830175.1103365, "block_size": 4096, "blocks": 0, "ctime": 1704830175.1093364, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17514, "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": 1704830175.1093364, "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_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.180) 0:00:23.424 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.048) 0:00:23.473 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.036) 0:00:23.510 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.021) 0:00:23.531 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830174.934341, "block_size": 4096, "blocks": 8, "ctime": 1704830171.6314268, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830171.6314268, "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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.136) 0:00:23.668 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.024) 0:00:23.693 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023317", "end": "2024-01-09 19:56:16.270476", "rc": 1, "start": "2024-01-09 19:56:16.247159" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.209) 0:00:23.903 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.023) 0:00:23.927 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003444", "end": "2024-01-09 19:56:16.469755", "rc": 0, "start": "2024-01-09 19:56:16.466311" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.143) 0:00:24.071 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.041) 0:00:24.112 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003403", "end": "2024-01-09 19:56:16.656280", "rc": 0, "start": "2024-01-09 19:56:16.652877" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.157) 0:00:24.269 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.035) 0:00:24.304 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.039) 0:00:24.344 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.039) 0:00:24.383 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.055) 0:00:24.439 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.039) 0:00:24.479 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.034) 0:00:24.513 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.153) 0:00:24.666 ******* 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.048638", "end": "2024-01-09 19:56:17.285251", "rc": 0, "start": "2024-01-09 19:56:17.236613" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.224) 0:00:24.891 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.105) 0:00:24.996 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.031) 0:00:25.028 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.083) 0:00:25.111 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.039) 0:00:25.151 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.085) 0:00:25.236 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003436", "end": "2024-01-09 19:56:17.794996", "rc": 0, "start": "2024-01-09 19:56:17.791560" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.161) 0:00:25.398 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.030) 0:00:25.428 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.024) 0:00:25.453 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.061) 0:00:25.514 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.047) 0:00:25.562 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.112) 0:00:25.675 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.033) 0:00:25.709 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.025) 0:00:25.734 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.028) 0:00:25.762 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.784) 0:00:26.547 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.701) 0:00:27.248 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.024) 0:00:27.273 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.025) 0:00:27.298 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.029) 0:00:27.327 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.058) 0:00:27.385 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.047) 0:00:27.432 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.034) 0:00:27.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.119) 0:00:27.587 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.052) 0:00:27.639 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.029) 0:00:27.669 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.229) 0:00:27.898 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpltqxkry2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.232) 0:00:28.130 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.258) 0:00:28.389 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.076) 0:00:28.465 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.037) 0:00:28.502 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.024) 0:00:28.527 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.023) 0:00:28.550 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.161) 0:00:28.712 ******* 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_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.025) 0:00:28.738 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.037) 0:00:28.776 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.040) 0:00:28.816 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.078) 0:00:28.894 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.031) 0:00:28.926 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.049) 0:00:28.975 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.785) 0:00:29.760 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.643) 0:00:30.404 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.022) 0:00:30.427 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.022) 0:00:30.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.022) 0:00:30.472 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.062) 0:00:30.535 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.023) 0:00:30.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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.022) 0:00:30.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.083) 0:00:30.664 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.032) 0:00:30.696 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.041) 0:00:30.737 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.238) 0:00:30.976 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpcut7780h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.352) 0:00:31.328 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.487) 0:00:31.815 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.023) 0:00:31.839 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.060) 0:00:31.899 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.042) 0:00:31.942 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.033) 0:00:31.976 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.130) 0:00:32.107 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.038) 0:00:32.145 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.038) 0:00:32.183 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.065) 0:00:32.249 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.028) 0:00:32.277 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.023) 0:00:32.301 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.023) 0:00:32.324 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.761) 0:00:33.086 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.676) 0:00:33.763 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.038) 0:00:33.801 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.026) 0:00:33.827 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.021) 0:00:33.848 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.051) 0:00:33.900 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.032) 0:00:33.933 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.079) 0:00:34.012 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.060) 0:00:34.072 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.070) 0:00:34.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.055) 0:00:34.197 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.280) 0:00:34.478 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpozq8mhuq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.226) 0:00:34.704 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.240) 0:00:34.945 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.033) 0:00:34.978 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.025) 0:00:35.003 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.048) 0:00:35.052 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.048) 0:00:35.101 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.146) 0:00:35.247 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.045) 0:00:35.293 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.039) 0:00:35.332 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830184.1261022, "block_size": 4096, "blocks": 0, "ctime": 1704830184.1251023, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17514, "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": 1704830184.1251023, "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_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.136) 0:00:35.468 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.027) 0:00:35.496 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.072) 0:00:35.568 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.032) 0:00:35.601 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.150) 0:00:35.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.025) 0:00:35.778 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022721", "end": "2024-01-09 19:56:28.335446", "rc": 1, "start": "2024-01-09 19:56:28.312725" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.197) 0:00:35.975 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.038) 0:00:36.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.026) 0:00:36.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.033) 0:00:36.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.023) 0:00:36.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.024) 0:00:36.121 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.024) 0:00:36.146 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.019) 0:00:36.166 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.022) 0:00:36.188 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.161) 0:00:36.350 ******* 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.049966", "end": "2024-01-09 19:56:29.013293", "rc": 0, "start": "2024-01-09 19:56:28.963327" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.262) 0:00:36.612 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.039) 0:00:36.651 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.029) 0:00:36.681 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.139) 0:00:36.821 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.050) 0:00:36.871 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.044) 0:00:36.916 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003442", "end": "2024-01-09 19:56:29.467265", "rc": 0, "start": "2024-01-09 19:56:29.463823" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.172) 0:00:37.088 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.028) 0:00:37.116 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.034) 0:00:37.151 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.049) 0:00:37.201 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.041) 0:00:37.243 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.080) 0:00:37.323 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.042) 0:00:37.366 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.028) 0:00:37.394 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.035) 0:00:37.429 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.746) 0:00:38.176 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.639) 0:00:38.815 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.022) 0:00:38.838 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.023) 0:00:38.862 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.024) 0:00:38.886 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.045) 0:00:38.932 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.052) 0:00:38.984 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.023) 0:00:39.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.030) 0:00:39.038 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.047) 0:00:39.086 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.039) 0:00:39.125 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.243) 0:00:39.368 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpac4sezcb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.251) 0:00:39.620 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.248) 0:00:39.869 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.031) 0:00:39.900 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.028) 0:00:39.928 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.044) 0:00:39.972 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.024) 0:00:39.997 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.165) 0:00:40.163 ******* 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_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.043) 0:00:40.206 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.053) 0:00:40.260 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.093) 0:00:40.353 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.039) 0:00:40.393 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.032) 0:00:40.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.027) 0:00:40.453 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.765) 0:00:41.218 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.686) 0:00:41.904 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.030) 0:00:41.935 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.028) 0:00:41.963 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.037) 0:00:42.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.061) 0:00:42.063 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.057) 0:00:42.120 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.040) 0:00:42.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.030) 0:00:42.191 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.023) 0:00:42.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.024) 0:00:42.240 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.288) 0:00:42.529 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpjexa4o33" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.284) 0:00:42.813 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.489) 0:00:43.302 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.022) 0:00:43.325 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.028) 0:00:43.354 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.032) 0:00:43.386 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.035) 0:00:43.422 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.183) 0:00:43.606 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.074) 0:00:43.680 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.134) 0:00:43.815 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.034) 0:00:43.850 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.039) 0:00:43.889 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.045) 0:00:43.935 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.768) 0:00:44.704 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.658) 0:00:45.362 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.027) 0:00:45.389 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.026) 0:00:45.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.023) 0:00:45.438 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.110) 0:00:45.548 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.038) 0:00:45.587 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.043) 0:00:45.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.036) 0:00:45.667 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.025) 0:00:45.692 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.026) 0:00:45.719 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.230) 0:00:45.949 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmp0_b8wrd_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.224) 0:00:46.174 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.243) 0:00:46.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.022) 0:00:46.440 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.030) 0:00:46.470 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.032) 0:00:46.502 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.028) 0:00:46.531 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.143) 0:00:46.674 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.039) 0:00:46.714 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.071) 0:00:46.785 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.041) 0:00:46.827 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.028) 0:00:46.856 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.031) 0:00:46.887 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.023) 0:00:46.910 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.748) 0:00:47.659 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.636) 0:00:48.295 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.024) 0:00:48.319 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.025) 0:00:48.345 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.025) 0:00:48.371 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.117) 0:00:48.489 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.033) 0:00:48.522 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.040) 0:00:48.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.042) 0:00:48.605 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.024) 0:00:48.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.026) 0:00:48.657 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.249) 0:00:48.906 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpwvjmoitk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.296) 0:00:49.202 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.334) 0:00:49.537 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.041) 0:00:49.579 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.105) 0:00:49.684 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.056) 0:00:49.741 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.056) 0:00:49.797 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.134) 0:00:49.932 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.065) 0:00:49.998 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.099) 0:00:50.097 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.037) 0:00:50.134 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.167) 0:00:50.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.067) 0:00:50.369 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023505", "end": "2024-01-09 19:56:42.955481", "rc": 1, "start": "2024-01-09 19:56:42.931976" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.196) 0:00:50.565 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.043) 0:00:50.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.063) 0:00:50.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.035) 0:00:50.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.036) 0:00:50.744 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.059) 0:00:50.803 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.064) 0:00:50.868 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.029) 0:00:50.897 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.041) 0:00:50.939 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.042) 0:00:50.981 ******* 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.049452", "end": "2024-01-09 19:56:43.572485", "rc": 0, "start": "2024-01-09 19:56:43.523033" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.201) 0:00:51.182 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.076) 0:00:51.258 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.050) 0:00:51.309 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.067) 0:00:51.377 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.042) 0:00:51.420 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.061) 0:00:51.482 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003462", "end": "2024-01-09 19:56:44.031762", "rc": 0, "start": "2024-01-09 19:56:44.028300" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.175) 0:00:51.658 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.023) 0:00:51.681 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.022) 0:00:51.703 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.083) 0:00:51.787 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.053) 0:00:51.841 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.064) 0:00:51.905 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.044) 0:00:51.950 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.034) 0:00:51.984 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.056) 0:00:52.040 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.762) 0:00:52.803 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.651) 0:00:53.454 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.030) 0:00:53.485 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.038) 0:00:53.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.023) 0:00:53.547 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.055) 0:00:53.602 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.022) 0:00:53.625 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.026) 0:00:53.651 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.036) 0:00:53.688 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.028) 0:00:53.717 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.095) 0:00:53.812 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.292) 0:00:54.104 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmp3j4qozca" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.230) 0:00:54.334 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.277) 0:00:54.612 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.021) 0:00:54.633 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.022) 0:00:54.656 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.022) 0:00:54.678 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.022) 0:00:54.701 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.132) 0:00:54.833 ******* 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_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.022) 0:00:54.856 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.036) 0:00:54.892 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.044) 0:00:54.936 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.037) 0:00:54.974 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.048) 0:00:55.023 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.084) 0:00:55.108 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.745) 0:00:55.853 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.646) 0:00:56.499 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.024) 0:00:56.523 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.021) 0:00:56.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.022) 0:00:56.568 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.043) 0:00:56.612 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.021) 0:00:56.633 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.020) 0:00:56.654 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.025) 0:00:56.680 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.021) 0:00:56.701 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.020) 0:00:56.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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.221) 0:00:56.944 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmpvwjf3j0s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.217) 0:00:57.162 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.464) 0:00:57.626 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.024) 0:00:57.651 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.023) 0:00:57.674 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.035) 0:00:57.710 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.025) 0:00:57.736 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.147) 0:00:57.884 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.047) 0:00:57.931 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.088) 0:00:58.019 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.056) 0:00:58.076 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.039) 0:00:58.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.046) 0:00:58.161 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.820) 0:00:58.982 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.645) 0:00:59.628 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.031) 0:00:59.659 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.026) 0:00:59.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.043) 0:00:59.729 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.055) 0:00:59.785 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.021) 0:00:59.807 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.021) 0:00:59.828 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.027) 0:00:59.856 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.026) 0:00:59.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.035) 0:00:59.917 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.231) 0:01:00.149 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmp6ud2a7s0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.215) 0:01:00.365 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.245) 0:01:00.610 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.036) 0:01:00.646 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.024) 0:01:00.671 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.036) 0:01:00.708 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.031) 0:01:00.739 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.129) 0:01:00.869 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.064) 0:01:00.934 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.039) 0:01:00.973 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.042) 0:01:01.016 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.027) 0:01:01.043 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.023) 0:01:01.066 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.020) 0:01:01.087 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.813) 0:01:01.900 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.726) 0:01:02.627 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.029) 0:01:02.656 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.029) 0:01:02.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.021) 0:01:02.708 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.049) 0:01:02.757 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.025) 0:01:02.782 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.023) 0:01:02.806 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.040) 0:01:02.847 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.085) 0:01:02.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.057) 0:01:02.990 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.313) 0:01:03.303 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17075vgtem88v/tmp2zf8eyf1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.292) 0:01:03.596 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.310) 0:01:03.907 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.021) 0:01:03.928 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.036) 0:01:03.965 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.038) 0:01:04.003 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.026) 0:01:04.030 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.140) 0:01:04.171 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.044) 0:01:04.215 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.036) 0:01:04.252 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.021) 0:01:04.273 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.132) 0:01:04.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.021) 0:01:04.427 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022888", "end": "2024-01-09 19:56:56.993831", "rc": 1, "start": "2024-01-09 19:56:56.970943" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.166) 0:01:04.593 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.025) 0:01:04.618 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.027) 0:01:04.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.072) 0:01:04.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.022) 0:01:04.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.028) 0:01:04.770 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.026) 0:01:04.796 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.403529", "end": "2024-01-09 19:56:57.735796", "rc": 0, "start": "2024-01-09 19:56:57.332267" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.551) 0:01:05.347 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.041) 0:01:05.389 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.044) 0:01:05.434 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.037) 0:01:05.472 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.026) 0:01:05.498 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.048) 0:01:05.546 ******* 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.051136", "end": "2024-01-09 19:56:58.163275", "rc": 0, "start": "2024-01-09 19:56:58.112139" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.207) 0:01:05.754 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.01s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.49s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.26s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.24s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.07s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 0.94s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.89s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Re-test connectivity ----------------------- 0.89s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which packages are installed --------- 0.88s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.80s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.79s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---