# 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_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.551) 0:00:00.568 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.024) 0:00:00.593 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.218) 0:00:00.812 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.191) 0:00:01.003 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.021) 0:00:01.025 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.017) 0:00:01.042 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.029) 0:00:01.071 ****** 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_rewritep2q7hl4s/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.198) 0:00:01.270 ****** 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_rewritep2q7hl4s/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.438) 0:00:01.709 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.189177", "end": "2024-02-06 17:25:50.391687", "rc": 0, "start": "2024-02-06 17:25:50.202510" } 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_rewritep2q7hl4s/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.312) 0:00:02.022 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.010) 0:00:02.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.009) 0:00:02.041 ****** 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_rewritep2q7hl4s/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.011) 0:00:02.053 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.388) 0:00:02.441 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.013) 0:00:02.455 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.022) 0:00:02.477 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.011) 0:00:02.488 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.033) 0:00:02.522 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.014) 0:00:02.536 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.014) 0:00:02.551 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003232", "end": "2024-02-06 17:25:51.044450", "rc": 0, "start": "2024-02-06 17:25:51.041218" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.118) 0:00:02.669 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.012) 0:00:02.681 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.010) 0:00:02.692 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.021) 0:00:02.714 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010295", "end": "2024-02-06 17:25:51.214784", "rc": 1, "start": "2024-02-06 17:25:51.204489" } 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_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.125) 0:00:02.839 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.014) 0:00:02.853 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.129) 0:00:02.983 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.015) 0:00:02.998 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.020) 0:00:03.018 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.041) 0:00:03.060 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.069) 0:00:03.129 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.011) 0:00:03.140 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.009) 0:00:03.150 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.009) 0:00:03.160 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:25:52 +0000 (0:00:00.818) 0:00:03.978 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.809) 0:00:04.788 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.052) 0:00:04.840 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.035) 0:00:04.876 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.021) 0:00:04.897 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.043) 0:00:04.940 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.019) 0:00:04.960 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.043) 0:00:05.003 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.083) 0:00:05.086 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.408) 0:00:05.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.049) 0:00:05.544 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.063) 0:00:05.608 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.027) 0:00:05.636 ****** 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, 30a97bd8-ae0d-4e33-8454-bdaf0368c1d3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.471) 0:00:06.108 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.034) 0:00:06.142 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a97bd8-ae0d-4e33-8454-bdaf0368c1d3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.022) 0:00:06.164 ****** 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, 30a97bd8-ae0d-4e33-8454-bdaf0368c1d3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a97bd8-ae0d-4e33-8454-bdaf0368c1d3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.022) 0:00:06.186 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.021) 0:00:06.208 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.254) 0:00:06.463 ****** 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, 30a97bd8-ae0d-4e33-8454-bdaf0368c1d3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a97bd8-ae0d-4e33-8454-bdaf0368c1d3" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.037) 0:00:06.500 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.055) 0:00:06.555 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.040) 0:00:06.595 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.027) 0:00:06.623 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240354.4765778, "block_size": 4096, "blocks": 8, "ctime": 1707240354.3945806, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4429273, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240354.3945806, "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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.149) 0:00:06.773 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.025) 0:00:06.798 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025208", "end": "2024-02-06 17:25:55.330316", "rc": 0, "start": "2024-02-06 17:25:55.305108" } 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.172) 0:00:06.971 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.035) 0:00:07.006 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.027) 0:00:07.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.044) 0:00:07.078 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.042) 0:00:07.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.032) 0:00:07.153 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.034) 0:00:07.188 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.035) 0:00:07.224 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.046) 0:00:07.270 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.049) 0:00:07.320 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.052) 0:00:07.372 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240354.4075801, "block_size": 4096, "blocks": 0, "ctime": 1707240354.3965807, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17511, "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": 1707240354.3965807, "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_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.151) 0:00:07.524 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.046) 0:00:07.570 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.025) 0:00:07.596 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.040) 0:00:07.636 ****** 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.075189", "end": "2024-02-06 17:25:56.203837", "rc": 1, "start": "2024-02-06 17:25:56.128648" } STDOUT: Connection 'statebr' (30a97bd8-ae0d-4e33-8454-bdaf0368c1d3) 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_rewritep2q7hl4s/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.213) 0:00:07.850 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.039) 0:00:07.890 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.025) 0:00:07.915 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.055) 0:00:07.971 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.051) 0:00:08.022 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.074) 0:00:08.096 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004272", "end": "2024-02-06 17:25:57.593857", "rc": 0, "start": "2024-02-06 17:25:56.589585" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:25:57 +0000 (0:00:01.148) 0:00:09.245 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.023) 0:00:09.269 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.021) 0:00:09.290 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.044) 0:00:09.335 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006913", "end": "2024-02-06 17:25:57.832302", "rc": 1, "start": "2024-02-06 17:25:57.825389" } 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_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.130) 0:00:09.465 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.032) 0:00:09.498 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:25:58 +0000 (0:00:00.137) 0:00:09.636 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:25:58 +0000 (0:00:00.025) 0:00:09.661 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 17:25:58 +0000 (0:00:00.037) 0:00:09.699 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:25:58 +0000 (0:00:00.072) 0:00:09.771 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:25:58 +0000 (0:00:00.045) 0:00:09.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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:25:58 +0000 (0:00:00.028) 0:00:09.845 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:25:58 +0000 (0:00:00.039) 0:00:09.884 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:25:58 +0000 (0:00:00.026) 0:00:09.911 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.761) 0:00:10.672 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.653) 0:00:11.325 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.030) 0:00:11.356 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.025) 0:00:11.381 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.021) 0:00:11.403 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.170) 0:00:11.574 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.026) 0:00:11.601 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.026) 0:00:11.628 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.025) 0:00:11.653 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.224) 0:00:11.878 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.025) 0:00:11.904 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.027) 0:00:11.931 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.043) 0:00:11.974 ****** 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, a61a69fe-d252-4251-b3cb-693cafcabf10 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.311) 0:00:12.286 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.044) 0:00:12.330 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a61a69fe-d252-4251-b3cb-693cafcabf10" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.046) 0:00:12.377 ****** 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, a61a69fe-d252-4251-b3cb-693cafcabf10\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a61a69fe-d252-4251-b3cb-693cafcabf10" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.034) 0:00:12.411 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.027) 0:00:12.439 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.160) 0:00:12.599 ****** 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, a61a69fe-d252-4251-b3cb-693cafcabf10\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a61a69fe-d252-4251-b3cb-693cafcabf10" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.024) 0:00:12.624 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.043) 0:00:12.667 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.067) 0:00:12.735 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.128) 0:00:12.864 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.030) 0:00:12.894 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.039) 0:00:12.933 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.028) 0:00:12.962 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240360.6323597, "block_size": 4096, "blocks": 8, "ctime": 1707240360.6323597, "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": 1707240360.6323597, "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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.173) 0:00:13.135 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.055) 0:00:13.190 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021551", "end": "2024-02-06 17:26:01.715406", "rc": 0, "start": "2024-02-06 17:26:01.693855" } 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.170) 0:00:13.361 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.027) 0:00:13.389 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.025) 0:00:13.414 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.024) 0:00:13.439 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.023) 0:00:13.462 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.031) 0:00:13.493 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.026) 0:00:13.519 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.040) 0:00:13.559 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.041) 0:00:13.601 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.069) 0:00:13.671 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.038) 0:00:13.709 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.045) 0:00:13.755 ****** 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.047650", "end": "2024-02-06 17:26:02.298082", "rc": 1, "start": "2024-02-06 17:26:02.250432" } STDOUT: Connection 'statebr' (a61a69fe-d252-4251-b3cb-693cafcabf10) 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_rewritep2q7hl4s/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.179) 0:00:13.934 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.042) 0:00:13.977 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.032) 0:00:14.009 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.060) 0:00:14.070 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.037) 0:00:14.107 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.035) 0:00:14.143 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003294", "end": "2024-02-06 17:26:02.653423", "rc": 0, "start": "2024-02-06 17:26:02.650129" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.163) 0:00:14.306 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.022) 0:00:14.329 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.023) 0:00:14.352 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.039) 0:00:14.392 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.057) 0:00:14.449 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.039) 0:00:14.489 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.025) 0:00:14.514 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.021) 0:00:14.536 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.022) 0:00:14.558 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:03 +0000 (0:00:00.748) 0:00:15.307 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.652) 0:00:15.960 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.022) 0:00:15.983 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.020) 0:00:16.003 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.043) 0:00:16.047 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.046) 0:00:16.094 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.021) 0:00:16.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.021) 0:00:16.137 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.023) 0:00:16.160 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.226) 0:00:16.387 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.027) 0:00:16.415 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.032) 0:00:16.448 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.024) 0:00:16.472 ****** 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, af1e45bd-7861-473e-96c9-7c2ce1aec3f2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.345) 0:00:16.818 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.022) 0:00:16.840 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af1e45bd-7861-473e-96c9-7c2ce1aec3f2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.029) 0:00:16.869 ****** 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, af1e45bd-7861-473e-96c9-7c2ce1aec3f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af1e45bd-7861-473e-96c9-7c2ce1aec3f2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.034) 0:00:16.904 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.034) 0:00:16.938 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.149) 0:00:17.088 ****** 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, af1e45bd-7861-473e-96c9-7c2ce1aec3f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af1e45bd-7861-473e-96c9-7c2ce1aec3f2" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.022) 0:00:17.110 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.092) 0:00:17.203 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.071) 0:00:17.274 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.047) 0:00:17.321 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.025) 0:00:17.347 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.020) 0:00:17.367 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.021) 0:00:17.389 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:06 +0000 (0:00:00.736) 0:00:18.125 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.722) 0:00:18.847 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.062) 0:00:18.910 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.034) 0:00:18.945 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.034) 0:00:18.980 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.042) 0:00:19.022 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.031) 0:00:19.054 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.050) 0:00:19.105 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.041) 0:00:19.146 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.249) 0:00:19.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.025) 0:00:19.422 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.038) 0:00:19.460 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.040) 0:00:19.501 ****** 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, af1e45bd-7861-473e-96c9-7c2ce1aec3f2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.305) 0:00:19.806 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.028) 0:00:19.835 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, af1e45bd-7861-473e-96c9-7c2ce1aec3f2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.023) 0:00:19.859 ****** 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, af1e45bd-7861-473e-96c9-7c2ce1aec3f2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, af1e45bd-7861-473e-96c9-7c2ce1aec3f2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.025) 0:00:19.884 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.022) 0:00:19.907 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.124) 0:00:20.032 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.072) 0:00:20.104 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.036) 0:00:20.141 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240365.1302006, "block_size": 4096, "blocks": 0, "ctime": 1707240365.1212008, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17511, "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": 1707240365.1212008, "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_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.137) 0:00:20.278 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.027) 0:00:20.306 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.051) 0:00:20.358 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.033) 0:00:20.391 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240365.1202009, "block_size": 4096, "blocks": 8, "ctime": 1707240365.119201, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240365.119201, "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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.134) 0:00:20.525 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.023) 0:00:20.549 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022371", "end": "2024-02-06 17:26:09.062888", "rc": 0, "start": "2024-02-06 17:26:09.040517" } 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.158) 0:00:20.707 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.029) 0:00:20.736 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.029) 0:00:20.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.022) 0:00:20.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.022) 0:00:20.811 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.025) 0:00:20.836 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.058) 0:00:20.895 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.049) 0:00:20.945 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.023) 0:00:20.968 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.019) 0:00:20.988 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.031) 0:00:21.020 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.060) 0:00:21.080 ****** 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.077417", "end": "2024-02-06 17:26:09.656834", "rc": 1, "start": "2024-02-06 17:26:09.579417" } STDOUT: Connection 'statebr' (af1e45bd-7861-473e-96c9-7c2ce1aec3f2) successfully deleted. STDERR: (process:18703): GLib-GIO-WARNING **: 17:26:09.636: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/13 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_rewritep2q7hl4s/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.213) 0:00:21.294 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.044) 0:00:21.338 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.031) 0:00:21.370 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.054) 0:00:21.425 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.051) 0:00:21.477 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.047) 0:00:21.524 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003111", "end": "2024-02-06 17:26:10.023914", "rc": 0, "start": "2024-02-06 17:26:10.020803" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.135) 0:00:21.660 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.024) 0:00:21.685 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.056) 0:00:21.742 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.040) 0:00:21.782 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.036) 0:00:21.819 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.047) 0:00:21.866 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.028) 0:00:21.895 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.058) 0:00:21.953 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.039) 0:00:21.992 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.748) 0:00:22.741 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.656) 0:00:23.398 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.022) 0:00:23.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.020) 0:00:23.441 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.021) 0:00:23.463 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.049) 0:00:23.513 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.021) 0:00:23.534 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.020) 0:00:23.555 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.024) 0:00:23.579 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.220) 0:00:23.799 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.023) 0:00:23.823 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.019) 0:00:23.843 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.019) 0:00:23.862 ****** 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, 9a48e878-af43-4c3e-b963-d92e1eff8ca0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.318) 0:00:24.181 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.022) 0:00:24.204 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9a48e878-af43-4c3e-b963-d92e1eff8ca0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.024) 0:00:24.228 ****** 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, 9a48e878-af43-4c3e-b963-d92e1eff8ca0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9a48e878-af43-4c3e-b963-d92e1eff8ca0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.043) 0:00:24.272 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.095) 0:00:24.367 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.155) 0:00:24.522 ****** 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, 9a48e878-af43-4c3e-b963-d92e1eff8ca0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9a48e878-af43-4c3e-b963-d92e1eff8ca0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.043) 0:00:24.566 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.040) 0:00:24.606 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.044) 0:00:24.650 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.028) 0:00:24.678 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.026) 0:00:24.705 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.023) 0:00:24.728 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.751) 0:00:25.480 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.701) 0:00:26.181 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.025) 0:00:26.206 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.028) 0:00:26.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.022) 0:00:26.257 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.046) 0:00:26.304 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.021) 0:00:26.325 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.020) 0:00:26.346 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.040) 0:00:26.386 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.240) 0:00:26.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.023) 0:00:26.650 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.019) 0:00:26.670 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.019) 0:00:26.690 ****** 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, 9a48e878-af43-4c3e-b963-d92e1eff8ca0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.269) 0:00:26.960 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.020) 0:00:26.980 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9a48e878-af43-4c3e-b963-d92e1eff8ca0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.020) 0:00:27.001 ****** 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, 9a48e878-af43-4c3e-b963-d92e1eff8ca0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9a48e878-af43-4c3e-b963-d92e1eff8ca0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.021) 0:00:27.022 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.021) 0:00:27.044 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.193) 0:00:27.237 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.044) 0:00:27.282 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.057) 0:00:27.340 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.058) 0:00:27.399 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.025) 0:00:27.424 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.021) 0:00:27.445 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.024) 0:00:27.470 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.738) 0:00:28.208 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.711) 0:00:28.919 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.025) 0:00:28.945 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.020) 0:00:28.966 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.023) 0:00:28.989 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.069) 0:00:29.058 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.021) 0:00:29.080 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.029) 0:00:29.109 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.030) 0:00:29.140 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.244) 0:00:29.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.036) 0:00:29.421 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.060) 0:00:29.482 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.023) 0:00:29.506 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.330) 0:00:29.836 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.038) 0:00:29.874 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.035) 0:00:29.910 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.025) 0:00:29.935 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.019) 0:00:29.955 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.152) 0:00:30.107 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.041) 0:00:30.149 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.032) 0:00:30.182 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240372.5039394, "block_size": 4096, "blocks": 0, "ctime": 1707240372.49294, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17513, "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": 1707240372.49294, "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_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.129) 0:00:30.312 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.022) 0:00:30.334 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.035) 0:00:30.369 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.021) 0:00:30.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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.129) 0:00:30.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.026) 0:00:30.547 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021788", "end": "2024-02-06 17:26:19.064518", "rc": 1, "start": "2024-02-06 17:26:19.042730" } 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.153) 0:00:30.700 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.022) 0:00:30.723 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.021) 0:00:30.745 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.025) 0:00:30.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.029) 0:00:30.800 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.051) 0:00:30.852 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.023) 0:00:30.875 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.020) 0:00:30.896 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.022) 0:00:30.918 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.039) 0:00:30.958 ****** 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.079781", "end": "2024-02-06 17:26:19.530920", "rc": 1, "start": "2024-02-06 17:26:19.451139" } STDOUT: Connection 'statebr' (9a48e878-af43-4c3e-b963-d92e1eff8ca0) successfully deleted. STDERR: (process:19372): GLib-GIO-WARNING **: 17:26:19.510: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/14 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_rewritep2q7hl4s/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.211) 0:00:31.169 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.040) 0:00:31.209 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.032) 0:00:31.241 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.043) 0:00:31.284 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.037) 0:00:31.321 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.039) 0:00:31.361 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003367", "end": "2024-02-06 17:26:19.859868", "rc": 0, "start": "2024-02-06 17:26:19.856501" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.149) 0:00:31.511 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.031) 0:00:31.542 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.072) 0:00:31.614 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.046) 0:00:31.661 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.036) 0:00:31.697 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.049) 0:00:31.746 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.033) 0:00:31.780 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.027) 0:00:31.807 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.027) 0:00:31.834 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.751) 0:00:32.586 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.657) 0:00:33.243 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.043) 0:00:33.287 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.023) 0:00:33.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.027) 0:00:33.337 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.045) 0:00:33.383 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.022) 0:00:33.405 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.027) 0:00:33.433 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.032) 0:00:33.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.222) 0:00:33.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.024) 0:00:33.712 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.020) 0:00:33.733 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.024) 0:00:33.758 ****** 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, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.356) 0:00:34.115 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.020) 0:00:34.136 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.022) 0:00:34.158 ****** 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, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.024) 0:00:34.183 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.020) 0:00:34.203 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.126) 0:00:34.330 ****** 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, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.048) 0:00:34.378 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.035) 0:00:34.413 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.038) 0:00:34.452 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.032) 0:00:34.484 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.024) 0:00:34.508 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.020) 0:00:34.528 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:23 +0000 (0:00:00.736) 0:00:35.265 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.674) 0:00:35.939 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.021) 0:00:35.961 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.041) 0:00:36.002 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.020) 0:00:36.022 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.044) 0:00:36.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.022) 0:00:36.089 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.022) 0:00:36.112 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.031) 0:00:36.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.223) 0:00:36.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.024) 0:00:36.391 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.021) 0:00:36.413 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.019) 0:00:36.433 ****** 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, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.275) 0:00:36.708 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.020) 0:00:36.729 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.021) 0:00:36.750 ****** 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, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8aaf95d-2af5-4fb3-8f0b-8c6add1ebb83 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.020) 0:00:36.771 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.019) 0:00:36.791 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.138) 0:00:36.930 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.064) 0:00:36.994 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.066) 0:00:37.061 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.036) 0:00:37.097 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.021) 0:00:37.119 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.023) 0:00:37.142 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.753) 0:00:37.895 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.632) 0:00:38.528 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.022) 0:00:38.550 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.021) 0:00:38.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.022) 0:00:38.593 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.099) 0:00:38.693 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.023) 0:00:38.716 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.022) 0:00:38.738 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.031) 0:00:38.770 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.244) 0:00:39.015 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.025) 0:00:39.041 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.020) 0:00:39.061 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.020) 0:00:39.081 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.306) 0:00:39.387 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.020) 0:00:39.407 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.022) 0:00:39.430 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.022) 0:00:39.453 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.020) 0:00:39.473 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.126) 0:00:39.599 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.040) 0:00:39.640 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.065) 0:00:39.705 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.039) 0:00:39.744 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.031) 0:00:39.776 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.020) 0:00:39.797 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.023) 0:00:39.820 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.740) 0:00:40.561 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.683) 0:00:41.245 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.044) 0:00:41.289 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.022) 0:00:41.312 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.034) 0:00:41.346 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.093) 0:00:41.439 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.029) 0:00:41.468 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.021) 0:00:41.489 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.024) 0:00:41.514 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.219) 0:00:41.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.024) 0:00:41.758 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.021) 0:00:41.780 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.020) 0:00:41.801 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.379) 0:00:42.181 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.039) 0:00:42.220 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.050) 0:00:42.270 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.034) 0:00:42.304 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.029) 0:00:42.334 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.127) 0:00:42.462 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.039) 0:00:42.501 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.060) 0:00:42.561 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.026) 0:00:42.588 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.144) 0:00:42.732 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.031) 0:00:42.764 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019676", "end": "2024-02-06 17:26:31.282813", "rc": 1, "start": "2024-02-06 17:26:31.263137" } 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.161) 0:00:42.925 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.024) 0:00:42.950 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.025) 0:00:42.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.022) 0:00:42.998 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.026) 0:00:43.024 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.032) 0:00:43.057 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.024) 0:00:43.082 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.055) 0:00:43.138 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.045) 0:00:43.183 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.144) 0:00:43.327 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.024) 0:00:43.351 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.051) 0:00:43.402 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.043) 0:00:43.446 ****** 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.044523", "end": "2024-02-06 17:26:31.999410", "rc": 1, "start": "2024-02-06 17:26:31.954887" } 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_rewritep2q7hl4s/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.191) 0:00:43.637 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.037) 0:00:43.675 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.021) 0:00:43.697 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.056) 0:00:43.754 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.036) 0:00:43.791 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.032) 0:00:43.824 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003307", "end": "2024-02-06 17:26:32.319693", "rc": 0, "start": "2024-02-06 17:26:32.316386" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.132) 0:00:43.956 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.023) 0:00:43.979 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.025) 0:00:44.005 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.049) 0:00:44.054 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.060) 0:00:44.114 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.040) 0:00:44.155 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.027) 0:00:44.183 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.025) 0:00:44.208 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.033) 0:00:44.242 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:33 +0000 (0:00:00.752) 0:00:44.995 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.637) 0:00:45.633 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.036) 0:00:45.670 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.040) 0:00:45.710 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.051) 0:00:45.762 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.059) 0:00:45.822 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.022) 0:00:45.844 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.020) 0:00:45.864 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.024) 0:00:45.888 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.225) 0:00:46.114 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.028) 0:00:46.143 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.022) 0:00:46.165 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.020) 0:00:46.185 ****** 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, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.334) 0:00:46.520 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.031) 0:00:46.551 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.037) 0:00:46.588 ****** 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, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.052) 0:00:46.641 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.052) 0:00:46.694 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.189) 0:00:46.883 ****** 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, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.037) 0:00:46.920 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.078) 0:00:46.999 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.039) 0:00:47.038 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.026) 0:00:47.065 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.021) 0:00:47.086 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.020) 0:00:47.107 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.755) 0:00:47.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.674) 0:00:48.538 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.024) 0:00:48.562 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.045) 0:00:48.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.026) 0:00:48.635 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.042) 0:00:48.677 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.043) 0:00:48.721 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.021) 0:00:48.742 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.030) 0:00:48.773 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.230) 0:00:49.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.043) 0:00:49.047 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.025) 0:00:49.073 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.022) 0:00:49.095 ****** 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, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.271) 0:00:49.367 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.027) 0:00:49.394 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.023) 0:00:49.418 ****** 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, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3f3f445c-fb7d-4bc2-a20a-f62e7e56f6a5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.031) 0:00:49.449 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.022) 0:00:49.471 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.126) 0:00:49.597 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.038) 0:00:49.636 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.069) 0:00:49.705 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.025) 0:00:49.731 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.022) 0:00:49.753 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.024) 0:00:49.778 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.737) 0:00:50.515 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.632) 0:00:51.147 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.029) 0:00:51.177 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.028) 0:00:51.206 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.041) 0:00:51.248 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.052) 0:00:51.301 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.040) 0:00:51.341 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.045) 0:00:51.387 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.066) 0:00:51.453 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.278) 0:00:51.732 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.027) 0:00:51.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.050) 0:00:51.811 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.046) 0:00:51.857 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.376) 0:00:52.234 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.020) 0:00:52.255 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.027) 0:00:52.282 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.023) 0:00:52.306 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.022) 0:00:52.328 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.126) 0:00:52.455 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.037) 0:00:52.493 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.034) 0:00:52.527 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.066) 0:00:52.594 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.025) 0:00:52.619 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.020) 0:00:52.640 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.021) 0:00:52.661 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.742) 0:00:53.403 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.631) 0:00:54.034 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.022) 0:00:54.057 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.019) 0:00:54.077 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.022) 0:00:54.099 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.043) 0:00:54.142 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.034) 0:00:54.176 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.035) 0:00:54.212 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.056) 0:00:54.268 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.230) 0:00:54.499 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.026) 0:00:54.525 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.022) 0:00:54.548 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.025) 0:00:54.573 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.305) 0:00:54.879 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.033) 0:00:54.913 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.040) 0:00:54.953 ****** 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_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.027) 0:00:54.981 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.021) 0:00:55.002 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.122) 0:00:55.125 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.041) 0:00:55.167 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.037) 0:00:55.204 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.022) 0:00:55.227 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.175) 0:00:55.402 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.030) 0:00:55.432 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020096", "end": "2024-02-06 17:26:43.956301", "rc": 1, "start": "2024-02-06 17:26:43.936205" } 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.158) 0:00:55.591 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.023) 0:00:55.614 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.021) 0:00:55.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.021) 0:00:55.657 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.021) 0:00:55.678 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.020) 0:00:55.699 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.022) 0:00:55.722 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.397635", "end": "2024-02-06 17:26:44.612365", "rc": 0, "start": "2024-02-06 17:26:44.214730" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.526) 0:00:56.249 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.020) 0:00:56.270 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.022) 0:00:56.292 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.042) 0:00:56.334 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.033) 0:00:56.367 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.153) 0:00:56.520 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.026) 0:00:56.547 ****** 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_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.022) 0:00:56.570 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.047) 0:00:56.618 ****** 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.043006", "end": "2024-02-06 17:26:45.161792", "rc": 1, "start": "2024-02-06 17:26:45.118786" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.165) 0:00:56.784 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.83s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.30s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.12s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.06s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.94s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Re-test connectivity ----------------------- 0.87s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.81s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewritep2q7hl4s/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. ---^---^---^---^---^---