# 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_rewriteuv2sua6l/.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_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.013) 0:00:00.013 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.838) 0:00:00.852 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.013) 0:00:00.866 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 21:32:10 +0000 (0:00:00.249) 0:00:01.115 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 21:32:10 +0000 (0:00:00.253) 0:00:01.368 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 21:32:10 +0000 (0:00:00.014) 0:00:01.383 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 21:32:10 +0000 (0:00:00.010) 0:00:01.393 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 21:32:10 +0000 (0:00:00.024) 0:00:01.418 **** 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_rewriteuv2sua6l/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 21:32:10 +0000 (0:00:00.211) 0:00:01.630 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 21:32:11 +0000 (0:00:00.471) 0:00:02.101 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177924", "end": "2024-02-14 21:32:11.503440", "rc": 0, "start": "2024-02-14 21:32:11.325516" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 21:32:11 +0000 (0:00:00.310) 0:00:02.412 **** 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_rewriteuv2sua6l/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 21:32:11 +0000 (0:00:00.011) 0:00:02.423 **** 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_rewriteuv2sua6l/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 21:32:11 +0000 (0:00:00.011) 0:00:02.434 **** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 21:32:11 +0000 (0:00:00.039) 0:00:02.474 **** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.530) 0:00:03.005 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.011) 0:00:03.016 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.017) 0:00:03.034 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.011) 0:00:03.045 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.030) 0:00:03.075 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.012) 0:00:03.088 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.012) 0:00:03.100 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003987", "end": "2024-02-14 21:32:12.327087", "rc": 0, "start": "2024-02-14 21:32:12.323100" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.127) 0:00:03.227 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.012) 0:00:03.239 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.011) 0:00:03.250 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.017) 0:00:03.268 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011513", "end": "2024-02-14 21:32:12.523844", "rc": 1, "start": "2024-02-14 21:32:12.512331" } 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.154) 0:00:03.423 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.024) 0:00:03.447 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.160) 0:00:03.608 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.011) 0:00:03.619 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.046) 0:00:03.666 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.028) 0:00:03.695 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.032) 0:00:03.727 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.023) 0:00:03.750 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.037) 0:00:03.788 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:12 +0000 (0:00:00.024) 0:00:03.813 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:13 +0000 (0:00:00.923) 0:00:04.736 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:15 +0000 (0:00:01.155) 0:00:05.891 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.024) 0:00:05.915 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.025) 0:00:05.940 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.024) 0:00:05.964 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.061) 0:00:06.026 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.022) 0:00:06.048 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.026) 0:00:06.075 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.039) 0:00:06.114 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.611) 0:00:06.726 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.065) 0:00:06.791 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.020) 0:00:06.812 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:32:15 +0000 (0:00:00.023) 0:00:06.835 **** 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, 711b94cd-2dc1-4f16-a3b6-fcde381aae15 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:32:16 +0000 (0:00:00.557) 0:00:07.393 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:32:16 +0000 (0:00:00.052) 0:00:07.445 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 711b94cd-2dc1-4f16-a3b6-fcde381aae15" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:32:16 +0000 (0:00:00.040) 0:00:07.485 **** 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, 711b94cd-2dc1-4f16-a3b6-fcde381aae15\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 711b94cd-2dc1-4f16-a3b6-fcde381aae15" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:32:16 +0000 (0:00:00.057) 0:00:07.543 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:32:16 +0000 (0:00:00.079) 0:00:07.623 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.267) 0:00:07.890 **** 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, 711b94cd-2dc1-4f16-a3b6-fcde381aae15\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 711b94cd-2dc1-4f16-a3b6-fcde381aae15" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.025) 0:00:07.916 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.051) 0:00:07.968 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.201) 0:00:08.169 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.038) 0:00:08.208 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946336.480282, "block_size": 4096, "blocks": 8, "ctime": 1707946336.402285, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25396, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707946336.402285, "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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.230) 0:00:08.439 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.038) 0:00:08.477 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023470", "end": "2024-02-14 21:32:17.763389", "rc": 0, "start": "2024-02-14 21:32:17.739919" } 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.208) 0:00:08.685 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.060) 0:00:08.746 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.024) 0:00:08.771 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.039) 0:00:08.811 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:32:17 +0000 (0:00:00.069) 0:00:08.881 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.102) 0:00:08.983 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.082) 0:00:09.066 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.032) 0:00:09.098 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.033) 0:00:09.131 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.077) 0:00:09.209 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.121) 0:00:09.330 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946336.405285, "block_size": 4096, "blocks": 0, "ctime": 1707946336.404285, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17763, "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": 1707946336.404285, "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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.199) 0:00:09.530 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.074) 0:00:09.604 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.045) 0:00:09.649 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:32:18 +0000 (0:00:00.056) 0:00:09.706 **** 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.080081", "end": "2024-02-14 21:32:19.025217", "rc": 1, "start": "2024-02-14 21:32:18.945136" } STDOUT: Connection 'statebr' (711b94cd-2dc1-4f16-a3b6-fcde381aae15) 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_rewriteuv2sua6l/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.229) 0:00:09.935 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.135) 0:00:10.070 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.039) 0:00:10.109 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.069) 0:00:10.178 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.036) 0:00:10.215 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.033) 0:00:10.249 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004117", "end": "2024-02-14 21:32:19.488221", "rc": 0, "start": "2024-02-14 21:32:19.484104" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.226) 0:00:10.476 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.020) 0:00:10.496 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.031) 0:00:10.528 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.041) 0:00:10.569 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007590", "end": "2024-02-14 21:32:19.804454", "rc": 1, "start": "2024-02-14 21:32:19.796864" } 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.153) 0:00:10.723 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:32:19 +0000 (0:00:00.059) 0:00:10.782 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:32:20 +0000 (0:00:00.182) 0:00:10.965 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:32:20 +0000 (0:00:00.048) 0:00:11.013 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 21:32:20 +0000 (0:00:00.052) 0:00:11.066 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:20 +0000 (0:00:00.098) 0:00:11.165 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:20 +0000 (0:00:00.061) 0:00:11.226 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:20 +0000 (0:00:00.073) 0:00:11.300 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:20 +0000 (0:00:00.024) 0:00:11.324 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:20 +0000 (0:00:00.054) 0:00:11.378 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:21 +0000 (0:00:00.837) 0:00:12.216 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:22 +0000 (0:00:01.022) 0:00:13.238 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:22 +0000 (0:00:00.028) 0:00:13.266 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:22 +0000 (0:00:00.034) 0:00:13.301 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:22 +0000 (0:00:00.067) 0:00:13.368 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:22 +0000 (0:00:00.102) 0:00:13.471 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:22 +0000 (0:00:00.025) 0:00:13.496 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:22 +0000 (0:00:00.024) 0:00:13.520 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:22 +0000 (0:00:00.050) 0:00:13.571 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.349) 0:00:13.920 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.036) 0:00:13.957 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.024) 0:00:13.982 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.019) 0:00:14.002 **** 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, 9c1fab9a-cc94-4ec0-8cbb-ca2642f6afad TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.322) 0:00:14.324 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.030) 0:00:14.355 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c1fab9a-cc94-4ec0-8cbb-ca2642f6afad" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.026) 0:00:14.381 **** 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, 9c1fab9a-cc94-4ec0-8cbb-ca2642f6afad\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c1fab9a-cc94-4ec0-8cbb-ca2642f6afad" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.046) 0:00:14.427 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.027) 0:00:14.454 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.170) 0:00:14.625 **** 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, 9c1fab9a-cc94-4ec0-8cbb-ca2642f6afad\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c1fab9a-cc94-4ec0-8cbb-ca2642f6afad" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.046) 0:00:14.672 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.041) 0:00:14.713 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:32:23 +0000 (0:00:00.031) 0:00:14.745 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.164) 0:00:14.909 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.022) 0:00:14.931 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.091) 0:00:15.023 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.056) 0:00:15.080 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946343.3950047, "block_size": 4096, "blocks": 8, "ctime": 1707946343.3940048, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707946343.3940048, "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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.224) 0:00:15.305 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.031) 0:00:15.336 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023361", "end": "2024-02-14 21:32:24.642815", "rc": 0, "start": "2024-02-14 21:32:24.619454" } 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.230) 0:00:15.567 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.071) 0:00:15.638 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.070) 0:00:15.709 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.067) 0:00:15.777 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.025) 0:00:15.802 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:32:24 +0000 (0:00:00.039) 0:00:15.842 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.081) 0:00:15.923 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.093) 0:00:16.017 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.039) 0:00:16.056 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.043) 0:00:16.100 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.025) 0:00:16.125 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.036) 0:00:16.162 **** 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.049412", "end": "2024-02-14 21:32:25.447283", "rc": 1, "start": "2024-02-14 21:32:25.397871" } STDOUT: Connection 'statebr' (9c1fab9a-cc94-4ec0-8cbb-ca2642f6afad) 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_rewriteuv2sua6l/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.195) 0:00:16.357 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.064) 0:00:16.421 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.031) 0:00:16.453 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.083) 0:00:16.536 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.036) 0:00:16.573 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.049) 0:00:16.622 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003803", "end": "2024-02-14 21:32:25.855333", "rc": 0, "start": "2024-02-14 21:32:25.851530" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.142) 0:00:16.765 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.038) 0:00:16.804 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:32:25 +0000 (0:00:00.026) 0:00:16.831 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:32:26 +0000 (0:00:00.059) 0:00:16.890 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:26 +0000 (0:00:00.112) 0:00:17.002 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:26 +0000 (0:00:00.055) 0:00:17.057 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:26 +0000 (0:00:00.084) 0:00:17.142 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:26 +0000 (0:00:00.031) 0:00:17.174 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:26 +0000 (0:00:00.077) 0:00:17.252 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:27 +0000 (0:00:00.799) 0:00:18.051 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:28 +0000 (0:00:01.002) 0:00:19.054 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.023) 0:00:19.078 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.028) 0:00:19.106 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.043) 0:00:19.149 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.072) 0:00:19.222 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.025) 0:00:19.247 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.030) 0:00:19.277 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.035) 0:00:19.313 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.267) 0:00:19.580 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.045) 0:00:19.626 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.031) 0:00:19.657 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:32:28 +0000 (0:00:00.042) 0:00:19.699 **** 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, 93c795de-0d72-4607-b13a-023226a56810 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.418) 0:00:20.118 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.056) 0:00:20.175 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 93c795de-0d72-4607-b13a-023226a56810" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.106) 0:00:20.281 **** 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, 93c795de-0d72-4607-b13a-023226a56810\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 93c795de-0d72-4607-b13a-023226a56810" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.036) 0:00:20.317 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.051) 0:00:20.369 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.154) 0:00:20.523 **** 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, 93c795de-0d72-4607-b13a-023226a56810\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 93c795de-0d72-4607-b13a-023226a56810" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.023) 0:00:20.547 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.036) 0:00:20.583 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.042) 0:00:20.625 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.056) 0:00:20.682 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.035) 0:00:20.718 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.070) 0:00:20.788 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:29 +0000 (0:00:00.026) 0:00:20.814 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:30 +0000 (0:00:00.767) 0:00:21.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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:31 +0000 (0:00:01.146) 0:00:22.729 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:31 +0000 (0:00:00.041) 0:00:22.770 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.154) 0:00:22.925 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.082) 0:00:23.007 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.094) 0:00:23.101 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.048) 0:00:23.150 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.033) 0:00:23.184 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.120) 0:00:23.304 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.260) 0:00:23.564 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.048) 0:00:23.613 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.028) 0:00:23.641 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:32:32 +0000 (0:00:00.028) 0:00:23.670 **** 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, 93c795de-0d72-4607-b13a-023226a56810 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.331) 0:00:24.001 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.081) 0:00:24.083 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 93c795de-0d72-4607-b13a-023226a56810 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.050) 0:00:24.134 **** 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, 93c795de-0d72-4607-b13a-023226a56810 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 93c795de-0d72-4607-b13a-023226a56810 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.053) 0:00:24.188 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.026) 0:00:24.214 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.168) 0:00:24.382 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.132) 0:00:24.515 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.079) 0:00:24.594 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946349.143774, "block_size": 4096, "blocks": 0, "ctime": 1707946349.1417742, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17763, "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": 1707946349.1417742, "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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.216) 0:00:24.810 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:32:33 +0000 (0:00:00.043) 0:00:24.853 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.047) 0:00:24.901 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.020) 0:00:24.922 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946349.2167711, "block_size": 4096, "blocks": 8, "ctime": 1707946349.1407743, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25396, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707946349.1407743, "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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.141) 0:00:25.064 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.024) 0:00:25.088 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023095", "end": "2024-02-14 21:32:34.339373", "rc": 0, "start": "2024-02-14 21:32:34.316278" } 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.161) 0:00:25.250 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.026) 0:00:25.276 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.020) 0:00:25.297 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.020) 0:00:25.318 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.022) 0:00:25.340 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.021) 0:00:25.362 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.024) 0:00:25.387 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.025) 0:00:25.413 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.060) 0:00:25.473 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.034) 0:00:25.507 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.022) 0:00:25.529 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.041) 0:00:25.571 **** 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.080399", "end": "2024-02-14 21:32:34.879810", "rc": 1, "start": "2024-02-14 21:32:34.799411" } STDOUT: Connection 'statebr' (93c795de-0d72-4607-b13a-023226a56810) successfully deleted. STDERR: (process:28417): GLib-GIO-WARNING **: 21:32:34.860: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/32 but no object proxy exists (process:28417): GLib-GIO-WARNING **: 21:32:34.860: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/65 but no object proxy exists (process:28417): GLib-GIO-WARNING **: 21:32:34.860: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/45 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_rewriteuv2sua6l/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.216) 0:00:25.788 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.030) 0:00:25.819 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.021) 0:00:25.840 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:32:34 +0000 (0:00:00.039) 0:00:25.879 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.035) 0:00:25.915 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.033) 0:00:25.948 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004087", "end": "2024-02-14 21:32:35.189892", "rc": 0, "start": "2024-02-14 21:32:35.185805" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.150) 0:00:26.099 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.021) 0:00:26.121 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.030) 0:00:26.151 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.040) 0:00:26.192 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.137) 0:00:26.329 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.050) 0:00:26.379 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.032) 0:00:26.412 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.022) 0:00:26.435 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:35 +0000 (0:00:00.022) 0:00:26.457 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:36 +0000 (0:00:00.776) 0:00:27.234 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:37 +0000 (0:00:01.024) 0:00:28.258 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:37 +0000 (0:00:00.033) 0:00:28.291 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:37 +0000 (0:00:00.028) 0:00:28.320 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:37 +0000 (0:00:00.044) 0:00:28.364 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:37 +0000 (0:00:00.063) 0:00:28.428 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:37 +0000 (0:00:00.024) 0:00:28.452 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:37 +0000 (0:00:00.028) 0:00:28.481 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:37 +0000 (0:00:00.076) 0:00:28.557 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:32:38 +0000 (0:00:00.613) 0:00:29.170 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:32:38 +0000 (0:00:00.099) 0:00:29.269 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:32:38 +0000 (0:00:00.023) 0:00:29.292 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:32:38 +0000 (0:00:00.034) 0:00:29.327 **** 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, c8391595-bf76-4920-83a8-f6a92d103c45 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:32:38 +0000 (0:00:00.398) 0:00:29.726 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:32:38 +0000 (0:00:00.038) 0:00:29.764 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8391595-bf76-4920-83a8-f6a92d103c45" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:32:38 +0000 (0:00:00.054) 0:00:29.819 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8391595-bf76-4920-83a8-f6a92d103c45\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8391595-bf76-4920-83a8-f6a92d103c45" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:32:38 +0000 (0:00:00.025) 0:00:29.844 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:32:39 +0000 (0:00:00.044) 0:00:29.888 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:32:39 +0000 (0:00:00.207) 0:00:30.095 **** 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, c8391595-bf76-4920-83a8-f6a92d103c45\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8391595-bf76-4920-83a8-f6a92d103c45" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:32:39 +0000 (0:00:00.044) 0:00:30.140 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:39 +0000 (0:00:00.055) 0:00:30.196 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:39 +0000 (0:00:00.039) 0:00:30.235 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:39 +0000 (0:00:00.037) 0:00:30.272 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:39 +0000 (0:00:00.049) 0:00:30.322 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:39 +0000 (0:00:00.065) 0:00:30.388 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:40 +0000 (0:00:00.783) 0:00:31.171 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:41 +0000 (0:00:01.035) 0:00:32.206 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.037) 0:00:32.244 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.032) 0:00:32.276 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.025) 0:00:32.301 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.058) 0:00:32.360 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.023) 0:00:32.384 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.023) 0:00:32.408 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.038) 0:00:32.446 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.307) 0:00:32.764 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.057) 0:00:32.822 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:32:41 +0000 (0:00:00.032) 0:00:32.854 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:32:42 +0000 (0:00:00.049) 0:00:32.904 **** 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, c8391595-bf76-4920-83a8-f6a92d103c45 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:32:42 +0000 (0:00:00.400) 0:00:33.304 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:32:42 +0000 (0:00:00.060) 0:00:33.365 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8391595-bf76-4920-83a8-f6a92d103c45 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:32:42 +0000 (0:00:00.063) 0:00:33.429 **** 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, c8391595-bf76-4920-83a8-f6a92d103c45 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8391595-bf76-4920-83a8-f6a92d103c45 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:32:42 +0000 (0:00:00.124) 0:00:33.554 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:32:42 +0000 (0:00:00.097) 0:00:33.652 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:32:42 +0000 (0:00:00.172) 0:00:33.824 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 21:32:42 +0000 (0:00:00.052) 0:00:33.876 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:43 +0000 (0:00:00.073) 0:00:33.950 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:43 +0000 (0:00:00.085) 0:00:34.036 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:43 +0000 (0:00:00.049) 0:00:34.085 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:43 +0000 (0:00:00.056) 0:00:34.142 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:43 +0000 (0:00:00.067) 0:00:34.209 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:44 +0000 (0:00:00.771) 0:00:34.981 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:45 +0000 (0:00:01.080) 0:00:36.062 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.082) 0:00:36.144 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.023) 0:00:36.167 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.023) 0:00:36.191 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.052) 0:00:36.244 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.029) 0:00:36.273 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.024) 0:00:36.297 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.047) 0:00:36.345 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.272) 0:00:36.617 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.039) 0:00:36.656 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.063) 0:00:36.720 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:32:45 +0000 (0:00:00.045) 0:00:36.765 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:32:46 +0000 (0:00:00.376) 0:00:37.142 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:32:46 +0000 (0:00:00.031) 0:00:37.173 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:32:46 +0000 (0:00:00.057) 0:00:37.230 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:32:46 +0000 (0:00:00.059) 0:00:37.290 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:32:46 +0000 (0:00:00.056) 0:00:37.346 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:32:46 +0000 (0:00:00.269) 0:00:37.616 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:32:46 +0000 (0:00:00.101) 0:00:37.718 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:32:46 +0000 (0:00:00.071) 0:00:37.790 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946358.7703881, "block_size": 4096, "blocks": 0, "ctime": 1707946358.7663882, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17766, "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": 1707946358.7663882, "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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.180) 0:00:37.970 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.026) 0:00:37.997 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.064) 0:00:38.062 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.025) 0:00:38.087 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.182) 0:00:38.270 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.028) 0:00:38.298 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023320", "end": "2024-02-14 21:32:47.567197", "rc": 1, "start": "2024-02-14 21:32:47.543877" } 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.197) 0:00:38.496 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.038) 0:00:38.534 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.035) 0:00:38.570 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.046) 0:00:38.616 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.042) 0:00:38.659 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.049) 0:00:38.708 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.030) 0:00:38.738 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.039) 0:00:38.778 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:32:47 +0000 (0:00:00.030) 0:00:38.808 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.111) 0:00:38.920 **** 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.080761", "end": "2024-02-14 21:32:48.236636", "rc": 1, "start": "2024-02-14 21:32:48.155875" } STDOUT: Connection 'statebr' (c8391595-bf76-4920-83a8-f6a92d103c45) successfully deleted. STDERR: (process:29044): GLib-GIO-WARNING **: 21:32:48.213: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/33 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_rewriteuv2sua6l/tests/playbooks/tests_states.yml:102 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.237) 0:00:39.158 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.049) 0:00:39.207 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.033) 0:00:39.241 **** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.041) 0:00:39.282 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.061) 0:00:39.344 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.037) 0:00:39.381 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003745", "end": "2024-02-14 21:32:48.706826", "rc": 0, "start": "2024-02-14 21:32:48.703081" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.243) 0:00:39.624 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.042) 0:00:39.667 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.031) 0:00:39.698 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:32:48 +0000 (0:00:00.044) 0:00:39.743 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:49 +0000 (0:00:00.163) 0:00:39.907 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:49 +0000 (0:00:00.279) 0:00:40.186 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:49 +0000 (0:00:00.061) 0:00:40.248 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:49 +0000 (0:00:00.061) 0:00:40.309 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:49 +0000 (0:00:00.048) 0:00:40.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:50 +0000 (0:00:00.788) 0:00:41.146 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:51 +0000 (0:00:01.001) 0:00:42.148 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:51 +0000 (0:00:00.043) 0:00:42.191 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:51 +0000 (0:00:00.026) 0:00:42.218 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:51 +0000 (0:00:00.064) 0:00:42.282 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:51 +0000 (0:00:00.098) 0:00:42.381 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:51 +0000 (0:00:00.076) 0:00:42.457 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:51 +0000 (0:00:00.052) 0:00:42.510 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:51 +0000 (0:00:00.038) 0:00:42.549 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:32:51 +0000 (0:00:00.303) 0:00:42.852 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:32:52 +0000 (0:00:00.096) 0:00:42.949 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:32:52 +0000 (0:00:00.159) 0:00:43.109 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:32:52 +0000 (0:00:00.027) 0:00:43.137 **** 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, 2e9ead41-ebd0-4506-a431-7e83560095c5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:32:52 +0000 (0:00:00.381) 0:00:43.518 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:32:52 +0000 (0:00:00.025) 0:00:43.543 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e9ead41-ebd0-4506-a431-7e83560095c5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:32:52 +0000 (0:00:00.041) 0:00:43.585 **** 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, 2e9ead41-ebd0-4506-a431-7e83560095c5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e9ead41-ebd0-4506-a431-7e83560095c5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:32:52 +0000 (0:00:00.051) 0:00:43.636 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:32:52 +0000 (0:00:00.049) 0:00:43.685 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:32:53 +0000 (0:00:00.209) 0:00:43.895 **** 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, 2e9ead41-ebd0-4506-a431-7e83560095c5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e9ead41-ebd0-4506-a431-7e83560095c5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:32:53 +0000 (0:00:00.061) 0:00:43.956 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:53 +0000 (0:00:00.072) 0:00:44.029 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:53 +0000 (0:00:00.051) 0:00:44.080 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:53 +0000 (0:00:00.060) 0:00:44.140 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:53 +0000 (0:00:00.064) 0:00:44.205 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:53 +0000 (0:00:00.050) 0:00:44.255 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:54 +0000 (0:00:00.905) 0:00:45.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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:55 +0000 (0:00:01.275) 0:00:46.436 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:55 +0000 (0:00:00.036) 0:00:46.473 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:55 +0000 (0:00:00.064) 0:00:46.537 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:55 +0000 (0:00:00.027) 0:00:46.565 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:55 +0000 (0:00:00.114) 0:00:46.679 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:55 +0000 (0:00:00.046) 0:00:46.725 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:55 +0000 (0:00:00.032) 0:00:46.758 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:55 +0000 (0:00:00.050) 0:00:46.808 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:32:56 +0000 (0:00:00.278) 0:00:47.087 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:32:56 +0000 (0:00:00.055) 0:00:47.142 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:32:56 +0000 (0:00:00.033) 0:00:47.176 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:32:56 +0000 (0:00:00.039) 0:00:47.216 **** 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, 2e9ead41-ebd0-4506-a431-7e83560095c5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:32:56 +0000 (0:00:00.332) 0:00:47.548 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:32:56 +0000 (0:00:00.030) 0:00:47.579 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2e9ead41-ebd0-4506-a431-7e83560095c5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:32:56 +0000 (0:00:00.074) 0:00:47.653 **** 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, 2e9ead41-ebd0-4506-a431-7e83560095c5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2e9ead41-ebd0-4506-a431-7e83560095c5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:32:56 +0000 (0:00:00.053) 0:00:47.706 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:32:56 +0000 (0:00:00.041) 0:00:47.748 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 21:32:57 +0000 (0:00:00.221) 0:00:47.970 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:57 +0000 (0:00:00.074) 0:00:48.044 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:57 +0000 (0:00:00.062) 0:00:48.107 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:32:57 +0000 (0:00:00.066) 0:00:48.174 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:32:57 +0000 (0:00:00.047) 0:00:48.222 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:32:57 +0000 (0:00:00.025) 0:00:48.247 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:32:58 +0000 (0:00:00.829) 0:00:49.076 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:59 +0000 (0:00:01.145) 0:00:50.222 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:59 +0000 (0:00:00.038) 0:00:50.260 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:32:59 +0000 (0:00:00.031) 0:00:50.291 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:32:59 +0000 (0:00:00.058) 0:00:50.349 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:32:59 +0000 (0:00:00.069) 0:00:50.419 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:32:59 +0000 (0:00:00.022) 0:00:50.442 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:32:59 +0000 (0:00:00.316) 0:00:50.758 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:32:59 +0000 (0:00:00.097) 0:00:50.856 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:33:00 +0000 (0:00:00.316) 0:00:51.172 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:33:00 +0000 (0:00:00.089) 0:00:51.262 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:33:00 +0000 (0:00:00.048) 0:00:51.310 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:33:00 +0000 (0:00:00.030) 0:00:51.341 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:33:00 +0000 (0:00:00.356) 0:00:51.697 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:33:00 +0000 (0:00:00.043) 0:00:51.741 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:33:00 +0000 (0:00:00.037) 0:00:51.778 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:33:00 +0000 (0:00:00.063) 0:00:51.842 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:33:01 +0000 (0:00:00.051) 0:00:51.893 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:33:01 +0000 (0:00:00.223) 0:00:52.117 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 21:33:01 +0000 (0:00:00.055) 0:00:52.172 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:33:01 +0000 (0:00:00.072) 0:00:52.245 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:33:01 +0000 (0:00:00.111) 0:00:52.356 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:33:01 +0000 (0:00:00.064) 0:00:52.420 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:33:01 +0000 (0:00:00.058) 0:00:52.478 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:33:01 +0000 (0:00:00.037) 0:00:52.516 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:33:02 +0000 (0:00:00.791) 0:00:53.307 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:33:03 +0000 (0:00:01.095) 0:00:54.403 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:33:03 +0000 (0:00:00.079) 0:00:54.482 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:33:03 +0000 (0:00:00.092) 0:00:54.575 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:33:03 +0000 (0:00:00.074) 0:00:54.649 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:33:03 +0000 (0:00:00.203) 0:00:54.853 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:33:04 +0000 (0:00:00.062) 0:00:54.915 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:33:04 +0000 (0:00:00.028) 0:00:54.943 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:33:04 +0000 (0:00:00.070) 0:00:55.013 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:33:04 +0000 (0:00:00.353) 0:00:55.367 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:33:04 +0000 (0:00:00.094) 0:00:55.462 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:33:04 +0000 (0:00:00.105) 0:00:55.567 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:33:04 +0000 (0:00:00.033) 0:00:55.601 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.532) 0:00:56.134 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.028) 0:00:56.162 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.022) 0:00:56.185 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.048) 0:00:56.234 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.033) 0:00:56.268 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.158) 0:00:56.427 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.038) 0:00:56.465 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.033) 0:00:56.499 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.021) 0:00:56.521 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.152) 0:00:56.673 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.025) 0:00:56.699 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022091", "end": "2024-02-14 21:33:05.949791", "rc": 1, "start": "2024-02-14 21:33:05.927700" } 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:33:05 +0000 (0:00:00.169) 0:00:56.868 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.037) 0:00:56.906 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.031) 0:00:56.937 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.030) 0:00:56.968 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.044) 0:00:57.012 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.077) 0:00:57.090 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.078) 0:00:57.168 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.133) 0:00:57.302 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.273) 0:00:57.576 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.226) 0:00:57.802 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:33:06 +0000 (0:00:00.048) 0:00:57.850 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.068) 0:00:57.919 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.115) 0:00:58.034 **** 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.045908", "end": "2024-02-14 21:33:07.326134", "rc": 1, "start": "2024-02-14 21:33:07.280226" } 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_rewriteuv2sua6l/tests/playbooks/tests_states.yml:124 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.214) 0:00:58.249 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.044) 0:00:58.293 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.040) 0:00:58.334 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.064) 0:00:58.399 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.047) 0:00:58.447 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.133) 0:00:58.580 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003853", "end": "2024-02-14 21:33:07.836832", "rc": 0, "start": "2024-02-14 21:33:07.832979" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.204) 0:00:58.784 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:33:07 +0000 (0:00:00.068) 0:00:58.853 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:33:08 +0000 (0:00:00.087) 0:00:58.940 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:33:08 +0000 (0:00:00.052) 0:00:58.993 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:33:08 +0000 (0:00:00.089) 0:00:59.083 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:33:08 +0000 (0:00:00.080) 0:00:59.163 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:33:08 +0000 (0:00:00.037) 0:00:59.201 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:33:08 +0000 (0:00:00.036) 0:00:59.237 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:33:08 +0000 (0:00:00.041) 0:00:59.279 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:33:09 +0000 (0:00:00.788) 0:01:00.067 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:33:10 +0000 (0:00:01.153) 0:01:01.221 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:33:10 +0000 (0:00:00.078) 0:01:01.299 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:33:10 +0000 (0:00:00.023) 0:01:01.322 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:33:10 +0000 (0:00:00.031) 0:01:01.354 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:33:10 +0000 (0:00:00.069) 0:01:01.424 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:33:10 +0000 (0:00:00.027) 0:01:01.452 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:33:10 +0000 (0:00:00.028) 0:01:01.481 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:33:10 +0000 (0:00:00.060) 0:01:01.541 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.379) 0:01:01.921 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.069) 0:01:01.991 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.041) 0:01:02.033 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.038) 0:01:02.071 **** 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, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.430) 0:01:02.502 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.024) 0:01:02.526 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.024) 0:01:02.551 **** 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, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.032) 0:01:02.583 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.023) 0:01:02.606 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.143) 0:01:02.750 **** 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, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:33:11 +0000 (0:00:00.041) 0:01:02.791 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:33:12 +0000 (0:00:00.098) 0:01:02.890 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:33:12 +0000 (0:00:00.042) 0:01:02.932 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:33:12 +0000 (0:00:00.051) 0:01:02.983 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:33:12 +0000 (0:00:00.032) 0:01:03.016 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:33:12 +0000 (0:00:00.037) 0:01:03.054 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:33:12 +0000 (0:00:00.810) 0:01:03.864 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:33:14 +0000 (0:00:01.023) 0:01:04.888 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.058) 0:01:04.946 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.047) 0:01:04.994 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.079) 0:01:05.073 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.162) 0:01:05.235 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.050) 0:01:05.286 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.056) 0:01:05.343 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.051) 0:01:05.394 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.417) 0:01:05.812 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.042) 0:01:05.855 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:33:14 +0000 (0:00:00.021) 0:01:05.877 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.021) 0:01:05.898 **** 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, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.316) 0:01:06.215 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.049) 0:01:06.265 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.044) 0:01:06.309 **** 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, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5c1f8e9d-04ec-4abc-9ad8-d431816dc71a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.040) 0:01:06.349 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.050) 0:01:06.400 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.171) 0:01:06.571 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.052) 0:01:06.624 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.091) 0:01:06.716 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.072) 0:01:06.788 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:33:15 +0000 (0:00:00.036) 0:01:06.825 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:33:16 +0000 (0:00:00.064) 0:01:06.889 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:33:16 +0000 (0:00:00.826) 0:01:07.715 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:33:17 +0000 (0:00:01.008) 0:01:08.724 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:33:17 +0000 (0:00:00.040) 0:01:08.765 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:33:17 +0000 (0:00:00.037) 0:01:08.802 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:33:17 +0000 (0:00:00.043) 0:01:08.846 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:33:18 +0000 (0:00:00.105) 0:01:08.951 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:33:18 +0000 (0:00:00.052) 0:01:09.004 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:33:18 +0000 (0:00:00.058) 0:01:09.062 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:33:18 +0000 (0:00:00.059) 0:01:09.122 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:33:18 +0000 (0:00:00.333) 0:01:09.455 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:33:18 +0000 (0:00:00.058) 0:01:09.514 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:33:18 +0000 (0:00:00.025) 0:01:09.540 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:33:18 +0000 (0:00:00.041) 0:01:09.581 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.428) 0:01:10.010 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.055) 0:01:10.066 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.048) 0:01:10.114 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.085) 0:01:10.200 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.060) 0:01:10.260 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.167) 0:01:10.427 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.052) 0:01:10.480 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.047) 0:01:10.527 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.080) 0:01:10.608 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.045) 0:01:10.653 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.043) 0:01:10.696 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 21:33:19 +0000 (0:00:00.029) 0:01:10.725 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 21:33:20 +0000 (0:00:00.832) 0:01:11.558 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 21:33:21 +0000 (0:00:01.126) 0:01:12.685 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 21:33:21 +0000 (0:00:00.064) 0:01:12.750 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 21:33:21 +0000 (0:00:00.122) 0:01:12.873 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 21:33:22 +0000 (0:00:00.047) 0:01:12.920 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 21:33:22 +0000 (0:00:00.087) 0:01:13.008 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 21:33:22 +0000 (0:00:00.070) 0:01:13.078 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 21:33:22 +0000 (0:00:00.049) 0:01:13.128 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 21:33:22 +0000 (0:00:00.046) 0:01:13.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 21:33:22 +0000 (0:00:00.282) 0:01:13.457 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 21:33:22 +0000 (0:00:00.051) 0:01:13.509 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 21:33:22 +0000 (0:00:00.058) 0:01:13.568 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 21:33:22 +0000 (0:00:00.059) 0:01:13.627 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.353) 0:01:13.980 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.027) 0:01:14.007 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.052) 0:01:14.060 **** 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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.069) 0:01:14.129 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.035) 0:01:14.165 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.221) 0:01:14.386 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.045) 0:01:14.432 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.087) 0:01:14.519 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.022) 0:01:14.542 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.168) 0:01:14.711 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:33:23 +0000 (0:00:00.032) 0:01:14.743 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020808", "end": "2024-02-14 21:33:23.997351", "rc": 1, "start": "2024-02-14 21:33:23.976543" } 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:33:24 +0000 (0:00:00.166) 0:01:14.910 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:33:24 +0000 (0:00:00.030) 0:01:14.941 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:33:24 +0000 (0:00:00.031) 0:01:14.973 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:33:24 +0000 (0:00:00.025) 0:01:14.998 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:33:24 +0000 (0:00:00.023) 0:01:15.022 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 21:33:24 +0000 (0:00:00.025) 0:01:15.047 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 21:33:24 +0000 (0:00:00.025) 0:01:15.073 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.690382", "end": "2024-02-14 21:33:24.991023", "rc": 0, "start": "2024-02-14 21:33:24.300641" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.833) 0:01:15.907 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.058) 0:01:15.966 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.048) 0:01:16.014 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.154) 0:01:16.169 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.047) 0:01:16.216 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.220) 0:01:16.437 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.029) 0:01:16.467 **** 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_rewriteuv2sua6l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.027) 0:01:16.495 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.077) 0:01:16.573 **** 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.044170", "end": "2024-02-14 21:33:25.844256", "rc": 1, "start": "2024-02-14 21:33:25.800086" } 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_rewriteuv2sua6l/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 21:33:25 +0000 (0:00:00.193) 0:01:16.766 **** 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.007930", "end": "2024-02-14 21:33:26.000306", "rc": 0, "start": "2024-02-14 21:33:25.992376" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:c2:01:22:83:35 brd ff:ff:ff:ff:ff:ff inet 10.31.14.235/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 1950sec preferred_lft 1950sec inet6 fe80::8c2:1ff:fe22:8335/64 scope link valid_lft forever preferred_lft forever 34: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 0a:70:58:76:2a:8b brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.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 network connectivity] ************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 21:33:26 +0000 (0:00:00.143) 0:01:16.910 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.388625", "end": "2024-02-14 21:33:26.528145", "rc": 0, "start": "2024-02-14 21:33:26.139520" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1321 0 --:--:-- --:--:-- --:--:-- 1326 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2157 0 --:--:-- --:--:-- --:--:-- 2171 PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Wednesday 14 February 2024 21:33:26 +0000 (0:00:00.605) 0:01:17.515 **** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.10s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.08s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.92s /WORKDIR/git-bond_options_rewriteuv2sua6l/.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_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tests_states_nm.yml:6 --------- fedora.linux_system_roles.network : Check which services are running ---- 0.84s /WORKDIR/git-bond_options_rewriteuv2sua6l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.83s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---