# 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_nm.yml ************************************************** 2 plays in /WORKDIR/git-bond_options_rewrited_efx8de/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tests_states_nm.yml:6 Wednesday 31 January 2024 23:32:13 +0000 (0:00:00.018) 0:00:00.018 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tests_states_nm.yml:9 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.601) 0:00:00.620 ***** 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:14 +0000 (0:00:00.028) 0:00:00.648 ***** 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:14 +0000 (0:00:00.217) 0:00:00.866 ***** 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:14 +0000 (0:00:00.249) 0:00:01.116 ***** 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:15 +0000 (0:00:00.038) 0:00:01.154 ***** 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:15 +0000 (0:00:00.047) 0:00:01.202 ***** 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:15 +0000 (0:00:00.063) 0:00:01.266 ***** 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:15 +0000 (0:00:00.253) 0:00:01.519 ***** 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:15 +0000 (0:00:00.616) 0:00:02.136 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.197695", "end": "2024-01-31 23:32:16.360149", "rc": 0, "start": "2024-01-31 23:32:16.162454" } 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:16 +0000 (0:00:00.396) 0:00:02.533 ***** 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:16 +0000 (0:00:00.036) 0:00:02.569 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/tests_states_nm.yml:11 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.017) 0:00:02.587 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "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:16 +0000 (0:00:00.043) 0:00:02.630 ***** 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:16 +0000 (0:00:00.439) 0:00:03.070 ***** 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:16 +0000 (0:00:00.055) 0:00:03.125 ***** 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:17 +0000 (0:00:00.075) 0:00:03.201 ***** 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:17 +0000 (0:00:00.033) 0:00:03.235 ***** 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": true, "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:17 +0000 (0:00:00.063) 0:00:03.298 ***** 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:17 +0000 (0:00:00.028) 0:00:03.326 ***** 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:17 +0000 (0:00:00.042) 0:00:03.368 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003454", "end": "2024-01-31 23:32:17.345600", "rc": 0, "start": "2024-01-31 23:32:17.342146" } 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:17 +0000 (0:00:00.135) 0:00:03.504 ***** 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:17 +0000 (0:00:00.039) 0:00:03.544 ***** 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:17 +0000 (0:00:00.030) 0:00:03.575 ***** 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:17 +0000 (0:00:00.078) 0:00:03.653 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010720", "end": "2024-01-31 23:32:17.651017", "rc": 1, "start": "2024-01-31 23:32:17.640297" } 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:17 +0000 (0:00:00.166) 0:00:03.820 ***** 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:17 +0000 (0:00:00.061) 0:00:03.882 ***** 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:17 +0000 (0:00:00.206) 0:00:04.089 ***** 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:17 +0000 (0:00:00.028) 0:00:04.117 ***** 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:18 +0000 (0:00:00.082) 0:00:04.200 ***** 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:18 +0000 (0:00:00.059) 0:00:04.259 ***** 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:18 +0000 (0:00:00.145) 0:00:04.405 ***** 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:18 +0000 (0:00:00.020) 0:00:04.425 ***** 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:18 +0000 (0:00:00.016) 0:00:04.442 ***** 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:18 +0000 (0:00:00.017) 0:00:04.459 ***** 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:19 +0000 (0:00:00.984) 0:00:05.444 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:20 +0000 (0:00:00.931) 0:00:06.375 ***** ok: [sut] => {} MSG: Using network provider: nm 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:20 +0000 (0:00:00.055) 0:00:06.431 ***** 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:20 +0000 (0:00:00.038) 0:00:06.470 ***** 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:20 +0000 (0:00:00.042) 0:00:06.512 ***** 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:20 +0000 (0:00:00.080) 0:00:06.592 ***** 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:20 +0000 (0:00:00.046) 0:00:06.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:32:20 +0000 (0:00:00.040) 0:00:06.679 ***** 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:20 +0000 (0:00:00.038) 0:00:06.718 ***** 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 : 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:21 +0000 (0:00:00.522) 0:00:07.240 ***** 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:21 +0000 (0:00:00.050) 0:00:07.290 ***** 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 : 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:21 +0000 (0:00:00.036) 0:00:07.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:21 +0000 (0:00:00.037) 0:00:07.365 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62a2e9b0-8d0b-493f-879f-51bc0e084b79 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:21 +0000 (0:00:00.582) 0:00:07.947 ***** 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:21 +0000 (0:00:00.052) 0:00:07.999 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62a2e9b0-8d0b-493f-879f-51bc0e084b79" ] } 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:21 +0000 (0:00:00.040) 0:00:08.040 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62a2e9b0-8d0b-493f-879f-51bc0e084b79\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62a2e9b0-8d0b-493f-879f-51bc0e084b79" ] } } 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:21 +0000 (0:00:00.034) 0:00:08.074 ***** 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:22 +0000 (0:00:00.072) 0:00:08.147 ***** 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:22 +0000 (0:00:00.240) 0:00:08.387 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62a2e9b0-8d0b-493f-879f-51bc0e084b79\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62a2e9b0-8d0b-493f-879f-51bc0e084b79" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:32:22 +0000 (0:00:00.032) 0:00:08.420 ***** 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:22 +0000 (0:00:00.054) 0:00:08.475 ***** 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:22 +0000 (0:00:00.075) 0:00:08.550 ***** 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:22 +0000 (0:00:00.026) 0:00:08.577 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743941.7065716, "block_size": 4096, "blocks": 8, "ctime": 1706743941.7055717, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706743941.7055717, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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:22 +0000 (0:00:00.155) 0:00:08.733 ***** 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:22 +0000 (0:00:00.039) 0:00:08.772 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024949", "end": "2024-01-31 23:32:22.774341", "rc": 0, "start": "2024-01-31 23:32:22.749392" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:22 +0000 (0:00:00.193) 0:00:08.966 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": 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:22 +0000 (0:00:00.044) 0:00:09.011 ***** 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:22 +0000 (0:00:00.049) 0:00:09.060 ***** 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:22 +0000 (0:00:00.032) 0:00:09.092 ***** 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:22 +0000 (0:00:00.044) 0:00:09.136 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was 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:23 +0000 (0:00:00.041) 0:00:09.178 ***** 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:23 +0000 (0:00:00.040) 0:00:09.219 ***** 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:23 +0000 (0:00:00.071) 0:00:09.290 ***** 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:23 +0000 (0:00:00.039) 0:00:09.330 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_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:23 +0000 (0:00:00.076) 0:00:09.406 ***** 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:23 +0000 (0:00:00.057) 0:00:09.463 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743941.7175713, "block_size": 4096, "blocks": 0, "ctime": 1706743941.7085717, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17455, "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": 1706743941.7085717, "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:23 +0000 (0:00:00.180) 0:00:09.644 ***** ok: [sut] => { "changed": false } MSG: All assertions passed 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:23 +0000 (0:00:00.076) 0:00:09.721 ***** 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:23 +0000 (0:00:00.068) 0:00:09.789 ***** 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:23 +0000 (0:00:00.159) 0:00:09.949 ***** 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.078876", "end": "2024-01-31 23:32:24.020015", "rc": 1, "start": "2024-01-31 23:32:23.941139" } STDOUT: Connection 'statebr' (62a2e9b0-8d0b-493f-879f-51bc0e084b79) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-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:24 +0000 (0:00:00.272) 0:00:10.222 ***** 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:24 +0000 (0:00:00.058) 0:00:10.280 ***** 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:24 +0000 (0:00:00.034) 0:00:10.315 ***** 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:24 +0000 (0:00:00.082) 0:00:10.397 ***** 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:24 +0000 (0:00:00.091) 0:00:10.488 ***** 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:24 +0000 (0:00:00.127) 0:00:10.615 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003907", "end": "2024-01-31 23:32:24.650909", "rc": 0, "start": "2024-01-31 23:32:24.647002" } 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:24 +0000 (0:00:00.254) 0:00:10.869 ***** 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:24 +0000 (0:00:00.110) 0:00:10.980 ***** 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:24 +0000 (0:00:00.063) 0:00:11.044 ***** 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:25 +0000 (0:00:00.114) 0:00:11.158 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007289", "end": "2024-01-31 23:32:25.161776", "rc": 1, "start": "2024-01-31 23:32:25.154487" } 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:25 +0000 (0:00:00.237) 0:00:11.396 ***** 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.112) 0:00:11.508 ***** 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.215) 0:00:11.724 ***** 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:25 +0000 (0:00:00.065) 0:00:11.790 ***** 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:25 +0000 (0:00:00.082) 0:00:11.873 ***** 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:25 +0000 (0:00:00.091) 0:00:11.965 ***** 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:25 +0000 (0:00:00.128) 0:00:12.093 ***** 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:25 +0000 (0:00:00.041) 0:00:12.135 ***** 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:26 +0000 (0:00:00.110) 0:00:12.245 ***** 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:26 +0000 (0:00:00.069) 0:00:12.315 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:26 +0000 (0:00:00.813) 0:00:13.128 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:27 +0000 (0:00:00.701) 0:00:13.829 ***** ok: [sut] => {} MSG: Using network provider: nm 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:27 +0000 (0:00:00.038) 0:00:13.868 ***** 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:27 +0000 (0:00:00.030) 0:00:13.899 ***** 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:27 +0000 (0:00:00.034) 0:00:13.934 ***** 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:27 +0000 (0:00:00.101) 0:00:14.035 ***** 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:27 +0000 (0:00:00.037) 0:00:14.073 ***** 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:28 +0000 (0:00:00.078) 0:00:14.152 ***** 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:28 +0000 (0:00:00.046) 0:00:14.198 ***** 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 : 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:28 +0000 (0:00:00.332) 0:00:14.531 ***** 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:28 +0000 (0:00:00.075) 0:00:14.606 ***** 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 : 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:28 +0000 (0:00:00.037) 0:00:14.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:28 +0000 (0:00:00.039) 0:00:14.684 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4410151-5427-4288-8cb8-80705f1eb11a 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:28 +0000 (0:00:00.393) 0:00:15.077 ***** 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:28 +0000 (0:00:00.045) 0:00:15.123 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4410151-5427-4288-8cb8-80705f1eb11a" ] } 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:29 +0000 (0:00:00.043) 0:00:15.167 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4410151-5427-4288-8cb8-80705f1eb11a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4410151-5427-4288-8cb8-80705f1eb11a" ] } } 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:29 +0000 (0:00:00.038) 0:00:15.205 ***** 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:29 +0000 (0:00:00.052) 0:00:15.258 ***** 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:29 +0000 (0:00:00.172) 0:00:15.430 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4410151-5427-4288-8cb8-80705f1eb11a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4410151-5427-4288-8cb8-80705f1eb11a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:32:29 +0000 (0:00:00.062) 0:00:15.493 ***** 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:29 +0000 (0:00:00.105) 0:00:15.598 ***** 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:29 +0000 (0:00:00.087) 0:00:15.686 ***** 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:29 +0000 (0:00:00.230) 0:00:15.917 ***** 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:29 +0000 (0:00:00.070) 0:00:15.987 ***** 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:29 +0000 (0:00:00.103) 0:00:16.090 ***** 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:30 +0000 (0:00:00.059) 0:00:16.150 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743948.8573024, "block_size": 4096, "blocks": 8, "ctime": 1706743948.8573024, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706743948.8573024, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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:30 +0000 (0:00:00.220) 0:00:16.371 ***** 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:30 +0000 (0:00:00.036) 0:00:16.407 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021145", "end": "2024-01-31 23:32:30.437053", "rc": 0, "start": "2024-01-31 23:32:30.415908" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:30 +0000 (0:00:00.212) 0:00:16.620 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": 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:30 +0000 (0:00:00.061) 0:00:16.681 ***** 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:30 +0000 (0:00:00.036) 0:00:16.717 ***** 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:30 +0000 (0:00:00.066) 0:00:16.784 ***** 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:30 +0000 (0:00:00.048) 0:00:16.833 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was 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:30 +0000 (0:00:00.049) 0:00:16.882 ***** 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:30 +0000 (0:00:00.075) 0:00:16.958 ***** 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:30 +0000 (0:00:00.109) 0:00:17.068 ***** 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:30 +0000 (0:00:00.045) 0:00:17.114 ***** 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:31 +0000 (0:00:00.053) 0:00:17.168 ***** 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:31 +0000 (0:00:00.049) 0:00:17.217 ***** 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:31 +0000 (0:00:00.123) 0:00:17.341 ***** 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.049971", "end": "2024-01-31 23:32:31.423013", "rc": 1, "start": "2024-01-31 23:32:31.373042" } STDOUT: Connection 'statebr' (a4410151-5427-4288-8cb8-80705f1eb11a) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-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:31 +0000 (0:00:00.262) 0:00:17.603 ***** 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:31 +0000 (0:00:00.067) 0:00:17.671 ***** 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:31 +0000 (0:00:00.070) 0:00:17.741 ***** 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:31 +0000 (0:00:00.115) 0:00:17.857 ***** 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:31 +0000 (0:00:00.090) 0:00:17.948 ***** 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:31 +0000 (0:00:00.075) 0:00:18.023 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003472", "end": "2024-01-31 23:32:32.003566", "rc": 0, "start": "2024-01-31 23:32:32.000094" } 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:32 +0000 (0:00:00.210) 0:00:18.234 ***** 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:32 +0000 (0:00:00.055) 0:00:18.289 ***** 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:32 +0000 (0:00:00.035) 0:00:18.325 ***** 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:32 +0000 (0:00:00.060) 0:00:18.385 ***** 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.087) 0:00:18.473 ***** 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.060) 0:00:18.533 ***** 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.038) 0:00:18.572 ***** 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.047) 0:00:18.620 ***** 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.046) 0:00:18.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:32:33 +0000 (0:00:00.780) 0:00:19.447 ***** 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:33 +0000 (0:00:00.681) 0:00:20.128 ***** ok: [sut] => {} MSG: Using network provider: nm 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.065) 0:00:20.194 ***** 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.042) 0:00:20.237 ***** 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.053) 0:00:20.290 ***** 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.144) 0:00:20.434 ***** 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.069) 0:00:20.504 ***** 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.042) 0:00:20.547 ***** 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.054) 0:00:20.602 ***** 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 : 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.276) 0:00:20.878 ***** 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.048) 0:00:20.927 ***** 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 : 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:34 +0000 (0:00:00.041) 0:00:20.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:34 +0000 (0:00:00.040) 0:00:21.009 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0 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.396) 0:00:21.406 ***** 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.030) 0:00:21.436 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0" ] } 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:35 +0000 (0:00:00.033) 0:00:21.470 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0" ] } } 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:35 +0000 (0:00:00.033) 0:00:21.503 ***** 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:35 +0000 (0:00:00.038) 0:00:21.542 ***** 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:35 +0000 (0:00:00.161) 0:00:21.704 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:32:35 +0000 (0:00:00.028) 0:00:21.733 ***** 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:35 +0000 (0:00:00.051) 0:00:21.784 ***** 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:35 +0000 (0:00:00.076) 0:00:21.861 ***** 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:35 +0000 (0:00:00.065) 0:00:21.926 ***** 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:35 +0000 (0:00:00.038) 0:00:21.965 ***** 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:35 +0000 (0:00:00.028) 0:00:21.993 ***** 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:35 +0000 (0:00:00.032) 0:00:22.026 ***** 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:36 +0000 (0:00:00.793) 0:00:22.820 ***** 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:37 +0000 (0:00:00.803) 0:00:23.624 ***** ok: [sut] => {} MSG: Using network provider: nm 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:37 +0000 (0:00:00.044) 0:00:23.668 ***** 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:37 +0000 (0:00:00.042) 0:00:23.710 ***** 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:37 +0000 (0:00:00.089) 0:00:23.800 ***** 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:37 +0000 (0:00:00.075) 0:00:23.875 ***** 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:37 +0000 (0:00:00.040) 0:00:23.916 ***** 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:37 +0000 (0:00:00.036) 0:00:23.952 ***** 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:37 +0000 (0:00:00.075) 0:00:24.027 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:38 +0000 (0:00:00.308) 0:00:24.336 ***** 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:38 +0000 (0:00:00.068) 0:00:24.405 ***** 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 : 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:38 +0000 (0:00:00.078) 0:00:24.484 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:38 +0000 (0:00:00.044) 0:00:24.528 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0 skipped because already active 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:38 +0000 (0:00:00.499) 0:00:25.028 ***** 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:38 +0000 (0:00:00.046) 0:00:25.074 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0 skipped because already active" ] } 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:38 +0000 (0:00:00.064) 0:00:25.138 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 62ea0f00-0318-4336-8e79-94646369e8d0 skipped because already active" ] } } 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:39 +0000 (0:00:00.051) 0:00:25.190 ***** 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:39 +0000 (0:00:00.065) 0:00:25.255 ***** 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:39 +0000 (0:00:00.188) 0:00:25.444 ***** 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:39 +0000 (0:00:00.179) 0:00:25.624 ***** 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:39 +0000 (0:00:00.119) 0:00:25.743 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743955.1660647, "block_size": 4096, "blocks": 0, "ctime": 1706743955.1650646, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17455, "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.1650646, "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:39 +0000 (0:00:00.231) 0:00:25.974 ***** 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:39 +0000 (0:00:00.047) 0:00:26.022 ***** 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:39 +0000 (0:00:00.087) 0:00:26.110 ***** 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:40 +0000 (0:00:00.047) 0:00:26.158 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743955.1640646, "block_size": 4096, "blocks": 8, "ctime": 1706743955.1630647, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706743955.1630647, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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:40 +0000 (0:00:00.145) 0:00:26.304 ***** 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:40 +0000 (0:00:00.035) 0:00:26.339 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022190", "end": "2024-01-31 23:32:40.361855", "rc": 0, "start": "2024-01-31 23:32:40.339665" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:40 +0000 (0:00:00.213) 0:00:26.553 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": 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:40 +0000 (0:00:00.096) 0:00:26.649 ***** 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:40 +0000 (0:00:00.049) 0:00:26.699 ***** 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:40 +0000 (0:00:00.066) 0:00:26.765 ***** 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:40 +0000 (0:00:00.050) 0:00:26.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was 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:40 +0000 (0:00:00.079) 0:00:26.896 ***** 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:40 +0000 (0:00:00.056) 0:00:26.953 ***** 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:40 +0000 (0:00:00.090) 0:00:27.043 ***** 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:40 +0000 (0:00:00.039) 0:00:27.083 ***** 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:40 +0000 (0:00:00.033) 0:00:27.117 ***** 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:41 +0000 (0:00:00.035) 0:00:27.152 ***** 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:41 +0000 (0:00:00.063) 0:00:27.215 ***** 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.078430", "end": "2024-01-31 23:32:41.273706", "rc": 1, "start": "2024-01-31 23:32:41.195276" } STDOUT: Connection 'statebr' (62ea0f00-0318-4336-8e79-94646369e8d0) successfully deleted. STDERR: (process:31951): GLib-GIO-WARNING **: 23:32:41.252: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/23 but no object proxy exists (process:31951): GLib-GIO-WARNING **: 23:32:41.252: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/36 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-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:83 Wednesday 31 January 2024 23:32:41 +0000 (0:00:00.238) 0:00:27.454 ***** 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:41 +0000 (0:00:00.066) 0:00:27.521 ***** 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:41 +0000 (0:00:00.044) 0:00:27.565 ***** 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:41 +0000 (0:00:00.072) 0:00:27.638 ***** 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:41 +0000 (0:00:00.064) 0:00:27.703 ***** 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:41 +0000 (0:00:00.111) 0:00:27.814 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003669", "end": "2024-01-31 23:32:41.793676", "rc": 0, "start": "2024-01-31 23:32:41.790007" } 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:41 +0000 (0:00:00.162) 0:00:27.977 ***** 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:41 +0000 (0:00:00.053) 0:00:28.031 ***** 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:41 +0000 (0:00:00.056) 0:00:28.087 ***** 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:42 +0000 (0:00:00.135) 0:00:28.223 ***** 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:42 +0000 (0:00:00.061) 0:00:28.284 ***** 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:42 +0000 (0:00:00.086) 0:00:28.371 ***** 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:42 +0000 (0:00:00.047) 0:00:28.418 ***** 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:42 +0000 (0:00:00.038) 0:00:28.457 ***** 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:42 +0000 (0:00:00.055) 0:00:28.512 ***** 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:43 +0000 (0:00:00.768) 0:00:29.281 ***** 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:43 +0000 (0:00:00.692) 0:00:29.974 ***** ok: [sut] => {} MSG: Using network provider: nm 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:43 +0000 (0:00:00.085) 0:00:30.059 ***** 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:43 +0000 (0:00:00.036) 0:00:30.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:43 +0000 (0:00:00.028) 0:00:30.124 ***** 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:44 +0000 (0:00:00.080) 0:00:30.205 ***** 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:44 +0000 (0:00:00.032) 0:00:30.237 ***** 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:44 +0000 (0:00:00.039) 0:00:30.277 ***** 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:44 +0000 (0:00:00.046) 0:00:30.323 ***** 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 : 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:44 +0000 (0:00:00.281) 0:00:30.604 ***** 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:44 +0000 (0:00:00.050) 0:00:30.655 ***** 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 : 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:44 +0000 (0:00:00.031) 0:00:30.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:44 +0000 (0:00:00.030) 0:00:30.717 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0 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:44 +0000 (0:00:00.376) 0:00:31.093 ***** 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:44 +0000 (0:00:00.046) 0:00:31.140 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0" ] } 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:45 +0000 (0:00:00.044) 0:00:31.185 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0" ] } } 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:45 +0000 (0:00:00.043) 0:00:31.228 ***** 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:45 +0000 (0:00:00.035) 0:00:31.264 ***** 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:45 +0000 (0:00:00.172) 0:00:31.436 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0" ] } } 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:45 +0000 (0:00:00.039) 0:00:31.476 ***** 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:45 +0000 (0:00:00.068) 0:00:31.544 ***** 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:45 +0000 (0:00:00.103) 0:00:31.647 ***** 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:45 +0000 (0:00:00.076) 0:00:31.724 ***** 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:45 +0000 (0:00:00.086) 0:00:31.811 ***** 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:45 +0000 (0:00:00.066) 0:00:31.878 ***** 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:46 +0000 (0:00:00.849) 0:00:32.727 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:47 +0000 (0:00:00.690) 0:00:33.418 ***** ok: [sut] => {} MSG: Using network provider: nm 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:47 +0000 (0:00:00.081) 0:00:33.499 ***** 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:47 +0000 (0:00:00.043) 0:00:33.542 ***** 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:47 +0000 (0:00:00.035) 0:00:33.578 ***** 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:47 +0000 (0:00:00.062) 0:00:33.640 ***** 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:47 +0000 (0:00:00.029) 0:00:33.669 ***** 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:47 +0000 (0:00:00.033) 0:00:33.703 ***** 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:47 +0000 (0:00:00.044) 0:00:33.747 ***** 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 : 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:47 +0000 (0:00:00.272) 0:00:34.020 ***** 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:47 +0000 (0:00:00.047) 0:00:34.067 ***** 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 : 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:47 +0000 (0:00:00.045) 0:00:34.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:48 +0000 (0:00:00.042) 0:00:34.156 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0 skipped because already active 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:48 +0000 (0:00:00.330) 0:00:34.487 ***** 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:48 +0000 (0:00:00.036) 0:00:34.523 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0 skipped because already active" ] } 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:48 +0000 (0:00:00.050) 0:00:34.573 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 91e3e84c-7dc9-4189-a06c-4253c470cba0 skipped because already active" ] } } 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:48 +0000 (0:00:00.044) 0:00:34.618 ***** 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:48 +0000 (0:00:00.060) 0:00:34.678 ***** 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:48 +0000 (0:00:00.231) 0:00:34.910 ***** 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:48 +0000 (0:00:00.070) 0:00:34.981 ***** 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:48 +0000 (0:00:00.094) 0:00:35.075 ***** 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:49 +0000 (0:00:00.071) 0:00:35.147 ***** 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:49 +0000 (0:00:00.046) 0:00:35.193 ***** 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:49 +0000 (0:00:00.049) 0:00:35.243 ***** 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:49 +0000 (0:00:00.048) 0:00:35.291 ***** 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:49 +0000 (0:00:00.770) 0:00:36.061 ***** 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:50 +0000 (0:00:00.768) 0:00:36.830 ***** ok: [sut] => {} MSG: Using network provider: nm 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:50 +0000 (0:00:00.043) 0:00:36.874 ***** 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:50 +0000 (0:00:00.052) 0:00:36.926 ***** 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:50 +0000 (0:00:00.064) 0:00:36.990 ***** 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:50 +0000 (0:00:00.095) 0:00:37.086 ***** 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:50 +0000 (0:00:00.050) 0:00:37.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:51 +0000 (0:00:00.042) 0:00:37.178 ***** 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:51 +0000 (0:00:00.069) 0:00:37.247 ***** 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 : 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:51 +0000 (0:00:00.320) 0:00:37.567 ***** 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:51 +0000 (0:00:00.045) 0:00:37.613 ***** 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 : 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:51 +0000 (0:00:00.060) 0:00:37.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:51 +0000 (0:00:00.039) 0:00:37.712 ***** 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": "nm" } }, "changed": true } STDERR: 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:51 +0000 (0:00:00.354) 0:00:38.067 ***** 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:51 +0000 (0:00:00.029) 0:00:38.096 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } 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:51 +0000 (0:00:00.030) 0:00:38.126 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:52 +0000 (0:00:00.035) 0:00:38.162 ***** 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:52 +0000 (0:00:00.032) 0:00:38.194 ***** 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:52 +0000 (0:00:00.193) 0:00:38.388 ***** 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:52 +0000 (0:00:00.054) 0:00:38.442 ***** 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:52 +0000 (0:00:00.048) 0:00:38.490 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743964.8646994, "block_size": 4096, "blocks": 0, "ctime": 1706743964.8546996, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17459, "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": 1706743964.8546996, "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:52 +0000 (0:00:00.168) 0:00:38.659 ***** 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:52 +0000 (0:00:00.070) 0:00:38.729 ***** 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:52 +0000 (0:00:00.079) 0:00:38.809 ***** 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:52 +0000 (0:00:00.063) 0:00:38.873 ***** 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:52 +0000 (0:00:00.158) 0:00:39.031 ***** 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:52 +0000 (0:00:00.062) 0:00:39.094 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021899", "end": "2024-01-31 23:32:53.112381", "rc": 1, "start": "2024-01-31 23:32:53.090482" } 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:53 +0000 (0:00:00.203) 0:00:39.297 ***** 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:53 +0000 (0:00:00.079) 0:00:39.377 ***** 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:53 +0000 (0:00:00.039) 0:00:39.417 ***** 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:53 +0000 (0:00:00.067) 0:00:39.485 ***** 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:53 +0000 (0:00:00.041) 0:00:39.526 ***** 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:53 +0000 (0:00:00.085) 0:00:39.612 ***** 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:53 +0000 (0:00:00.051) 0:00:39.663 ***** 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:53 +0000 (0:00:00.046) 0:00:39.709 ***** 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:53 +0000 (0:00:00.042) 0:00:39.751 ***** 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:53 +0000 (0:00:00.090) 0:00:39.842 ***** 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.082695", "end": "2024-01-31 23:32:53.897763", "rc": 1, "start": "2024-01-31 23:32:53.815068" } STDOUT: Connection 'statebr' (91e3e84c-7dc9-4189-a06c-4253c470cba0) successfully deleted. STDERR: (process:32621): GLib-GIO-WARNING **: 23:32:53.873: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:32621): GLib-GIO-WARNING **: 23:32:53.874: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/37 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-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:103 Wednesday 31 January 2024 23:32:53 +0000 (0:00:00.225) 0:00:40.068 ***** 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:53 +0000 (0:00:00.048) 0:00:40.117 ***** 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:54 +0000 (0:00:00.034) 0:00:40.152 ***** 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": true, "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:54 +0000 (0:00:00.064) 0:00:40.216 ***** 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:54 +0000 (0:00:00.054) 0:00:40.271 ***** 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:54 +0000 (0:00:00.059) 0:00:40.330 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004990", "end": "2024-01-31 23:32:55.307591", "rc": 0, "start": "2024-01-31 23:32:54.302601" } 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:55 +0000 (0:00:01.147) 0:00:41.478 ***** 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:55 +0000 (0:00:00.038) 0:00:41.516 ***** 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:55 +0000 (0:00:00.043) 0:00:41.560 ***** 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:55 +0000 (0:00:00.085) 0:00:41.645 ***** 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:55 +0000 (0:00:00.080) 0:00:41.725 ***** 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:55 +0000 (0:00:00.098) 0:00:41.824 ***** 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:55 +0000 (0:00:00.079) 0:00:41.904 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:32:55 +0000 (0:00:00.046) 0:00:41.950 ***** 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:55 +0000 (0:00:00.031) 0:00:41.981 ***** 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:56 +0000 (0:00:00.807) 0:00:42.789 ***** 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:57 +0000 (0:00:00.776) 0:00:43.566 ***** ok: [sut] => {} MSG: Using network provider: nm 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:57 +0000 (0:00:00.040) 0:00:43.607 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:32:57 +0000 (0:00:00.041) 0:00:43.648 ***** 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:57 +0000 (0:00:00.054) 0:00:43.703 ***** 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:57 +0000 (0:00:00.087) 0:00:43.790 ***** 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:57 +0000 (0:00:00.037) 0:00:43.828 ***** 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:57 +0000 (0:00:00.032) 0:00:43.861 ***** 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:57 +0000 (0:00:00.042) 0:00:43.903 ***** 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 : 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:58 +0000 (0:00:00.284) 0:00:44.187 ***** 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:58 +0000 (0:00:00.053) 0:00:44.241 ***** 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 : 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:58 +0000 (0:00:00.042) 0:00:44.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:58 +0000 (0:00:00.030) 0:00:44.314 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96 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:58 +0000 (0:00:00.386) 0:00:44.701 ***** 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:58 +0000 (0:00:00.039) 0:00:44.741 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96" ] } 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:58 +0000 (0:00:00.131) 0:00:44.872 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96" ] } } 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:58 +0000 (0:00:00.057) 0:00:44.929 ***** 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:58 +0000 (0:00:00.047) 0:00:44.977 ***** 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:59 +0000 (0:00:00.171) 0:00:45.148 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96" ] } } 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:59 +0000 (0:00:00.040) 0:00:45.189 ***** 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:59 +0000 (0:00:00.082) 0:00:45.271 ***** 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:59 +0000 (0:00:00.108) 0:00:45.380 ***** 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:59 +0000 (0:00:00.119) 0:00:45.499 ***** 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:59 +0000 (0:00:00.075) 0:00:45.575 ***** 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:59 +0000 (0:00:00.074) 0:00:45.650 ***** 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:00 +0000 (0:00:00.758) 0:00:46.409 ***** 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:01 +0000 (0:00:00.783) 0:00:47.192 ***** ok: [sut] => {} MSG: Using network provider: nm 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:01 +0000 (0:00:00.074) 0:00:47.266 ***** 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:01 +0000 (0:00:00.054) 0:00:47.321 ***** 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:01 +0000 (0:00:00.033) 0:00:47.354 ***** 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:01 +0000 (0:00:00.139) 0:00:47.494 ***** 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:01 +0000 (0:00:00.053) 0:00:47.547 ***** 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:01 +0000 (0:00:00.038) 0:00:47.586 ***** 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:01 +0000 (0:00:00.049) 0:00:47.636 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:01 +0000 (0:00:00.277) 0:00:47.914 ***** 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:01 +0000 (0:00:00.049) 0:00:47.963 ***** 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 : 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:01 +0000 (0:00:00.030) 0:00:47.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:01 +0000 (0:00:00.037) 0:00:48.031 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96 skipped because already active 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:02 +0000 (0:00:00.307) 0:00:48.339 ***** 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:02 +0000 (0:00:00.062) 0:00:48.401 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96 skipped because already active" ] } 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:02 +0000 (0:00:00.059) 0:00:48.461 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 015cc8bd-3fe0-476a-8b86-7ff5d3622c96 skipped because already active" ] } } 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:02 +0000 (0:00:00.149) 0:00:48.610 ***** 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:02 +0000 (0:00:00.052) 0:00:48.663 ***** 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:02 +0000 (0:00:00.177) 0:00:48.841 ***** 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:02 +0000 (0:00:00.060) 0:00:48.901 ***** 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:02 +0000 (0:00:00.063) 0:00:48.965 ***** 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:02 +0000 (0:00:00.062) 0:00:49.028 ***** 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:02 +0000 (0:00:00.044) 0:00:49.072 ***** 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:02 +0000 (0:00:00.039) 0:00:49.112 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:03 +0000 (0:00:00.809) 0:00:49.922 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:33:04 +0000 (0:00:00.689) 0:00:50.612 ***** ok: [sut] => {} MSG: Using network provider: nm 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:04 +0000 (0:00:00.034) 0:00:50.646 ***** 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:04 +0000 (0:00:00.027) 0:00:50.673 ***** 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:04 +0000 (0:00:00.029) 0:00:50.703 ***** 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:04 +0000 (0:00:00.068) 0:00:50.771 ***** 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:04 +0000 (0:00:00.026) 0:00:50.798 ***** 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:04 +0000 (0:00:00.038) 0:00:50.837 ***** 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:04 +0000 (0:00:00.042) 0:00:50.880 ***** 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 : 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:04 +0000 (0:00:00.251) 0:00:51.132 ***** 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:05 +0000 (0:00:00.039) 0:00:51.171 ***** 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 : 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:05 +0000 (0:00:00.041) 0:00:51.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:05 +0000 (0:00:00.031) 0:00:51.244 ***** 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": "nm" } }, "changed": true } STDERR: 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:05 +0000 (0:00:00.336) 0:00:51.581 ***** 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:05 +0000 (0:00:00.028) 0:00:51.609 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } 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:05 +0000 (0:00:00.034) 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", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:05 +0000 (0:00:00.031) 0:00:51.675 ***** 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:05 +0000 (0:00:00.071) 0:00:51.747 ***** 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:05 +0000 (0:00:00.148) 0:00:51.896 ***** 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:05 +0000 (0:00:00.084) 0:00:51.981 ***** 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.062) 0:00:52.043 ***** 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.067) 0:00:52.111 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:33:06 +0000 (0:00:00.068) 0:00:52.179 ***** 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:06 +0000 (0:00:00.065) 0:00:52.244 ***** 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:06 +0000 (0:00:00.047) 0:00:52.292 ***** 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.776) 0:00:53.069 ***** 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:07 +0000 (0:00:00.718) 0:00:53.788 ***** ok: [sut] => {} MSG: Using network provider: nm 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:07 +0000 (0:00:00.031) 0:00:53.819 ***** 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:07 +0000 (0:00:00.028) 0:00:53.848 ***** 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:07 +0000 (0:00:00.038) 0:00:53.887 ***** 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:53.959 ***** 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.037) 0:00:53.996 ***** 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.043) 0:00:54.039 ***** 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.052) 0:00:54.092 ***** 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 : 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:08 +0000 (0:00:00.277) 0:00:54.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:33:08 +0000 (0:00:00.053) 0:00:54.423 ***** 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 : 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:08 +0000 (0:00:00.082) 0:00:54.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:08 +0000 (0:00:00.042) 0:00:54.548 ***** 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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete 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.445) 0:00:54.994 ***** 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.039) 0:00:55.033 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } 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:09 +0000 (0:00:00.108) 0:00:55.142 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } 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:09 +0000 (0:00:00.078) 0:00:55.220 ***** 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:09 +0000 (0:00:00.157) 0:00:55.378 ***** 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:09 +0000 (0:00:00.199) 0:00:55.578 ***** 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:09 +0000 (0:00:00.138) 0:00:55.716 ***** 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:09 +0000 (0:00:00.077) 0:00:55.793 ***** 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:09 +0000 (0:00:00.077) 0:00:55.871 ***** 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.269) 0:00:56.140 ***** 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:10 +0000 (0:00:00.073) 0:00:56.214 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021227", "end": "2024-01-31 23:33:10.225409", "rc": 1, "start": "2024-01-31 23:33:10.204182" } 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:10 +0000 (0:00:00.218) 0:00:56.433 ***** 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:10 +0000 (0:00:00.056) 0:00:56.489 ***** 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:10 +0000 (0:00:00.053) 0:00:56.542 ***** 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:10 +0000 (0:00:00.046) 0:00:56.588 ***** 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:10 +0000 (0:00:00.059) 0:00:56.648 ***** 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:10 +0000 (0:00:00.058) 0:00:56.706 ***** 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.061) 0:00:56.767 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_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_absent.yml:3 Wednesday 31 January 2024 23:33:10 +0000 (0:00:00.090) 0:00:56.858 ***** 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:33:10 +0000 (0:00:00.143) 0:00:57.002 ***** 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:33:11 +0000 (0:00:00.214) 0:00:57.216 ***** ok: [sut] => { "changed": false } MSG: All assertions passed 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:11 +0000 (0:00:00.058) 0:00:57.275 ***** 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:11 +0000 (0:00:00.041) 0:00:57.317 ***** 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:11 +0000 (0:00:00.135) 0:00:57.452 ***** 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.044762", "end": "2024-01-31 23:33:11.499172", "rc": 1, "start": "2024-01-31 23:33:11.454410" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-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:126 Wednesday 31 January 2024 23:33:11 +0000 (0:00:00.246) 0:00:57.698 ***** 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:11 +0000 (0:00:00.071) 0:00:57.770 ***** 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:11 +0000 (0:00:00.040) 0:00:57.810 ***** 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": true, "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:11 +0000 (0:00:00.083) 0:00:57.893 ***** 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:11 +0000 (0:00:00.048) 0:00:57.942 ***** 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:11 +0000 (0:00:00.043) 0:00:57.986 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004868", "end": "2024-01-31 23:33:12.962187", "rc": 0, "start": "2024-01-31 23:33:11.957319" } 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:13 +0000 (0:00:01.173) 0:00:59.160 ***** 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:13 +0000 (0:00:00.052) 0:00:59.213 ***** 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:13 +0000 (0:00:00.074) 0:00:59.288 ***** 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:13 +0000 (0:00:00.144) 0:00:59.432 ***** 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:13 +0000 (0:00:00.067) 0:00:59.500 ***** 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:13 +0000 (0:00:00.093) 0:00:59.593 ***** 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:13 +0000 (0:00:00.069) 0:00:59.663 ***** 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:13 +0000 (0:00:00.056) 0:00:59.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:33:13 +0000 (0:00:00.058) 0:00:59.778 ***** 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:14 +0000 (0:00:00.805) 0:01:00.584 ***** 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:15 +0000 (0:00:00.834) 0:01:01.418 ***** ok: [sut] => {} MSG: Using network provider: nm 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:15 +0000 (0:00:00.036) 0:01:01.454 ***** 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:15 +0000 (0:00:00.038) 0:01:01.492 ***** 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:15 +0000 (0:00:00.033) 0:01:01.526 ***** 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:15 +0000 (0:00:00.113) 0:01:01.640 ***** 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:15 +0000 (0:00:00.037) 0:01:01.677 ***** 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:15 +0000 (0:00:00.053) 0:01:01.731 ***** 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:15 +0000 (0:00:00.036) 0:01:01.767 ***** 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 : 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:15 +0000 (0:00:00.314) 0:01:02.082 ***** 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:15 +0000 (0:00:00.054) 0:01:02.136 ***** 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 : 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:16 +0000 (0:00:00.052) 0:01:02.188 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:16 +0000 (0:00:00.048) 0:01:02.237 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7a869f26-410f-4204-a906-82bf67386a87 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:16 +0000 (0:00:00.431) 0:01:02.668 ***** 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:16 +0000 (0:00:00.034) 0:01:02.703 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7a869f26-410f-4204-a906-82bf67386a87" ] } 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:16 +0000 (0:00:00.088) 0:01:02.791 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7a869f26-410f-4204-a906-82bf67386a87\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7a869f26-410f-4204-a906-82bf67386a87" ] } } 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:16 +0000 (0:00:00.051) 0:01:02.843 ***** 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:16 +0000 (0:00:00.038) 0:01:02.881 ***** 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:16 +0000 (0:00:00.148) 0:01:03.030 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7a869f26-410f-4204-a906-82bf67386a87\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7a869f26-410f-4204-a906-82bf67386a87" ] } } 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:16 +0000 (0:00:00.059) 0:01:03.090 ***** 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:17 +0000 (0:00:00.083) 0:01:03.173 ***** 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:17 +0000 (0:00:00.080) 0:01:03.253 ***** 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:17 +0000 (0:00:00.042) 0:01:03.296 ***** 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:17 +0000 (0:00:00.031) 0:01:03.327 ***** 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:17 +0000 (0:00:00.039) 0:01:03.367 ***** 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:18 +0000 (0:00:00.778) 0:01:04.145 ***** 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:18 +0000 (0:00:00.696) 0:01:04.842 ***** ok: [sut] => {} MSG: Using network provider: nm 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:18 +0000 (0:00:00.029) 0:01:04.872 ***** 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:18 +0000 (0:00:00.028) 0:01:04.900 ***** 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:18 +0000 (0:00:00.030) 0:01:04.930 ***** 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:18 +0000 (0:00:00.056) 0:01:04.986 ***** 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:18 +0000 (0:00:00.025) 0:01:05.011 ***** 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:18 +0000 (0:00:00.026) 0:01:05.038 ***** 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:18 +0000 (0:00:00.034) 0:01:05.072 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:19 +0000 (0:00:00.251) 0:01:05.323 ***** 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:19 +0000 (0:00:00.036) 0:01:05.360 ***** 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 : 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:19 +0000 (0:00:00.027) 0:01:05.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:19 +0000 (0:00:00.025) 0:01:05.413 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7a869f26-410f-4204-a906-82bf67386a87 skipped because already active 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:19 +0000 (0:00:00.297) 0:01:05.711 ***** 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:19 +0000 (0:00:00.073) 0:01:05.784 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7a869f26-410f-4204-a906-82bf67386a87 skipped because already active" ] } 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:19 +0000 (0:00:00.037) 0:01:05.822 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7a869f26-410f-4204-a906-82bf67386a87 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7a869f26-410f-4204-a906-82bf67386a87 skipped because already active" ] } } 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:19 +0000 (0:00:00.030) 0:01:05.853 ***** 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:19 +0000 (0:00:00.026) 0:01:05.880 ***** 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:19 +0000 (0:00:00.131) 0:01:06.011 ***** 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:19 +0000 (0:00:00.056) 0:01:06.067 ***** 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.052) 0:01:06.120 ***** 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:20 +0000 (0:00:00.034) 0:01:06.154 ***** 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:20 +0000 (0:00:00.027) 0:01:06.181 ***** 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:20 +0000 (0:00:00.025) 0:01:06.206 ***** 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:20 +0000 (0:00:00.753) 0:01:06.960 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:21 +0000 (0:00:00.714) 0:01:07.674 ***** ok: [sut] => {} MSG: Using network provider: nm 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:21 +0000 (0:00:00.044) 0:01:07.719 ***** 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:21 +0000 (0:00:00.050) 0:01:07.769 ***** 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:21 +0000 (0:00:00.042) 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:21 +0000 (0:00:00.080) 0:01:07.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.035) 0:01:07.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:33:21 +0000 (0:00:00.035) 0:01:07.964 ***** 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:21 +0000 (0:00:00.049) 0:01:08.014 ***** 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 : 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:22 +0000 (0:00:00.280) 0:01:08.294 ***** 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:22 +0000 (0:00:00.078) 0:01:08.372 ***** 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 : 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:22 +0000 (0:00:00.040) 0:01:08.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:22 +0000 (0:00:00.044) 0:01:08.457 ***** 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": "nm" } }, "changed": true } STDERR: 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:22 +0000 (0:00:00.540) 0:01:08.997 ***** 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:22 +0000 (0:00:00.039) 0:01:09.037 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } 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:22 +0000 (0:00:00.092) 0:01:09.130 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:23 +0000 (0:00:00.055) 0:01:09.185 ***** 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:23 +0000 (0:00:00.040) 0:01:09.225 ***** 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:23 +0000 (0:00:00.171) 0:01:09.397 ***** 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:23 +0000 (0:00:00.090) 0:01:09.488 ***** 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:23 +0000 (0:00:00.070) 0:01:09.558 ***** 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:23 +0000 (0:00:00.114) 0:01:09.672 ***** 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:23 +0000 (0:00:00.049) 0:01:09.722 ***** 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:23 +0000 (0:00:00.042) 0:01:09.764 ***** 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:23 +0000 (0:00:00.043) 0:01:09.807 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:33:24 +0000 (0:00:00.792) 0:01:10.600 ***** 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:25 +0000 (0:00:00.778) 0:01:11.378 ***** ok: [sut] => {} MSG: Using network provider: nm 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:25 +0000 (0:00:00.049) 0:01:11.428 ***** 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:25 +0000 (0:00:00.038) 0:01:11.466 ***** 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:25 +0000 (0:00:00.056) 0:01:11.523 ***** 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:25 +0000 (0:00:00.107) 0:01:11.631 ***** 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:25 +0000 (0:00:00.092) 0:01:11.723 ***** 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:25 +0000 (0:00:00.105) 0:01:11.829 ***** 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:25 +0000 (0:00:00.091) 0:01:11.920 ***** 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 : 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:26 +0000 (0:00:00.311) 0:01:12.231 ***** 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:26 +0000 (0:00:00.039) 0:01:12.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 : 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:26 +0000 (0:00:00.041) 0:01:12.312 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } 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:26 +0000 (0:00:00.077) 0:01:12.389 ***** 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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete 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:26 +0000 (0:00:00.441) 0:01:12.831 ***** 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:26 +0000 (0:00:00.057) 0:01:12.888 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } 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:26 +0000 (0:00:00.087) 0:01:12.976 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } 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:26 +0000 (0:00:00.084) 0:01:13.060 ***** 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.065) 0:01:13.126 ***** 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:27 +0000 (0:00:00.161) 0:01:13.287 ***** 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:27 +0000 (0:00:00.141) 0:01:13.429 ***** 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:27 +0000 (0:00:00.108) 0:01:13.538 ***** 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:27 +0000 (0:00:00.045) 0:01:13.583 ***** 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:27 +0000 (0:00:00.157) 0:01:13.741 ***** 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:27 +0000 (0:00:00.038) 0:01:13.779 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019813", "end": "2024-01-31 23:33:27.817005", "rc": 1, "start": "2024-01-31 23:33:27.797192" } 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.220) 0:01:14.000 ***** 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.039) 0:01:14.039 ***** 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.030) 0:01:14.070 ***** 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.029) 0:01:14.100 ***** 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.034) 0:01:14.135 ***** 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:28 +0000 (0:00:00.050) 0:01:14.185 ***** 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:28 +0000 (0:00:00.049) 0:01:14.234 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.403745", "end": "2024-01-31 23:33:28.611080", "rc": 0, "start": "2024-01-31 23:33:28.207335" } 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.603) 0:01:14.838 ***** 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.037) 0:01:14.875 ***** 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.049) 0:01:14.925 ***** included: /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/assert_device_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_absent.yml:3 Wednesday 31 January 2024 23:33:28 +0000 (0:00:00.074) 0:01:14.999 ***** 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:33:28 +0000 (0:00:00.070) 0:01:15.070 ***** 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:33:29 +0000 (0:00:00.155) 0:01:15.225 ***** ok: [sut] => { "changed": false } MSG: All assertions passed 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:29 +0000 (0:00:00.036) 0:01:15.262 ***** 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:29 +0000 (0:00:00.031) 0:01:15.293 ***** 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:29 +0000 (0:00:00.072) 0:01:15.366 ***** 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.043923", "end": "2024-01-31 23:33:29.377522", "rc": 1, "start": "2024-01-31 23:33:29.333599" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Wednesday 31 January 2024 23:33:29 +0000 (0:00:00.196) 0:01:15.562 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.17s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.68s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.44s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.43s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.17s /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-bond_options_rewrited_efx8de/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.11s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 0.98s /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.93s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Re-test connectivity ----------------------- 0.89s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /WORKDIR/git-bond_options_rewrited_efx8de/tests/roles/linux-system-roles.network/tasks/main.yml:88 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.83s /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.81s /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.81s /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.81s /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.81s /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.80s /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.79s /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.79s /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. ---^---^---^---^---^---