# 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_rewritetycvfnbo/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_rewritetycvfnbo/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 00:37:08 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 00:37:08 +0000 (0:00:00.560) 0:00:00.572 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:37:08 +0000 (0:00:00.022) 0:00:00.594 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 00:37:09 +0000 (0:00:00.235) 0:00:00.830 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 00:37:09 +0000 (0:00:00.193) 0:00:01.023 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 00:37:09 +0000 (0:00:00.019) 0:00:01.043 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 00:37:09 +0000 (0:00:00.016) 0:00:01.060 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:37:09 +0000 (0:00:00.029) 0:00:01.089 **** 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_rewritetycvfnbo/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:37:09 +0000 (0:00:00.189) 0:00:01.278 **** 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_rewritetycvfnbo/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:37:09 +0000 (0:00:00.452) 0:00:01.731 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.181169", "end": "2024-02-14 00:37:10.253904", "rc": 0, "start": "2024-02-14 00:37:10.072735" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/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/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/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=stock&content=centos 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/7/epel pkgdir = /var/cache/yum/x86_64/7/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_rewritetycvfnbo/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.303) 0:00:02.034 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.010) 0:00:02.044 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.009) 0:00:02.054 **** 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_rewritetycvfnbo/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.009) 0:00:02.063 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.373) 0:00:02.437 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.009) 0:00:02.446 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.014) 0:00:02.460 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.010) 0:00:02.471 **** 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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.031) 0:00:02.502 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.012) 0:00:02.515 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.012) 0:00:02.527 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003468", "end": "2024-02-14 00:37:10.871070", "rc": 0, "start": "2024-02-14 00:37:10.867602" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.122) 0:00:02.650 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.011) 0:00:02.661 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.010) 0:00:02.672 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 00:37:10 +0000 (0:00:00.019) 0:00:02.691 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011794", "end": "2024-02-14 00:37:11.041839", "rc": 1, "start": "2024-02-14 00:37:11.030045" } 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_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.129) 0:00:02.820 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.013) 0:00:02.834 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.122) 0:00:02.956 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.011) 0:00:02.968 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.016) 0:00:02.985 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.031) 0:00:03.016 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.067) 0:00:03.083 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.012) 0:00:03.095 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.009) 0:00:03.105 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:11 +0000 (0:00:00.010) 0:00:03.115 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:12 +0000 (0:00:00.782) 0:00:03.897 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:13 +0000 (0:00:01.078) 0:00:04.976 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.020) 0:00:04.996 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.020) 0:00:05.017 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.020) 0:00:05.037 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.042) 0:00:05.080 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.018) 0:00:05.099 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.019) 0:00:05.118 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.022) 0:00:05.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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.362) 0:00:05.503 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.023) 0:00:05.526 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.018) 0:00:05.545 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:13 +0000 (0:00:00.019) 0:00:05.565 **** 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, da45109b-e4ec-44cd-b5f8-3703ce007ece TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.449) 0:00:06.014 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.020) 0:00:06.035 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da45109b-e4ec-44cd-b5f8-3703ce007ece" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.042) 0:00:06.077 **** 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, da45109b-e4ec-44cd-b5f8-3703ce007ece\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da45109b-e4ec-44cd-b5f8-3703ce007ece" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.022) 0:00:06.100 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.020) 0:00:06.121 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.185) 0:00:06.307 **** 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, da45109b-e4ec-44cd-b5f8-3703ce007ece\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da45109b-e4ec-44cd-b5f8-3703ce007ece" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.022) 0:00:06.330 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.038) 0:00:06.368 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.036) 0:00:06.404 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.020) 0:00:06.425 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707871034.154259, "block_size": 4096, "blocks": 8, "ctime": 1707871034.153259, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707871034.153259, "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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.136) 0:00:06.562 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.021) 0:00:06.584 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023555", "end": "2024-02-14 00:37:14.950050", "rc": 0, "start": "2024-02-14 00:37:14.926495" } 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.155) 0:00:06.739 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:37:14 +0000 (0:00:00.022) 0:00:06.762 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.020) 0:00:06.783 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.021) 0:00:06.804 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.020) 0:00:06.825 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.045) 0:00:06.870 **** 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_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.023) 0:00:06.893 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.022) 0:00:06.916 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.020) 0:00:06.936 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.039) 0:00:06.976 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.032) 0:00:07.008 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707871034.1572587, "block_size": 4096, "blocks": 0, "ctime": 1707871034.1562588, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17651, "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": 1707871034.1562588, "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_rewritetycvfnbo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.133) 0:00:07.141 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.022) 0:00:07.163 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.019) 0:00:07.183 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.038) 0:00:07.221 **** 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.081916", "end": "2024-02-14 00:37:15.644085", "rc": 1, "start": "2024-02-14 00:37:15.562169" } STDOUT: Connection 'statebr' (da45109b-e4ec-44cd-b5f8-3703ce007ece) successfully deleted. STDERR: (process:30247): GLib-GIO-WARNING **: 00:37:15.624: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/38 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_rewritetycvfnbo/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.210) 0:00:07.432 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.033) 0:00:07.465 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.020) 0:00:07.486 **** 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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.092) 0:00:07.578 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.032) 0:00:07.610 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:37:15 +0000 (0:00:00.031) 0:00:07.642 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003638", "end": "2024-02-14 00:37:15.988511", "rc": 0, "start": "2024-02-14 00:37:15.984873" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.136) 0:00:07.778 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.020) 0:00:07.799 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.019) 0:00:07.819 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.041) 0:00:07.861 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007573", "end": "2024-02-14 00:37:16.210715", "rc": 1, "start": "2024-02-14 00:37:16.203142" } 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_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.138) 0:00:07.999 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.032) 0:00:08.031 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.132) 0:00:08.164 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.021) 0:00:08.186 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.036) 0:00:08.222 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.058) 0:00:08.281 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.040) 0:00:08.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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.026) 0:00:08.348 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.021) 0:00:08.369 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:16 +0000 (0:00:00.021) 0:00:08.390 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:17 +0000 (0:00:00.725) 0:00:09.116 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.946) 0:00:10.062 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.020) 0:00:10.083 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.020) 0:00:10.103 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.019) 0:00:10.123 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.041) 0:00:10.164 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.019) 0:00:10.184 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.019) 0:00:10.203 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.022) 0:00:10.225 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.230) 0:00:10.456 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.023) 0:00:10.480 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.019) 0:00:10.500 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:18 +0000 (0:00:00.018) 0:00:10.518 **** 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, f3719294-b455-4038-8ba9-48c464f99cf2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.291) 0:00:10.810 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.019) 0:00:10.829 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3719294-b455-4038-8ba9-48c464f99cf2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.020) 0:00:10.850 **** 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, f3719294-b455-4038-8ba9-48c464f99cf2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3719294-b455-4038-8ba9-48c464f99cf2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.020) 0:00:10.870 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.040) 0:00:10.911 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.129) 0:00:11.040 **** 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, f3719294-b455-4038-8ba9-48c464f99cf2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3719294-b455-4038-8ba9-48c464f99cf2" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.021) 0:00:11.062 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.040) 0:00:11.102 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.033) 0:00:11.136 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.131) 0:00:11.268 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.021) 0:00:11.289 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.035) 0:00:11.325 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.020) 0:00:11.345 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707871039.0031116, "block_size": 4096, "blocks": 8, "ctime": 1707871039.0031116, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25431, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707871039.0031116, "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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.134) 0:00:11.480 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.021) 0:00:11.501 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021297", "end": "2024-02-14 00:37:19.866944", "rc": 0, "start": "2024-02-14 00:37:19.845647" } 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.156) 0:00:11.657 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.023) 0:00:11.681 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:37:19 +0000 (0:00:00.022) 0:00:11.704 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.064) 0:00:11.768 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.022) 0:00:11.790 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.021) 0:00:11.811 **** 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_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.022) 0:00:11.834 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.021) 0:00:11.855 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.022) 0:00:11.878 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.019) 0:00:11.897 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.021) 0:00:11.919 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.039) 0:00:11.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.048273", "end": "2024-02-14 00:37:20.351475", "rc": 1, "start": "2024-02-14 00:37:20.303202" } STDOUT: Connection 'statebr' (f3719294-b455-4038-8ba9-48c464f99cf2) 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_rewritetycvfnbo/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.182) 0:00:12.140 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.034) 0:00:12.175 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.021) 0:00:12.197 **** 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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.042) 0:00:12.240 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.031) 0:00:12.272 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.055) 0:00:12.327 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003506", "end": "2024-02-14 00:37:20.675255", "rc": 0, "start": "2024-02-14 00:37:20.671749" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.137) 0:00:12.465 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.021) 0:00:12.487 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.020) 0:00:12.507 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.035) 0:00:12.542 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.033) 0:00:12.575 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.036) 0:00:12.612 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.024) 0:00:12.636 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.020) 0:00:12.656 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:20 +0000 (0:00:00.022) 0:00:12.679 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:21 +0000 (0:00:00.727) 0:00:13.406 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.923) 0:00:14.330 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.020) 0:00:14.351 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.018) 0:00:14.370 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.019) 0:00:14.389 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.041) 0:00:14.431 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.019) 0:00:14.450 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.019) 0:00:14.469 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.022) 0:00:14.492 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.229) 0:00:14.721 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:22 +0000 (0:00:00.024) 0:00:14.745 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.044) 0:00:14.790 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.019) 0:00:14.810 **** 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, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.328) 0:00:15.138 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.020) 0:00:15.159 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.021) 0:00:15.181 **** 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, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.020) 0:00:15.201 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.019) 0:00:15.221 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.130) 0:00:15.351 **** 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, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.021) 0:00:15.373 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.036) 0:00:15.409 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.039) 0:00:15.448 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.037) 0:00:15.486 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.024) 0:00:15.511 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.019) 0:00:15.531 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:23 +0000 (0:00:00.048) 0:00:15.580 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:24 +0000 (0:00:00.716) 0:00:16.296 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.921) 0:00:17.218 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.021) 0:00:17.240 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.019) 0:00:17.260 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.020) 0:00:17.280 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.041) 0:00:17.322 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.020) 0:00:17.342 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.039) 0:00:17.382 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.023) 0:00:17.406 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.230) 0:00:17.636 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.025) 0:00:17.662 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.020) 0:00:17.682 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:25 +0000 (0:00:00.021) 0:00:17.704 **** 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, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.280) 0:00:17.985 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.019) 0:00:18.005 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.020) 0:00:18.025 **** 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, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.020) 0:00:18.045 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.019) 0:00:18.064 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.128) 0:00:18.193 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.041) 0:00:18.234 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.032) 0:00:18.266 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707871043.297981, "block_size": 4096, "blocks": 0, "ctime": 1707871043.293981, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17651, "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": 1707871043.293981, "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_rewritetycvfnbo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.157) 0:00:18.424 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.023) 0:00:18.447 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.038) 0:00:18.486 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.023) 0:00:18.509 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707871043.353979, "block_size": 4096, "blocks": 8, "ctime": 1707871043.2929811, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25431, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707871043.2929811, "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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.137) 0:00:18.647 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:37:26 +0000 (0:00:00.022) 0:00:18.669 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023065", "end": "2024-02-14 00:37:27.034437", "rc": 0, "start": "2024-02-14 00:37:27.011372" } 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.155) 0:00:18.824 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.023) 0:00:18.848 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.024) 0:00:18.872 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.021) 0:00:18.894 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.023) 0:00:18.917 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.021) 0:00:18.939 **** 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_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.021) 0:00:18.961 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.021) 0:00:18.983 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.019) 0:00:19.003 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.019) 0:00:19.022 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.020) 0:00:19.042 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.062) 0:00:19.105 **** 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.082547", "end": "2024-02-14 00:37:27.530044", "rc": 1, "start": "2024-02-14 00:37:27.447497" } STDOUT: Connection 'statebr' (4cbdd1a9-03ef-4ffa-9d25-cd8d73d34567) successfully deleted. STDERR: (process:30965): GLib-GIO-WARNING **: 00:37:27.506: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/39 but no object proxy exists (process:30965): GLib-GIO-WARNING **: 00:37:27.506: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/42 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_rewritetycvfnbo/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.214) 0:00:19.319 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.033) 0:00:19.353 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.021) 0:00:19.374 **** 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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.042) 0:00:19.417 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.032) 0:00:19.449 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.033) 0:00:19.483 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003552", "end": "2024-02-14 00:37:27.837203", "rc": 0, "start": "2024-02-14 00:37:27.833651" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.144) 0:00:19.628 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.022) 0:00:19.650 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.021) 0:00:19.671 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:37:27 +0000 (0:00:00.040) 0:00:19.712 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:28 +0000 (0:00:00.066) 0:00:19.779 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:28 +0000 (0:00:00.038) 0:00:19.818 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:28 +0000 (0:00:00.026) 0:00:19.844 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:28 +0000 (0:00:00.020) 0:00:19.864 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:28 +0000 (0:00:00.019) 0:00:19.884 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:28 +0000 (0:00:00.726) 0:00:20.610 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:29 +0000 (0:00:00.928) 0:00:21.539 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:29 +0000 (0:00:00.040) 0:00:21.579 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:29 +0000 (0:00:00.020) 0:00:21.600 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:29 +0000 (0:00:00.019) 0:00:21.619 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:29 +0000 (0:00:00.043) 0:00:21.662 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:29 +0000 (0:00:00.020) 0:00:21.683 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:29 +0000 (0:00:00.019) 0:00:21.703 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:29 +0000 (0:00:00.022) 0:00:21.726 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.234) 0:00:21.960 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.035) 0:00:21.996 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.023) 0:00:22.019 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.027) 0:00:22.046 **** 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, 9844c94c-5589-4592-8e90-704957ef2637 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.336) 0:00:22.383 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.019) 0:00:22.403 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9844c94c-5589-4592-8e90-704957ef2637" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.022) 0:00:22.425 **** 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, 9844c94c-5589-4592-8e90-704957ef2637\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9844c94c-5589-4592-8e90-704957ef2637" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.021) 0:00:22.447 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.020) 0:00:22.468 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.166) 0:00:22.634 **** 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, 9844c94c-5589-4592-8e90-704957ef2637\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9844c94c-5589-4592-8e90-704957ef2637" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.025) 0:00:22.660 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.036) 0:00:22.696 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:30 +0000 (0:00:00.055) 0:00:22.751 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:31 +0000 (0:00:00.028) 0:00:22.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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:31 +0000 (0:00:00.024) 0:00:22.804 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:31 +0000 (0:00:00.022) 0:00:22.827 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:31 +0000 (0:00:00.720) 0:00:23.547 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:32 +0000 (0:00:00.947) 0:00:24.495 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:32 +0000 (0:00:00.021) 0:00:24.516 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:32 +0000 (0:00:00.019) 0:00:24.536 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:32 +0000 (0:00:00.019) 0:00:24.555 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:32 +0000 (0:00:00.042) 0:00:24.598 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:32 +0000 (0:00:00.019) 0:00:24.618 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:32 +0000 (0:00:00.019) 0:00:24.637 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:32 +0000 (0:00:00.023) 0:00:24.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.231) 0:00:24.892 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.023) 0:00:24.916 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.019) 0:00:24.935 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.018) 0:00:24.954 **** 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, 9844c94c-5589-4592-8e90-704957ef2637 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.282) 0:00:25.237 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.019) 0:00:25.256 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9844c94c-5589-4592-8e90-704957ef2637 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.020) 0:00:25.277 **** 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, 9844c94c-5589-4592-8e90-704957ef2637 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9844c94c-5589-4592-8e90-704957ef2637 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.020) 0:00:25.297 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.049) 0:00:25.347 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.130) 0:00:25.477 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.041) 0:00:25.519 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.042) 0:00:25.561 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.038) 0:00:25.600 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.024) 0:00:25.624 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.019) 0:00:25.644 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:33 +0000 (0:00:00.022) 0:00:25.667 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:34 +0000 (0:00:00.721) 0:00:26.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:35 +0000 (0:00:00.971) 0:00:27.360 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:35 +0000 (0:00:00.026) 0:00:27.387 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:35 +0000 (0:00:00.021) 0:00:27.408 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:35 +0000 (0:00:00.038) 0:00:27.447 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:35 +0000 (0:00:00.051) 0:00:27.499 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:35 +0000 (0:00:00.022) 0:00:27.521 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:35 +0000 (0:00:00.029) 0:00:27.551 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:35 +0000 (0:00:00.030) 0:00:27.581 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.228) 0:00:27.810 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.024) 0:00:27.834 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.018) 0:00:27.853 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.019) 0:00:27.873 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.360) 0:00:28.233 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.021) 0:00:28.254 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.021) 0:00:28.276 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.022) 0:00:28.298 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.020) 0:00:28.319 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.128) 0:00:28.447 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.041) 0:00:28.489 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.032) 0:00:28.521 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707871050.5497606, "block_size": 4096, "blocks": 0, "ctime": 1707871050.5457606, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17654, "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": 1707871050.5457606, "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_rewritetycvfnbo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.134) 0:00:28.656 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.021) 0:00:28.677 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.033) 0:00:28.711 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:37:36 +0000 (0:00:00.019) 0:00:28.731 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.132) 0:00:28.863 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.021) 0:00:28.884 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022187", "end": "2024-02-14 00:37:37.249343", "rc": 1, "start": "2024-02-14 00:37:37.227156" } 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.152) 0:00:29.037 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.023) 0:00:29.060 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.021) 0:00:29.082 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.020) 0:00:29.103 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.022) 0:00:29.125 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.020) 0:00:29.145 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.021) 0:00:29.167 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.018) 0:00:29.186 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.020) 0:00:29.207 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.036) 0:00:29.243 **** 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.085537", "end": "2024-02-14 00:37:37.671766", "rc": 1, "start": "2024-02-14 00:37:37.586229" } STDOUT: Connection 'statebr' (9844c94c-5589-4592-8e90-704957ef2637) successfully deleted. STDERR: (process:31585): GLib-GIO-WARNING **: 00:37:37.654: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/40 but no object proxy exists (process:31585): GLib-GIO-WARNING **: 00:37:37.654: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/70 but no object proxy exists (process:31585): GLib-GIO-WARNING **: 00:37:37.654: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/43 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_rewritetycvfnbo/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.217) 0:00:29.461 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.035) 0:00:29.497 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.027) 0:00:29.524 **** 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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.043) 0:00:29.568 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.059) 0:00:29.627 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:37:37 +0000 (0:00:00.032) 0:00:29.660 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003683", "end": "2024-02-14 00:37:38.006218", "rc": 0, "start": "2024-02-14 00:37:38.002535" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.136) 0:00:29.796 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.022) 0:00:29.819 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.020) 0:00:29.840 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.042) 0:00:29.882 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.034) 0:00:29.917 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.036) 0:00:29.954 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.025) 0:00:29.979 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.019) 0:00:29.999 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.019) 0:00:30.019 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:38 +0000 (0:00:00.737) 0:00:30.756 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:39 +0000 (0:00:00.928) 0:00:31.685 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:39 +0000 (0:00:00.023) 0:00:31.709 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:39 +0000 (0:00:00.023) 0:00:31.733 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:39 +0000 (0:00:00.021) 0:00:31.754 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.045) 0:00:31.799 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.031) 0:00:31.831 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.022) 0:00:31.853 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.025) 0:00:31.878 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.226) 0:00:32.105 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.023) 0:00:32.128 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.044) 0:00:32.173 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.022) 0:00:32.195 **** 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, a1da9af3-099e-435b-895f-78a78609deb9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.326) 0:00:32.522 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.020) 0:00:32.542 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1da9af3-099e-435b-895f-78a78609deb9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.020) 0:00:32.563 **** 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, a1da9af3-099e-435b-895f-78a78609deb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1da9af3-099e-435b-895f-78a78609deb9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.021) 0:00:32.584 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.019) 0:00:32.603 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:37:40 +0000 (0:00:00.134) 0:00:32.737 **** 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, a1da9af3-099e-435b-895f-78a78609deb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1da9af3-099e-435b-895f-78a78609deb9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:37:41 +0000 (0:00:00.030) 0:00:32.767 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:41 +0000 (0:00:00.034) 0:00:32.802 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:41 +0000 (0:00:00.038) 0:00:32.841 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:41 +0000 (0:00:00.025) 0:00:32.866 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:41 +0000 (0:00:00.018) 0:00:32.885 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:41 +0000 (0:00:00.019) 0:00:32.904 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:41 +0000 (0:00:00.727) 0:00:33.631 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:42 +0000 (0:00:00.925) 0:00:34.557 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:42 +0000 (0:00:00.023) 0:00:34.580 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:42 +0000 (0:00:00.020) 0:00:34.601 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:42 +0000 (0:00:00.019) 0:00:34.621 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:42 +0000 (0:00:00.040) 0:00:34.662 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:42 +0000 (0:00:00.019) 0:00:34.681 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:42 +0000 (0:00:00.020) 0:00:34.702 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:42 +0000 (0:00:00.022) 0:00:34.725 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.229) 0:00:34.954 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.025) 0:00:34.980 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.019) 0:00:35.000 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.022) 0:00:35.022 **** 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, a1da9af3-099e-435b-895f-78a78609deb9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.285) 0:00:35.307 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.021) 0:00:35.329 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a1da9af3-099e-435b-895f-78a78609deb9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.027) 0:00:35.356 **** 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, a1da9af3-099e-435b-895f-78a78609deb9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a1da9af3-099e-435b-895f-78a78609deb9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.023) 0:00:35.379 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.021) 0:00:35.401 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.131) 0:00:35.532 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.033) 0:00:35.566 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.036) 0:00:35.602 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.025) 0:00:35.628 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.019) 0:00:35.648 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:43 +0000 (0:00:00.050) 0:00:35.699 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:44 +0000 (0:00:00.719) 0:00:36.418 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:45 +0000 (0:00:00.926) 0:00:37.344 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:45 +0000 (0:00:00.020) 0:00:37.364 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:45 +0000 (0:00:00.020) 0:00:37.384 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:45 +0000 (0:00:00.022) 0:00:37.406 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:45 +0000 (0:00:00.045) 0:00:37.451 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:45 +0000 (0:00:00.026) 0:00:37.478 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:45 +0000 (0:00:00.019) 0:00:37.497 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:45 +0000 (0:00:00.046) 0:00:37.544 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.229) 0:00:37.773 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.024) 0:00:37.798 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.019) 0:00:37.817 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.019) 0:00:37.836 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.312) 0:00:38.149 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.020) 0:00:38.169 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.022) 0:00:38.191 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.023) 0:00:38.215 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.022) 0:00:38.237 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.128) 0:00:38.366 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.037) 0:00:38.404 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.037) 0:00:38.441 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.071) 0:00:38.513 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.027) 0:00:38.540 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.026) 0:00:38.566 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:46 +0000 (0:00:00.021) 0:00:38.588 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:47 +0000 (0:00:00.722) 0:00:39.310 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.923) 0:00:40.234 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.020) 0:00:40.255 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.019) 0:00:40.274 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.048) 0:00:40.323 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.044) 0:00:40.367 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.020) 0:00:40.388 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.021) 0:00:40.410 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.024) 0:00:40.434 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.228) 0:00:40.663 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.023) 0:00:40.686 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.019) 0:00:40.706 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:48 +0000 (0:00:00.019) 0:00:40.725 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.357) 0:00:41.083 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.021) 0:00:41.104 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.022) 0:00:41.127 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.022) 0:00:41.149 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.019) 0:00:41.168 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.127) 0:00:41.296 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.064) 0:00:41.361 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.036) 0:00:41.397 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.021) 0:00:41.418 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.134) 0:00:41.553 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.020) 0:00:41.574 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020529", "end": "2024-02-14 00:37:49.937080", "rc": 1, "start": "2024-02-14 00:37:49.916551" } 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.151) 0:00:41.726 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:37:49 +0000 (0:00:00.028) 0:00:41.754 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.023) 0:00:41.777 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.021) 0:00:41.798 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.020) 0:00:41.819 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.020) 0:00:41.839 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.021) 0:00:41.861 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.039) 0:00:41.900 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.032) 0:00:41.933 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.130) 0:00:42.063 **** 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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.024) 0:00:42.088 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.022) 0:00:42.110 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.039) 0:00:42.150 **** 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.043489", "end": "2024-02-14 00:37:50.534530", "rc": 1, "start": "2024-02-14 00:37:50.491041" } 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_rewritetycvfnbo/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.173) 0:00:42.323 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.034) 0:00:42.358 **** 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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.020) 0:00:42.378 **** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.043) 0:00:42.422 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.032) 0:00:42.455 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.031) 0:00:42.486 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003528", "end": "2024-02-14 00:37:50.832417", "rc": 0, "start": "2024-02-14 00:37:50.828889" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.135) 0:00:42.621 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.022) 0:00:42.644 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.020) 0:00:42.664 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:37:50 +0000 (0:00:00.066) 0:00:42.731 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:51 +0000 (0:00:00.034) 0:00:42.765 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:51 +0000 (0:00:00.038) 0:00:42.803 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:51 +0000 (0:00:00.025) 0:00:42.829 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:51 +0000 (0:00:00.019) 0:00:42.848 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:51 +0000 (0:00:00.019) 0:00:42.868 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:51 +0000 (0:00:00.721) 0:00:43.589 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:52 +0000 (0:00:00.950) 0:00:44.540 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:52 +0000 (0:00:00.023) 0:00:44.563 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:52 +0000 (0:00:00.023) 0:00:44.587 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:52 +0000 (0:00:00.021) 0:00:44.608 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:52 +0000 (0:00:00.041) 0:00:44.650 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:52 +0000 (0:00:00.020) 0:00:44.670 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:52 +0000 (0:00:00.020) 0:00:44.690 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:52 +0000 (0:00:00.024) 0:00:44.714 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.224) 0:00:44.939 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.026) 0:00:44.966 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.022) 0:00:44.988 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.019) 0:00:45.007 **** 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, f5fddd0b-855d-473d-b495-44bdc8ae6ebf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.330) 0:00:45.338 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.020) 0:00:45.358 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5fddd0b-855d-473d-b495-44bdc8ae6ebf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.045) 0:00:45.404 **** 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, f5fddd0b-855d-473d-b495-44bdc8ae6ebf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5fddd0b-855d-473d-b495-44bdc8ae6ebf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.021) 0:00:45.426 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.019) 0:00:45.445 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.128) 0:00:45.574 **** 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, f5fddd0b-855d-473d-b495-44bdc8ae6ebf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5fddd0b-855d-473d-b495-44bdc8ae6ebf" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.021) 0:00:45.596 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.033) 0:00:45.629 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.037) 0:00:45.666 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.024) 0:00:45.691 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.019) 0:00:45.711 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:53 +0000 (0:00:00.019) 0:00:45.731 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:54 +0000 (0:00:00.721) 0:00:46.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:55 +0000 (0:00:00.959) 0:00:47.412 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:55 +0000 (0:00:00.021) 0:00:47.434 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:55 +0000 (0:00:00.019) 0:00:47.454 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:55 +0000 (0:00:00.019) 0:00:47.474 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:55 +0000 (0:00:00.040) 0:00:47.515 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:55 +0000 (0:00:00.019) 0:00:47.535 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:55 +0000 (0:00:00.020) 0:00:47.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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:55 +0000 (0:00:00.024) 0:00:47.580 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.226) 0:00:47.806 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.023) 0:00:47.830 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.018) 0:00:47.849 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.019) 0:00:47.869 **** 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, f5fddd0b-855d-473d-b495-44bdc8ae6ebf skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.305) 0:00:48.175 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.020) 0:00:48.195 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f5fddd0b-855d-473d-b495-44bdc8ae6ebf skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.020) 0:00:48.216 **** 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, f5fddd0b-855d-473d-b495-44bdc8ae6ebf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f5fddd0b-855d-473d-b495-44bdc8ae6ebf skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.021) 0:00:48.237 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.020) 0:00:48.257 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.127) 0:00:48.385 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.033) 0:00:48.419 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.037) 0:00:48.456 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.025) 0:00:48.481 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.019) 0:00:48.500 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:56 +0000 (0:00:00.019) 0:00:48.520 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:37:57 +0000 (0:00:00.712) 0:00:49.233 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.950) 0:00:50.183 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.021) 0:00:50.204 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.020) 0:00:50.225 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.021) 0:00:50.246 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.042) 0:00:50.288 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.021) 0:00:50.309 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.020) 0:00:50.330 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.024) 0:00:50.355 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.226) 0:00:50.582 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.024) 0:00:50.606 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.019) 0:00:50.625 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:37:58 +0000 (0:00:00.042) 0:00:50.668 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.377) 0:00:51.046 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.019) 0:00:51.065 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.022) 0:00:51.087 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.022) 0:00:51.109 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.021) 0:00:51.131 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.131) 0:00:51.262 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.037) 0:00:51.300 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.035) 0:00:51.336 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.038) 0:00:51.374 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.025) 0:00:51.400 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.021) 0:00:51.422 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:37:59 +0000 (0:00:00.020) 0:00:51.443 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:38:00 +0000 (0:00:00.744) 0:00:52.187 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.925) 0:00:53.113 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.021) 0:00:53.135 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.021) 0:00:53.156 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.019) 0:00:53.176 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.041) 0:00:53.217 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.019) 0:00:53.237 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.019) 0:00:53.257 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.023) 0:00:53.281 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.253) 0:00:53.534 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.025) 0:00:53.560 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.022) 0:00:53.582 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:38:01 +0000 (0:00:00.020) 0:00:53.603 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.294) 0:00:53.897 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.020) 0:00:53.918 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.021) 0:00:53.939 **** 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_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.021) 0:00:53.961 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.019) 0:00:53.980 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.128) 0:00:54.109 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.040) 0:00:54.149 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.033) 0:00:54.183 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.020) 0:00:54.204 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.156) 0:00:54.360 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.020) 0:00:54.381 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020348", "end": "2024-02-14 00:38:02.743912", "rc": 1, "start": "2024-02-14 00:38:02.723564" } 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.151) 0:00:54.532 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.022) 0:00:54.554 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.020) 0:00:54.574 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.022) 0:00:54.597 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.020) 0:00:54.618 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.020) 0:00:54.638 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 00:38:02 +0000 (0:00:00.022) 0:00:54.661 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.685073", "end": "2024-02-14 00:38:03.686756", "rc": 0, "start": "2024-02-14 00:38:03.001683" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 00:38:03 +0000 (0:00:00.816) 0:00:55.477 **** 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_rewritetycvfnbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 00:38:03 +0000 (0:00:00.020) 0:00:55.498 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:38:03 +0000 (0:00:00.022) 0:00:55.521 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:38:03 +0000 (0:00:00.042) 0:00:55.563 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:38:03 +0000 (0:00:00.060) 0:00:55.623 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:38:03 +0000 (0:00:00.132) 0:00:55.755 **** 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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:38:04 +0000 (0:00:00.025) 0:00:55.781 **** 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_rewritetycvfnbo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:38:04 +0000 (0:00:00.022) 0:00:55.804 **** included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:38:04 +0000 (0:00:00.045) 0:00:55.850 **** 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.044978", "end": "2024-02-14 00:38:04.237571", "rc": 1, "start": "2024-02-14 00:38:04.192593" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 00:38:04 +0000 (0:00:00.176) 0:00:56.026 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.007694", "end": "2024-02-14 00:38:04.376901", "rc": 0, "start": "2024-02-14 00:38:04.369207" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:53:11:1e:ca:99 brd ff:ff:ff:ff:ff:ff inet 10.31.13.23/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3456sec preferred_lft 3456sec inet6 fe80::853:11ff:fe1e:ca99/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.23 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritetycvfnbo/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 00:38:04 +0000 (0:00:00.140) 0:00:56.167 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.339057", "end": "2024-02-14 00:38:04.854303", "rc": 0, "start": "2024-02-14 00:38:04.515246" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2006 0 --:--:-- --:--:-- --:--:-- 2019 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2157 0 --:--:-- --:--:-- --:--:-- 2171 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Wednesday 14 February 2024 00:38:04 +0000 (0:00:00.465) 0:00:56.632 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.77s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.28s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.15s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.03s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.92s /WORKDIR/git-bond_options_rewritetycvfnbo/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---