# 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_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 02:44:10 +0000 (0:00:00.023) 0:00:00.023 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 02:44:10 +0000 (0:00:00.638) 0:00:00.662 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:44:10 +0000 (0:00:00.032) 0:00:00.694 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.249) 0:00:00.944 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.347) 0:00:01.291 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.080) 0:00:01.371 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.031) 0:00:01.403 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.051) 0:00:01.455 **** 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_rewrite3x2ioa39/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.273) 0:00:01.728 **** 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_rewrite3x2ioa39/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.516) 0:00:02.245 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.185442", "end": "2024-02-14 02:44:12.726688", "rc": 0, "start": "2024-02-14 02:44:12.541246" } 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_rewrite3x2ioa39/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.331) 0:00:02.577 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.013) 0:00:02.591 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.020) 0:00:02.612 **** 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.025) 0:00:02.637 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.410) 0:00:03.047 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.012) 0:00:03.060 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.018) 0:00:03.078 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.011) 0:00:03.090 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.057) 0:00:03.147 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.022) 0:00:03.170 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.030) 0:00:03.200 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003589", "end": "2024-02-14 02:44:13.488612", "rc": 0, "start": "2024-02-14 02:44:13.485023" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.138) 0:00:03.339 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.012) 0:00:03.351 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.011) 0:00:03.362 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.039) 0:00:03.402 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010936", "end": "2024-02-14 02:44:13.703437", "rc": 1, "start": "2024-02-14 02:44:13.692501" } 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.158) 0:00:03.561 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.023) 0:00:03.584 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.169) 0:00:03.754 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.014) 0:00:03.769 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.019) 0:00:03.788 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.043) 0:00:03.831 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.083) 0:00:03.915 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.043) 0:00:03.959 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.011) 0:00:03.970 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.018) 0:00:03.989 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.810) 0:00:04.799 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:16 +0000 (0:00:01.178) 0:00:05.978 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.023) 0:00:06.001 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.022) 0:00:06.023 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.023) 0:00:06.047 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.067) 0:00:06.114 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.035) 0:00:06.149 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.046) 0:00:06.196 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.028) 0:00:06.224 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.468) 0:00:06.692 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.029) 0:00:06.722 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.032) 0:00:06.754 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.023) 0:00:06.777 **** 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, 074be7b4-5a86-4d3c-b157-5a6efbac0659 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.536) 0:00:07.314 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.022) 0:00:07.336 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 074be7b4-5a86-4d3c-b157-5a6efbac0659" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.025) 0:00:07.362 **** 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, 074be7b4-5a86-4d3c-b157-5a6efbac0659\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 074be7b4-5a86-4d3c-b157-5a6efbac0659" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.024) 0:00:07.387 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.124) 0:00:07.511 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.258) 0:00:07.770 **** 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, 074be7b4-5a86-4d3c-b157-5a6efbac0659\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 074be7b4-5a86-4d3c-b157-5a6efbac0659" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.046) 0:00:07.816 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.079) 0:00:07.896 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.040) 0:00:07.936 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.026) 0:00:07.963 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878657.378376, "block_size": 4096, "blocks": 8, "ctime": 1707878657.3773758, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25429, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878657.3773758, "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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.157) 0:00:08.121 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.054) 0:00:08.175 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025380", "end": "2024-02-14 02:44:18.504243", "rc": 0, "start": "2024-02-14 02:44:18.478863" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.186) 0:00:08.362 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.028) 0:00:08.390 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.023) 0:00:08.414 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.026) 0:00:08.440 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.024) 0:00:08.465 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.030) 0:00:08.496 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.069) 0:00:08.566 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.035) 0:00:08.601 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.051) 0:00:08.653 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.084) 0:00:08.738 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.040) 0:00:08.778 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878657.381376, "block_size": 4096, "blocks": 0, "ctime": 1707878657.3803759, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17639, "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": 1707878657.3803759, "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_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.155) 0:00:08.933 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.034) 0:00:08.968 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.031) 0:00:09.000 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.078) 0:00:09.078 **** 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.089844", "end": "2024-02-14 02:44:19.453540", "rc": 1, "start": "2024-02-14 02:44:19.363696" } STDOUT: Connection 'statebr' (074be7b4-5a86-4d3c-b157-5a6efbac0659) successfully deleted. STDERR: (process:28402): GLib-GIO-WARNING **: 02:44:19.432: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/34 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.234) 0:00:09.313 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.055) 0:00:09.368 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.023) 0:00:09.391 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.046) 0:00:09.438 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.067) 0:00:09.505 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.036) 0:00:09.542 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003978", "end": "2024-02-14 02:44:19.829437", "rc": 0, "start": "2024-02-14 02:44:19.825459" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.169) 0:00:09.712 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.028) 0:00:09.740 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.022) 0:00:09.762 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.041) 0:00:09.804 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007783", "end": "2024-02-14 02:44:20.092660", "rc": 1, "start": "2024-02-14 02:44:20.084877" } 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.148) 0:00:09.953 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.064) 0:00:10.018 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.178) 0:00:10.196 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.027) 0:00:10.223 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.056) 0:00:10.279 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.042) 0:00:10.321 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.083) 0:00:10.405 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.029) 0:00:10.434 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.033) 0:00:10.468 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.039) 0:00:10.508 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:21 +0000 (0:00:00.724) 0:00:11.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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.936) 0:00:12.170 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.032) 0:00:12.202 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.029) 0:00:12.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.023) 0:00:12.255 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.146) 0:00:12.401 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.025) 0:00:12.427 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.027) 0:00:12.455 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.028) 0:00:12.483 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.262) 0:00:12.745 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.041) 0:00:12.786 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.023) 0:00:12.809 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.024) 0:00:12.834 **** 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, 55e6947f-b25e-4753-ad08-936bfe9eaf49 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.316) 0:00:13.150 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.022) 0:00:13.172 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55e6947f-b25e-4753-ad08-936bfe9eaf49" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.024) 0:00:13.197 **** 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, 55e6947f-b25e-4753-ad08-936bfe9eaf49\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55e6947f-b25e-4753-ad08-936bfe9eaf49" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.023) 0:00:13.220 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.021) 0:00:13.242 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.142) 0:00:13.385 **** 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, 55e6947f-b25e-4753-ad08-936bfe9eaf49\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55e6947f-b25e-4753-ad08-936bfe9eaf49" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.024) 0:00:13.409 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.046) 0:00:13.455 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.091) 0:00:13.547 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.142) 0:00:13.689 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.025) 0:00:13.714 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.042) 0:00:13.756 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.023) 0:00:13.780 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878663.2743716, "block_size": 4096, "blocks": 8, "ctime": 1707878663.2743716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25429, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878663.2743716, "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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.143) 0:00:13.924 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.025) 0:00:13.949 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023504", "end": "2024-02-14 02:44:24.254076", "rc": 0, "start": "2024-02-14 02:44:24.230572" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.165) 0:00:14.115 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.029) 0:00:14.144 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.025) 0:00:14.170 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.042) 0:00:14.212 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.050) 0:00:14.263 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.026) 0:00:14.290 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.025) 0:00:14.315 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.025) 0:00:14.341 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.052) 0:00:14.394 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.021) 0:00:14.416 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.032) 0:00:14.448 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.046) 0:00:14.495 **** 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.049320", "end": "2024-02-14 02:44:24.832296", "rc": 1, "start": "2024-02-14 02:44:24.782976" } STDOUT: Connection 'statebr' (55e6947f-b25e-4753-ad08-936bfe9eaf49) 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.192) 0:00:14.688 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.039) 0:00:14.727 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.033) 0:00:14.760 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.047) 0:00:14.808 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.034) 0:00:14.843 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.033) 0:00:14.877 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003675", "end": "2024-02-14 02:44:25.160745", "rc": 0, "start": "2024-02-14 02:44:25.157070" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.140) 0:00:15.017 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.022) 0:00:15.040 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.023) 0:00:15.063 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.091) 0:00:15.155 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.060) 0:00:15.215 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.040) 0:00:15.256 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.027) 0:00:15.284 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.021) 0:00:15.306 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.023) 0:00:15.329 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:26 +0000 (0:00:00.741) 0:00:16.070 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.983) 0:00:17.053 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.030) 0:00:17.084 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.053) 0:00:17.137 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.025) 0:00:17.162 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.053) 0:00:17.216 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.024) 0:00:17.241 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.035) 0:00:17.276 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.030) 0:00:17.307 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.265) 0:00:17.572 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.037) 0:00:17.610 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.027) 0:00:17.637 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.022) 0:00:17.660 **** 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, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.347) 0:00:18.007 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.021) 0:00:18.029 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.022) 0:00:18.051 **** 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, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.025) 0:00:18.076 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.062) 0:00:18.139 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.177) 0:00:18.316 **** 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, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.028) 0:00:18.345 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.067) 0:00:18.412 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.059) 0:00:18.472 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.046) 0:00:18.518 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.073) 0:00:18.592 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.027) 0:00:18.619 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.057) 0:00:18.676 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.780) 0:00:19.456 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:30 +0000 (0:00:01.009) 0:00:20.465 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:30 +0000 (0:00:00.024) 0:00:20.490 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:30 +0000 (0:00:00.023) 0:00:20.514 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:30 +0000 (0:00:00.024) 0:00:20.539 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:30 +0000 (0:00:00.055) 0:00:20.594 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:30 +0000 (0:00:00.025) 0:00:20.619 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:30 +0000 (0:00:00.024) 0:00:20.644 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:30 +0000 (0:00:00.026) 0:00:20.671 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.253) 0:00:20.924 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.027) 0:00:20.952 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.037) 0:00:20.989 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.039) 0:00:21.029 **** 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, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.391) 0:00:21.420 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.073) 0:00:21.494 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.028) 0:00:21.522 **** 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, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b0bb3ca7-a472-46ca-8ab5-561bba92d2ee skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.028) 0:00:21.550 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.023) 0:00:21.573 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.135) 0:00:21.709 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.047) 0:00:21.757 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.042) 0:00:21.799 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878668.0973682, "block_size": 4096, "blocks": 0, "ctime": 1707878668.0963683, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17639, "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": 1707878668.0963683, "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_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.146) 0:00:21.946 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.051) 0:00:21.997 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.047) 0:00:22.044 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.059) 0:00:22.104 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878668.1553683, "block_size": 4096, "blocks": 8, "ctime": 1707878668.0953681, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25429, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878668.0953681, "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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.185) 0:00:22.289 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.028) 0:00:22.318 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024013", "end": "2024-02-14 02:44:32.623360", "rc": 0, "start": "2024-02-14 02:44:32.599347" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.165) 0:00:22.484 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.068) 0:00:22.552 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.030) 0:00:22.583 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.037) 0:00:22.621 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.038) 0:00:22.659 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.041) 0:00:22.701 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.029) 0:00:22.730 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.035) 0:00:22.766 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.027) 0:00:22.794 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.032) 0:00:22.827 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.039) 0:00:22.867 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.048) 0:00:22.915 **** 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.086825", "end": "2024-02-14 02:44:33.285915", "rc": 1, "start": "2024-02-14 02:44:33.199090" } STDOUT: Connection 'statebr' (b0bb3ca7-a472-46ca-8ab5-561bba92d2ee) successfully deleted. STDERR: (process:29117): GLib-GIO-WARNING **: 02:44:33.264: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/35 but no object proxy exists (process:29117): GLib-GIO-WARNING **: 02:44:33.265: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/47 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.228) 0:00:23.143 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.039) 0:00:23.182 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.023) 0:00:23.206 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.051) 0:00:23.257 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.075) 0:00:23.332 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.035) 0:00:23.368 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003994", "end": "2024-02-14 02:44:33.653399", "rc": 0, "start": "2024-02-14 02:44:33.649405" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.145) 0:00:23.514 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.031) 0:00:23.545 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.023) 0:00:23.568 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.044) 0:00:23.613 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.041) 0:00:23.655 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.056) 0:00:23.711 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.030) 0:00:23.741 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.027) 0:00:23.768 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.025) 0:00:23.794 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:34 +0000 (0:00:00.718) 0:00:24.512 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.955) 0:00:25.467 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.022) 0:00:25.490 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.023) 0:00:25.513 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.021) 0:00:25.535 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.045) 0:00:25.581 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.022) 0:00:25.603 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.021) 0:00:25.625 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.025) 0:00:25.651 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.240) 0:00:25.891 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.029) 0:00:25.921 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.058) 0:00:25.979 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.044) 0:00:26.024 **** 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, c0d0e191-93a0-41ef-b39c-d4eda452ad0d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.452) 0:00:26.476 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.048) 0:00:26.524 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0d0e191-93a0-41ef-b39c-d4eda452ad0d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.064) 0:00:26.589 **** 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, c0d0e191-93a0-41ef-b39c-d4eda452ad0d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0d0e191-93a0-41ef-b39c-d4eda452ad0d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.094) 0:00:26.684 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.047) 0:00:26.731 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:44:37 +0000 (0:00:00.153) 0:00:26.885 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0d0e191-93a0-41ef-b39c-d4eda452ad0d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0d0e191-93a0-41ef-b39c-d4eda452ad0d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:44:37 +0000 (0:00:00.032) 0:00:26.917 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:37 +0000 (0:00:00.036) 0:00:26.954 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:37 +0000 (0:00:00.041) 0:00:26.995 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:37 +0000 (0:00:00.027) 0:00:27.023 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:37 +0000 (0:00:00.024) 0:00:27.047 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:37 +0000 (0:00:00.021) 0:00:27.069 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:37 +0000 (0:00:00.756) 0:00:27.825 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:39 +0000 (0:00:01.016) 0:00:28.841 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.065) 0:00:28.907 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.055) 0:00:28.963 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.030) 0:00:28.993 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.086) 0:00:29.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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.035) 0:00:29.116 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.031) 0:00:29.147 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.038) 0:00:29.186 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.290) 0:00:29.476 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.038) 0:00:29.514 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.083) 0:00:29.598 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.046) 0:00:29.644 **** 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, c0d0e191-93a0-41ef-b39c-d4eda452ad0d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.330) 0:00:29.975 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.025) 0:00:30.000 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c0d0e191-93a0-41ef-b39c-d4eda452ad0d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.049) 0:00:30.050 **** 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, c0d0e191-93a0-41ef-b39c-d4eda452ad0d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c0d0e191-93a0-41ef-b39c-d4eda452ad0d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.025) 0:00:30.075 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.032) 0:00:30.108 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.148) 0:00:30.257 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.040) 0:00:30.298 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.042) 0:00:30.340 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.054) 0:00:30.395 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.068) 0:00:30.464 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.033) 0:00:30.497 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.032) 0:00:30.530 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.719) 0:00:31.250 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.939) 0:00:32.189 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.026) 0:00:32.216 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.022) 0:00:32.238 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.022) 0:00:32.260 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.044) 0:00:32.305 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.022) 0:00:32.327 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.025) 0:00:32.353 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.038) 0:00:32.392 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.253) 0:00:32.645 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.061) 0:00:32.706 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.022) 0:00:32.729 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.026) 0:00:32.756 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.358) 0:00:33.114 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.022) 0:00:33.136 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.024) 0:00:33.161 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.027) 0:00:33.188 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.050) 0:00:33.238 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.154) 0:00:33.393 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.055) 0:00:33.449 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.037) 0:00:33.487 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878676.5193622, "block_size": 4096, "blocks": 0, "ctime": 1707878676.5153623, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17641, "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": 1707878676.5153623, "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_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.142) 0:00:33.629 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.024) 0:00:33.653 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.037) 0:00:33.691 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.054) 0:00:33.745 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.152) 0:00:33.897 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.028) 0:00:33.925 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023857", "end": "2024-02-14 02:44:44.232842", "rc": 1, "start": "2024-02-14 02:44:44.208985" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.181) 0:00:34.107 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.054) 0:00:34.161 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.024) 0:00:34.186 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.026) 0:00:34.212 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.026) 0:00:34.238 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.026) 0:00:34.265 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.025) 0:00:34.290 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.026) 0:00:34.317 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.024) 0:00:34.342 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.053) 0:00:34.395 **** 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.084404", "end": "2024-02-14 02:44:44.760025", "rc": 1, "start": "2024-02-14 02:44:44.675621" } STDOUT: Connection 'statebr' (c0d0e191-93a0-41ef-b39c-d4eda452ad0d) successfully deleted. STDERR: (process:29735): GLib-GIO-WARNING **: 02:44:44.740: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/36 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.220) 0:00:34.616 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.037) 0:00:34.654 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.057) 0:00:34.711 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.052) 0:00:34.763 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.038) 0:00:34.801 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.046) 0:00:34.848 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004128", "end": "2024-02-14 02:44:45.132820", "rc": 0, "start": "2024-02-14 02:44:45.128692" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.143) 0:00:34.991 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.022) 0:00:35.014 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.024) 0:00:35.039 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.048) 0:00:35.088 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.051) 0:00:35.139 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.048) 0:00:35.187 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.042) 0:00:35.230 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.055) 0:00:35.286 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.133) 0:00:35.419 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:46 +0000 (0:00:00.771) 0:00:36.191 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:47 +0000 (0:00:01.044) 0:00:37.235 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.041) 0:00:37.276 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.050) 0:00:37.327 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.056) 0:00:37.383 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.097) 0:00:37.481 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.024) 0:00:37.505 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.024) 0:00:37.529 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.028) 0:00:37.557 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.298) 0:00:37.856 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.029) 0:00:37.886 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.024) 0:00:37.910 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.022) 0:00:37.933 **** 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, 09578cbe-f718-4995-b130-917280c1c3f8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.336) 0:00:38.270 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.022) 0:00:38.292 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09578cbe-f718-4995-b130-917280c1c3f8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.024) 0:00:38.316 **** 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, 09578cbe-f718-4995-b130-917280c1c3f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09578cbe-f718-4995-b130-917280c1c3f8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.024) 0:00:38.341 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.022) 0:00:38.364 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.137) 0:00:38.501 **** 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, 09578cbe-f718-4995-b130-917280c1c3f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09578cbe-f718-4995-b130-917280c1c3f8" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.024) 0:00:38.525 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.041) 0:00:38.567 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.042) 0:00:38.610 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.037) 0:00:38.647 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.035) 0:00:38.682 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.090) 0:00:38.773 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:49 +0000 (0:00:00.727) 0:00:39.501 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:50 +0000 (0:00:00.957) 0:00:40.458 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:50 +0000 (0:00:00.023) 0:00:40.481 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:50 +0000 (0:00:00.028) 0:00:40.510 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:50 +0000 (0:00:00.022) 0:00:40.532 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:50 +0000 (0:00:00.048) 0:00:40.581 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:50 +0000 (0:00:00.025) 0:00:40.606 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:50 +0000 (0:00:00.024) 0:00:40.630 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:50 +0000 (0:00:00.027) 0:00:40.658 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.288) 0:00:40.947 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.040) 0:00:40.988 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.025) 0:00:41.013 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.024) 0:00:41.038 **** 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, 09578cbe-f718-4995-b130-917280c1c3f8 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.294) 0:00:41.333 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.024) 0:00:41.357 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 09578cbe-f718-4995-b130-917280c1c3f8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.031) 0:00:41.388 **** 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, 09578cbe-f718-4995-b130-917280c1c3f8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 09578cbe-f718-4995-b130-917280c1c3f8 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.028) 0:00:41.417 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.025) 0:00:41.442 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.137) 0:00:41.580 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.043) 0:00:41.623 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.046) 0:00:41.670 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.037) 0:00:41.707 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.022) 0:00:41.730 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.073) 0:00:41.803 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.753) 0:00:42.557 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:53 +0000 (0:00:01.040) 0:00:43.597 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:53 +0000 (0:00:00.054) 0:00:43.651 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:53 +0000 (0:00:00.039) 0:00:43.691 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:53 +0000 (0:00:00.036) 0:00:43.728 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:53 +0000 (0:00:00.046) 0:00:43.774 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:53 +0000 (0:00:00.025) 0:00:43.799 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:53 +0000 (0:00:00.029) 0:00:43.828 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.048) 0:00:43.877 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.298) 0:00:44.175 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.170) 0:00:44.346 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.040) 0:00:44.386 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.053) 0:00:44.440 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.433) 0:00:44.873 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.035) 0:00:44.908 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.047) 0:00:44.956 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.028) 0:00:44.985 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.054) 0:00:45.040 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.161) 0:00:45.201 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.137) 0:00:45.339 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.072) 0:00:45.412 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.100) 0:00:45.512 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.060) 0:00:45.572 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.041) 0:00:45.614 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.055) 0:00:45.669 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.748) 0:00:46.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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.974) 0:00:47.393 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.025) 0:00:47.419 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.024) 0:00:47.443 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.022) 0:00:47.466 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.057) 0:00:47.524 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.028) 0:00:47.552 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.030) 0:00:47.582 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.028) 0:00:47.611 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.267) 0:00:47.879 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.027) 0:00:47.906 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.021) 0:00:47.928 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.023) 0:00:47.951 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.395) 0:00:48.347 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.025) 0:00:48.372 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.022) 0:00:48.395 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.023) 0:00:48.418 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.021) 0:00:48.440 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.152) 0:00:48.593 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.050) 0:00:48.643 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.041) 0:00:48.685 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.034) 0:00:48.719 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.137) 0:00:48.857 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.058) 0:00:48.916 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021775", "end": "2024-02-14 02:44:59.217010", "rc": 1, "start": "2024-02-14 02:44:59.195235" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.157) 0:00:49.074 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.024) 0:00:49.098 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.024) 0:00:49.123 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.026) 0:00:49.150 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.045) 0:00:49.195 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.027) 0:00:49.223 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.027) 0:00:49.250 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.044) 0:00:49.294 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.039) 0:00:49.334 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.173) 0:00:49.507 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.027) 0:00:49.535 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.027) 0:00:49.562 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.053) 0:00:49.615 **** 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.046090", "end": "2024-02-14 02:44:59.942672", "rc": 1, "start": "2024-02-14 02:44:59.896582" } 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.251) 0:00:49.866 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.045) 0:00:49.912 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.029) 0:00:49.941 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.100) 0:00:50.042 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.049) 0:00:50.091 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.046) 0:00:50.138 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003553", "end": "2024-02-14 02:45:00.422758", "rc": 0, "start": "2024-02-14 02:45:00.419205" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.143) 0:00:50.281 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.024) 0:00:50.305 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.022) 0:00:50.328 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.043) 0:00:50.371 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.036) 0:00:50.408 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.080) 0:00:50.488 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.035) 0:00:50.523 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.029) 0:00:50.552 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.025) 0:00:50.578 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:45:01 +0000 (0:00:00.711) 0:00:51.289 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.968) 0:00:52.258 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.029) 0:00:52.288 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.022) 0:00:52.310 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.025) 0:00:52.336 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.046) 0:00:52.383 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.068) 0:00:52.451 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.029) 0:00:52.481 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.030) 0:00:52.511 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.249) 0:00:52.761 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.041) 0:00:52.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.037) 0:00:52.840 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.083) 0:00:52.923 **** 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, 1c2c9b83-aee4-4468-a8ab-920be97b1177 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.405) 0:00:53.329 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.023) 0:00:53.352 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c2c9b83-aee4-4468-a8ab-920be97b1177" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.022) 0:00:53.374 **** 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, 1c2c9b83-aee4-4468-a8ab-920be97b1177\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c2c9b83-aee4-4468-a8ab-920be97b1177" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.030) 0:00:53.405 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.024) 0:00:53.430 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.143) 0:00:53.573 **** 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, 1c2c9b83-aee4-4468-a8ab-920be97b1177\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c2c9b83-aee4-4468-a8ab-920be97b1177" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.025) 0:00:53.599 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.061) 0:00:53.661 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.075) 0:00:53.737 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.037) 0:00:53.774 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.054) 0:00:53.829 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.029) 0:00:53.858 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.748) 0:00:54.606 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:45:05 +0000 (0:00:00.966) 0:00:55.573 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:45:05 +0000 (0:00:00.023) 0:00:55.596 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:45:05 +0000 (0:00:00.021) 0:00:55.618 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:45:05 +0000 (0:00:00.051) 0:00:55.669 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:45:05 +0000 (0:00:00.044) 0:00:55.714 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:45:05 +0000 (0:00:00.023) 0:00:55.737 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:45:05 +0000 (0:00:00.023) 0:00:55.761 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:45:05 +0000 (0:00:00.025) 0:00:55.786 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.244) 0:00:56.031 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.027) 0:00:56.059 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.024) 0:00:56.083 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.023) 0:00:56.106 **** 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, 1c2c9b83-aee4-4468-a8ab-920be97b1177 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.298) 0:00:56.404 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.024) 0:00:56.428 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1c2c9b83-aee4-4468-a8ab-920be97b1177 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.023) 0:00:56.452 **** 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, 1c2c9b83-aee4-4468-a8ab-920be97b1177 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1c2c9b83-aee4-4468-a8ab-920be97b1177 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.026) 0:00:56.478 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.023) 0:00:56.502 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.146) 0:00:56.649 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.077) 0:00:56.726 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.048) 0:00:56.774 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.027) 0:00:56.802 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.022) 0:00:56.824 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.027) 0:00:56.852 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.688) 0:00:57.541 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.915) 0:00:58.456 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.023) 0:00:58.480 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.022) 0:00:58.502 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.054) 0:00:58.557 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.053) 0:00:58.611 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.046) 0:00:58.657 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.072) 0:00:58.730 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.057) 0:00:58.788 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.291) 0:00:59.079 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.028) 0:00:59.108 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.023) 0:00:59.131 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.024) 0:00:59.155 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.441) 0:00:59.596 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.025) 0:00:59.622 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.026) 0:00:59.648 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.027) 0:00:59.676 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.023) 0:00:59.699 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.135) 0:00:59.835 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.075) 0:00:59.911 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.039) 0:00:59.951 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.062) 0:01:00.014 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.030) 0:01:00.045 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.028) 0:01:00.073 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.024) 0:01:00.098 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.695) 0:01:00.793 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.982) 0:01:01.775 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.056) 0:01:01.832 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.022) 0:01:01.854 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.022) 0:01:01.877 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.043) 0:01:01.921 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.021) 0:01:01.943 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.022) 0:01:01.965 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.033) 0:01:01.999 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.259) 0:01:02.259 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.035) 0:01:02.294 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.027) 0:01:02.322 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.042) 0:01:02.365 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.319) 0:01:02.684 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.024) 0:01:02.708 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.025) 0:01:02.734 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.056) 0:01:02.791 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.022) 0:01:02.813 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.164) 0:01:02.978 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.045) 0:01:03.023 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.037) 0:01:03.061 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.022) 0:01:03.083 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.140) 0:01:03.224 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.022) 0:01:03.246 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020751", "end": "2024-02-14 02:45:13.550893", "rc": 1, "start": "2024-02-14 02:45:13.530142" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.173) 0:01:03.419 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.025) 0:01:03.444 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.023) 0:01:03.468 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.025) 0:01:03.493 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.023) 0:01:03.517 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.022) 0:01:03.540 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.024) 0:01:03.565 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.701240", "end": "2024-02-14 02:45:14.546369", "rc": 0, "start": "2024-02-14 02:45:13.845129" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 02:45:14 +0000 (0:00:00.856) 0:01:04.421 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 02:45:14 +0000 (0:00:00.024) 0:01:04.446 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:45:14 +0000 (0:00:00.027) 0:01:04.473 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:45:14 +0000 (0:00:00.050) 0:01:04.523 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:45:14 +0000 (0:00:00.042) 0:01:04.565 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:45:14 +0000 (0:00:00.180) 0:01:04.746 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:45:14 +0000 (0:00:00.025) 0:01:04.771 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:45:14 +0000 (0:00:00.024) 0:01:04.795 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:45:15 +0000 (0:00:00.048) 0:01:04.844 **** 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.048294", "end": "2024-02-14 02:45:15.173924", "rc": 1, "start": "2024-02-14 02:45:15.125630" } 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_rewrite3x2ioa39/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:45:15 +0000 (0:00:00.187) 0:01:05.031 **** 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.008083", "end": "2024-02-14 02:45:15.330310", "rc": 0, "start": "2024-02-14 02:45:15.322227" } 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:67:10:a5:71:61 brd ff:ff:ff:ff:ff:ff inet 10.31.14.197/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3355sec preferred_lft 3355sec inet6 fe80::867:10ff:fea5:7161/64 scope link valid_lft forever preferred_lft forever 12: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ee:35:9e:62:76:cf brd ff:ff:ff:ff:ff:ff 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.14.197 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_rewrite3x2ioa39/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:45:15 +0000 (0:00:00.156) 0:01:05.188 **** 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.575923", "end": "2024-02-14 02:45:16.049168", "rc": 0, "start": "2024-02-14 02:45:15.473245" } 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 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 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.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2620:52:3:1:dead:beef:cafe:fed6 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 753 0 --:--:-- --:--:-- --:--:-- 754 % 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 2006 0 --:--:-- --:--:-- --:--:-- 2020 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 02:45:16 +0000 (0:00:00.706) 0:01:05.894 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.08s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.52s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.31s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.18s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.16s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.08s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---