# 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-bond_options_rewrited_efx8de/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tests_states_initscripts.yml:5 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.025) 0:00:00.025 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tests_states_initscripts.yml:8 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.751) 0:00:00.776 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.039) 0:00:00.816 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tasks/el_repo_setup.yml:19 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.245) 0:00:01.061 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tasks/el_repo_setup.yml:24 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.307) 0:00:01.369 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tasks/el_repo_setup.yml:28 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.072) 0:00:01.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tasks/el_repo_setup.yml:53 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.064) 0:00:01.506 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:32:11 +0000 (0:00:00.139) 0:00:01.645 ***** 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-bond_options_rewrited_efx8de/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:32:11 +0000 (0:00:00.274) 0:00:01.919 ***** 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-bond_options_rewrited_efx8de/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:32:11 +0000 (0:00:00.574) 0:00:02.494 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.202472", "end": "2024-01-31 23:32:12.285819", "rc": 0, "start": "2024-01-31 23:32:12.083347" } 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-bond_options_rewrited_efx8de/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.344) 0:00:02.839 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.016) 0:00:02.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tests_states_initscripts.yml:10 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.028) 0:00:02.885 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tests_states.yml:3 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.018) 0:00:02.903 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tests_states.yml:11 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.427) 0:00:03.330 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tests_states.yml:22 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.019) 0:00:03.349 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.028) 0:00:03.378 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.018) 0:00:03.396 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.059) 0:00:03.455 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.025) 0:00:03.481 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:32:12 +0000 (0:00:00.020) 0:00:03.502 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2024-01-31 23:32:13.097463", "rc": 0, "start": "2024-01-31 23:32:13.093803" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.140) 0:00:03.642 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.017) 0:00:03.659 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.016) 0:00:03.675 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.030) 0:00:03.705 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011770", "end": "2024-01-31 23:32:13.307526", "rc": 1, "start": "2024-01-31 23:32:13.295756" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.143) 0:00:03.849 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.026) 0:00:03.875 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.138) 0:00:04.013 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.020) 0:00:04.034 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.033) 0:00:04.068 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.067) 0:00:04.135 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.125) 0:00:04.260 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.018) 0:00:04.279 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.015) 0:00:04.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.014) 0:00:04.309 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.953) 0:00:05.262 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:15 +0000 (0:00:01.043) 0:00:06.305 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.071) 0:00:06.377 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.041) 0:00:06.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.071) 0:00:06.491 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.154) 0:00:06.645 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.089) 0:00:06.734 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.075) 0:00:06.810 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.038) 0:00:06.849 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.053) 0:00:06.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.041) 0:00:06.944 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:32:17 +0000 (0:00:00.616) 0:00:07.561 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpcyvzt1o4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:32:17 +0000 (0:00:00.285) 0:00:07.846 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.687) 0:00:08.533 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.054) 0:00:08.588 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.042) 0:00:08.631 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.085) 0:00:08.716 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.043) 0:00:08.760 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.273) 0:00:09.033 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.041) 0:00:09.075 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.086) 0:00:09.162 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.082) 0:00:09.244 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.057) 0:00:09.302 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743937.9575403, "block_size": 4096, "blocks": 8, "ctime": 1706743937.9575403, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706743937.9575403, "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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.155) 0:00:09.458 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:32:18 +0000 (0:00:00.041) 0:00:09.499 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024977", "end": "2024-01-31 23:32:19.143320", "rc": 1, "start": "2024-01-31 23:32:19.118343" } 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.198) 0:00:09.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.030) 0:00:09.728 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003669", "end": "2024-01-31 23:32:19.325760", "rc": 0, "start": "2024-01-31 23:32:19.322091" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.156) 0:00:09.885 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.044) 0:00:09.929 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003622", "end": "2024-01-31 23:32:19.535820", "rc": 0, "start": "2024-01-31 23:32:19.532198" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.186) 0:00:10.116 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.110) 0:00:10.227 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.047) 0:00:10.274 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.061) 0:00:10.336 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.071) 0:00:10.407 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.048) 0:00:10.455 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.031) 0:00:10.486 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.056) 0:00:10.542 ***** 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.046715", "end": "2024-01-31 23:32:20.180516", "rc": 1, "start": "2024-01-31 23:32:20.133801" } 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-bond_options_rewrited_efx8de/tests/playbooks/tests_states.yml:45 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.201) 0:00:10.743 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.053) 0:00:10.796 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.037) 0:00:10.834 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.075) 0:00:10.909 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.070) 0:00:10.979 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.057) 0:00:11.037 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003689", "end": "2024-01-31 23:32:20.637183", "rc": 0, "start": "2024-01-31 23:32:20.633494" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.204) 0:00:11.242 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.039) 0:00:11.282 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.040) 0:00:11.323 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.094) 0:00:11.417 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007764", "end": "2024-01-31 23:32:21.019902", "rc": 1, "start": "2024-01-31 23:32:21.012138" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.167) 0:00:11.584 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.065) 0:00:11.650 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.174) 0:00:11.824 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.042) 0:00:11.866 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.081) 0:00:11.947 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.089) 0:00:12.037 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.071) 0:00:12.109 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.041) 0:00:12.150 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.088) 0:00:12.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:21 +0000 (0:00:00.055) 0:00:12.294 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:32:22 +0000 (0:00:00.822) 0:00:13.116 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.661) 0:00:13.778 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.042) 0:00:13.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.052) 0:00:13.873 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.077) 0:00:13.951 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.114) 0:00:14.066 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.049) 0:00:14.115 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.046) 0:00:14.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.116) 0:00:14.278 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.150) 0:00:14.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:32:23 +0000 (0:00:00.052) 0:00:14.481 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:32:24 +0000 (0:00:00.323) 0:00:14.805 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpd_3945v1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:32:24 +0000 (0:00:00.353) 0:00:15.158 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.368) 0:00:15.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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.076) 0:00:15.603 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.046) 0:00:15.649 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.050) 0:00:15.700 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.073) 0:00:15.774 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.189) 0:00:15.963 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.103) 0:00:16.067 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.116) 0:00:16.184 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.081) 0:00:16.265 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:32:25 +0000 (0:00:00.251) 0:00:16.517 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:32:26 +0000 (0:00:00.049) 0:00:16.566 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:32:26 +0000 (0:00:00.121) 0:00:16.687 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:32:26 +0000 (0:00:00.053) 0:00:16.741 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743944.9183087, "block_size": 4096, "blocks": 8, "ctime": 1706743944.9183087, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4429273, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706743944.9183087, "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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:32:26 +0000 (0:00:00.150) 0:00:16.892 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:32:26 +0000 (0:00:00.039) 0:00:16.931 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021856", "end": "2024-01-31 23:32:26.541624", "rc": 1, "start": "2024-01-31 23:32:26.519768" } 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:32:26 +0000 (0:00:00.179) 0:00:17.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:32:26 +0000 (0:00:00.042) 0:00:17.153 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003483", "end": "2024-01-31 23:32:26.754702", "rc": 0, "start": "2024-01-31 23:32:26.751219" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:32:26 +0000 (0:00:00.180) 0:00:17.333 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:32:26 +0000 (0:00:00.039) 0:00:17.373 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003488", "end": "2024-01-31 23:32:26.965554", "rc": 0, "start": "2024-01-31 23:32:26.962066" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.166) 0:00:17.539 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.036) 0:00:17.575 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.034) 0:00:17.610 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.044) 0:00:17.654 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.042) 0:00:17.697 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.031) 0:00:17.729 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.034) 0:00:17.763 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.070) 0:00:17.834 ***** 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.045025", "end": "2024-01-31 23:32:27.470786", "rc": 1, "start": "2024-01-31 23:32:27.425761" } 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-bond_options_rewrited_efx8de/tests/playbooks/tests_states.yml:65 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.197) 0:00:18.032 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.064) 0:00:18.096 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.047) 0:00:18.144 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.088) 0:00:18.232 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.069) 0:00:18.302 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:32:27 +0000 (0:00:00.057) 0:00:18.360 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003641", "end": "2024-01-31 23:32:27.961449", "rc": 0, "start": "2024-01-31 23:32:27.957808" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:32:28 +0000 (0:00:00.184) 0:00:18.545 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:32:28 +0000 (0:00:00.042) 0:00:18.587 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:32:28 +0000 (0:00:00.053) 0:00:18.640 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:32:28 +0000 (0:00:00.092) 0:00:18.733 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:28 +0000 (0:00:00.095) 0:00:18.828 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:28 +0000 (0:00:00.135) 0:00:18.964 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:28 +0000 (0:00:00.040) 0:00:19.004 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:28 +0000 (0:00:00.034) 0:00:19.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:28 +0000 (0:00:00.045) 0:00:19.084 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:32:29 +0000 (0:00:00.902) 0:00:19.986 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.753) 0:00:20.740 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.054) 0:00:20.795 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.050) 0:00:20.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.052) 0:00:20.898 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.185) 0:00:21.083 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.053) 0:00:21.136 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.043) 0:00:21.179 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.104) 0:00:21.284 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.085) 0:00:21.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:32:30 +0000 (0:00:00.050) 0:00:21.420 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:32:31 +0000 (0:00:00.361) 0:00:21.781 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpdc2yppwy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:32:31 +0000 (0:00:00.309) 0:00:22.091 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:32:31 +0000 (0:00:00.334) 0:00:22.426 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:32:31 +0000 (0:00:00.043) 0:00:22.469 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.095) 0:00:22.564 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.095) 0:00:22.660 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.077) 0:00:22.737 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.147) 0:00:22.885 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.038) 0:00:22.924 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.079) 0:00:23.004 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.080) 0:00:23.084 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.107) 0:00:23.192 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.061) 0:00:23.253 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.041) 0:00:23.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:32 +0000 (0:00:00.038) 0:00:23.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:32:33 +0000 (0:00:00.844) 0:00:24.177 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.737) 0:00:24.915 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.060) 0:00:24.976 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.049) 0:00:25.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.040) 0:00:25.065 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.066) 0:00:25.131 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.030) 0:00:25.162 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.075) 0:00:25.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.037) 0:00:25.274 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.050) 0:00:25.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:32:34 +0000 (0:00:00.038) 0:00:25.363 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:32:35 +0000 (0:00:00.291) 0:00:25.655 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpz9cg0xqq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:32:35 +0000 (0:00:00.243) 0:00:25.898 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:32:35 +0000 (0:00:00.543) 0:00:26.442 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:32:35 +0000 (0:00:00.044) 0:00:26.487 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.045) 0:00:26.532 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.043) 0:00:26.576 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.040) 0:00:26.616 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.148) 0:00:26.765 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.074) 0:00:26.839 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.090) 0:00:26.930 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743955.8009505, "block_size": 4096, "blocks": 0, "ctime": 1706743955.7999506, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17546, "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": 1706743955.7999506, "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-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.158) 0:00:27.088 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.039) 0:00:27.128 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.083) 0:00:27.212 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.046) 0:00:27.258 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743955.6189566, "block_size": 4096, "blocks": 8, "ctime": 1706743951.8390808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4429273, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706743951.8390808, "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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.188) 0:00:27.447 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:32:36 +0000 (0:00:00.047) 0:00:27.495 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023708", "end": "2024-01-31 23:32:37.113427", "rc": 1, "start": "2024-01-31 23:32:37.089719" } 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.196) 0:00:27.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.070) 0:00:27.762 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003425", "end": "2024-01-31 23:32:37.385358", "rc": 0, "start": "2024-01-31 23:32:37.381933" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.216) 0:00:27.979 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.054) 0:00:28.033 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003420", "end": "2024-01-31 23:32:37.637626", "rc": 0, "start": "2024-01-31 23:32:37.634206" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.177) 0:00:28.210 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.040) 0:00:28.251 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.040) 0:00:28.292 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.049) 0:00:28.341 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.111) 0:00:28.453 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:32:37 +0000 (0:00:00.031) 0:00:28.484 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:32:38 +0000 (0:00:00.044) 0:00:28.528 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:32:38 +0000 (0:00:00.090) 0:00:28.618 ***** 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.048521", "end": "2024-01-31 23:32:38.263933", "rc": 0, "start": "2024-01-31 23:32:38.215412" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tests_states.yml:83 Wednesday 31 January 2024 23:32:38 +0000 (0:00:00.240) 0:00:28.859 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:32:38 +0000 (0:00:00.086) 0:00:28.946 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:32:38 +0000 (0:00:00.037) 0:00:28.983 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:32:38 +0000 (0:00:00.118) 0:00:29.102 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:32:38 +0000 (0:00:00.093) 0:00:29.195 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:32:38 +0000 (0:00:00.084) 0:00:29.280 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004649", "end": "2024-01-31 23:32:39.874891", "rc": 0, "start": "2024-01-31 23:32:38.870242" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:32:39 +0000 (0:00:01.207) 0:00:30.488 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:32:40 +0000 (0:00:00.053) 0:00:30.542 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:32:40 +0000 (0:00:00.090) 0:00:30.632 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:32:40 +0000 (0:00:00.064) 0:00:30.697 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:40 +0000 (0:00:00.075) 0:00:30.773 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:40 +0000 (0:00:00.081) 0:00:30.854 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:40 +0000 (0:00:00.057) 0:00:30.912 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:40 +0000 (0:00:00.057) 0:00:30.969 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:40 +0000 (0:00:00.086) 0:00:31.056 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:32:41 +0000 (0:00:00.857) 0:00:31.914 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.723) 0:00:32.637 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.078) 0:00:32.715 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.038) 0:00:32.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.049) 0:00:32.803 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.098) 0:00:32.901 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.036) 0:00:32.938 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.038) 0:00:32.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.070) 0:00:33.047 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.056) 0:00:33.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.054) 0:00:33.159 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:32:42 +0000 (0:00:00.259) 0:00:33.418 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmp8uvmli46" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:32:43 +0000 (0:00:00.232) 0:00:33.651 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:32:43 +0000 (0:00:00.260) 0:00:33.912 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:32:43 +0000 (0:00:00.037) 0:00:33.949 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:32:43 +0000 (0:00:00.052) 0:00:34.001 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:32:43 +0000 (0:00:00.048) 0:00:34.050 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:32:43 +0000 (0:00:00.048) 0:00:34.099 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:32:43 +0000 (0:00:00.253) 0:00:34.352 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:32:43 +0000 (0:00:00.042) 0:00:34.394 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:43 +0000 (0:00:00.069) 0:00:34.464 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:44 +0000 (0:00:00.080) 0:00:34.544 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:44 +0000 (0:00:00.039) 0:00:34.584 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:44 +0000 (0:00:00.046) 0:00:34.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:44 +0000 (0:00:00.034) 0:00:34.665 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:32:44 +0000 (0:00:00.786) 0:00:35.451 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:45 +0000 (0:00:00.848) 0:00:36.300 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:45 +0000 (0:00:00.054) 0:00:36.355 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:45 +0000 (0:00:00.047) 0:00:36.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:32:45 +0000 (0:00:00.037) 0:00:36.440 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:32:46 +0000 (0:00:00.088) 0:00:36.529 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:32:46 +0000 (0:00:00.031) 0:00:36.561 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:46 +0000 (0:00:00.027) 0:00:36.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:32:46 +0000 (0:00:00.036) 0:00:36.625 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:32:46 +0000 (0:00:00.033) 0:00:36.658 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:32:46 +0000 (0:00:00.041) 0:00:36.699 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:32:46 +0000 (0:00:00.270) 0:00:36.970 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpbu58_xmu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:32:46 +0000 (0:00:00.274) 0:00:37.244 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.500) 0:00:37.745 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.038) 0:00:37.783 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.059) 0:00:37.843 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.057) 0:00:37.901 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.082) 0:00:37.984 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.157) 0:00:38.141 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.090) 0:00:38.232 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.054) 0:00:38.286 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.054) 0:00:38.341 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.037) 0:00:38.378 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.040) 0:00:38.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:47 +0000 (0:00:00.035) 0:00:38.454 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:32:48 +0000 (0:00:00.786) 0:00:39.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.775) 0:00:40.016 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.059) 0:00:40.076 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.060) 0:00:40.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.042) 0:00:40.179 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.111) 0:00:40.291 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.036) 0:00:40.327 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.036) 0:00:40.364 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.047) 0:00:40.412 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.038) 0:00:40.451 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:32:49 +0000 (0:00:00.045) 0:00:40.496 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:32:50 +0000 (0:00:00.274) 0:00:40.771 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpzxx0d_k8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:32:50 +0000 (0:00:00.235) 0:00:41.006 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:32:50 +0000 (0:00:00.330) 0:00:41.337 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:32:50 +0000 (0:00:00.069) 0:00:41.406 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:32:50 +0000 (0:00:00.072) 0:00:41.479 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.102) 0:00:41.581 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.042) 0:00:41.624 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.171) 0:00:41.795 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.101) 0:00:41.897 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.103) 0:00:42.000 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743967.1085784, "block_size": 4096, "blocks": 0, "ctime": 1706743967.1075785, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17546, "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": 1706743967.1075785, "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-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.166) 0:00:42.167 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.032) 0:00:42.199 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.052) 0:00:42.251 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.026) 0:00:42.278 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.145) 0:00:42.423 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:32:51 +0000 (0:00:00.034) 0:00:42.458 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023562", "end": "2024-01-31 23:32:52.073095", "rc": 1, "start": "2024-01-31 23:32:52.049533" } 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.171) 0:00:42.630 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.037) 0:00:42.667 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.096) 0:00:42.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.032) 0:00:42.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.028) 0:00:42.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.030) 0:00:42.855 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.041) 0:00:42.896 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.029) 0:00:42.925 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.036) 0:00:42.962 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.104) 0:00:43.066 ***** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050268", "end": "2024-01-31 23:32:52.712920", "rc": 0, "start": "2024-01-31 23:32:52.662652" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tests_states.yml:103 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.223) 0:00:43.290 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.063) 0:00:43.353 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.058) 0:00:43.412 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:32:52 +0000 (0:00:00.097) 0:00:43.509 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.086) 0:00:43.595 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.061) 0:00:43.657 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003682", "end": "2024-01-31 23:32:53.267293", "rc": 0, "start": "2024-01-31 23:32:53.263611" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.223) 0:00:43.880 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.043) 0:00:43.923 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.059) 0:00:43.983 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.089) 0:00:44.073 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.068) 0:00:44.142 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.067) 0:00:44.209 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.040) 0:00:44.249 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.038) 0:00:44.287 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.035) 0:00:44.322 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:32:54 +0000 (0:00:00.846) 0:00:45.169 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.727) 0:00:45.897 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.053) 0:00:45.950 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.040) 0:00:45.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.042) 0:00:46.034 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.092) 0:00:46.126 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.057) 0:00:46.183 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.064) 0:00:46.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.075) 0:00:46.324 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.089) 0:00:46.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.047) 0:00:46.461 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:32:56 +0000 (0:00:00.271) 0:00:46.733 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmp68staun7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:32:56 +0000 (0:00:00.315) 0:00:47.048 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:32:56 +0000 (0:00:00.412) 0:00:47.461 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.158) 0:00:47.619 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.059) 0:00:47.679 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.078) 0:00:47.758 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.035) 0:00:47.793 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.204) 0:00:47.998 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.058) 0:00:48.056 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.070) 0:00:48.126 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.089) 0:00:48.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.053) 0:00:48.270 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.052) 0:00:48.323 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.065) 0:00:48.388 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:32:58 +0000 (0:00:00.837) 0:00:49.226 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.809) 0:00:50.035 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.031) 0:00:50.067 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.029) 0:00:50.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.030) 0:00:50.127 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.079) 0:00:50.207 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.033) 0:00:50.240 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.042) 0:00:50.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.062) 0:00:50.345 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.040) 0:00:50.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:32:59 +0000 (0:00:00.045) 0:00:50.431 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:00 +0000 (0:00:00.280) 0:00:50.712 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmp1kj41cna" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:00 +0000 (0:00:00.269) 0:00:50.981 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:00 +0000 (0:00:00.530) 0:00:51.512 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.085) 0:00:51.597 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.046) 0:00:51.643 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.049) 0:00:51.692 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.035) 0:00:51.728 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.166) 0:00:51.895 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.062) 0:00:51.957 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.082) 0:00:52.040 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.048) 0:00:52.088 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.038) 0:00:52.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:33:01 +0000 (0:00:00.047) 0:00:52.175 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:02 +0000 (0:00:00.776) 0:00:52.951 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.810) 0:00:53.762 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.044) 0:00:53.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.067) 0:00:53.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.108) 0:00:53.982 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.072) 0:00:54.054 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.089) 0:00:54.144 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.069) 0:00:54.214 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.057) 0:00:54.271 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.052) 0:00:54.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.041) 0:00:54.365 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.246) 0:00:54.611 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmp7hccwlje" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.231) 0:00:54.843 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.258) 0:00:55.101 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.037) 0:00:55.139 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.063) 0:00:55.202 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.030) 0:00:55.232 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.031) 0:00:55.263 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.150) 0:00:55.414 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.056) 0:00:55.471 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.072) 0:00:55.543 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.077) 0:00:55.620 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.034) 0:00:55.655 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.032) 0:00:55.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:33:05 +0000 (0:00:00.033) 0:00:55.721 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:06 +0000 (0:00:00.853) 0:00:56.575 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:06 +0000 (0:00:00.805) 0:00:57.380 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:33:06 +0000 (0:00:00.040) 0:00:57.420 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:33:06 +0000 (0:00:00.042) 0:00:57.462 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:33:06 +0000 (0:00:00.029) 0:00:57.492 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.072) 0:00:57.564 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.040) 0:00:57.605 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.039) 0:00:57.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.049) 0:00:57.693 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.044) 0:00:57.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.041) 0:00:57.780 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.300) 0:00:58.080 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpf9fbe049" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:07 +0000 (0:00:00.252) 0:00:58.332 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:08 +0000 (0:00:00.423) 0:00:58.756 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:08 +0000 (0:00:00.041) 0:00:58.798 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:08 +0000 (0:00:00.064) 0:00:58.862 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:08 +0000 (0:00:00.065) 0:00:58.927 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:08 +0000 (0:00:00.058) 0:00:58.985 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:33:08 +0000 (0:00:00.160) 0:00:59.146 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:33:08 +0000 (0:00:00.080) 0:00:59.226 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:33:08 +0000 (0:00:00.124) 0:00:59.351 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:33:08 +0000 (0:00:00.067) 0:00:59.419 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:33:09 +0000 (0:00:00.259) 0:00:59.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:33:09 +0000 (0:00:00.120) 0:00:59.799 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023158", "end": "2024-01-31 23:33:09.462978", "rc": 1, "start": "2024-01-31 23:33:09.439820" } 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:33:09 +0000 (0:00:00.230) 0:01:00.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:33:09 +0000 (0:00:00.053) 0:01:00.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:33:09 +0000 (0:00:00.085) 0:01:00.168 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:33:09 +0000 (0:00:00.103) 0:01:00.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:33:09 +0000 (0:00:00.140) 0:01:00.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:33:09 +0000 (0:00:00.063) 0:01:00.475 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.059) 0:01:00.535 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.085) 0:01:00.620 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.071) 0:01:00.691 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.113) 0:01:00.805 ***** 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.051419", "end": "2024-01-31 23:33:10.507905", "rc": 0, "start": "2024-01-31 23:33:10.456486" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tests_states.yml:126 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.261) 0:01:01.066 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.097) 0:01:01.163 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.070) 0:01:01.234 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.095) 0:01:01.329 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.101) 0:01:01.430 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.082) 0:01:01.513 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003677", "end": "2024-01-31 23:33:11.126688", "rc": 0, "start": "2024-01-31 23:33:11.123011" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.191) 0:01:01.705 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.052) 0:01:01.757 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.172) 0:01:01.930 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.085) 0:01:02.016 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.057) 0:01:02.073 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.064) 0:01:02.137 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.044) 0:01:02.182 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.035) 0:01:02.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.048) 0:01:02.266 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:12 +0000 (0:00:00.847) 0:01:03.114 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.733) 0:01:03.848 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.094) 0:01:03.942 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.035) 0:01:03.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.041) 0:01:04.018 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.122) 0:01:04.141 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.059) 0:01:04.201 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.048) 0:01:04.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.046) 0:01:04.295 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.064) 0:01:04.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.065) 0:01:04.425 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:14 +0000 (0:00:00.301) 0:01:04.726 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpi9hz2w7g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:14 +0000 (0:00:00.369) 0:01:05.096 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:14 +0000 (0:00:00.353) 0:01:05.450 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:14 +0000 (0:00:00.027) 0:01:05.478 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:14 +0000 (0:00:00.042) 0:01:05.520 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.031) 0:01:05.552 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.032) 0:01:05.584 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.200) 0:01:05.785 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.040) 0:01:05.826 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.061) 0:01:05.887 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.104) 0:01:05.991 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.053) 0:01:06.045 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.040) 0:01:06.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:33:15 +0000 (0:00:00.052) 0:01:06.138 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:16 +0000 (0:00:00.799) 0:01:06.937 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.723) 0:01:07.661 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.037) 0:01:07.698 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.082) 0:01:07.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.031) 0:01:07.812 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.088) 0:01:07.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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.056) 0:01:07.957 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.059) 0:01:08.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.073) 0:01:08.090 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.033) 0:01:08.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.033) 0:01:08.157 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:17 +0000 (0:00:00.283) 0:01:08.441 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpenzxmc9u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.253) 0:01:08.694 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.489) 0:01:09.184 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.027) 0:01:09.211 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.030) 0:01:09.241 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.031) 0:01:09.273 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.031) 0:01:09.305 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.144) 0:01:09.449 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:33:18 +0000 (0:00:00.044) 0:01:09.494 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.067) 0:01:09.561 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.040) 0:01:09.602 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.033) 0:01:09.635 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.030) 0:01:09.666 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:19 +0000 (0:00:00.763) 0:01:10.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.724) 0:01:11.154 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.035) 0:01:11.190 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.031) 0:01:11.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.028) 0:01:11.250 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.059) 0:01:11.309 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.035) 0:01:11.345 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.028) 0:01:11.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.032) 0:01:11.406 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.027) 0:01:11.433 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:33:20 +0000 (0:00:00.028) 0:01:11.461 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.253) 0:01:11.714 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmpd2dps8gw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.229) 0:01:11.944 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.301) 0:01:12.246 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.041) 0:01:12.287 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.034) 0:01:12.322 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.046) 0:01:12.368 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.104) 0:01:12.473 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.159) 0:01:12.633 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.089) 0:01:12.723 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.119) 0:01:12.843 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.100) 0:01:12.943 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.071) 0:01:13.015 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.046) 0:01:13.061 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:33:22 +0000 (0:00:00.035) 0:01:13.097 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:23 +0000 (0:00:00.927) 0:01:14.024 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.772) 0:01:14.797 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.091) 0:01:14.889 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.073) 0:01:14.963 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.051) 0:01:15.015 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.073) 0:01:15.088 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.037) 0:01:15.126 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.067) 0:01:15.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.046) 0:01:15.239 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.050) 0:01:15.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.035) 0:01:15.325 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:33:25 +0000 (0:00:00.356) 0:01:15.682 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1736072rrhdck/tmp4c71i0a3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:33:25 +0000 (0:00:00.297) 0:01:15.980 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:33:25 +0000 (0:00:00.360) 0:01:16.340 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:33:25 +0000 (0:00:00.059) 0:01:16.399 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:33:25 +0000 (0:00:00.051) 0:01:16.450 ***** 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-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:33:25 +0000 (0:00:00.061) 0:01:16.512 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:33:26 +0000 (0:00:00.105) 0:01:16.618 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:33:26 +0000 (0:00:00.220) 0:01:16.838 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:33:26 +0000 (0:00:00.143) 0:01:16.981 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:33:26 +0000 (0:00:00.113) 0:01:17.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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:33:26 +0000 (0:00:00.080) 0:01:17.175 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:33:26 +0000 (0:00:00.178) 0:01:17.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:33:26 +0000 (0:00:00.058) 0:01:17.413 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023178", "end": "2024-01-31 23:33:27.039970", "rc": 1, "start": "2024-01-31 23:33:27.016792" } 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:33:27 +0000 (0:00:00.192) 0:01:17.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:33:27 +0000 (0:00:00.047) 0:01:17.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:33:27 +0000 (0:00:00.075) 0:01:17.728 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:33:27 +0000 (0:00:00.091) 0:01:17.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:33:27 +0000 (0:00:00.060) 0:01:17.880 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:33:27 +0000 (0:00:00.042) 0:01:17.922 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 31 January 2024 23:33:27 +0000 (0:00:00.048) 0:01:17.971 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.403977", "end": "2024-01-31 23:33:27.973912", "rc": 0, "start": "2024-01-31 23:33:27.569935" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 31 January 2024 23:33:28 +0000 (0:00:00.640) 0:01:18.612 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 31 January 2024 23:33:28 +0000 (0:00:00.042) 0:01:18.655 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:33:28 +0000 (0:00:00.042) 0:01:18.697 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:33:28 +0000 (0:00:00.063) 0:01:18.760 ***** 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-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:33:28 +0000 (0:00:00.065) 0:01:18.826 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:33:28 +0000 (0:00:00.100) 0:01:18.926 ***** 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.049928", "end": "2024-01-31 23:33:28.563881", "rc": 0, "start": "2024-01-31 23:33:28.513953" } 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 Wednesday 31 January 2024 23:33:28 +0000 (0:00:00.189) 0:01:19.116 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.07s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 2.05s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.81s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.51s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 1.13s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.09s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Re-test connectivity ----------------------- 1.08s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.04s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which services are running ----------- 0.95s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.93s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.91s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which services are running ----------- 0.90s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-bond_options_rewrited_efx8de/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. ---^---^---^---^---^---