# 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-route_typelth7gxlb/.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-route_typelth7gxlb/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/tests_states_nm.yml:6 Friday 12 January 2024 18:23:06 +0000 (0:00:00.019) 0:00:00.019 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typelth7gxlb/tests/tests_states_nm.yml:9 Friday 12 January 2024 18:23:56 +0000 (0:00:50.753) 0:00:50.773 ******** included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:23:56 +0000 (0:00:00.011) 0:00:50.785 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:17 Friday 12 January 2024 18:24:47 +0000 (0:00:50.263) 0:01:41.048 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:22 Friday 12 January 2024 18:25:07 +0000 (0:00:20.196) 0:02:01.245 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:26 Friday 12 January 2024 18:25:07 +0000 (0:00:00.015) 0:02:01.260 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:51 Friday 12 January 2024 18:25:07 +0000 (0:00:00.008) 0:02:01.269 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:25:07 +0000 (0:00:00.021) 0:02:01.290 ******** 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-route_typelth7gxlb/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:25:27 +0000 (0:00:20.204) 0:02:21.495 ******** 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-route_typelth7gxlb/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:25:47 +0000 (0:00:20.444) 0:02:41.940 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192789", "end": "2024-01-12 18:26:08.284776", "rc": 0, "start": "2024-01-12 18:26:08.091987" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:26:08 +0000 (0:00:20.335) 0:03:02.275 ******** 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-route_typelth7gxlb/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:26:08 +0000 (0:00:00.009) 0:03:02.284 ******** 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-route_typelth7gxlb/tests/tests_states_nm.yml:11 Friday 12 January 2024 18:26:08 +0000 (0:00:00.008) 0:03:02.293 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 18:26:08 +0000 (0:00:00.015) 0:03:02.308 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 18:26:58 +0000 (0:00:50.563) 0:03:52.872 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 18:26:58 +0000 (0:00:00.010) 0:03:52.882 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:26:58 +0000 (0:00:00.013) 0:03:52.896 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:26:58 +0000 (0:00:00.010) 0:03:52.906 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:26:58 +0000 (0:00:00.027) 0:03:52.934 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:26:58 +0000 (0:00:00.012) 0:03:52.946 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:26:58 +0000 (0:00:00.010) 0:03:52.957 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003915", "end": "2024-01-12 18:27:19.115143", "rc": 0, "start": "2024-01-12 18:27:19.111228" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:27:19 +0000 (0:00:20.148) 0:04:13.105 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:27:19 +0000 (0:00:00.011) 0:04:13.116 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:27:19 +0000 (0:00:00.009) 0:04:13.126 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:27:19 +0000 (0:00:00.016) 0:04:13.143 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011047", "end": "2024-01-12 18:27:39.307499", "rc": 1, "start": "2024-01-12 18:27:39.296452" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:27:39 +0000 (0:00:20.154) 0:04:33.297 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:27:39 +0000 (0:00:00.012) 0:04:33.309 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:27:59 +0000 (0:00:20.145) 0:04:53.455 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:27:59 +0000 (0:00:00.010) 0:04:53.466 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:27:59 +0000 (0:00:00.015) 0:04:53.481 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:27:59 +0000 (0:00:00.025) 0:04:53.506 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:59 +0000 (0:00:00.020) 0:04:53.527 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:27:59 +0000 (0:00:00.019) 0:04:53.546 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:27:59 +0000 (0:00:00.012) 0:04:53.559 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:27:59 +0000 (0:00:00.012) 0:04:53.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 : Check which packages are installed] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:28:20 +0000 (0:00:20.943) 0:05:14.515 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:28:41 +0000 (0:00:20.844) 0:05:35.359 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:28:41 +0000 (0:00:00.021) 0:05:35.380 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:28:41 +0000 (0:00:00.022) 0:05:35.402 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:28:41 +0000 (0:00:00.020) 0:05:35.423 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:28:41 +0000 (0:00:00.051) 0:05:35.474 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:28:41 +0000 (0:00:00.021) 0:05:35.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:28:41 +0000 (0:00:00.021) 0:05:35.518 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:28:41 +0000 (0:00:00.032) 0:05:35.550 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:29:02 +0000 (0:00:20.450) 0:05:56.000 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:29:02 +0000 (0:00:00.056) 0:05:56.056 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:29:02 +0000 (0:00:00.018) 0:05:56.075 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:29:02 +0000 (0:00:00.018) 0:05:56.093 ******** 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, 8ab2516b-b696-4c5a-a961-efa5447b1f7e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:29:22 +0000 (0:00:20.485) 0:06:16.578 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:29:22 +0000 (0:00:00.027) 0:06:16.606 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ab2516b-b696-4c5a-a961-efa5447b1f7e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:29:22 +0000 (0:00:00.022) 0:06:16.628 ******** 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, 8ab2516b-b696-4c5a-a961-efa5447b1f7e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ab2516b-b696-4c5a-a961-efa5447b1f7e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:29:22 +0000 (0:00:00.022) 0:06:16.650 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:29:22 +0000 (0:00:00.021) 0:06:16.672 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:29:42 +0000 (0:00:20.216) 0:06:36.888 ******** 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, 8ab2516b-b696-4c5a-a961-efa5447b1f7e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ab2516b-b696-4c5a-a961-efa5447b1f7e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:29:42 +0000 (0:00:00.020) 0:06:36.908 ******** included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:29:42 +0000 (0:00:00.033) 0:06:36.941 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:29:42 +0000 (0:00:00.030) 0:06:36.972 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:29:43 +0000 (0:00:00.018) 0:06:36.990 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084162.6016414, "block_size": 4096, "blocks": 8, "ctime": 1705084162.5236418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705084162.5236418, "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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:30:03 +0000 (0:00:20.151) 0:06:57.141 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:30:03 +0000 (0:00:00.020) 0:06:57.162 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024871", "end": "2024-01-12 18:30:23.337470", "rc": 0, "start": "2024-01-12 18:30:23.312599" } 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:30:23 +0000 (0:00:20.175) 0:07:17.337 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:30:23 +0000 (0:00:00.050) 0:07:17.387 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:30:23 +0000 (0:00:00.021) 0:07:17.409 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:30:23 +0000 (0:00:00.021) 0:07:17.430 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:30:23 +0000 (0:00:00.020) 0:07:17.451 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:30:23 +0000 (0:00:00.021) 0:07:17.472 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:30:23 +0000 (0:00:00.021) 0:07:17.494 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:30:23 +0000 (0:00:00.023) 0:07:17.517 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:30:23 +0000 (0:00:00.021) 0:07:17.539 ******** included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:30:23 +0000 (0:00:00.044) 0:07:17.583 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:30:23 +0000 (0:00:00.029) 0:07:17.613 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084162.5336418, "block_size": 4096, "blocks": 0, "ctime": 1705084162.5256417, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17486, "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": 1705084162.5256417, "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-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:30:43 +0000 (0:00:20.154) 0:07:37.768 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:30:43 +0000 (0:00:00.022) 0:07:37.790 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:30:43 +0000 (0:00:00.020) 0:07:37.811 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:30:43 +0000 (0:00:00.046) 0:07:37.858 ******** 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.091258", "end": "2024-01-12 18:31:04.102470", "rc": 1, "start": "2024-01-12 18:31:04.011212" } STDOUT: Connection 'statebr' (8ab2516b-b696-4c5a-a961-efa5447b1f7e) successfully deleted. STDERR: (process:12365): GLib-GIO-WARNING **: 18:31:04.074: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/9 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-route_typelth7gxlb/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 18:31:04 +0000 (0:00:20.242) 0:07:58.100 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:31:04 +0000 (0:00:00.030) 0:07:58.131 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:31:04 +0000 (0:00:00.045) 0:07:58.176 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:31:04 +0000 (0:00:00.038) 0:07:58.215 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:31:04 +0000 (0:00:00.029) 0:07:58.244 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:31:04 +0000 (0:00:00.028) 0:07:58.272 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003881", "end": "2024-01-12 18:31:24.431844", "rc": 0, "start": "2024-01-12 18:31:24.427963" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:31:24 +0000 (0:00:20.157) 0:08:18.430 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:31:24 +0000 (0:00:00.020) 0:08:18.450 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:31:24 +0000 (0:00:00.019) 0:08:18.469 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:31:24 +0000 (0:00:00.032) 0:08:18.502 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007548", "end": "2024-01-12 18:31:44.663390", "rc": 1, "start": "2024-01-12 18:31:44.655842" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:31:44 +0000 (0:00:20.159) 0:08:38.661 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:31:44 +0000 (0:00:00.029) 0:08:38.691 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:32:04 +0000 (0:00:20.153) 0:08:58.844 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:32:04 +0000 (0:00:00.021) 0:08:58.865 ******** included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 18:32:04 +0000 (0:00:00.031) 0:08:58.897 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:32:04 +0000 (0:00:00.058) 0:08:58.955 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:32:05 +0000 (0:00:00.036) 0:08:58.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 : Check if system is ostree] *********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:32:05 +0000 (0:00:00.031) 0:08:59.023 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:32:05 +0000 (0:00:00.020) 0:08:59.044 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:32:05 +0000 (0:00:00.021) 0:08:59.066 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:32:25 +0000 (0:00:20.848) 0:09:19.914 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:32:46 +0000 (0:00:20.683) 0:09:40.598 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:32:46 +0000 (0:00:00.021) 0:09:40.619 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:32:46 +0000 (0:00:00.021) 0:09:40.641 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:32:46 +0000 (0:00:00.020) 0:09:40.661 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:32:46 +0000 (0:00:00.051) 0:09:40.713 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:32:46 +0000 (0:00:00.021) 0:09:40.735 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:32:46 +0000 (0:00:00.021) 0:09:40.757 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:32:46 +0000 (0:00:00.033) 0:09:40.790 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:33:07 +0000 (0:00:20.268) 0:10:01.059 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:33:07 +0000 (0:00:00.035) 0:10:01.095 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:33:07 +0000 (0:00:00.045) 0:10:01.141 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:33:07 +0000 (0:00:00.018) 0:10:01.159 ******** 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, af263957-eb88-44e1-bd4f-ce5d7a77cf74 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:33:27 +0000 (0:00:20.312) 0:10:21.471 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:33:27 +0000 (0:00:00.023) 0:10:21.495 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af263957-eb88-44e1-bd4f-ce5d7a77cf74" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:33:27 +0000 (0:00:00.024) 0:10:21.519 ******** 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, af263957-eb88-44e1-bd4f-ce5d7a77cf74\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af263957-eb88-44e1-bd4f-ce5d7a77cf74" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:33:27 +0000 (0:00:00.023) 0:10:21.543 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:33:27 +0000 (0:00:00.022) 0:10:21.566 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 18:33:47 +0000 (0:00:20.158) 0:10:41.724 ******** 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, af263957-eb88-44e1-bd4f-ce5d7a77cf74\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af263957-eb88-44e1-bd4f-ce5d7a77cf74" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:33:47 +0000 (0:00:00.021) 0:10:41.745 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:33:47 +0000 (0:00:00.038) 0:10:41.784 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:33:47 +0000 (0:00:00.031) 0:10:41.815 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:34:08 +0000 (0:00:20.165) 0:11:01.981 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:34:08 +0000 (0:00:00.021) 0:11:02.003 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:34:08 +0000 (0:00:00.031) 0:11:02.035 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:34:08 +0000 (0:00:00.018) 0:11:02.054 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084407.4530046, "block_size": 4096, "blocks": 8, "ctime": 1705084407.4530046, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705084407.4530046, "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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:34:28 +0000 (0:00:20.178) 0:11:22.232 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:34:28 +0000 (0:00:00.020) 0:11:22.253 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021939", "end": "2024-01-12 18:34:48.427980", "rc": 0, "start": "2024-01-12 18:34:48.406041" } 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:34:48 +0000 (0:00:20.174) 0:11:42.428 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:34:48 +0000 (0:00:00.022) 0:11:42.450 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:34:48 +0000 (0:00:00.019) 0:11:42.470 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:34:48 +0000 (0:00:00.019) 0:11:42.489 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:34:48 +0000 (0:00:00.019) 0:11:42.509 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:34:48 +0000 (0:00:00.020) 0:11:42.529 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:34:48 +0000 (0:00:00.021) 0:11:42.551 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:34:48 +0000 (0:00:00.022) 0:11:42.573 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:34:48 +0000 (0:00:00.021) 0:11:42.595 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:34:48 +0000 (0:00:00.025) 0:11:42.620 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:34:48 +0000 (0:00:00.020) 0:11:42.640 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:34:48 +0000 (0:00:00.033) 0:11:42.674 ******** 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.050742", "end": "2024-01-12 18:35:08.872065", "rc": 1, "start": "2024-01-12 18:35:08.821323" } STDOUT: Connection 'statebr' (af263957-eb88-44e1-bd4f-ce5d7a77cf74) 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-route_typelth7gxlb/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 18:35:08 +0000 (0:00:20.195) 0:12:02.870 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:35:08 +0000 (0:00:00.031) 0:12:02.902 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:35:08 +0000 (0:00:00.020) 0:12:02.922 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:35:09 +0000 (0:00:00.064) 0:12:02.986 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:35:09 +0000 (0:00:00.029) 0:12:03.016 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:35:09 +0000 (0:00:00.028) 0:12:03.045 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003903", "end": "2024-01-12 18:35:29.199483", "rc": 0, "start": "2024-01-12 18:35:29.195580" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:35:29 +0000 (0:00:20.153) 0:12:23.198 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:35:29 +0000 (0:00:00.019) 0:12:23.218 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:35:29 +0000 (0:00:00.020) 0:12:23.239 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:35:29 +0000 (0:00:00.030) 0:12:23.270 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:35:29 +0000 (0:00:00.038) 0:12:23.308 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:35:29 +0000 (0:00:00.036) 0:12:23.345 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:35:29 +0000 (0:00:00.031) 0:12:23.376 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:35:29 +0000 (0:00:00.022) 0:12:23.399 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:35:29 +0000 (0:00:00.021) 0:12:23.420 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:35:50 +0000 (0:00:20.849) 0:12:44.270 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:36:11 +0000 (0:00:20.758) 0:13:05.029 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:36:11 +0000 (0:00:00.022) 0:13:05.051 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:36:11 +0000 (0:00:00.021) 0:13:05.073 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:36:11 +0000 (0:00:00.023) 0:13:05.096 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:36:11 +0000 (0:00:00.052) 0:13:05.149 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:36:11 +0000 (0:00:00.023) 0:13:05.173 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:36:11 +0000 (0:00:00.021) 0:13:05.194 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:36:11 +0000 (0:00:00.034) 0:13:05.228 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:36:31 +0000 (0:00:20.270) 0:13:25.499 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:36:31 +0000 (0:00:00.036) 0:13:25.536 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:36:31 +0000 (0:00:00.018) 0:13:25.554 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:36:31 +0000 (0:00:00.019) 0:13:25.574 ******** 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, 3082ecfe-dc93-4915-a0d5-7d114a124cdd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:36:51 +0000 (0:00:20.363) 0:13:45.937 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:36:51 +0000 (0:00:00.024) 0:13:45.961 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3082ecfe-dc93-4915-a0d5-7d114a124cdd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:36:52 +0000 (0:00:00.022) 0:13:45.984 ******** 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, 3082ecfe-dc93-4915-a0d5-7d114a124cdd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3082ecfe-dc93-4915-a0d5-7d114a124cdd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:36:52 +0000 (0:00:00.021) 0:13:46.005 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:36:52 +0000 (0:00:00.023) 0:13:46.029 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:37:12 +0000 (0:00:20.192) 0:14:06.222 ******** 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, 3082ecfe-dc93-4915-a0d5-7d114a124cdd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3082ecfe-dc93-4915-a0d5-7d114a124cdd" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:37:12 +0000 (0:00:00.021) 0:14:06.243 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:37:12 +0000 (0:00:00.032) 0:14:06.276 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:37:12 +0000 (0:00:00.037) 0:14:06.314 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:37:12 +0000 (0:00:00.036) 0:14:06.350 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:37:12 +0000 (0:00:00.033) 0:14:06.383 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:37:12 +0000 (0:00:00.022) 0:14:06.406 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:37:12 +0000 (0:00:00.023) 0:14:06.429 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:37:33 +0000 (0:00:20.827) 0:14:27.257 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:37:53 +0000 (0:00:20.687) 0:14:47.944 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:37:53 +0000 (0:00:00.022) 0:14:47.967 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:37:54 +0000 (0:00:00.021) 0:14:47.988 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:37:54 +0000 (0:00:00.049) 0:14:48.037 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:37:54 +0000 (0:00:00.051) 0:14:48.089 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:37:54 +0000 (0:00:00.023) 0:14:48.112 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:37:54 +0000 (0:00:00.021) 0:14:48.134 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:37:54 +0000 (0:00:00.034) 0:14:48.168 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:38:14 +0000 (0:00:20.260) 0:15:08.428 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:38:14 +0000 (0:00:00.036) 0:15:08.465 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:38:14 +0000 (0:00:00.020) 0:15:08.486 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:38:14 +0000 (0:00:00.019) 0:15:08.505 ******** 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, 3082ecfe-dc93-4915-a0d5-7d114a124cdd skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:38:34 +0000 (0:00:20.299) 0:15:28.804 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:38:34 +0000 (0:00:00.022) 0:15:28.827 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3082ecfe-dc93-4915-a0d5-7d114a124cdd skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:38:34 +0000 (0:00:00.022) 0:15:28.850 ******** 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, 3082ecfe-dc93-4915-a0d5-7d114a124cdd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3082ecfe-dc93-4915-a0d5-7d114a124cdd skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:38:34 +0000 (0:00:00.022) 0:15:28.872 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:38:34 +0000 (0:00:00.022) 0:15:28.894 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:38:55 +0000 (0:00:20.156) 0:15:49.051 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:38:55 +0000 (0:00:00.037) 0:15:49.089 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:38:55 +0000 (0:00:00.029) 0:15:49.118 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084611.8874786, "block_size": 4096, "blocks": 0, "ctime": 1705084611.8774786, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17486, "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": 1705084611.8774786, "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-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:39:15 +0000 (0:00:20.181) 0:16:09.300 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:39:15 +0000 (0:00:00.020) 0:16:09.321 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:39:15 +0000 (0:00:00.031) 0:16:09.352 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:39:15 +0000 (0:00:00.018) 0:16:09.371 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084611.8764787, "block_size": 4096, "blocks": 8, "ctime": 1705084611.8754785, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705084611.8754785, "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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:39:35 +0000 (0:00:20.150) 0:16:29.521 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:39:35 +0000 (0:00:00.020) 0:16:29.542 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021898", "end": "2024-01-12 18:39:55.717017", "rc": 0, "start": "2024-01-12 18:39:55.695119" } 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:39:55 +0000 (0:00:20.175) 0:16:49.717 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:39:55 +0000 (0:00:00.022) 0:16:49.739 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:39:55 +0000 (0:00:00.019) 0:16:49.759 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:39:55 +0000 (0:00:00.021) 0:16:49.780 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:39:55 +0000 (0:00:00.021) 0:16:49.801 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:39:55 +0000 (0:00:00.020) 0:16:49.822 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:39:55 +0000 (0:00:00.022) 0:16:49.844 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:39:55 +0000 (0:00:00.023) 0:16:49.867 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:39:55 +0000 (0:00:00.022) 0:16:49.890 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:39:55 +0000 (0:00:00.027) 0:16:49.917 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:39:55 +0000 (0:00:00.022) 0:16:49.939 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:39:56 +0000 (0:00:00.074) 0:16:50.013 ******** 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.080097", "end": "2024-01-12 18:40:16.244839", "rc": 1, "start": "2024-01-12 18:40:16.164742" } STDOUT: Connection 'statebr' (3082ecfe-dc93-4915-a0d5-7d114a124cdd) successfully deleted. STDERR: (process:13204): GLib-GIO-WARNING **: 18:40:16.221: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/10 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-route_typelth7gxlb/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 18:40:16 +0000 (0:00:20.233) 0:17:10.247 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:40:16 +0000 (0:00:00.031) 0:17:10.278 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:40:16 +0000 (0:00:00.021) 0:17:10.300 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:40:16 +0000 (0:00:00.039) 0:17:10.339 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:40:16 +0000 (0:00:00.030) 0:17:10.370 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:40:16 +0000 (0:00:00.030) 0:17:10.400 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003772", "end": "2024-01-12 18:40:36.560337", "rc": 0, "start": "2024-01-12 18:40:36.556565" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:40:36 +0000 (0:00:20.158) 0:17:30.559 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:40:36 +0000 (0:00:00.020) 0:17:30.579 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:40:36 +0000 (0:00:00.021) 0:17:30.600 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:40:36 +0000 (0:00:00.034) 0:17:30.635 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:40:36 +0000 (0:00:00.037) 0:17:30.672 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:40:36 +0000 (0:00:00.036) 0:17:30.709 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:40:36 +0000 (0:00:00.100) 0:17:30.810 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:40:36 +0000 (0:00:00.023) 0:17:30.833 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:40:36 +0000 (0:00:00.022) 0:17:30.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 : Check which packages are installed] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:40:57 +0000 (0:00:20.848) 0:17:51.704 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:41:18 +0000 (0:00:20.717) 0:18:12.422 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:41:18 +0000 (0:00:00.034) 0:18:12.456 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:41:18 +0000 (0:00:00.025) 0:18:12.482 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:41:18 +0000 (0:00:00.032) 0:18:12.515 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:41:18 +0000 (0:00:00.057) 0:18:12.572 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:41:18 +0000 (0:00:00.028) 0:18:12.601 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:41:18 +0000 (0:00:00.030) 0:18:12.632 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:41:18 +0000 (0:00:00.049) 0:18:12.681 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:41:38 +0000 (0:00:20.288) 0:18:32.970 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:41:39 +0000 (0:00:00.036) 0:18:33.006 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:41:39 +0000 (0:00:00.020) 0:18:33.026 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:41:39 +0000 (0:00:00.022) 0:18:33.049 ******** 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, d4da9723-95bc-42e2-bc82-d9555bb12c80 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:41:59 +0000 (0:00:20.472) 0:18:53.521 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:41:59 +0000 (0:00:00.023) 0:18:53.545 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4da9723-95bc-42e2-bc82-d9555bb12c80" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:41:59 +0000 (0:00:00.025) 0:18:53.571 ******** 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, d4da9723-95bc-42e2-bc82-d9555bb12c80\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4da9723-95bc-42e2-bc82-d9555bb12c80" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:41:59 +0000 (0:00:00.035) 0:18:53.606 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:41:59 +0000 (0:00:00.025) 0:18:53.631 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:42:19 +0000 (0:00:20.185) 0:19:13.817 ******** 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, d4da9723-95bc-42e2-bc82-d9555bb12c80\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4da9723-95bc-42e2-bc82-d9555bb12c80" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:42:19 +0000 (0:00:00.023) 0:19:13.840 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:42:19 +0000 (0:00:00.039) 0:19:13.880 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:42:19 +0000 (0:00:00.038) 0:19:13.918 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:42:19 +0000 (0:00:00.034) 0:19:13.953 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:42:19 +0000 (0:00:00.023) 0:19:13.976 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:42:20 +0000 (0:00:00.024) 0:19:14.000 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:42:40 +0000 (0:00:20.828) 0:19:34.829 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:43:01 +0000 (0:00:20.745) 0:19:55.574 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:43:01 +0000 (0:00:00.061) 0:19:55.636 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:43:01 +0000 (0:00:00.024) 0:19:55.660 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:43:01 +0000 (0:00:00.023) 0:19:55.684 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:43:01 +0000 (0:00:00.056) 0:19:55.741 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:43:01 +0000 (0:00:00.024) 0:19:55.766 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:43:01 +0000 (0:00:00.025) 0:19:55.791 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:43:01 +0000 (0:00:00.035) 0:19:55.827 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:43:22 +0000 (0:00:20.269) 0:20:16.097 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:43:22 +0000 (0:00:00.035) 0:20:16.133 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:43:22 +0000 (0:00:00.019) 0:20:16.152 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:43:22 +0000 (0:00:00.021) 0:20:16.173 ******** 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, d4da9723-95bc-42e2-bc82-d9555bb12c80 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:43:42 +0000 (0:00:20.310) 0:20:36.484 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:43:42 +0000 (0:00:00.028) 0:20:36.512 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d4da9723-95bc-42e2-bc82-d9555bb12c80 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:43:42 +0000 (0:00:00.023) 0:20:36.536 ******** 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, d4da9723-95bc-42e2-bc82-d9555bb12c80 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d4da9723-95bc-42e2-bc82-d9555bb12c80 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:43:42 +0000 (0:00:00.027) 0:20:36.563 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:43:42 +0000 (0:00:00.027) 0:20:36.591 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:44:02 +0000 (0:00:20.160) 0:20:56.751 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:44:02 +0000 (0:00:00.069) 0:20:56.820 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:44:02 +0000 (0:00:00.039) 0:20:56.860 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:44:02 +0000 (0:00:00.036) 0:20:56.897 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:44:02 +0000 (0:00:00.033) 0:20:56.930 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:44:02 +0000 (0:00:00.022) 0:20:56.952 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:44:03 +0000 (0:00:00.026) 0:20:56.979 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:44:23 +0000 (0:00:20.818) 0:21:17.797 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:44:44 +0000 (0:00:20.688) 0:21:38.486 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:44:44 +0000 (0:00:00.022) 0:21:38.508 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:44:44 +0000 (0:00:00.021) 0:21:38.529 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:44:44 +0000 (0:00:00.021) 0:21:38.551 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:44:44 +0000 (0:00:00.050) 0:21:38.602 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:44:44 +0000 (0:00:00.023) 0:21:38.625 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:44:44 +0000 (0:00:00.022) 0:21:38.647 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:44:44 +0000 (0:00:00.073) 0:21:38.721 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:45:05 +0000 (0:00:20.266) 0:21:58.988 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:45:05 +0000 (0:00:00.037) 0:21:59.025 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:45:05 +0000 (0:00:00.028) 0:21:59.054 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:45:05 +0000 (0:00:00.029) 0:21:59.084 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:45:25 +0000 (0:00:20.352) 0:22:19.436 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:45:25 +0000 (0:00:00.030) 0:22:19.467 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:45:25 +0000 (0:00:00.025) 0:22:19.492 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:45:25 +0000 (0:00:00.025) 0:22:19.518 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:45:25 +0000 (0:00:00.029) 0:22:19.547 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:45:45 +0000 (0:00:20.162) 0:22:39.709 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:45:45 +0000 (0:00:00.038) 0:22:39.748 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:45:45 +0000 (0:00:00.034) 0:22:39.782 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084919.4198003, "block_size": 4096, "blocks": 0, "ctime": 1705084919.4188004, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17489, "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": 1705084919.4188004, "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-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:46:05 +0000 (0:00:20.158) 0:22:59.941 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:46:05 +0000 (0:00:00.021) 0:22:59.963 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:46:06 +0000 (0:00:00.067) 0:23:00.030 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:46:06 +0000 (0:00:00.020) 0:23:00.051 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:46:26 +0000 (0:00:20.155) 0:23:20.206 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:46:26 +0000 (0:00:00.026) 0:23:20.232 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022228", "end": "2024-01-12 18:46:46.423493", "rc": 1, "start": "2024-01-12 18:46:46.401265" } 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:46:46 +0000 (0:00:20.188) 0:23:40.421 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:46:46 +0000 (0:00:00.020) 0:23:40.441 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:46:46 +0000 (0:00:00.019) 0:23:40.461 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:46:46 +0000 (0:00:00.020) 0:23:40.481 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:46:46 +0000 (0:00:00.025) 0:23:40.507 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:46:46 +0000 (0:00:00.021) 0:23:40.528 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:46:46 +0000 (0:00:00.021) 0:23:40.550 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:46:46 +0000 (0:00:00.027) 0:23:40.577 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:46:46 +0000 (0:00:00.021) 0:23:40.599 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:46:46 +0000 (0:00:00.035) 0:23:40.634 ******** 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.085846", "end": "2024-01-12 18:47:06.873286", "rc": 1, "start": "2024-01-12 18:47:06.787440" } STDOUT: Connection 'statebr' (d4da9723-95bc-42e2-bc82-d9555bb12c80) successfully deleted. STDERR: (process:13895): GLib-GIO-WARNING **: 18:47:06.842: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/11 but no object proxy exists (process:13895): GLib-GIO-WARNING **: 18:47:06.842: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/23 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-route_typelth7gxlb/tests/playbooks/tests_states.yml:102 Friday 12 January 2024 18:47:06 +0000 (0:00:20.239) 0:24:00.873 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:47:06 +0000 (0:00:00.033) 0:24:00.907 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:47:06 +0000 (0:00:00.021) 0:24:00.929 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:47:07 +0000 (0:00:00.081) 0:24:01.010 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:47:07 +0000 (0:00:00.030) 0:24:01.041 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:47:07 +0000 (0:00:00.030) 0:24:01.071 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004064", "end": "2024-01-12 18:47:27.229724", "rc": 0, "start": "2024-01-12 18:47:27.225660" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:47:27 +0000 (0:00:20.156) 0:24:21.227 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:47:27 +0000 (0:00:00.021) 0:24:21.249 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:47:27 +0000 (0:00:00.021) 0:24:21.270 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:47:27 +0000 (0:00:00.037) 0:24:21.308 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:47:27 +0000 (0:00:00.040) 0:24:21.348 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:47:27 +0000 (0:00:00.039) 0:24:21.387 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:47:27 +0000 (0:00:00.036) 0:24:21.423 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:47:27 +0000 (0:00:00.024) 0:24:21.448 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:47:27 +0000 (0:00:00.023) 0:24:21.471 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:47:48 +0000 (0:00:20.847) 0:24:42.319 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:48:09 +0000 (0:00:20.785) 0:25:03.104 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:48:09 +0000 (0:00:00.025) 0:25:03.130 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:48:09 +0000 (0:00:00.022) 0:25:03.153 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:48:09 +0000 (0:00:00.024) 0:25:03.177 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:48:09 +0000 (0:00:00.059) 0:25:03.236 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:48:09 +0000 (0:00:00.024) 0:25:03.261 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:48:09 +0000 (0:00:00.039) 0:25:03.300 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:48:09 +0000 (0:00:00.036) 0:25:03.337 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:48:29 +0000 (0:00:20.263) 0:25:23.601 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:48:29 +0000 (0:00:00.040) 0:25:23.641 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:48:29 +0000 (0:00:00.021) 0:25:23.663 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:48:29 +0000 (0:00:00.022) 0:25:23.685 ******** 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, 610fb23b-b845-4ec3-8c74-677edc1bd06b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:48:50 +0000 (0:00:20.353) 0:25:44.039 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:48:50 +0000 (0:00:00.023) 0:25:44.062 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 610fb23b-b845-4ec3-8c74-677edc1bd06b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:48:50 +0000 (0:00:00.024) 0:25:44.086 ******** 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, 610fb23b-b845-4ec3-8c74-677edc1bd06b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 610fb23b-b845-4ec3-8c74-677edc1bd06b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:48:50 +0000 (0:00:00.023) 0:25:44.109 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:48:50 +0000 (0:00:00.022) 0:25:44.132 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:49:10 +0000 (0:00:20.196) 0:26:04.329 ******** 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, 610fb23b-b845-4ec3-8c74-677edc1bd06b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 610fb23b-b845-4ec3-8c74-677edc1bd06b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:49:10 +0000 (0:00:00.023) 0:26:04.352 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:49:10 +0000 (0:00:00.040) 0:26:04.393 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:49:10 +0000 (0:00:00.037) 0:26:04.430 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:49:10 +0000 (0:00:00.034) 0:26:04.465 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:49:10 +0000 (0:00:00.023) 0:26:04.488 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:49:10 +0000 (0:00:00.023) 0:26:04.511 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:49:31 +0000 (0:00:20.819) 0:26:25.330 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:49:52 +0000 (0:00:20.690) 0:26:46.021 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:49:52 +0000 (0:00:00.023) 0:26:46.045 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:49:52 +0000 (0:00:00.023) 0:26:46.069 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:49:52 +0000 (0:00:00.023) 0:26:46.092 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:49:52 +0000 (0:00:00.056) 0:26:46.148 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:49:52 +0000 (0:00:00.022) 0:26:46.171 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:49:52 +0000 (0:00:00.091) 0:26:46.263 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:49:52 +0000 (0:00:00.035) 0:26:46.299 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:50:12 +0000 (0:00:20.265) 0:27:06.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:50:12 +0000 (0:00:00.034) 0:27:06.599 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:50:12 +0000 (0:00:00.020) 0:27:06.620 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:50:12 +0000 (0:00:00.020) 0:27:06.640 ******** 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, 610fb23b-b845-4ec3-8c74-677edc1bd06b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:50:32 +0000 (0:00:20.302) 0:27:26.942 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:50:32 +0000 (0:00:00.023) 0:27:26.965 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 610fb23b-b845-4ec3-8c74-677edc1bd06b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:50:33 +0000 (0:00:00.023) 0:27:26.988 ******** 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, 610fb23b-b845-4ec3-8c74-677edc1bd06b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 610fb23b-b845-4ec3-8c74-677edc1bd06b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:50:33 +0000 (0:00:00.023) 0:27:27.012 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:50:33 +0000 (0:00:00.024) 0:27:27.037 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:50:53 +0000 (0:00:20.160) 0:27:47.197 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:50:53 +0000 (0:00:00.038) 0:27:47.236 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:50:53 +0000 (0:00:00.037) 0:27:47.274 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:50:53 +0000 (0:00:00.033) 0:27:47.307 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:50:53 +0000 (0:00:00.021) 0:27:47.329 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:50:53 +0000 (0:00:00.059) 0:27:47.389 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:51:14 +0000 (0:00:20.809) 0:28:08.198 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:51:34 +0000 (0:00:20.676) 0:28:28.875 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:51:34 +0000 (0:00:00.022) 0:28:28.897 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:51:34 +0000 (0:00:00.022) 0:28:28.920 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:51:34 +0000 (0:00:00.022) 0:28:28.942 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:51:35 +0000 (0:00:00.053) 0:28:28.996 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:51:35 +0000 (0:00:00.024) 0:28:29.020 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:51:35 +0000 (0:00:00.022) 0:28:29.043 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:51:35 +0000 (0:00:00.035) 0:28:29.079 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:51:55 +0000 (0:00:20.261) 0:28:49.341 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:51:55 +0000 (0:00:00.039) 0:28:49.380 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:51:55 +0000 (0:00:00.024) 0:28:49.404 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:51:55 +0000 (0:00:00.026) 0:28:49.431 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:52:15 +0000 (0:00:20.350) 0:29:09.781 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:52:15 +0000 (0:00:00.022) 0:29:09.803 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:52:15 +0000 (0:00:00.021) 0:29:09.825 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:52:15 +0000 (0:00:00.056) 0:29:09.881 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:52:15 +0000 (0:00:00.023) 0:29:09.904 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:52:36 +0000 (0:00:20.157) 0:29:30.062 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:52:36 +0000 (0:00:00.035) 0:29:30.098 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:52:36 +0000 (0:00:00.040) 0:29:30.139 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:52:36 +0000 (0:00:00.038) 0:29:30.177 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:52:36 +0000 (0:00:00.031) 0:29:30.209 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:52:36 +0000 (0:00:00.022) 0:29:30.231 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:52:36 +0000 (0:00:00.021) 0:29:30.253 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:52:57 +0000 (0:00:20.808) 0:29:51.061 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:53:17 +0000 (0:00:20.681) 0:30:11.742 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:53:17 +0000 (0:00:00.059) 0:30:11.802 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:53:17 +0000 (0:00:00.022) 0:30:11.825 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:53:17 +0000 (0:00:00.023) 0:30:11.849 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:53:17 +0000 (0:00:00.051) 0:30:11.900 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:53:17 +0000 (0:00:00.022) 0:30:11.923 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:53:17 +0000 (0:00:00.021) 0:30:11.944 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:53:18 +0000 (0:00:00.035) 0:30:11.979 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:53:38 +0000 (0:00:20.260) 0:30:32.240 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:53:38 +0000 (0:00:00.036) 0:30:32.276 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:53:38 +0000 (0:00:00.018) 0:30:32.295 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:53:38 +0000 (0:00:00.017) 0:30:32.313 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:53:58 +0000 (0:00:20.395) 0:30:52.708 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:53:58 +0000 (0:00:00.021) 0:30:52.730 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:53:58 +0000 (0:00:00.021) 0:30:52.752 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:53:58 +0000 (0:00:00.022) 0:30:52.774 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:53:58 +0000 (0:00:00.021) 0:30:52.796 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:54:18 +0000 (0:00:20.158) 0:31:12.954 ******** included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:54:19 +0000 (0:00:00.033) 0:31:12.987 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:54:19 +0000 (0:00:00.063) 0:31:13.051 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:54:19 +0000 (0:00:00.019) 0:31:13.070 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:54:39 +0000 (0:00:20.148) 0:31:33.219 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:54:39 +0000 (0:00:00.019) 0:31:33.238 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022658", "end": "2024-01-12 18:54:59.414773", "rc": 1, "start": "2024-01-12 18:54:59.392115" } 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:54:59 +0000 (0:00:20.174) 0:31:53.413 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:54:59 +0000 (0:00:00.019) 0:31:53.432 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:54:59 +0000 (0:00:00.020) 0:31:53.453 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:54:59 +0000 (0:00:00.019) 0:31:53.473 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:54:59 +0000 (0:00:00.018) 0:31:53.491 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:54:59 +0000 (0:00:00.019) 0:31:53.511 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:54:59 +0000 (0:00:00.020) 0:31:53.532 ******** included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:54:59 +0000 (0:00:00.044) 0:31:53.576 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:54:59 +0000 (0:00:00.028) 0:31:53.605 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:55:19 +0000 (0:00:20.148) 0:32:13.754 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:55:19 +0000 (0:00:00.022) 0:32:13.776 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:55:19 +0000 (0:00:00.019) 0:32:13.795 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:55:19 +0000 (0:00:00.067) 0:32:13.863 ******** 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.043479", "end": "2024-01-12 18:55:40.059364", "rc": 1, "start": "2024-01-12 18:55:40.015885" } 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-route_typelth7gxlb/tests/playbooks/tests_states.yml:124 Friday 12 January 2024 18:55:40 +0000 (0:00:20.194) 0:32:34.057 ******** included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:55:40 +0000 (0:00:00.031) 0:32:34.089 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:55:40 +0000 (0:00:00.020) 0:32:34.110 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:55:40 +0000 (0:00:00.038) 0:32:34.149 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:55:40 +0000 (0:00:00.030) 0:32:34.179 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:55:40 +0000 (0:00:00.028) 0:32:34.208 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003646", "end": "2024-01-12 18:56:00.364671", "rc": 0, "start": "2024-01-12 18:56:00.361025" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:56:00 +0000 (0:00:20.154) 0:32:54.362 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:56:00 +0000 (0:00:00.021) 0:32:54.384 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:56:00 +0000 (0:00:00.019) 0:32:54.403 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:56:00 +0000 (0:00:00.037) 0:32:54.441 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:56:00 +0000 (0:00:00.038) 0:32:54.480 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:56:00 +0000 (0:00:00.067) 0:32:54.547 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:56:00 +0000 (0:00:00.032) 0:32:54.580 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:56:00 +0000 (0:00:00.022) 0:32:54.602 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:56:00 +0000 (0:00:00.023) 0:32:54.626 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:56:21 +0000 (0:00:20.818) 0:33:15.444 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:56:42 +0000 (0:00:20.682) 0:33:36.126 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:56:42 +0000 (0:00:00.022) 0:33:36.148 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:56:42 +0000 (0:00:00.021) 0:33:36.170 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:56:42 +0000 (0:00:00.023) 0:33:36.194 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:56:42 +0000 (0:00:00.054) 0:33:36.248 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:56:42 +0000 (0:00:00.022) 0:33:36.271 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:56:42 +0000 (0:00:00.025) 0:33:36.296 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:56:42 +0000 (0:00:00.035) 0:33:36.332 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:57:02 +0000 (0:00:20.263) 0:33:56.596 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:57:02 +0000 (0:00:00.036) 0:33:56.633 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:57:02 +0000 (0:00:00.018) 0:33:56.651 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:57:02 +0000 (0:00:00.067) 0:33:56.718 ******** 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, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:57:23 +0000 (0:00:20.345) 0:34:17.063 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:57:23 +0000 (0:00:00.024) 0:34:17.088 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:57:23 +0000 (0:00:00.023) 0:34:17.112 ******** 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, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:57:23 +0000 (0:00:00.023) 0:34:17.135 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:57:23 +0000 (0:00:00.022) 0:34:17.157 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:57:43 +0000 (0:00:20.157) 0:34:37.315 ******** 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, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:57:43 +0000 (0:00:00.022) 0:34:37.338 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:57:43 +0000 (0:00:00.038) 0:34:37.376 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:57:43 +0000 (0:00:00.039) 0:34:37.416 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:57:43 +0000 (0:00:00.032) 0:34:37.449 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:57:43 +0000 (0:00:00.022) 0:34:37.471 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:57:43 +0000 (0:00:00.022) 0:34:37.493 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:58:04 +0000 (0:00:20.826) 0:34:58.320 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:58:25 +0000 (0:00:20.783) 0:35:19.104 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:58:25 +0000 (0:00:00.024) 0:35:19.128 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:58:25 +0000 (0:00:00.024) 0:35:19.153 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:58:25 +0000 (0:00:00.024) 0:35:19.178 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:58:25 +0000 (0:00:00.053) 0:35:19.231 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:58:25 +0000 (0:00:00.024) 0:35:19.256 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:58:25 +0000 (0:00:00.023) 0:35:19.279 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:58:25 +0000 (0:00:00.036) 0:35:19.315 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:58:45 +0000 (0:00:20.262) 0:35:39.578 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:58:45 +0000 (0:00:00.040) 0:35:39.619 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:58:45 +0000 (0:00:00.020) 0:35:39.639 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:58:45 +0000 (0:00:00.019) 0:35:39.659 ******** 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, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:59:05 +0000 (0:00:20.305) 0:35:59.964 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:59:06 +0000 (0:00:00.023) 0:35:59.988 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:59:06 +0000 (0:00:00.025) 0:36:00.013 ******** 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, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2ceb9f2d-fc3c-458b-b4b8-627aaa7cadc3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:59:06 +0000 (0:00:00.023) 0:36:00.036 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:59:06 +0000 (0:00:00.022) 0:36:00.059 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:59:26 +0000 (0:00:20.154) 0:36:20.213 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:59:26 +0000 (0:00:00.089) 0:36:20.303 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:59:26 +0000 (0:00:00.038) 0:36:20.342 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:59:26 +0000 (0:00:00.033) 0:36:20.375 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:59:26 +0000 (0:00:00.023) 0:36:20.399 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:59:26 +0000 (0:00:00.022) 0:36:20.422 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:59:47 +0000 (0:00:20.836) 0:36:41.258 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 19:00:07 +0000 (0:00:20.693) 0:37:01.952 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 19:00:07 +0000 (0:00:00.022) 0:37:01.974 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 19:00:08 +0000 (0:00:00.022) 0:37:01.997 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 19:00:08 +0000 (0:00:00.023) 0:37:02.021 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 19:00:08 +0000 (0:00:00.051) 0:37:02.072 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 19:00:08 +0000 (0:00:00.023) 0:37:02.095 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 19:00:08 +0000 (0:00:00.022) 0:37:02.118 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 19:00:08 +0000 (0:00:00.032) 0:37:02.151 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 19:00:28 +0000 (0:00:20.312) 0:37:22.464 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 19:00:28 +0000 (0:00:00.035) 0:37:22.499 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 19:00:28 +0000 (0:00:00.019) 0:37:22.519 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 19:00:28 +0000 (0:00:00.019) 0:37:22.539 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 19:00:48 +0000 (0:00:20.422) 0:37:42.961 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 19:00:49 +0000 (0:00:00.023) 0:37:42.985 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 19:00:49 +0000 (0:00:00.021) 0:37:43.006 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 19:00:49 +0000 (0:00:00.022) 0:37:43.029 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 19:00:49 +0000 (0:00:00.022) 0:37:43.052 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 19:01:09 +0000 (0:00:20.164) 0:38:03.216 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 19:01:09 +0000 (0:00:00.034) 0:38:03.250 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 19:01:09 +0000 (0:00:00.040) 0:38:03.291 ******** included: /WORKDIR/git-route_typelth7gxlb/.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 19:01:09 +0000 (0:00:00.037) 0:38:03.328 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 19:01:09 +0000 (0:00:00.033) 0:38:03.362 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 19:01:09 +0000 (0:00:00.022) 0:38:03.384 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 19:01:09 +0000 (0:00:00.061) 0:38:03.445 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 19:01:30 +0000 (0:00:20.867) 0:38:24.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 : Print network provider] ************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 19:01:51 +0000 (0:00:20.693) 0:38:45.006 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 19:01:51 +0000 (0:00:00.023) 0:38:45.029 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 19:01:51 +0000 (0:00:00.023) 0:38:45.053 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 19:01:51 +0000 (0:00:00.022) 0:38:45.075 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 19:01:51 +0000 (0:00:00.053) 0:38:45.129 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 19:01:51 +0000 (0:00:00.021) 0:38:45.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 19:01:51 +0000 (0:00:00.024) 0:38:45.174 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 19:01:51 +0000 (0:00:00.035) 0:38:45.210 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 19:02:11 +0000 (0:00:20.268) 0:39:05.478 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 19:02:11 +0000 (0:00:00.036) 0:39:05.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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 19:02:11 +0000 (0:00:00.020) 0:39:05.535 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 19:02:11 +0000 (0:00:00.019) 0:39:05.554 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 19:02:31 +0000 (0:00:20.324) 0:39:25.879 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 19:02:31 +0000 (0:00:00.023) 0:39:25.903 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 19:02:31 +0000 (0:00:00.022) 0:39:25.925 ******** 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-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 19:02:32 +0000 (0:00:00.068) 0:39:25.994 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 19:02:32 +0000 (0:00:00.023) 0:39:26.017 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 19:02:52 +0000 (0:00:20.158) 0:39:46.176 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 19:02:52 +0000 (0:00:00.037) 0:39:46.214 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 19:02:52 +0000 (0:00:00.031) 0:39:46.245 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 19:02:52 +0000 (0:00:00.019) 0:39:46.264 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 19:03:12 +0000 (0:00:20.150) 0:40:06.414 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 19:03:12 +0000 (0:00:00.018) 0:40:06.433 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020658", "end": "2024-01-12 19:03:32.609559", "rc": 1, "start": "2024-01-12 19:03:32.588901" } 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 19:03:32 +0000 (0:00:20.174) 0:40:26.607 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 19:03:32 +0000 (0:00:00.021) 0:40:26.628 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 19:03:32 +0000 (0:00:00.020) 0:40:26.649 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 19:03:32 +0000 (0:00:00.020) 0:40:26.669 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 19:03:32 +0000 (0:00:00.019) 0:40:26.688 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 19:03:32 +0000 (0:00:00.019) 0:40:26.707 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 19:03:32 +0000 (0:00:00.021) 0:40:26.729 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.414191", "end": "2024-01-12 19:03:53.297049", "rc": 0, "start": "2024-01-12 19:03:52.882858" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 19:03:53 +0000 (0:00:20.567) 0:40:47.297 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 19:03:53 +0000 (0:00:00.021) 0:40:47.318 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 19:03:53 +0000 (0:00:00.057) 0:40:47.376 ******** included: /WORKDIR/git-route_typelth7gxlb/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-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 19:03:53 +0000 (0:00:00.047) 0:40:47.423 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 19:03:53 +0000 (0:00:00.030) 0:40:47.454 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 19:04:13 +0000 (0:00:20.147) 0:41:07.601 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 19:04:13 +0000 (0:00:00.023) 0:41:07.624 ******** 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-route_typelth7gxlb/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 19:04:13 +0000 (0:00:00.020) 0:41:07.644 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 19:04:13 +0000 (0:00:00.034) 0:41:07.679 ******** 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.045913", "end": "2024-01-12 19:04:33.879668", "rc": 1, "start": "2024-01-12 19:04:33.833755" } 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 PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Friday 12 January 2024 19:04:33 +0000 (0:00:20.226) 0:41:27.906 ******** =============================================================================== Gathering Facts -------------------------------------------------------- 50.75s /WORKDIR/git-route_typelth7gxlb/tests/tests_states_nm.yml:6 ------------------- Gathering Facts -------------------------------------------------------- 50.56s /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_states.yml:3 ------------ Gather the minimum subset of ansible_facts required by the network role test -- 50.26s /WORKDIR/git-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:3 --------------- fedora.linux_system_roles.network : Check which services are running --- 20.94s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.87s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.85s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.85s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.85s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.85s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed -- 20.84s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running --- 20.84s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.83s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.83s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.83s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.82s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.82s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.82s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.81s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running --- 20.81s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed -- 20.79s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---