# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bond_options_rewritekj72w0hr/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.024) 0:00:00.024 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.822) 0:00:00.846 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.018) 0:00:00.865 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.287) 0:00:01.152 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.261) 0:00:01.414 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.014) 0:00:01.429 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.008) 0:00:01.438 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.021) 0:00:01.459 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.209) 0:00:01.669 **** 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_rewritekj72w0hr/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.517) 0:00:02.186 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.212739", "end": "2024-02-14 17:20:38.949704", "rc": 0, "start": "2024-02-14 17:20:38.736965" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.349) 0:00:02.536 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.008) 0:00:02.544 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.007) 0:00:02.552 **** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.014) 0:00:02.567 **** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.552) 0:00:03.119 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.010) 0:00:03.130 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.013) 0:00:03.143 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.009) 0:00:03.153 **** 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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.027) 0:00:03.181 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.012) 0:00:03.193 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.011) 0:00:03.205 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004256", "end": "2024-02-14 17:20:39.759971", "rc": 0, "start": "2024-02-14 17:20:39.755715" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.150) 0:00:03.355 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.014) 0:00:03.369 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.019) 0:00:03.389 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.019) 0:00:03.408 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013303", "end": "2024-02-14 17:20:39.985459", "rc": 1, "start": "2024-02-14 17:20:39.972156" } 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_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.161) 0:00:03.569 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.012) 0:00:03.581 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.140) 0:00:03.722 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.011) 0:00:03.734 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.016) 0:00:03.751 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.044) 0:00:03.795 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.023) 0:00:03.819 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.019) 0:00:03.838 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.012) 0:00:03.851 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.029) 0:00:03.880 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:20:41 +0000 (0:00:01.003) 0:00:04.884 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:42 +0000 (0:00:01.008) 0:00:05.892 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.021) 0:00:05.913 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.021) 0:00:05.934 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.022) 0:00:05.956 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.074) 0:00:06.031 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.040) 0:00:06.072 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.038) 0:00:06.110 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.050) 0:00:06.161 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.485) 0:00:06.647 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.036) 0:00:06.683 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.042) 0:00:06.726 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.025) 0:00:06.751 **** 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, 41fa74fe-0ef6-495c-a33c-9868a77a1891 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.518) 0:00:07.270 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.022) 0:00:07.293 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 41fa74fe-0ef6-495c-a33c-9868a77a1891" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.020) 0:00:07.314 **** 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, 41fa74fe-0ef6-495c-a33c-9868a77a1891\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 41fa74fe-0ef6-495c-a33c-9868a77a1891" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.020) 0:00:07.335 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.020) 0:00:07.356 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.212) 0:00:07.568 **** 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, 41fa74fe-0ef6-495c-a33c-9868a77a1891\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 41fa74fe-0ef6-495c-a33c-9868a77a1891" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.022) 0:00:07.590 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.033) 0:00:07.623 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.032) 0:00:07.656 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.020) 0:00:07.676 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931243.605101, "block_size": 4096, "blocks": 8, "ctime": 1707931243.604101, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931243.604101, "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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.154) 0:00:07.830 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.021) 0:00:07.851 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027268", "end": "2024-02-14 17:20:44.440583", "rc": 0, "start": "2024-02-14 17:20:44.413315" } 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.184) 0:00:08.036 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.032) 0:00:08.069 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.048) 0:00:08.117 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.019) 0:00:08.137 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.020) 0:00:08.157 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.022) 0:00:08.180 **** 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_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.022) 0:00:08.203 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.022) 0:00:08.225 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.021) 0:00:08.246 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_present.yml for sut => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.063) 0:00:08.310 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.030) 0:00:08.341 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931243.617101, "block_size": 4096, "blocks": 0, "ctime": 1707931243.607101, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17547, "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": 1707931243.607101, "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_rewritekj72w0hr/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.150) 0:00:08.491 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.021) 0:00:08.513 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.020) 0:00:08.533 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.033) 0:00:08.567 **** 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.087126", "end": "2024-02-14 17:20:45.207044", "rc": 1, "start": "2024-02-14 17:20:45.119918" } STDOUT: Connection 'statebr' (41fa74fe-0ef6-495c-a33c-9868a77a1891) 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_rewritekj72w0hr/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.270) 0:00:08.838 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.032) 0:00:08.870 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.057) 0:00:08.928 **** 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. '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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.046) 0:00:08.975 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.036) 0:00:09.012 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.049) 0:00:09.061 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004653", "end": "2024-02-14 17:20:45.623558", "rc": 0, "start": "2024-02-14 17:20:45.618905" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.165) 0:00:09.227 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.074) 0:00:09.301 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.061) 0:00:09.363 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.067) 0:00:09.430 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008579", "end": "2024-02-14 17:20:46.009193", "rc": 1, "start": "2024-02-14 17:20:46.000614" } 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_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.176) 0:00:09.607 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.040) 0:00:09.647 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.157) 0:00:09.805 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.057) 0:00:09.863 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.058) 0:00:09.922 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.096) 0:00:10.019 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.046) 0:00:10.065 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.034) 0:00:10.099 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.025) 0:00:10.124 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.027) 0:00:10.151 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.938) 0:00:11.090 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.786) 0:00:11.877 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.064) 0:00:11.941 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.055) 0:00:11.997 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.040) 0:00:12.037 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.093) 0:00:12.131 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.021) 0:00:12.153 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.033) 0:00:12.186 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.033) 0:00:12.220 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.293) 0:00:12.514 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.035) 0:00:12.550 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.062) 0:00:12.612 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.022) 0:00:12.634 **** 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, 18c69f38-7f7d-44e6-81da-190157346846 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.350) 0:00:12.984 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.023) 0:00:13.008 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18c69f38-7f7d-44e6-81da-190157346846" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.023) 0:00:13.031 **** 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, 18c69f38-7f7d-44e6-81da-190157346846\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18c69f38-7f7d-44e6-81da-190157346846" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.023) 0:00:13.055 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.028) 0:00:13.083 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.159) 0:00:13.243 **** 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, 18c69f38-7f7d-44e6-81da-190157346846\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18c69f38-7f7d-44e6-81da-190157346846" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.022) 0:00:13.265 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.037) 0:00:13.303 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.029) 0:00:13.333 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.156) 0:00:13.489 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.033) 0:00:13.522 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.049) 0:00:13.571 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.029) 0:00:13.601 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931249.3680906, "block_size": 4096, "blocks": 8, "ctime": 1707931249.3680906, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931249.3680906, "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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.195) 0:00:13.796 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.021) 0:00:13.817 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022821", "end": "2024-02-14 17:20:50.393081", "rc": 0, "start": "2024-02-14 17:20:50.370260" } 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.170) 0:00:13.987 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.023) 0:00:14.010 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.021) 0:00:14.032 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.025) 0:00:14.057 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.026) 0:00:14.083 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.020) 0:00:14.104 **** 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_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.021) 0:00:14.126 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.022) 0:00:14.148 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.021) 0:00:14.170 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.027) 0:00:14.197 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.020) 0:00:14.217 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.032) 0:00:14.249 **** 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.050370", "end": "2024-02-14 17:20:50.852904", "rc": 1, "start": "2024-02-14 17:20:50.802534" } STDOUT: Connection 'statebr' (18c69f38-7f7d-44e6-81da-190157346846) 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_rewritekj72w0hr/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.203) 0:00:14.453 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.052) 0:00:14.505 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.020) 0:00:14.525 **** 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. '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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.069) 0:00:14.595 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.030) 0:00:14.626 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.050) 0:00:14.676 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004429", "end": "2024-02-14 17:20:51.269746", "rc": 0, "start": "2024-02-14 17:20:51.265317" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.209) 0:00:14.885 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.025) 0:00:14.911 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.046) 0:00:14.957 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.032) 0:00:14.990 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.050) 0:00:15.040 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.045) 0:00:15.086 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.039) 0:00:15.126 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.022) 0:00:15.149 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.026) 0:00:15.175 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.910) 0:00:16.085 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.791) 0:00:16.877 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.022) 0:00:16.899 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.021) 0:00:16.921 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.028) 0:00:16.949 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.061) 0:00:17.011 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.033) 0:00:17.045 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.024) 0:00:17.070 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.034) 0:00:17.104 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.273) 0:00:17.377 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.045) 0:00:17.423 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.027) 0:00:17.451 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.054) 0:00:17.505 **** 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, 73e73282-0f72-49b8-b6bf-988f5fe2f856 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.416) 0:00:17.922 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.040) 0:00:17.962 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 73e73282-0f72-49b8-b6bf-988f5fe2f856" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.028) 0:00:17.991 **** 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, 73e73282-0f72-49b8-b6bf-988f5fe2f856\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 73e73282-0f72-49b8-b6bf-988f5fe2f856" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.030) 0:00:18.021 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.034) 0:00:18.056 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.218) 0:00:18.274 **** 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, 73e73282-0f72-49b8-b6bf-988f5fe2f856\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 73e73282-0f72-49b8-b6bf-988f5fe2f856" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.035) 0:00:18.310 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.044) 0:00:18.355 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.043) 0:00:18.398 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.046) 0:00:18.445 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.043) 0:00:18.488 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.055) 0:00:18.543 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.034) 0:00:18.577 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.943) 0:00:19.521 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.790) 0:00:20.311 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.056) 0:00:20.367 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.040) 0:00:20.408 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.042) 0:00:20.450 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.206) 0:00:20.657 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.036) 0:00:20.693 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.028) 0:00:20.721 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.050) 0:00:20.772 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.312) 0:00:21.084 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.033) 0:00:21.118 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.022) 0:00:21.140 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.028) 0:00:21.169 **** 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, 73e73282-0f72-49b8-b6bf-988f5fe2f856 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.322) 0:00:21.492 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.034) 0:00:21.527 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 73e73282-0f72-49b8-b6bf-988f5fe2f856 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.040) 0:00:21.567 **** 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, 73e73282-0f72-49b8-b6bf-988f5fe2f856 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 73e73282-0f72-49b8-b6bf-988f5fe2f856 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.024) 0:00:21.592 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.040) 0:00:21.633 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.179) 0:00:21.812 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.060) 0:00:21.873 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.034) 0:00:21.907 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931254.276082, "block_size": 4096, "blocks": 0, "ctime": 1707931254.2690818, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17547, "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": 1707931254.2690818, "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_rewritekj72w0hr/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.206) 0:00:22.113 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.045) 0:00:22.159 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.041) 0:00:22.201 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.022) 0:00:22.223 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931254.330082, "block_size": 4096, "blocks": 8, "ctime": 1707931254.267082, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931254.267082, "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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.182) 0:00:22.406 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.020) 0:00:22.426 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023838", "end": "2024-02-14 17:20:59.003958", "rc": 0, "start": "2024-02-14 17:20:58.980120" } 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.171) 0:00:22.598 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.020) 0:00:22.619 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.020) 0:00:22.639 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.018) 0:00:22.657 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.018) 0:00:22.676 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.018) 0:00:22.695 **** 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_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.021) 0:00:22.716 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.021) 0:00:22.738 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.021) 0:00:22.759 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.027) 0:00:22.786 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.020) 0:00:22.806 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.033) 0:00:22.840 **** 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.082076", "end": "2024-02-14 17:20:59.475868", "rc": 1, "start": "2024-02-14 17:20:59.393792" } STDOUT: Connection 'statebr' (73e73282-0f72-49b8-b6bf-988f5fe2f856) successfully deleted. STDERR: (process:24626): GLib-GIO-WARNING **: 17:20:59.450: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:24626): GLib-GIO-WARNING **: 17:20:59.450: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/78 but no object proxy exists (process:24626): GLib-GIO-WARNING **: 17:20:59.450: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/50 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_rewritekj72w0hr/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.264) 0:00:23.105 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.032) 0:00:23.138 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.019) 0:00:23.158 **** 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. '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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.037) 0:00:23.195 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.028) 0:00:23.223 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.027) 0:00:23.251 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004703", "end": "2024-02-14 17:20:59.811194", "rc": 0, "start": "2024-02-14 17:20:59.806491" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.153) 0:00:23.404 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.031) 0:00:23.435 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.022) 0:00:23.458 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.034) 0:00:23.493 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:59 +0000 (0:00:00.041) 0:00:23.534 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:00 +0000 (0:00:00.036) 0:00:23.571 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:00 +0000 (0:00:00.071) 0:00:23.643 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:00 +0000 (0:00:00.023) 0:00:23.667 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:00 +0000 (0:00:00.023) 0:00:23.690 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:01 +0000 (0:00:00.899) 0:00:24.589 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:01 +0000 (0:00:00.783) 0:00:25.373 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:01 +0000 (0:00:00.026) 0:00:25.399 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:01 +0000 (0:00:00.028) 0:00:25.428 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:01 +0000 (0:00:00.042) 0:00:25.471 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:01 +0000 (0:00:00.083) 0:00:25.555 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.030) 0:00:25.585 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.037) 0:00:25.623 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.041) 0:00:25.665 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.309) 0:00:25.974 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.035) 0:00:26.010 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.019) 0:00:26.029 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.023) 0:00:26.052 **** 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, e27b29e4-f2e0-468c-8675-220df0fcd0e2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.411) 0:00:26.464 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.077) 0:00:26.541 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e27b29e4-f2e0-468c-8675-220df0fcd0e2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:02 +0000 (0:00:00.027) 0:00:26.569 **** 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, e27b29e4-f2e0-468c-8675-220df0fcd0e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e27b29e4-f2e0-468c-8675-220df0fcd0e2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:03 +0000 (0:00:00.024) 0:00:26.594 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:03 +0000 (0:00:00.023) 0:00:26.618 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:21:03 +0000 (0:00:00.169) 0:00:26.787 **** 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, e27b29e4-f2e0-468c-8675-220df0fcd0e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e27b29e4-f2e0-468c-8675-220df0fcd0e2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:21:03 +0000 (0:00:00.023) 0:00:26.811 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:03 +0000 (0:00:00.040) 0:00:26.852 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:03 +0000 (0:00:00.052) 0:00:26.904 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:03 +0000 (0:00:00.066) 0:00:26.970 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:03 +0000 (0:00:00.027) 0:00:26.998 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:03 +0000 (0:00:00.032) 0:00:27.031 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:04 +0000 (0:00:00.911) 0:00:27.942 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.763) 0:00:28.705 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.072) 0:00:28.778 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.027) 0:00:28.805 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.030) 0:00:28.836 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.072) 0:00:28.908 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.023) 0:00:28.932 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.024) 0:00:28.956 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.043) 0:00:29.000 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.340) 0:00:29.340 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.043) 0:00:29.383 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.033) 0:00:29.417 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:05 +0000 (0:00:00.022) 0:00:29.439 **** 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, e27b29e4-f2e0-468c-8675-220df0fcd0e2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.355) 0:00:29.794 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.024) 0:00:29.819 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e27b29e4-f2e0-468c-8675-220df0fcd0e2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.027) 0:00:29.846 **** 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, e27b29e4-f2e0-468c-8675-220df0fcd0e2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e27b29e4-f2e0-468c-8675-220df0fcd0e2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.031) 0:00:29.878 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.025) 0:00:29.904 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.161) 0:00:30.065 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.049) 0:00:30.114 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.093) 0:00:30.208 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.049) 0:00:30.257 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.035) 0:00:30.293 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.027) 0:00:30.321 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:06 +0000 (0:00:00.037) 0:00:30.358 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:07 +0000 (0:00:00.931) 0:00:31.290 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:08 +0000 (0:00:00.769) 0:00:32.059 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:08 +0000 (0:00:00.050) 0:00:32.110 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:08 +0000 (0:00:00.023) 0:00:32.134 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:08 +0000 (0:00:00.023) 0:00:32.157 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:08 +0000 (0:00:00.052) 0:00:32.210 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:08 +0000 (0:00:00.021) 0:00:32.231 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:08 +0000 (0:00:00.022) 0:00:32.254 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:08 +0000 (0:00:00.035) 0:00:32.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 [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:09 +0000 (0:00:00.459) 0:00:32.749 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:09 +0000 (0:00:00.109) 0:00:32.859 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:09 +0000 (0:00:00.022) 0:00:32.881 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:09 +0000 (0:00:00.022) 0:00:32.903 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:09 +0000 (0:00:00.375) 0:00:33.278 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:09 +0000 (0:00:00.032) 0:00:33.311 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:09 +0000 (0:00:00.022) 0:00:33.333 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:09 +0000 (0:00:00.048) 0:00:33.382 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:09 +0000 (0:00:00.034) 0:00:33.416 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.214) 0:00:33.630 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.081) 0:00:33.711 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.056) 0:00:33.767 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931262.8100667, "block_size": 4096, "blocks": 0, "ctime": 1707931262.8010666, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17549, "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": 1707931262.8010666, "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_rewritekj72w0hr/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.179) 0:00:33.947 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.048) 0:00:33.995 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.082) 0:00:34.078 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.059) 0:00:34.138 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.149) 0:00:34.287 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.033) 0:00:34.320 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024140", "end": "2024-02-14 17:21:10.904145", "rc": 1, "start": "2024-02-14 17:21:10.880005" } 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.188) 0:00:34.509 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.029) 0:00:34.539 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:21:10 +0000 (0:00:00.020) 0:00:34.559 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.029) 0:00:34.588 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.028) 0:00:34.616 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.023) 0:00:34.639 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.044) 0:00:34.684 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.040) 0:00:34.724 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.029) 0:00:34.754 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.040) 0:00:34.795 **** 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.090990", "end": "2024-02-14 17:21:11.440208", "rc": 1, "start": "2024-02-14 17:21:11.349218" } STDOUT: Connection 'statebr' (e27b29e4-f2e0-468c-8675-220df0fcd0e2) successfully deleted. STDERR: (process:25310): GLib-GIO-WARNING **: 17:21:11.416: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists (process:25310): GLib-GIO-WARNING **: 17:21:11.416: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/80 but no object proxy exists (process:25310): GLib-GIO-WARNING **: 17:21:11.416: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/51 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_rewritekj72w0hr/tests/playbooks/tests_states.yml:102 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.239) 0:00:35.034 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.037) 0:00:35.071 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.022) 0:00:35.094 **** 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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.078) 0:00:35.173 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.124) 0:00:35.297 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.033) 0:00:35.331 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004584", "end": "2024-02-14 17:21:11.906044", "rc": 0, "start": "2024-02-14 17:21:11.901460" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.192) 0:00:35.523 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:21:11 +0000 (0:00:00.028) 0:00:35.552 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:21:12 +0000 (0:00:00.025) 0:00:35.577 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:21:12 +0000 (0:00:00.037) 0:00:35.615 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:12 +0000 (0:00:00.043) 0:00:35.659 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:12 +0000 (0:00:00.038) 0:00:35.697 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:12 +0000 (0:00:00.034) 0:00:35.732 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:12 +0000 (0:00:00.023) 0:00:35.755 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:12 +0000 (0:00:00.024) 0:00:35.779 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:13 +0000 (0:00:00.903) 0:00:36.682 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:13 +0000 (0:00:00.883) 0:00:37.566 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.060) 0:00:37.627 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.043) 0:00:37.671 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.042) 0:00:37.713 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.107) 0:00:37.820 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.026) 0:00:37.847 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.036) 0:00:37.883 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.073) 0:00:37.957 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.330) 0:00:38.287 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.046) 0:00:38.333 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.023) 0:00:38.357 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:14 +0000 (0:00:00.025) 0:00:38.383 **** 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, b3d2f912-8f19-4a72-b0c0-6d05148fa962 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.401) 0:00:38.784 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.054) 0:00:38.839 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3d2f912-8f19-4a72-b0c0-6d05148fa962" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.042) 0:00:38.882 **** 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, b3d2f912-8f19-4a72-b0c0-6d05148fa962\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3d2f912-8f19-4a72-b0c0-6d05148fa962" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.036) 0:00:38.919 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.026) 0:00:38.946 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.180) 0:00:39.126 **** 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, b3d2f912-8f19-4a72-b0c0-6d05148fa962\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3d2f912-8f19-4a72-b0c0-6d05148fa962" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.097) 0:00:39.223 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.057) 0:00:39.280 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.044) 0:00:39.325 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.033) 0:00:39.358 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.030) 0:00:39.389 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:15 +0000 (0:00:00.022) 0:00:39.411 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:16 +0000 (0:00:00.930) 0:00:40.342 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:17 +0000 (0:00:00.839) 0:00:41.182 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:17 +0000 (0:00:00.043) 0:00:41.225 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:17 +0000 (0:00:00.027) 0:00:41.252 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:17 +0000 (0:00:00.027) 0:00:41.280 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:17 +0000 (0:00:00.058) 0:00:41.339 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:17 +0000 (0:00:00.023) 0:00:41.363 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:17 +0000 (0:00:00.022) 0:00:41.385 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:17 +0000 (0:00:00.087) 0:00:41.473 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.285) 0:00:41.758 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.049) 0:00:41.808 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.055) 0:00:41.864 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.028) 0:00:41.893 **** 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, b3d2f912-8f19-4a72-b0c0-6d05148fa962 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.383) 0:00:42.276 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.036) 0:00:42.313 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3d2f912-8f19-4a72-b0c0-6d05148fa962 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.026) 0:00:42.340 **** 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, b3d2f912-8f19-4a72-b0c0-6d05148fa962 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3d2f912-8f19-4a72-b0c0-6d05148fa962 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.025) 0:00:42.365 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.023) 0:00:42.388 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:21:18 +0000 (0:00:00.150) 0:00:42.539 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:19 +0000 (0:00:00.040) 0:00:42.580 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:19 +0000 (0:00:00.037) 0:00:42.617 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:19 +0000 (0:00:00.031) 0:00:42.648 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:19 +0000 (0:00:00.021) 0:00:42.670 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:19 +0000 (0:00:00.020) 0:00:42.691 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:20 +0000 (0:00:00.963) 0:00:43.655 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:20 +0000 (0:00:00.740) 0:00:44.396 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:20 +0000 (0:00:00.023) 0:00:44.420 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:20 +0000 (0:00:00.023) 0:00:44.443 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:20 +0000 (0:00:00.025) 0:00:44.468 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:20 +0000 (0:00:00.057) 0:00:44.525 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:20 +0000 (0:00:00.026) 0:00:44.552 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:21 +0000 (0:00:00.031) 0:00:44.583 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:21 +0000 (0:00:00.058) 0:00:44.642 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:21 +0000 (0:00:00.274) 0:00:44.916 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:21 +0000 (0:00:00.036) 0:00:44.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 [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:21 +0000 (0:00:00.019) 0:00:44.972 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:21 +0000 (0:00:00.020) 0:00:44.993 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:21 +0000 (0:00:00.348) 0:00:45.341 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:21 +0000 (0:00:00.055) 0:00:45.397 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:21 +0000 (0:00:00.040) 0:00:45.437 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:22 +0000 (0:00:00.143) 0:00:45.580 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:22 +0000 (0:00:00.025) 0:00:45.605 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:21:22 +0000 (0:00:00.156) 0:00:45.762 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:21:22 +0000 (0:00:00.034) 0:00:45.797 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:22 +0000 (0:00:00.039) 0:00:45.836 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:22 +0000 (0:00:00.038) 0:00:45.875 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:22 +0000 (0:00:00.032) 0:00:45.907 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:22 +0000 (0:00:00.032) 0:00:45.939 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:22 +0000 (0:00:00.040) 0:00:45.980 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:23 +0000 (0:00:00.913) 0:00:46.894 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.759) 0:00:47.654 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.036) 0:00:47.690 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.089) 0:00:47.780 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.029) 0:00:47.809 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.064) 0:00:47.874 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.059) 0:00:47.934 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.046) 0:00:47.980 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.048) 0:00:48.028 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.300) 0:00:48.329 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.048) 0:00:48.377 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.019) 0:00:48.397 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:24 +0000 (0:00:00.019) 0:00:48.416 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.425) 0:00:48.842 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.035) 0:00:48.878 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.045) 0:00:48.924 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.033) 0:00:48.957 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.029) 0:00:48.987 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.157) 0:00:49.145 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.050) 0:00:49.195 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.078) 0:00:49.274 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.024) 0:00:49.298 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.179) 0:00:49.478 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:21:25 +0000 (0:00:00.020) 0:00:49.499 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024004", "end": "2024-02-14 17:21:26.084443", "rc": 1, "start": "2024-02-14 17:21:26.060439" } 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.190) 0:00:49.689 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.021) 0:00:49.711 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.022) 0:00:49.734 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.019) 0:00:49.753 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.019) 0:00:49.773 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.028) 0:00:49.801 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.022) 0:00:49.823 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.057) 0:00:49.881 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.041) 0:00:49.923 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.157) 0:00:50.080 **** 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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.022) 0:00:50.103 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.020) 0:00:50.123 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.033) 0:00:50.157 **** 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.047989", "end": "2024-02-14 17:21:26.757413", "rc": 1, "start": "2024-02-14 17:21:26.709424" } 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_rewritekj72w0hr/tests/playbooks/tests_states.yml:124 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.234) 0:00:50.391 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.032) 0:00:50.424 **** 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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.031) 0:00:50.455 **** 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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.051) 0:00:50.507 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:21:26 +0000 (0:00:00.033) 0:00:50.541 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.038) 0:00:50.579 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004617", "end": "2024-02-14 17:21:27.136914", "rc": 0, "start": "2024-02-14 17:21:27.132297" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.152) 0:00:50.731 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.026) 0:00:50.757 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.021) 0:00:50.778 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.040) 0:00:50.819 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.044) 0:00:50.864 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.041) 0:00:50.905 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.098) 0:00:51.004 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.022) 0:00:51.027 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:27 +0000 (0:00:00.022) 0:00:51.049 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:28 +0000 (0:00:00.914) 0:00:51.963 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.769) 0:00:52.733 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.024) 0:00:52.757 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.025) 0:00:52.782 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.024) 0:00:52.807 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.074) 0:00:52.882 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.038) 0:00:52.920 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.050) 0:00:52.971 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.038) 0:00:53.010 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.291) 0:00:53.301 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.035) 0:00:53.337 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.019) 0:00:53.356 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:29 +0000 (0:00:00.018) 0:00:53.375 **** 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, 1c312151-e543-4ae2-a0b5-cd2064411866 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.415) 0:00:53.791 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.125) 0:00:53.917 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c312151-e543-4ae2-a0b5-cd2064411866" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.042) 0:00:53.959 **** 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, 1c312151-e543-4ae2-a0b5-cd2064411866\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c312151-e543-4ae2-a0b5-cd2064411866" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.052) 0:00:54.012 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.024) 0:00:54.036 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.174) 0:00:54.210 **** 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, 1c312151-e543-4ae2-a0b5-cd2064411866\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c312151-e543-4ae2-a0b5-cd2064411866" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.036) 0:00:54.247 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.040) 0:00:54.287 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.040) 0:00:54.328 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.033) 0:00:54.361 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.024) 0:00:54.386 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:30 +0000 (0:00:00.026) 0:00:54.412 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:31 +0000 (0:00:00.908) 0:00:55.321 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:32 +0000 (0:00:00.741) 0:00:56.063 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:32 +0000 (0:00:00.069) 0:00:56.133 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:32 +0000 (0:00:00.023) 0:00:56.156 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:32 +0000 (0:00:00.024) 0:00:56.180 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:32 +0000 (0:00:00.052) 0:00:56.232 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:32 +0000 (0:00:00.023) 0:00:56.255 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:32 +0000 (0:00:00.024) 0:00:56.280 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:32 +0000 (0:00:00.039) 0:00:56.319 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.277) 0:00:56.597 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.037) 0:00:56.635 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.029) 0:00:56.665 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.022) 0:00:56.687 **** 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, 1c312151-e543-4ae2-a0b5-cd2064411866 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.322) 0:00:57.009 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.034) 0:00:57.044 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1c312151-e543-4ae2-a0b5-cd2064411866 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.053) 0:00:57.097 **** 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, 1c312151-e543-4ae2-a0b5-cd2064411866 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1c312151-e543-4ae2-a0b5-cd2064411866 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.047) 0:00:57.145 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.031) 0:00:57.177 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.176) 0:00:57.353 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.079) 0:00:57.432 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:33 +0000 (0:00:00.114) 0:00:57.547 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:34 +0000 (0:00:00.038) 0:00:57.585 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:34 +0000 (0:00:00.025) 0:00:57.611 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:34 +0000 (0:00:00.032) 0:00:57.643 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:34 +0000 (0:00:00.900) 0:00:58.543 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:35 +0000 (0:00:00.761) 0:00:59.305 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:35 +0000 (0:00:00.024) 0:00:59.329 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:35 +0000 (0:00:00.029) 0:00:59.359 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:35 +0000 (0:00:00.055) 0:00:59.414 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:35 +0000 (0:00:00.060) 0:00:59.474 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:35 +0000 (0:00:00.026) 0:00:59.500 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:35 +0000 (0:00:00.029) 0:00:59.530 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:36 +0000 (0:00:00.052) 0:00:59.582 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:36 +0000 (0:00:00.298) 0:00:59.881 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:36 +0000 (0:00:00.036) 0:00:59.917 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:36 +0000 (0:00:00.095) 0:01:00.013 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:36 +0000 (0:00:00.027) 0:01:00.041 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.530) 0:01:00.571 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.025) 0:01:00.597 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.025) 0:01:00.622 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.032) 0:01:00.655 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.024) 0:01:00.679 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.153) 0:01:00.833 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.042) 0:01:00.875 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.041) 0:01:00.916 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.038) 0:01:00.954 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.046) 0:01:01.001 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.025) 0:01:01.027 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:21:37 +0000 (0:00:00.036) 0:01:01.064 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:21:38 +0000 (0:00:00.944) 0:01:02.008 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.767) 0:01:02.775 **** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.026) 0:01:02.801 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.028) 0:01:02.829 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.025) 0:01:02.855 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.055) 0:01:02.910 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.031) 0:01:02.941 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.027) 0:01:02.969 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.039) 0:01:03.009 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.322) 0:01:03.331 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.037) 0:01:03.368 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.022) 0:01:03.390 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:21:39 +0000 (0:00:00.021) 0:01:03.412 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.329) 0:01:03.741 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.024) 0:01:03.766 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.024) 0:01:03.790 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.023) 0:01:03.813 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.022) 0:01:03.836 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.208) 0:01:04.044 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.052) 0:01:04.097 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.048) 0:01:04.145 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.030) 0:01:04.175 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.152) 0:01:04.327 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.018) 0:01:04.346 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021399", "end": "2024-02-14 17:21:40.920417", "rc": 1, "start": "2024-02-14 17:21:40.899018" } 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_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.173) 0:01:04.520 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.021) 0:01:04.542 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:21:40 +0000 (0:00:00.020) 0:01:04.562 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:21:41 +0000 (0:00:00.019) 0:01:04.582 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:21:41 +0000 (0:00:00.018) 0:01:04.601 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:21:41 +0000 (0:00:00.021) 0:01:04.622 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 17:21:41 +0000 (0:00:00.021) 0:01:04.644 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.443006", "end": "2024-02-14 17:21:41.640918", "rc": 0, "start": "2024-02-14 17:21:41.197912" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 17:21:41 +0000 (0:00:00.592) 0:01:05.237 **** 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_rewritekj72w0hr/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 17:21:41 +0000 (0:00:00.021) 0:01:05.258 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:21:41 +0000 (0:00:00.020) 0:01:05.279 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:21:41 +0000 (0:00:00.092) 0:01:05.371 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:21:41 +0000 (0:00:00.031) 0:01:05.403 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:21:42 +0000 (0:00:00.191) 0:01:05.594 **** 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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:21:42 +0000 (0:00:00.031) 0:01:05.626 **** 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_rewritekj72w0hr/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:21:42 +0000 (0:00:00.022) 0:01:05.649 **** included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekj72w0hr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:21:42 +0000 (0:00:00.042) 0:01:05.691 **** 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.048434", "end": "2024-02-14 17:21:42.297174", "rc": 1, "start": "2024-02-14 17:21:42.248740" } 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_rewritekj72w0hr/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:21:42 +0000 (0:00:00.200) 0:01:05.892 **** 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.008870", "end": "2024-02-14 17:21:42.456375", "rc": 0, "start": "2024-02-14 17:21:42.447505" } 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 0e:61:38:10:55:a9 brd ff:ff:ff:ff:ff:ff inet 10.31.42.235/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 2719sec preferred_lft 2719sec inet6 fe80::c61:38ff:fe10:55a9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.235 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_rewritekj72w0hr/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:21:42 +0000 (0:00:00.160) 0:01:06.052 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Wednesday 14 February 2024 17:21:42 +0000 (0:00:00.056) 0:01:06.108 **** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.00s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.96s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.94s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.94s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.94s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.88s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-bond_options_rewritekj72w0hr/tests/tests_states_nm.yml:6 --------- fedora.linux_system_roles.network : Check which packages are installed --- 0.79s /WORKDIR/git-bond_options_rewritekj72w0hr/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---