# 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_rewrited8haelme/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_rewrited8haelme/tests/tests_states_nm.yml:6 Tuesday 13 February 2024 21:22:56 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tests_states_nm.yml:9 Tuesday 13 February 2024 21:22:57 +0000 (0:00:00.791) 0:00:00.803 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 21:22:57 +0000 (0:00:00.025) 0:00:00.828 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 21:22:57 +0000 (0:00:00.264) 0:00:01.093 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 21:22:57 +0000 (0:00:00.255) 0:00:01.348 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 21:22:57 +0000 (0:00:00.025) 0:00:01.374 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 21:22:57 +0000 (0:00:00.018) 0:00:01.392 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 21:22:57 +0000 (0:00:00.036) 0:00:01.429 ****** 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_rewrited8haelme/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 21:22:58 +0000 (0:00:00.200) 0:00:01.630 ****** 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_rewrited8haelme/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 21:22:58 +0000 (0:00:00.553) 0:00:02.183 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.194377", "end": "2024-02-13 21:22:58.981985", "rc": 0, "start": "2024-02-13 21:22:58.787608" } 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_rewrited8haelme/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.400) 0:00:02.584 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.026) 0:00:02.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tests_states_nm.yml:11 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.011) 0:00:02.621 ****** 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_rewrited8haelme/tests/playbooks/tests_states.yml:3 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.055) 0:00:02.677 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_states.yml:11 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.417) 0:00:03.095 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_states.yml:22 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.016) 0:00:03.111 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.020) 0:00:03.131 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.026) 0:00:03.158 ****** 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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.050) 0:00:03.209 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.016) 0:00:03.225 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:22:59 +0000 (0:00:00.020) 0:00:03.245 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004545", "end": "2024-02-13 21:23:00.789937", "rc": 0, "start": "2024-02-13 21:22:59.785392" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:23:00 +0000 (0:00:01.136) 0:00:04.381 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:23:00 +0000 (0:00:00.036) 0:00:04.418 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 21:23:00 +0000 (0:00:00.038) 0:00:04.457 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 21:23:00 +0000 (0:00:00.037) 0:00:04.494 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010604", "end": "2024-02-13 21:23:01.076050", "rc": 1, "start": "2024-02-13 21:23:01.065446" } 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_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.189) 0:00:04.684 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.026) 0:00:04.710 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.142) 0:00:04.852 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.034) 0:00:04.886 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.022) 0:00:04.909 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.054) 0:00:04.963 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.086) 0:00:05.050 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.013) 0:00:05.064 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.016) 0:00:05.080 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:01 +0000 (0:00:00.011) 0:00:05.091 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:02 +0000 (0:00:00.892) 0:00:05.983 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:03 +0000 (0:00:01.011) 0:00:06.995 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.050) 0:00:07.045 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.074) 0:00:07.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.175) 0:00:07.295 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.057) 0:00:07.353 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.023) 0:00:07.376 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.022) 0:00:07.399 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.085) 0:00:07.485 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:04 +0000 (0:00:00.499) 0:00:07.984 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:04 +0000 (0:00:00.061) 0:00:08.046 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:04 +0000 (0:00:00.046) 0:00:08.093 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:04 +0000 (0:00:00.047) 0:00:08.141 ****** 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, 7d01c6f1-bb0e-44ea-b156-f9f290d89088 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:05 +0000 (0:00:00.723) 0:00:08.865 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:05 +0000 (0:00:00.033) 0:00:08.898 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d01c6f1-bb0e-44ea-b156-f9f290d89088" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:05 +0000 (0:00:00.043) 0:00:08.942 ****** 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, 7d01c6f1-bb0e-44ea-b156-f9f290d89088\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d01c6f1-bb0e-44ea-b156-f9f290d89088" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:05 +0000 (0:00:00.057) 0:00:08.999 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:05 +0000 (0:00:00.034) 0:00:09.033 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 21:23:05 +0000 (0:00:00.405) 0:00:09.439 ****** 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, 7d01c6f1-bb0e-44ea-b156-f9f290d89088\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d01c6f1-bb0e-44ea-b156-f9f290d89088" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 21:23:05 +0000 (0:00:00.034) 0:00:09.473 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:23:05 +0000 (0:00:00.046) 0:00:09.520 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.065) 0:00:09.586 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.021) 0:00:09.607 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859385.168974, "block_size": 4096, "blocks": 8, "ctime": 1707859385.167974, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416145, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707859385.167974, "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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.188) 0:00:09.796 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.047) 0:00:09.843 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025794", "end": "2024-02-13 21:23:06.436703", "rc": 0, "start": "2024-02-13 21:23:06.410909" } 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.222) 0:00:10.066 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.043) 0:00:10.109 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.039) 0:00:10.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.031) 0:00:10.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.035) 0:00:10.216 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.038) 0:00:10.255 ****** 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_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.032) 0:00:10.287 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.026) 0:00:10.314 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.028) 0:00:10.342 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.043) 0:00:10.386 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:23:06 +0000 (0:00:00.056) 0:00:10.443 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859385.171974, "block_size": 4096, "blocks": 0, "ctime": 1707859385.170974, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17606, "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": 1707859385.170974, "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_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.154) 0:00:10.597 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.024) 0:00:10.622 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.020) 0:00:10.643 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.040) 0:00:10.684 ****** 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.084713", "end": "2024-02-13 21:23:07.307626", "rc": 1, "start": "2024-02-13 21:23:07.222913" } STDOUT: Connection 'statebr' (7d01c6f1-bb0e-44ea-b156-f9f290d89088) 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_rewrited8haelme/tests/playbooks/tests_states.yml:45 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.216) 0:00:10.901 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.043) 0:00:10.945 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.025) 0:00:10.970 ****** 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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.093) 0:00:11.064 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.049) 0:00:11.114 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.038) 0:00:11.153 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2024-02-13 21:23:07.698142", "rc": 0, "start": "2024-02-13 21:23:07.694682" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.158) 0:00:11.311 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.040) 0:00:11.351 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.023) 0:00:11.374 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 21:23:07 +0000 (0:00:00.071) 0:00:11.446 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007371", "end": "2024-02-13 21:23:07.991714", "rc": 1, "start": "2024-02-13 21:23:07.984343" } 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_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.148) 0:00:11.594 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.070) 0:00:11.665 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.215) 0:00:11.881 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.025) 0:00:11.907 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.094) 0:00:12.001 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.086) 0:00:12.087 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.094) 0:00:12.181 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.080) 0:00:12.262 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.037) 0:00:12.299 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:08 +0000 (0:00:00.052) 0:00:12.352 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:09 +0000 (0:00:00.791) 0:00:13.143 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.714) 0:00:13.858 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.023) 0:00:13.881 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.021) 0:00:13.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.025) 0:00:13.929 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.062) 0:00:13.992 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.029) 0:00:14.021 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.037) 0:00:14.059 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.024) 0:00:14.084 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.229) 0:00:14.314 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.044) 0:00:14.359 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.048) 0:00:14.407 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:10 +0000 (0:00:00.037) 0:00:14.444 ****** 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, b63edea5-f30d-49eb-91a3-1f7a87e2a1b8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.328) 0:00:14.773 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.122) 0:00:14.896 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b63edea5-f30d-49eb-91a3-1f7a87e2a1b8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.063) 0:00:14.959 ****** 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, b63edea5-f30d-49eb-91a3-1f7a87e2a1b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b63edea5-f30d-49eb-91a3-1f7a87e2a1b8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.037) 0:00:14.996 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.033) 0:00:15.030 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.201) 0:00:15.231 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b63edea5-f30d-49eb-91a3-1f7a87e2a1b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b63edea5-f30d-49eb-91a3-1f7a87e2a1b8" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.042) 0:00:15.274 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.048) 0:00:15.322 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.061) 0:00:15.383 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:23:11 +0000 (0:00:00.180) 0:00:15.564 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.041) 0:00:15.606 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.071) 0:00:15.677 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.049) 0:00:15.727 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859391.1478484, "block_size": 4096, "blocks": 8, "ctime": 1707859391.1478484, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707859391.1478484, "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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.217) 0:00:15.944 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.046) 0:00:15.991 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023088", "end": "2024-02-13 21:23:12.575019", "rc": 0, "start": "2024-02-13 21:23:12.551931" } 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.177) 0:00:16.168 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.053) 0:00:16.221 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.027) 0:00:16.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.040) 0:00:16.290 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.033) 0:00:16.324 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.038) 0:00:16.362 ****** 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_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.028) 0:00:16.391 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.025) 0:00:16.416 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.026) 0:00:16.442 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.026) 0:00:16.469 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.021) 0:00:16.490 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.042) 0:00:16.533 ****** 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.048583", "end": "2024-02-13 21:23:13.144571", "rc": 1, "start": "2024-02-13 21:23:13.095988" } STDOUT: Connection 'statebr' (b63edea5-f30d-49eb-91a3-1f7a87e2a1b8) 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_rewrited8haelme/tests/playbooks/tests_states.yml:65 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.216) 0:00:16.749 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.044) 0:00:16.793 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.022) 0:00:16.815 ****** 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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.044) 0:00:16.860 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.086) 0:00:16.946 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.033) 0:00:16.979 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003394", "end": "2024-02-13 21:23:13.519311", "rc": 0, "start": "2024-02-13 21:23:13.515917" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.138) 0:00:17.118 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.035) 0:00:17.153 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.039) 0:00:17.193 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.061) 0:00:17.255 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.048) 0:00:17.304 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.066) 0:00:17.370 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.041) 0:00:17.412 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.047) 0:00:17.459 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.033) 0:00:17.492 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:14 +0000 (0:00:00.765) 0:00:18.258 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.757) 0:00:19.016 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.034) 0:00:19.050 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.072) 0:00:19.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.060) 0:00:19.182 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.103) 0:00:19.285 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.044) 0:00:19.330 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.055) 0:00:19.386 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.086) 0:00:19.472 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:16 +0000 (0:00:00.310) 0:00:19.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:16 +0000 (0:00:00.072) 0:00:19.856 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:16 +0000 (0:00:00.044) 0:00:19.900 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:16 +0000 (0:00:00.040) 0:00:19.941 ****** 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, ea1116d8-22d4-4b83-9c84-3a15981a3e1e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:16 +0000 (0:00:00.374) 0:00:20.315 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:16 +0000 (0:00:00.024) 0:00:20.340 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea1116d8-22d4-4b83-9c84-3a15981a3e1e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:16 +0000 (0:00:00.032) 0:00:20.373 ****** 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, ea1116d8-22d4-4b83-9c84-3a15981a3e1e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea1116d8-22d4-4b83-9c84-3a15981a3e1e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:16 +0000 (0:00:00.049) 0:00:20.423 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:16 +0000 (0:00:00.021) 0:00:20.444 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 21:23:17 +0000 (0:00:00.147) 0:00:20.592 ****** 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, ea1116d8-22d4-4b83-9c84-3a15981a3e1e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea1116d8-22d4-4b83-9c84-3a15981a3e1e" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 21:23:17 +0000 (0:00:00.037) 0:00:20.630 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 21:23:17 +0000 (0:00:00.045) 0:00:20.675 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:17 +0000 (0:00:00.057) 0:00:20.733 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:17 +0000 (0:00:00.070) 0:00:20.804 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:17 +0000 (0:00:00.036) 0:00:20.840 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:17 +0000 (0:00:00.029) 0:00:20.870 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:17 +0000 (0:00:00.029) 0:00:20.900 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:18 +0000 (0:00:00.780) 0:00:21.680 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:18 +0000 (0:00:00.836) 0:00:22.516 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:18 +0000 (0:00:00.024) 0:00:22.541 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:18 +0000 (0:00:00.027) 0:00:22.568 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.025) 0:00:22.594 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.085) 0:00:22.679 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.033) 0:00:22.712 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.044) 0:00:22.757 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.054) 0:00:22.812 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.271) 0:00:23.083 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.130) 0:00:23.213 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.068) 0:00:23.282 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.046) 0:00:23.329 ****** 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, ea1116d8-22d4-4b83-9c84-3a15981a3e1e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.351) 0:00:23.680 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.022) 0:00:23.702 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ea1116d8-22d4-4b83-9c84-3a15981a3e1e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.030) 0:00:23.733 ****** 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, ea1116d8-22d4-4b83-9c84-3a15981a3e1e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ea1116d8-22d4-4b83-9c84-3a15981a3e1e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.022) 0:00:23.755 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.074) 0:00:23.830 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.198) 0:00:24.029 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.045) 0:00:24.074 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.050) 0:00:24.125 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859396.6588056, "block_size": 4096, "blocks": 0, "ctime": 1707859396.6578057, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17606, "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": 1707859396.6578057, "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_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.157) 0:00:24.282 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.027) 0:00:24.310 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.052) 0:00:24.363 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.032) 0:00:24.396 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859396.6568058, "block_size": 4096, "blocks": 8, "ctime": 1707859396.6558056, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416145, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707859396.6558056, "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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.141) 0:00:24.537 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.036) 0:00:24.574 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023709", "end": "2024-02-13 21:23:21.168048", "rc": 0, "start": "2024-02-13 21:23:21.144339" } 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.209) 0:00:24.783 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.076) 0:00:24.859 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.049) 0:00:24.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.077) 0:00:24.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.078) 0:00:25.065 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.071) 0:00:25.136 ****** 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_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.040) 0:00:25.176 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.045) 0:00:25.222 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.029) 0:00:25.251 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.042) 0:00:25.294 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.053) 0:00:25.347 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.059) 0:00:25.406 ****** 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.081829", "end": "2024-02-13 21:23:22.052433", "rc": 1, "start": "2024-02-13 21:23:21.970604" } STDOUT: Connection 'statebr' (ea1116d8-22d4-4b83-9c84-3a15981a3e1e) successfully deleted. STDERR: (process:24469): GLib-GIO-WARNING **: 21:23:22.030: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:24469): GLib-GIO-WARNING **: 21:23:22.030: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/48 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_rewrited8haelme/tests/playbooks/tests_states.yml:83 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.249) 0:00:25.656 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.079) 0:00:25.735 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.091) 0:00:25.827 ****** 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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.151) 0:00:25.978 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.067) 0:00:26.046 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.064) 0:00:26.110 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004635", "end": "2024-02-13 21:23:23.688271", "rc": 0, "start": "2024-02-13 21:23:22.683636" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:23:23 +0000 (0:00:01.301) 0:00:27.412 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:23:23 +0000 (0:00:00.039) 0:00:27.451 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 21:23:23 +0000 (0:00:00.055) 0:00:27.506 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 21:23:24 +0000 (0:00:00.100) 0:00:27.607 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:24 +0000 (0:00:00.080) 0:00:27.687 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:24 +0000 (0:00:00.129) 0:00:27.817 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:24 +0000 (0:00:00.077) 0:00:27.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:24 +0000 (0:00:00.038) 0:00:27.933 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:24 +0000 (0:00:00.135) 0:00:28.068 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:25 +0000 (0:00:00.824) 0:00:28.893 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.822) 0:00:29.715 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.052) 0:00:29.768 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.052) 0:00:29.820 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.049) 0:00:29.870 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.061) 0:00:29.931 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.033) 0:00:29.964 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.042) 0:00:30.007 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.067) 0:00:30.074 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.325) 0:00:30.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.061) 0:00:30.461 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.069) 0:00:30.531 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.039) 0:00:30.570 ****** 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, e31bd09f-805a-4306-8946-f527b92239de TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.354) 0:00:30.924 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.022) 0:00:30.946 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e31bd09f-805a-4306-8946-f527b92239de" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.041) 0:00:30.988 ****** 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, e31bd09f-805a-4306-8946-f527b92239de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e31bd09f-805a-4306-8946-f527b92239de" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.027) 0:00:31.016 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.024) 0:00:31.040 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.177) 0:00:31.218 ****** 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, e31bd09f-805a-4306-8946-f527b92239de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e31bd09f-805a-4306-8946-f527b92239de" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.029) 0:00:31.248 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.047) 0:00:31.295 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.051) 0:00:31.347 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.030) 0:00:31.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.027) 0:00:31.405 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.045) 0:00:31.451 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:28 +0000 (0:00:00.786) 0:00:32.237 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:29 +0000 (0:00:00.707) 0:00:32.945 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:29 +0000 (0:00:00.034) 0:00:32.979 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:29 +0000 (0:00:00.093) 0:00:33.073 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:29 +0000 (0:00:00.048) 0:00:33.122 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:29 +0000 (0:00:00.074) 0:00:33.196 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:29 +0000 (0:00:00.037) 0:00:33.234 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:29 +0000 (0:00:00.036) 0:00:33.270 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:29 +0000 (0:00:00.029) 0:00:33.300 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.295) 0:00:33.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.030) 0:00:33.627 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.038) 0:00:33.665 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.031) 0:00:33.696 ****** 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, e31bd09f-805a-4306-8946-f527b92239de skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.378) 0:00:34.075 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.081) 0:00:34.156 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e31bd09f-805a-4306-8946-f527b92239de skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.105) 0:00:34.261 ****** 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, e31bd09f-805a-4306-8946-f527b92239de skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e31bd09f-805a-4306-8946-f527b92239de skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.074) 0:00:34.336 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.085) 0:00:34.422 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.163) 0:00:34.585 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.050) 0:00:34.635 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.077) 0:00:34.713 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.047) 0:00:34.760 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.070) 0:00:34.830 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.044) 0:00:34.874 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.026) 0:00:34.901 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:32 +0000 (0:00:00.764) 0:00:35.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:32 +0000 (0:00:00.639) 0:00:36.306 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:32 +0000 (0:00:00.034) 0:00:36.340 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:32 +0000 (0:00:00.030) 0:00:36.370 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:32 +0000 (0:00:00.023) 0:00:36.393 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:32 +0000 (0:00:00.094) 0:00:36.488 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:32 +0000 (0:00:00.036) 0:00:36.524 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:32 +0000 (0:00:00.042) 0:00:36.566 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:33 +0000 (0:00:00.026) 0:00:36.593 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:33 +0000 (0:00:00.280) 0:00:36.873 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:33 +0000 (0:00:00.066) 0:00:36.940 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:33 +0000 (0:00:00.038) 0:00:36.979 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:33 +0000 (0:00:00.060) 0:00:37.039 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:33 +0000 (0:00:00.409) 0:00:37.449 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:33 +0000 (0:00:00.045) 0:00:37.494 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:33 +0000 (0:00:00.041) 0:00:37.536 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:34 +0000 (0:00:00.074) 0:00:37.611 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:34 +0000 (0:00:00.057) 0:00:37.669 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 21:23:34 +0000 (0:00:00.203) 0:00:37.872 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:23:34 +0000 (0:00:00.091) 0:00:37.964 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:23:34 +0000 (0:00:00.058) 0:00:38.023 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859407.2687235, "block_size": 4096, "blocks": 0, "ctime": 1707859407.2617235, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17610, "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": 1707859407.2617235, "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_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:23:34 +0000 (0:00:00.277) 0:00:38.300 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 21:23:34 +0000 (0:00:00.043) 0:00:38.344 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:23:34 +0000 (0:00:00.046) 0:00:38.390 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:23:34 +0000 (0:00:00.041) 0:00:38.431 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.181) 0:00:38.613 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.043) 0:00:38.656 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024325", "end": "2024-02-13 21:23:35.275546", "rc": 1, "start": "2024-02-13 21:23:35.251221" } 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.249) 0:00:38.906 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.067) 0:00:38.973 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.052) 0:00:39.025 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.075) 0:00:39.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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.070) 0:00:39.170 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.170) 0:00:39.341 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.091) 0:00:39.433 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.071) 0:00:39.504 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.106) 0:00:39.611 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.112) 0:00:39.723 ****** 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.088241", "end": "2024-02-13 21:23:36.387867", "rc": 1, "start": "2024-02-13 21:23:36.299626" } STDOUT: Connection 'statebr' (e31bd09f-805a-4306-8946-f527b92239de) successfully deleted. STDERR: (process:25141): GLib-GIO-WARNING **: 21:23:36.368: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists (process:25141): GLib-GIO-WARNING **: 21:23:36.368: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/74 but no object proxy exists (process:25141): GLib-GIO-WARNING **: 21:23:36.368: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/49 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_rewrited8haelme/tests/playbooks/tests_states.yml:103 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.314) 0:00:40.037 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.053) 0:00:40.091 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.031) 0:00:40.123 ****** 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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.057) 0:00:40.180 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.037) 0:00:40.217 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.079) 0:00:40.296 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003700", "end": "2024-02-13 21:23:36.839330", "rc": 0, "start": "2024-02-13 21:23:36.835630" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.163) 0:00:40.460 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.053) 0:00:40.514 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.042) 0:00:40.556 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 21:23:37 +0000 (0:00:00.063) 0:00:40.619 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:37 +0000 (0:00:00.125) 0:00:40.744 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:37 +0000 (0:00:00.117) 0:00:40.861 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:37 +0000 (0:00:00.103) 0:00:40.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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:37 +0000 (0:00:00.034) 0:00:41.000 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:37 +0000 (0:00:00.048) 0:00:41.048 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:38 +0000 (0:00:00.800) 0:00:41.849 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.752) 0:00:42.601 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.034) 0:00:42.636 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.026) 0:00:42.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.048) 0:00:42.711 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.068) 0:00:42.780 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.041) 0:00:42.821 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.050) 0:00:42.871 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.037) 0:00:42.909 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.304) 0:00:43.213 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.054) 0:00:43.268 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.037) 0:00:43.305 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:39 +0000 (0:00:00.088) 0:00:43.394 ****** 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, 55cef154-2515-47d7-8903-e835997fe605 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.351) 0:00:43.746 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.048) 0:00:43.794 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55cef154-2515-47d7-8903-e835997fe605" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.025) 0:00:43.819 ****** 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, 55cef154-2515-47d7-8903-e835997fe605\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55cef154-2515-47d7-8903-e835997fe605" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.058) 0:00:43.878 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.040) 0:00:43.919 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.162) 0:00:44.082 ****** 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, 55cef154-2515-47d7-8903-e835997fe605\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55cef154-2515-47d7-8903-e835997fe605" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.087) 0:00:44.169 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.071) 0:00:44.241 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.076) 0:00:44.317 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.130) 0:00:44.447 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.051) 0:00:44.499 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:40 +0000 (0:00:00.044) 0:00:44.543 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:41 +0000 (0:00:00.805) 0:00:45.349 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:42 +0000 (0:00:00.728) 0:00:46.077 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:42 +0000 (0:00:00.150) 0:00:46.228 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:42 +0000 (0:00:00.087) 0:00:46.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:42 +0000 (0:00:00.051) 0:00:46.367 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:42 +0000 (0:00:00.135) 0:00:46.502 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:42 +0000 (0:00:00.049) 0:00:46.552 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.064) 0:00:46.616 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.037) 0:00:46.654 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.270) 0:00:46.925 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.037) 0:00:46.962 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.046) 0:00:47.008 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.024) 0:00:47.033 ****** 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, 55cef154-2515-47d7-8903-e835997fe605 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.362) 0:00:47.396 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.035) 0:00:47.432 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 55cef154-2515-47d7-8903-e835997fe605 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.075) 0:00:47.507 ****** 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, 55cef154-2515-47d7-8903-e835997fe605 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 55cef154-2515-47d7-8903-e835997fe605 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.032) 0:00:47.540 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.021) 0:00:47.562 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.160) 0:00:47.722 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.070) 0:00:47.792 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.101) 0:00:47.893 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.090) 0:00:47.984 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.036) 0:00:48.020 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.044) 0:00:48.064 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:45 +0000 (0:00:00.821) 0:00:48.886 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.722) 0:00:49.608 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.073) 0:00:49.682 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.029) 0:00:49.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.030) 0:00:49.742 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.050) 0:00:49.792 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.021) 0:00:49.813 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.022) 0:00:49.836 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.030) 0:00:49.866 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.244) 0:00:50.110 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.074) 0:00:50.184 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.042) 0:00:50.227 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.048) 0:00:50.275 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.415) 0:00:50.691 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.046) 0:00:50.737 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.039) 0:00:50.777 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.046) 0:00:50.824 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.032) 0:00:50.856 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.155) 0:00:51.012 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.098) 0:00:51.110 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.081) 0:00:51.191 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.059) 0:00:51.251 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.079) 0:00:51.330 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.070) 0:00:51.401 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.063) 0:00:51.465 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:48 +0000 (0:00:00.749) 0:00:52.215 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.643) 0:00:52.858 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.056) 0:00:52.915 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.046) 0:00:52.961 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.023) 0:00:52.985 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.196) 0:00:53.181 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.025) 0:00:53.206 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.024) 0:00:53.230 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.026) 0:00:53.257 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.226) 0:00:53.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.028) 0:00:53.513 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.032) 0:00:53.545 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:49 +0000 (0:00:00.022) 0:00:53.568 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.404) 0:00:53.973 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.026) 0:00:53.999 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.038) 0:00:54.038 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.048) 0:00:54.087 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.021) 0:00:54.108 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.129) 0:00:54.238 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.051) 0:00:54.290 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.072) 0:00:54.362 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.029) 0:00:54.391 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:23:50 +0000 (0:00:00.136) 0:00:54.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.047) 0:00:54.576 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023081", "end": "2024-02-13 21:23:51.164402", "rc": 1, "start": "2024-02-13 21:23:51.141321" } 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.212) 0:00:54.788 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.044) 0:00:54.832 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.032) 0:00:54.865 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.038) 0:00:54.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.055) 0:00:54.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.061) 0:00:55.019 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.040) 0:00:55.060 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.077) 0:00:55.138 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.097) 0:00:55.236 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.150) 0:00:55.386 ****** 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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.037) 0:00:55.424 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.110) 0:00:55.534 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.054) 0:00:55.589 ****** 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.046446", "end": "2024-02-13 21:23:52.217593", "rc": 1, "start": "2024-02-13 21:23:52.171147" } 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_rewrited8haelme/tests/playbooks/tests_states.yml:126 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.231) 0:00:55.820 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.038) 0:00:55.859 ****** 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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.024) 0:00:55.883 ****** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.044) 0:00:55.927 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.044) 0:00:55.971 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.082) 0:00:56.054 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003502", "end": "2024-02-13 21:23:52.636974", "rc": 0, "start": "2024-02-13 21:23:52.633472" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.201) 0:00:56.255 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.060) 0:00:56.316 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.073) 0:00:56.389 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.132) 0:00:56.521 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.094) 0:00:56.616 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.041) 0:00:56.657 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.031) 0:00:56.688 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.032) 0:00:56.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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.023) 0:00:56.744 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.861) 0:00:57.606 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.681) 0:00:58.288 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.033) 0:00:58.322 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.030) 0:00:58.352 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.059) 0:00:58.411 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.100) 0:00:58.511 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.024) 0:00:58.536 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:55 +0000 (0:00:00.069) 0:00:58.605 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:55 +0000 (0:00:00.187) 0:00:58.793 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:55 +0000 (0:00:00.318) 0:00:59.111 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:55 +0000 (0:00:00.058) 0:00:59.169 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:55 +0000 (0:00:00.029) 0:00:59.199 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:55 +0000 (0:00:00.036) 0:00:59.236 ****** 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, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.428) 0:00:59.664 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.028) 0:00:59.693 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.078) 0:00:59.772 ****** 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, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.074) 0:00:59.846 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.071) 0:00:59.918 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.224) 0:01:00.143 ****** 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, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.041) 0:01:00.185 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.057) 0:01:00.242 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.088) 0:01:00.330 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.047) 0:01:00.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.053) 0:01:00.431 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:23:56 +0000 (0:00:00.056) 0:01:00.487 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:23:57 +0000 (0:00:00.818) 0:01:01.305 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.726) 0:01:02.032 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.052) 0:01:02.084 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.029) 0:01:02.113 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.050) 0:01:02.164 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.046) 0:01:02.211 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.063) 0:01:02.274 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.040) 0:01:02.315 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.066) 0:01:02.381 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:23:59 +0000 (0:00:00.401) 0:01:02.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:23:59 +0000 (0:00:00.035) 0:01:02.819 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:23:59 +0000 (0:00:00.045) 0:01:02.864 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:23:59 +0000 (0:00:00.023) 0:01:02.888 ****** 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, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:23:59 +0000 (0:00:00.350) 0:01:03.238 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:23:59 +0000 (0:00:00.053) 0:01:03.292 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:23:59 +0000 (0:00:00.040) 0:01:03.332 ****** 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, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d3a1d37c-f68f-4e96-bef5-75cf4b9244a3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:23:59 +0000 (0:00:00.040) 0:01:03.373 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:23:59 +0000 (0:00:00.041) 0:01:03.415 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 21:24:00 +0000 (0:00:00.207) 0:01:03.622 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:24:00 +0000 (0:00:00.068) 0:01:03.691 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:24:00 +0000 (0:00:00.051) 0:01:03.742 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:24:00 +0000 (0:00:00.034) 0:01:03.777 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:24:00 +0000 (0:00:00.048) 0:01:03.826 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:24:00 +0000 (0:00:00.037) 0:01:03.863 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:24:01 +0000 (0:00:00.748) 0:01:04.612 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:24:01 +0000 (0:00:00.676) 0:01:05.288 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:24:01 +0000 (0:00:00.022) 0:01:05.310 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:24:01 +0000 (0:00:00.021) 0:01:05.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:24:01 +0000 (0:00:00.029) 0:01:05.361 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:24:01 +0000 (0:00:00.050) 0:01:05.412 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:24:01 +0000 (0:00:00.023) 0:01:05.436 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:24:01 +0000 (0:00:00.034) 0:01:05.470 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:24:01 +0000 (0:00:00.025) 0:01:05.495 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:24:02 +0000 (0:00:00.259) 0:01:05.755 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:24:02 +0000 (0:00:00.062) 0:01:05.817 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:24:02 +0000 (0:00:00.091) 0:01:05.908 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:24:02 +0000 (0:00:00.105) 0:01:06.014 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:24:02 +0000 (0:00:00.496) 0:01:06.511 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:24:02 +0000 (0:00:00.038) 0:01:06.550 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.087) 0:01:06.638 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.035) 0:01:06.673 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.024) 0:01:06.698 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.214) 0:01:06.912 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.074) 0:01:06.987 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.051) 0:01:07.038 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.088) 0:01:07.127 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.080) 0:01:07.208 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.041) 0:01:07.249 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:24:03 +0000 (0:00:00.039) 0:01:07.288 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:24:04 +0000 (0:00:00.763) 0:01:08.051 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.839) 0:01:08.890 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.025) 0:01:08.916 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.041) 0:01:08.957 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.034) 0:01:08.991 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.054) 0:01:09.045 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.046) 0:01:09.091 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.050) 0:01:09.142 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.053) 0:01:09.196 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.267) 0:01:09.464 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.031) 0:01:09.495 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.022) 0:01:09.518 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:24:05 +0000 (0:00:00.023) 0:01:09.541 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:24:06 +0000 (0:00:00.320) 0:01:09.861 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:24:06 +0000 (0:00:00.056) 0:01:09.918 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:24:06 +0000 (0:00:00.034) 0:01:09.952 ****** 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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:24:06 +0000 (0:00:00.033) 0:01:09.986 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:24:06 +0000 (0:00:00.032) 0:01:10.018 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 21:24:06 +0000 (0:00:00.173) 0:01:10.192 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 21:24:06 +0000 (0:00:00.084) 0:01:10.276 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:24:06 +0000 (0:00:00.145) 0:01:10.421 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:24:06 +0000 (0:00:00.030) 0:01:10.452 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.175) 0:01:10.628 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.052) 0:01:10.680 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022155", "end": "2024-02-13 21:24:07.243338", "rc": 1, "start": "2024-02-13 21:24:07.221183" } 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.169) 0:01:10.849 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.022) 0:01:10.871 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.025) 0:01:10.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.022) 0:01:10.919 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.023) 0:01:10.942 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.025) 0:01:10.968 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.022) 0:01:10.990 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.401358", "end": "2024-02-13 21:24:07.927467", "rc": 0, "start": "2024-02-13 21:24:07.526109" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 13 February 2024 21:24:07 +0000 (0:00:00.561) 0:01:11.552 ****** 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_rewrited8haelme/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 13 February 2024 21:24:08 +0000 (0:00:00.038) 0:01:11.591 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 21:24:08 +0000 (0:00:00.075) 0:01:11.666 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:24:08 +0000 (0:00:00.093) 0:01:11.760 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:24:08 +0000 (0:00:00.087) 0:01:11.847 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:24:08 +0000 (0:00:00.147) 0:01:11.995 ****** 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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 21:24:08 +0000 (0:00:00.048) 0:01:12.044 ****** 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_rewrited8haelme/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 21:24:08 +0000 (0:00:00.029) 0:01:12.073 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 21:24:08 +0000 (0:00:00.089) 0:01:12.163 ****** 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.046668", "end": "2024-02-13 21:24:08.793510", "rc": 1, "start": "2024-02-13 21:24:08.746842" } 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 [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 21:24:08 +0000 (0:00:00.239) 0:01:12.403 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.007487", "end": "2024-02-13 21:24:08.946595", "rc": 0, "start": "2024-02-13 21:24:08.939108" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:bf:52:8b:e5:13 brd ff:ff:ff:ff:ff:ff inet 10.31.15.233/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 2542sec preferred_lft 2542sec inet6 fe80::8bf:52ff:fe8b:e513/64 scope link valid_lft forever preferred_lft forever 36: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether d6:4e:b6:22:b7:e6 brd ff:ff:ff:ff:ff:ff 45: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 6a:5a:d6:07:36:68 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.233 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 13 February 2024 21:24:09 +0000 (0:00:00.221) 0:01:12.624 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Tuesday 13 February 2024 21:24:09 +0000 (0:00:00.093) 0:01:12.717 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.23s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.76s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.44s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.30s /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.24s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.22s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Re-test connectivity ----------------------- 1.12s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewrited8haelme/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_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-bond_options_rewrited8haelme/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. ---^---^---^---^---^---