# 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_typexvc837ip/.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_typexvc837ip/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/tests_states_nm.yml:6 Friday 12 January 2024 18:20:16 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typexvc837ip/tests/tests_states_nm.yml:9 Friday 12 January 2024 18:20:17 +0000 (0:00:00.689) 0:00:00.700 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:20:17 +0000 (0:00:00.020) 0:00:00.721 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/tasks/el_repo_setup.yml:17 Friday 12 January 2024 18:20:17 +0000 (0:00:00.252) 0:00:00.973 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typexvc837ip/tests/tasks/el_repo_setup.yml:22 Friday 12 January 2024 18:20:17 +0000 (0:00:00.221) 0:00:01.194 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/tasks/el_repo_setup.yml:26 Friday 12 January 2024 18:20:17 +0000 (0:00:00.014) 0:00:01.209 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/tasks/el_repo_setup.yml:51 Friday 12 January 2024 18:20:17 +0000 (0:00:00.008) 0:00:01.218 ******** included: /WORKDIR/git-route_typexvc837ip/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:20:17 +0000 (0:00:00.021) 0:00:01.239 ******** 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_typexvc837ip/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:20:17 +0000 (0:00:00.189) 0:00:01.428 ******** 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_typexvc837ip/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:20:18 +0000 (0:00:00.434) 0:00:01.863 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.182602", "end": "2024-01-12 18:20:18.594549", "rc": 0, "start": "2024-01-12 18:20:18.411947" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:20:18 +0000 (0:00:00.316) 0:00:02.179 ******** 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_typexvc837ip/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:20:18 +0000 (0:00:00.015) 0:00:02.194 ******** 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_typexvc837ip/tests/tests_states_nm.yml:11 Friday 12 January 2024 18:20:18 +0000 (0:00:00.008) 0:00:02.203 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 18:20:18 +0000 (0:00:00.017) 0:00:02.221 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 18:20:19 +0000 (0:00:00.531) 0:00:02.752 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 18:20:19 +0000 (0:00:00.017) 0:00:02.769 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:20:19 +0000 (0:00:00.037) 0:00:02.806 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:20:19 +0000 (0:00:00.019) 0:00:02.826 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:20:19 +0000 (0:00:00.057) 0:00:02.884 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:20:19 +0000 (0:00:00.013) 0:00:02.898 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:20:19 +0000 (0:00:00.019) 0:00:02.917 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004082", "end": "2024-01-12 18:20:19.472999", "rc": 0, "start": "2024-01-12 18:20:19.468917" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:20:19 +0000 (0:00:00.166) 0:00:03.084 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:20:19 +0000 (0:00:00.013) 0:00:03.098 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:20:19 +0000 (0:00:00.013) 0:00:03.111 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:20:19 +0000 (0:00:00.037) 0:00:03.149 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011797", "end": "2024-01-12 18:20:19.737989", "rc": 1, "start": "2024-01-12 18:20:19.726192" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:20:19 +0000 (0:00:00.166) 0:00:03.315 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:20:19 +0000 (0:00:00.011) 0:00:03.327 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:20:19 +0000 (0:00:00.141) 0:00:03.469 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:20:19 +0000 (0:00:00.010) 0:00:03.480 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:20:19 +0000 (0:00:00.014) 0:00:03.495 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:19 +0000 (0:00:00.026) 0:00:03.521 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:19 +0000 (0:00:00.021) 0:00:03.542 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:20 +0000 (0:00:00.023) 0:00:03.566 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:20 +0000 (0:00:00.013) 0:00:03.579 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:20 +0000 (0:00:00.012) 0:00:03.592 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:20 +0000 (0:00:00.879) 0:00:04.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 : Print network provider] ************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:22 +0000 (0:00:01.126) 0:00:05.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:22 +0000 (0:00:00.019) 0:00:05.618 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:22 +0000 (0:00:00.020) 0:00:05.638 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:22 +0000 (0:00:00.021) 0:00:05.659 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:22 +0000 (0:00:00.086) 0:00:05.746 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:22 +0000 (0:00:00.039) 0:00:05.785 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:20:22 +0000 (0:00:00.029) 0:00:05.815 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:20:22 +0000 (0:00:00.035) 0:00:05.851 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:20:22 +0000 (0:00:00.558) 0:00:06.410 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:20:22 +0000 (0:00:00.067) 0:00:06.478 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:20:22 +0000 (0:00:00.018) 0:00:06.497 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:20:22 +0000 (0:00:00.017) 0:00:06.514 ******** 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, e0e370a1-a55c-462b-8725-0122627eee1b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:20:23 +0000 (0:00:00.488) 0:00:07.002 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:20:23 +0000 (0:00:00.054) 0:00:07.057 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0e370a1-a55c-462b-8725-0122627eee1b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:20:23 +0000 (0:00:00.030) 0:00:07.088 ******** 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, e0e370a1-a55c-462b-8725-0122627eee1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0e370a1-a55c-462b-8725-0122627eee1b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:20:23 +0000 (0:00:00.029) 0:00:07.118 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:20:23 +0000 (0:00:00.045) 0:00:07.163 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:20:23 +0000 (0:00:00.236) 0:00:07.400 ******** 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, e0e370a1-a55c-462b-8725-0122627eee1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0e370a1-a55c-462b-8725-0122627eee1b" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:20:23 +0000 (0:00:00.032) 0:00:07.432 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:20:23 +0000 (0:00:00.047) 0:00:07.480 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:20:23 +0000 (0:00:00.034) 0:00:07.515 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:20:23 +0000 (0:00:00.021) 0:00:07.536 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083623.353664, "block_size": 4096, "blocks": 8, "ctime": 1705083623.352664, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083623.352664, "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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:20:24 +0000 (0:00:00.159) 0:00:07.696 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:20:24 +0000 (0:00:00.027) 0:00:07.723 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023531", "end": "2024-01-12 18:20:24.308756", "rc": 0, "start": "2024-01-12 18:20:24.285225" } 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:20:24 +0000 (0:00:00.179) 0:00:07.903 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:20:24 +0000 (0:00:00.072) 0:00:07.976 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:20:24 +0000 (0:00:00.035) 0:00:08.012 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:20:24 +0000 (0:00:00.034) 0:00:08.046 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:20:24 +0000 (0:00:00.021) 0:00:08.068 ******** 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_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:20:24 +0000 (0:00:00.021) 0:00:08.089 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:20:24 +0000 (0:00:00.021) 0:00:08.111 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:20:24 +0000 (0:00:00.023) 0:00:08.134 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:20:24 +0000 (0:00:00.019) 0:00:08.154 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:20:24 +0000 (0:00:00.042) 0:00:08.196 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:20:24 +0000 (0:00:00.061) 0:00:08.257 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083623.3556638, "block_size": 4096, "blocks": 0, "ctime": 1705083623.3546638, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17647, "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": 1705083623.3546638, "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_typexvc837ip/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:20:24 +0000 (0:00:00.152) 0:00:08.410 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:20:24 +0000 (0:00:00.031) 0:00:08.441 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:20:24 +0000 (0:00:00.022) 0:00:08.464 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:20:24 +0000 (0:00:00.054) 0:00:08.518 ******** 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.100636", "end": "2024-01-12 18:20:25.192079", "rc": 1, "start": "2024-01-12 18:20:25.091443" } STDOUT: Connection 'statebr' (e0e370a1-a55c-462b-8725-0122627eee1b) successfully deleted. STDERR: (process:19772): GLib-GIO-WARNING **: 18:20:25.170: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:19772): GLib-GIO-WARNING **: 18:20:25.171: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/26 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_typexvc837ip/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 18:20:25 +0000 (0:00:00.261) 0:00:08.779 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:20:25 +0000 (0:00:00.056) 0:00:08.836 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:20:25 +0000 (0:00:00.021) 0:00:08.858 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:20:25 +0000 (0:00:00.037) 0:00:08.896 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:20:25 +0000 (0:00:00.027) 0:00:08.924 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:20:25 +0000 (0:00:00.027) 0:00:08.951 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004520", "end": "2024-01-12 18:20:25.506402", "rc": 0, "start": "2024-01-12 18:20:25.501882" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:20:25 +0000 (0:00:00.142) 0:00:09.094 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:20:25 +0000 (0:00:00.023) 0:00:09.118 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:20:25 +0000 (0:00:00.021) 0:00:09.139 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:20:25 +0000 (0:00:00.035) 0:00:09.174 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008231", "end": "2024-01-12 18:20:25.732569", "rc": 1, "start": "2024-01-12 18:20:25.724338" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:20:25 +0000 (0:00:00.146) 0:00:09.320 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:20:25 +0000 (0:00:00.028) 0:00:09.348 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:20:25 +0000 (0:00:00.138) 0:00:09.487 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:20:25 +0000 (0:00:00.040) 0:00:09.527 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 18:20:26 +0000 (0:00:00.048) 0:00:09.575 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:26 +0000 (0:00:00.069) 0:00:09.644 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:26 +0000 (0:00:00.037) 0:00:09.681 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:26 +0000 (0:00:00.037) 0:00:09.719 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:26 +0000 (0:00:00.023) 0:00:09.743 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:26 +0000 (0:00:00.021) 0:00:09.764 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:27 +0000 (0:00:00.801) 0:00:10.566 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:27 +0000 (0:00:00.988) 0:00:11.554 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:28 +0000 (0:00:00.029) 0:00:11.584 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:28 +0000 (0:00:00.053) 0:00:11.638 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:28 +0000 (0:00:00.027) 0:00:11.665 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:28 +0000 (0:00:00.058) 0:00:11.724 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:28 +0000 (0:00:00.030) 0:00:11.755 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:20:28 +0000 (0:00:00.025) 0:00:11.780 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:20:28 +0000 (0:00:00.063) 0:00:11.844 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:20:28 +0000 (0:00:00.325) 0:00:12.170 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:20:28 +0000 (0:00:00.034) 0:00:12.204 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:20:28 +0000 (0:00:00.018) 0:00:12.222 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:20:28 +0000 (0:00:00.019) 0:00:12.241 ******** 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, c4c5c42b-7579-4c64-a361-0b3658dc71de TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:20:29 +0000 (0:00:00.340) 0:00:12.582 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:20:29 +0000 (0:00:00.025) 0:00:12.607 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c4c5c42b-7579-4c64-a361-0b3658dc71de" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:20:29 +0000 (0:00:00.046) 0:00:12.654 ******** 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, c4c5c42b-7579-4c64-a361-0b3658dc71de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c4c5c42b-7579-4c64-a361-0b3658dc71de" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:20:29 +0000 (0:00:00.022) 0:00:12.677 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:20:29 +0000 (0:00:00.027) 0:00:12.704 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 18:20:29 +0000 (0:00:00.217) 0:00:12.922 ******** 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, c4c5c42b-7579-4c64-a361-0b3658dc71de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c4c5c42b-7579-4c64-a361-0b3658dc71de" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:20:29 +0000 (0:00:00.056) 0:00:12.978 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:20:29 +0000 (0:00:00.121) 0:00:13.099 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:20:29 +0000 (0:00:00.062) 0:00:13.162 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:20:29 +0000 (0:00:00.227) 0:00:13.389 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:20:29 +0000 (0:00:00.032) 0:00:13.421 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:20:29 +0000 (0:00:00.065) 0:00:13.487 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:20:29 +0000 (0:00:00.060) 0:00:13.547 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083628.9665537, "block_size": 4096, "blocks": 8, "ctime": 1705083628.9655538, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083628.9655538, "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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:20:30 +0000 (0:00:00.162) 0:00:13.710 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:20:30 +0000 (0:00:00.024) 0:00:13.734 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023173", "end": "2024-01-12 18:20:30.324985", "rc": 0, "start": "2024-01-12 18:20:30.301812" } 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:20:30 +0000 (0:00:00.178) 0:00:13.913 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:20:30 +0000 (0:00:00.021) 0:00:13.935 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:20:30 +0000 (0:00:00.020) 0:00:13.955 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:20:30 +0000 (0:00:00.019) 0:00:13.975 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:20:30 +0000 (0:00:00.020) 0:00:13.995 ******** 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_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:20:30 +0000 (0:00:00.029) 0:00:14.025 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:20:30 +0000 (0:00:00.023) 0:00:14.048 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:20:30 +0000 (0:00:00.023) 0:00:14.071 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:20:30 +0000 (0:00:00.021) 0:00:14.093 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:20:30 +0000 (0:00:00.055) 0:00:14.148 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:20:30 +0000 (0:00:00.020) 0:00:14.168 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:20:30 +0000 (0:00:00.035) 0:00:14.204 ******** 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.052252", "end": "2024-01-12 18:20:30.814435", "rc": 1, "start": "2024-01-12 18:20:30.762183" } STDOUT: Connection 'statebr' (c4c5c42b-7579-4c64-a361-0b3658dc71de) 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_typexvc837ip/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 18:20:30 +0000 (0:00:00.202) 0:00:14.407 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:20:30 +0000 (0:00:00.055) 0:00:14.462 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:20:30 +0000 (0:00:00.023) 0:00:14.485 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:20:30 +0000 (0:00:00.036) 0:00:14.522 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:20:30 +0000 (0:00:00.028) 0:00:14.550 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:20:31 +0000 (0:00:00.027) 0:00:14.577 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004313", "end": "2024-01-12 18:20:31.133674", "rc": 0, "start": "2024-01-12 18:20:31.129361" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:20:31 +0000 (0:00:00.143) 0:00:14.721 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:20:31 +0000 (0:00:00.020) 0:00:14.741 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:20:31 +0000 (0:00:00.019) 0:00:14.760 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:20:31 +0000 (0:00:00.033) 0:00:14.794 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:31 +0000 (0:00:00.040) 0:00:14.834 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:31 +0000 (0:00:00.036) 0:00:14.871 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:31 +0000 (0:00:00.035) 0:00:14.906 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:31 +0000 (0:00:00.022) 0:00:14.929 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:31 +0000 (0:00:00.057) 0:00:14.986 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:32 +0000 (0:00:00.781) 0:00:15.767 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:33 +0000 (0:00:01.032) 0:00:16.800 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:33 +0000 (0:00:00.022) 0:00:16.822 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:33 +0000 (0:00:00.023) 0:00:16.845 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:33 +0000 (0:00:00.024) 0:00:16.869 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:33 +0000 (0:00:00.056) 0:00:16.926 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:33 +0000 (0:00:00.026) 0:00:16.952 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:20:33 +0000 (0:00:00.021) 0:00:16.974 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:20:33 +0000 (0:00:00.040) 0:00:17.014 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:20:33 +0000 (0:00:00.259) 0:00:17.274 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:20:33 +0000 (0:00:00.049) 0:00:17.323 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:20:33 +0000 (0:00:00.033) 0:00:17.357 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:20:33 +0000 (0:00:00.020) 0:00:17.378 ******** 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, 8cbd08be-b9f6-4ad6-a41d-25d808a27822 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:20:34 +0000 (0:00:00.409) 0:00:17.787 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:20:34 +0000 (0:00:00.021) 0:00:17.809 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8cbd08be-b9f6-4ad6-a41d-25d808a27822" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:20:34 +0000 (0:00:00.049) 0:00:17.858 ******** 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, 8cbd08be-b9f6-4ad6-a41d-25d808a27822\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8cbd08be-b9f6-4ad6-a41d-25d808a27822" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:20:34 +0000 (0:00:00.021) 0:00:17.880 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:20:34 +0000 (0:00:00.021) 0:00:17.901 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:20:34 +0000 (0:00:00.154) 0:00:18.056 ******** 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, 8cbd08be-b9f6-4ad6-a41d-25d808a27822\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8cbd08be-b9f6-4ad6-a41d-25d808a27822" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:20:34 +0000 (0:00:00.022) 0:00:18.079 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:20:34 +0000 (0:00:00.034) 0:00:18.113 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:34 +0000 (0:00:00.065) 0:00:18.178 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:34 +0000 (0:00:00.045) 0:00:18.223 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:34 +0000 (0:00:00.076) 0:00:18.300 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:34 +0000 (0:00:00.038) 0:00:18.338 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:34 +0000 (0:00:00.036) 0:00:18.375 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:35 +0000 (0:00:00.775) 0:00:19.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 : Print network provider] ************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:36 +0000 (0:00:01.059) 0:00:20.210 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:36 +0000 (0:00:00.024) 0:00:20.234 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:36 +0000 (0:00:00.022) 0:00:20.256 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:36 +0000 (0:00:00.024) 0:00:20.281 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:36 +0000 (0:00:00.056) 0:00:20.338 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:36 +0000 (0:00:00.022) 0:00:20.360 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:20:36 +0000 (0:00:00.031) 0:00:20.392 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:20:36 +0000 (0:00:00.040) 0:00:20.432 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:20:37 +0000 (0:00:00.255) 0:00:20.688 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:20:37 +0000 (0:00:00.035) 0:00:20.724 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:20:37 +0000 (0:00:00.018) 0:00:20.743 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:20:37 +0000 (0:00:00.017) 0:00:20.760 ******** 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, 8cbd08be-b9f6-4ad6-a41d-25d808a27822 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:20:37 +0000 (0:00:00.298) 0:00:21.059 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:20:37 +0000 (0:00:00.020) 0:00:21.079 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8cbd08be-b9f6-4ad6-a41d-25d808a27822 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:20:37 +0000 (0:00:00.020) 0:00:21.100 ******** 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, 8cbd08be-b9f6-4ad6-a41d-25d808a27822 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8cbd08be-b9f6-4ad6-a41d-25d808a27822 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:20:37 +0000 (0:00:00.024) 0:00:21.125 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:20:37 +0000 (0:00:00.021) 0:00:21.146 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:20:37 +0000 (0:00:00.146) 0:00:21.293 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:20:37 +0000 (0:00:00.074) 0:00:21.368 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:20:37 +0000 (0:00:00.045) 0:00:21.414 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083634.140452, "block_size": 4096, "blocks": 0, "ctime": 1705083634.139452, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17647, "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": 1705083634.139452, "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_typexvc837ip/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:20:37 +0000 (0:00:00.139) 0:00:21.554 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:20:38 +0000 (0:00:00.022) 0:00:21.577 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:20:38 +0000 (0:00:00.033) 0:00:21.611 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:20:38 +0000 (0:00:00.019) 0:00:21.630 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083634.139452, "block_size": 4096, "blocks": 8, "ctime": 1705083634.138452, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083634.138452, "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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:20:38 +0000 (0:00:00.140) 0:00:21.770 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:20:38 +0000 (0:00:00.023) 0:00:21.794 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023611", "end": "2024-01-12 18:20:38.371049", "rc": 0, "start": "2024-01-12 18:20:38.347438" } 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:20:38 +0000 (0:00:00.165) 0:00:21.960 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:20:38 +0000 (0:00:00.021) 0:00:21.981 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:20:38 +0000 (0:00:00.018) 0:00:21.999 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:20:38 +0000 (0:00:00.018) 0:00:22.018 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:20:38 +0000 (0:00:00.018) 0:00:22.036 ******** 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_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:20:38 +0000 (0:00:00.018) 0:00:22.054 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:20:38 +0000 (0:00:00.020) 0:00:22.075 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:20:38 +0000 (0:00:00.020) 0:00:22.096 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:20:38 +0000 (0:00:00.046) 0:00:22.142 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:20:38 +0000 (0:00:00.027) 0:00:22.169 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:20:38 +0000 (0:00:00.021) 0:00:22.191 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:20:38 +0000 (0:00:00.034) 0:00:22.226 ******** 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.082657", "end": "2024-01-12 18:20:38.861355", "rc": 1, "start": "2024-01-12 18:20:38.778698" } STDOUT: Connection 'statebr' (8cbd08be-b9f6-4ad6-a41d-25d808a27822) successfully deleted. STDERR: (process:20494): GLib-GIO-WARNING **: 18:20:38.837: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 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_typexvc837ip/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 18:20:38 +0000 (0:00:00.223) 0:00:22.449 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:20:38 +0000 (0:00:00.029) 0:00:22.478 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:20:38 +0000 (0:00:00.019) 0:00:22.498 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:20:38 +0000 (0:00:00.036) 0:00:22.534 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:20:38 +0000 (0:00:00.028) 0:00:22.563 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:20:39 +0000 (0:00:00.028) 0:00:22.591 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005725", "end": "2024-01-12 18:20:40.150019", "rc": 0, "start": "2024-01-12 18:20:39.144294" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:20:40 +0000 (0:00:01.200) 0:00:23.792 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:20:40 +0000 (0:00:00.031) 0:00:23.823 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:20:40 +0000 (0:00:00.026) 0:00:23.850 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:20:40 +0000 (0:00:00.047) 0:00:23.897 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:40 +0000 (0:00:00.080) 0:00:23.978 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:40 +0000 (0:00:00.047) 0:00:24.026 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:40 +0000 (0:00:00.040) 0:00:24.067 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:40 +0000 (0:00:00.024) 0:00:24.091 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:40 +0000 (0:00:00.034) 0:00:24.126 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:41 +0000 (0:00:00.803) 0:00:24.929 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:42 +0000 (0:00:00.971) 0:00:25.901 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:42 +0000 (0:00:00.025) 0:00:25.927 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:42 +0000 (0:00:00.022) 0:00:25.950 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:42 +0000 (0:00:00.023) 0:00:25.973 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:42 +0000 (0:00:00.076) 0:00:26.050 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:42 +0000 (0:00:00.024) 0:00:26.074 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:20:42 +0000 (0:00:00.043) 0:00:26.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:20:42 +0000 (0:00:00.049) 0:00:26.167 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:20:42 +0000 (0:00:00.380) 0:00:26.548 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:20:43 +0000 (0:00:00.040) 0:00:26.589 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:20:43 +0000 (0:00:00.047) 0:00:26.636 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:20:43 +0000 (0:00:00.022) 0:00:26.658 ******** 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, 05fed1a1-a89d-4589-b0b8-a14b1763d992 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:20:43 +0000 (0:00:00.358) 0:00:27.017 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:20:43 +0000 (0:00:00.027) 0:00:27.045 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 05fed1a1-a89d-4589-b0b8-a14b1763d992" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:20:43 +0000 (0:00:00.021) 0:00:27.067 ******** 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, 05fed1a1-a89d-4589-b0b8-a14b1763d992\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 05fed1a1-a89d-4589-b0b8-a14b1763d992" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:20:43 +0000 (0:00:00.020) 0:00:27.088 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:20:43 +0000 (0:00:00.022) 0:00:27.110 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:20:43 +0000 (0:00:00.148) 0:00:27.258 ******** 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, 05fed1a1-a89d-4589-b0b8-a14b1763d992\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 05fed1a1-a89d-4589-b0b8-a14b1763d992" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:20:43 +0000 (0:00:00.022) 0:00:27.281 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:43 +0000 (0:00:00.041) 0:00:27.322 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:43 +0000 (0:00:00.035) 0:00:27.358 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:43 +0000 (0:00:00.030) 0:00:27.388 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:43 +0000 (0:00:00.019) 0:00:27.408 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:43 +0000 (0:00:00.048) 0:00:27.457 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:44 +0000 (0:00:00.781) 0:00:28.239 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:45 +0000 (0:00:00.998) 0:00:29.237 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:45 +0000 (0:00:00.020) 0:00:29.258 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:45 +0000 (0:00:00.021) 0:00:29.279 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:45 +0000 (0:00:00.020) 0:00:29.300 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:45 +0000 (0:00:00.050) 0:00:29.350 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:45 +0000 (0:00:00.020) 0:00:29.371 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:20:45 +0000 (0:00:00.022) 0:00:29.393 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:20:45 +0000 (0:00:00.032) 0:00:29.426 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:20:46 +0000 (0:00:00.254) 0:00:29.680 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:20:46 +0000 (0:00:00.033) 0:00:29.714 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:20:46 +0000 (0:00:00.017) 0:00:29.731 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:20:46 +0000 (0:00:00.017) 0:00:29.749 ******** 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, 05fed1a1-a89d-4589-b0b8-a14b1763d992 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:20:46 +0000 (0:00:00.361) 0:00:30.111 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:20:46 +0000 (0:00:00.040) 0:00:30.151 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 05fed1a1-a89d-4589-b0b8-a14b1763d992 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:20:46 +0000 (0:00:00.058) 0:00:30.210 ******** 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, 05fed1a1-a89d-4589-b0b8-a14b1763d992 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 05fed1a1-a89d-4589-b0b8-a14b1763d992 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:20:46 +0000 (0:00:00.027) 0:00:30.238 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:20:46 +0000 (0:00:00.023) 0:00:30.262 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:20:46 +0000 (0:00:00.146) 0:00:30.408 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:20:46 +0000 (0:00:00.034) 0:00:30.443 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:46 +0000 (0:00:00.038) 0:00:30.481 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:46 +0000 (0:00:00.036) 0:00:30.517 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:46 +0000 (0:00:00.040) 0:00:30.558 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:47 +0000 (0:00:00.021) 0:00:30.579 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:47 +0000 (0:00:00.020) 0:00:30.600 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:47 +0000 (0:00:00.774) 0:00:31.374 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:48 +0000 (0:00:00.971) 0:00:32.346 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:48 +0000 (0:00:00.060) 0:00:32.407 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:48 +0000 (0:00:00.021) 0:00:32.429 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:48 +0000 (0:00:00.025) 0:00:32.454 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:48 +0000 (0:00:00.058) 0:00:32.512 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:48 +0000 (0:00:00.025) 0:00:32.538 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:20:48 +0000 (0:00:00.021) 0:00:32.560 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:20:49 +0000 (0:00:00.033) 0:00:32.593 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:20:49 +0000 (0:00:00.265) 0:00:32.858 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:20:49 +0000 (0:00:00.035) 0:00:32.894 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:20:49 +0000 (0:00:00.021) 0:00:32.915 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:20:49 +0000 (0:00:00.024) 0:00:32.939 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:20:49 +0000 (0:00:00.354) 0:00:33.294 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:20:49 +0000 (0:00:00.027) 0:00:33.322 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:20:49 +0000 (0:00:00.043) 0:00:33.366 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:20:49 +0000 (0:00:00.041) 0:00:33.408 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:20:49 +0000 (0:00:00.023) 0:00:33.432 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:20:50 +0000 (0:00:00.165) 0:00:33.598 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:20:50 +0000 (0:00:00.075) 0:00:33.673 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:20:50 +0000 (0:00:00.031) 0:00:33.704 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083643.3762705, "block_size": 4096, "blocks": 0, "ctime": 1705083643.3722706, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17649, "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": 1705083643.3722706, "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_typexvc837ip/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:20:50 +0000 (0:00:00.143) 0:00:33.848 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:20:50 +0000 (0:00:00.021) 0:00:33.869 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:20:50 +0000 (0:00:00.030) 0:00:33.900 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:20:50 +0000 (0:00:00.019) 0:00:33.919 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:20:50 +0000 (0:00:00.137) 0:00:34.057 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:20:50 +0000 (0:00:00.018) 0:00:34.075 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025032", "end": "2024-01-12 18:20:50.653810", "rc": 1, "start": "2024-01-12 18:20:50.628778" } 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:20:50 +0000 (0:00:00.173) 0:00:34.248 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:20:50 +0000 (0:00:00.018) 0:00:34.267 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:20:50 +0000 (0:00:00.018) 0:00:34.286 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:20:50 +0000 (0:00:00.018) 0:00:34.304 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:20:50 +0000 (0:00:00.018) 0:00:34.323 ******** 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_typexvc837ip/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:20:50 +0000 (0:00:00.018) 0:00:34.342 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:20:50 +0000 (0:00:00.020) 0:00:34.362 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:20:50 +0000 (0:00:00.027) 0:00:34.390 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:20:50 +0000 (0:00:00.030) 0:00:34.421 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:20:50 +0000 (0:00:00.082) 0:00:34.503 ******** 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.084312", "end": "2024-01-12 18:20:51.139443", "rc": 1, "start": "2024-01-12 18:20:51.055131" } STDOUT: Connection 'statebr' (05fed1a1-a89d-4589-b0b8-a14b1763d992) successfully deleted. STDERR: (process:21125): GLib-GIO-WARNING **: 18:20:51.112: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/26 but no object proxy exists (process:21125): GLib-GIO-WARNING **: 18:20:51.112: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/28 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_typexvc837ip/tests/playbooks/tests_states.yml:102 Friday 12 January 2024 18:20:51 +0000 (0:00:00.223) 0:00:34.727 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:20:51 +0000 (0:00:00.029) 0:00:34.757 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:20:51 +0000 (0:00:00.020) 0:00:34.778 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:20:51 +0000 (0:00:00.037) 0:00:34.815 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:20:51 +0000 (0:00:00.028) 0:00:34.844 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:20:51 +0000 (0:00:00.026) 0:00:34.870 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004617", "end": "2024-01-12 18:20:51.428303", "rc": 0, "start": "2024-01-12 18:20:51.423686" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:20:51 +0000 (0:00:00.144) 0:00:35.015 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:20:51 +0000 (0:00:00.019) 0:00:35.035 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:20:51 +0000 (0:00:00.019) 0:00:35.055 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:20:51 +0000 (0:00:00.036) 0:00:35.091 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:51 +0000 (0:00:00.037) 0:00:35.129 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:51 +0000 (0:00:00.060) 0:00:35.190 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:51 +0000 (0:00:00.032) 0:00:35.222 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:51 +0000 (0:00:00.020) 0:00:35.243 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:51 +0000 (0:00:00.021) 0:00:35.265 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:52 +0000 (0:00:00.787) 0:00:36.052 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:53 +0000 (0:00:00.990) 0:00:37.042 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:53 +0000 (0:00:00.023) 0:00:37.066 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:53 +0000 (0:00:00.025) 0:00:37.091 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:53 +0000 (0:00:00.044) 0:00:37.136 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:53 +0000 (0:00:00.055) 0:00:37.191 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:53 +0000 (0:00:00.024) 0:00:37.216 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:20:53 +0000 (0:00:00.022) 0:00:37.239 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:20:53 +0000 (0:00:00.033) 0:00:37.272 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:20:53 +0000 (0:00:00.255) 0:00:37.528 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:20:53 +0000 (0:00:00.035) 0:00:37.564 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:20:54 +0000 (0:00:00.053) 0:00:37.617 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:20:54 +0000 (0:00:00.019) 0:00:37.636 ******** 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, 0642c9ce-3d7e-4279-bb6a-b957cea408b7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:20:54 +0000 (0:00:00.350) 0:00:37.987 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:20:54 +0000 (0:00:00.022) 0:00:38.009 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0642c9ce-3d7e-4279-bb6a-b957cea408b7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:20:54 +0000 (0:00:00.021) 0:00:38.031 ******** 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, 0642c9ce-3d7e-4279-bb6a-b957cea408b7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0642c9ce-3d7e-4279-bb6a-b957cea408b7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:20:54 +0000 (0:00:00.021) 0:00:38.053 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:20:54 +0000 (0:00:00.022) 0:00:38.075 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:20:54 +0000 (0:00:00.145) 0:00:38.221 ******** 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, 0642c9ce-3d7e-4279-bb6a-b957cea408b7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0642c9ce-3d7e-4279-bb6a-b957cea408b7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:20:54 +0000 (0:00:00.020) 0:00:38.242 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:54 +0000 (0:00:00.036) 0:00:38.278 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:54 +0000 (0:00:00.035) 0:00:38.313 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:54 +0000 (0:00:00.032) 0:00:38.346 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:54 +0000 (0:00:00.021) 0:00:38.367 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:54 +0000 (0:00:00.020) 0:00:38.387 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:55 +0000 (0:00:00.793) 0:00:39.181 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:56 +0000 (0:00:01.067) 0:00:40.248 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:56 +0000 (0:00:00.021) 0:00:40.270 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:56 +0000 (0:00:00.022) 0:00:40.292 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:56 +0000 (0:00:00.031) 0:00:40.324 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:56 +0000 (0:00:00.055) 0:00:40.380 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:56 +0000 (0:00:00.044) 0:00:40.425 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:20:56 +0000 (0:00:00.029) 0:00:40.454 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:20:56 +0000 (0:00:00.036) 0:00:40.490 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:20:57 +0000 (0:00:00.271) 0:00:40.762 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:20:57 +0000 (0:00:00.033) 0:00:40.796 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:20:57 +0000 (0:00:00.021) 0:00:40.818 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:20:57 +0000 (0:00:00.020) 0:00:40.838 ******** 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, 0642c9ce-3d7e-4279-bb6a-b957cea408b7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:20:57 +0000 (0:00:00.356) 0:00:41.195 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:20:57 +0000 (0:00:00.030) 0:00:41.226 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0642c9ce-3d7e-4279-bb6a-b957cea408b7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:20:57 +0000 (0:00:00.032) 0:00:41.258 ******** 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, 0642c9ce-3d7e-4279-bb6a-b957cea408b7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0642c9ce-3d7e-4279-bb6a-b957cea408b7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:20:57 +0000 (0:00:00.051) 0:00:41.310 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:20:57 +0000 (0:00:00.031) 0:00:41.341 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:20:57 +0000 (0:00:00.179) 0:00:41.520 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:20:57 +0000 (0:00:00.038) 0:00:41.559 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:58 +0000 (0:00:00.036) 0:00:41.595 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:20:58 +0000 (0:00:00.031) 0:00:41.627 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:20:58 +0000 (0:00:00.020) 0:00:41.648 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:20:58 +0000 (0:00:00.020) 0:00:41.668 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:20:58 +0000 (0:00:00.770) 0:00:42.439 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:20:59 +0000 (0:00:00.968) 0:00:43.408 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:20:59 +0000 (0:00:00.021) 0:00:43.430 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:20:59 +0000 (0:00:00.022) 0:00:43.452 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:20:59 +0000 (0:00:00.030) 0:00:43.483 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:20:59 +0000 (0:00:00.052) 0:00:43.535 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:20:59 +0000 (0:00:00.023) 0:00:43.558 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:21:00 +0000 (0:00:00.056) 0:00:43.615 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:21:00 +0000 (0:00:00.032) 0:00:43.648 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:21:00 +0000 (0:00:00.255) 0:00:43.903 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:21:00 +0000 (0:00:00.036) 0:00:43.940 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:21:00 +0000 (0:00:00.020) 0:00:43.960 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:21:00 +0000 (0:00:00.019) 0:00:43.979 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:21:00 +0000 (0:00:00.330) 0:00:44.309 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:21:00 +0000 (0:00:00.025) 0:00:44.334 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:21:00 +0000 (0:00:00.025) 0:00:44.360 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:21:00 +0000 (0:00:00.036) 0:00:44.396 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:21:00 +0000 (0:00:00.025) 0:00:44.422 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:21:01 +0000 (0:00:00.145) 0:00:44.567 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:21:01 +0000 (0:00:00.036) 0:00:44.603 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:21:01 +0000 (0:00:00.038) 0:00:44.641 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:21:01 +0000 (0:00:00.065) 0:00:44.706 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:21:01 +0000 (0:00:00.032) 0:00:44.739 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:21:01 +0000 (0:00:00.022) 0:00:44.761 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:21:01 +0000 (0:00:00.020) 0:00:44.782 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:21:02 +0000 (0:00:00.787) 0:00:45.570 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:21:02 +0000 (0:00:00.978) 0:00:46.548 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:21:03 +0000 (0:00:00.030) 0:00:46.579 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:21:03 +0000 (0:00:00.035) 0:00:46.614 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:21:03 +0000 (0:00:00.022) 0:00:46.637 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:21:03 +0000 (0:00:00.072) 0:00:46.710 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:21:03 +0000 (0:00:00.055) 0:00:46.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:21:03 +0000 (0:00:00.044) 0:00:46.810 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:21:03 +0000 (0:00:00.035) 0:00:46.845 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:21:03 +0000 (0:00:00.270) 0:00:47.115 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:21:03 +0000 (0:00:00.052) 0:00:47.168 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:21:03 +0000 (0:00:00.027) 0:00:47.196 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:21:03 +0000 (0:00:00.019) 0:00:47.216 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:21:04 +0000 (0:00:00.463) 0:00:47.680 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:21:04 +0000 (0:00:00.032) 0:00:47.713 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:21:04 +0000 (0:00:00.031) 0:00:47.744 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:21:04 +0000 (0:00:00.033) 0:00:47.777 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:21:04 +0000 (0:00:00.026) 0:00:47.804 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:21:04 +0000 (0:00:00.151) 0:00:47.955 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:21:04 +0000 (0:00:00.033) 0:00:47.988 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:21:04 +0000 (0:00:00.030) 0:00:48.019 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:21:04 +0000 (0:00:00.022) 0:00:48.041 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:21:04 +0000 (0:00:00.158) 0:00:48.199 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:21:04 +0000 (0:00:00.019) 0:00:48.219 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022919", "end": "2024-01-12 18:21:04.831018", "rc": 1, "start": "2024-01-12 18:21:04.808099" } 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:21:04 +0000 (0:00:00.212) 0:00:48.431 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:21:04 +0000 (0:00:00.022) 0:00:48.454 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:21:04 +0000 (0:00:00.027) 0:00:48.482 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:21:04 +0000 (0:00:00.044) 0:00:48.527 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:21:04 +0000 (0:00:00.036) 0:00:48.563 ******** 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_typexvc837ip/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:21:05 +0000 (0:00:00.075) 0:00:48.638 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:21:05 +0000 (0:00:00.024) 0:00:48.663 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:21:05 +0000 (0:00:00.043) 0:00:48.707 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:21:05 +0000 (0:00:00.028) 0:00:48.736 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:21:05 +0000 (0:00:00.140) 0:00:48.876 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:21:05 +0000 (0:00:00.020) 0:00:48.897 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:21:05 +0000 (0:00:00.021) 0:00:48.918 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:21:05 +0000 (0:00:00.042) 0:00:48.961 ******** 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.047057", "end": "2024-01-12 18:21:05.563308", "rc": 1, "start": "2024-01-12 18:21:05.516251" } 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_typexvc837ip/tests/playbooks/tests_states.yml:124 Friday 12 January 2024 18:21:05 +0000 (0:00:00.198) 0:00:49.159 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:21:05 +0000 (0:00:00.047) 0:00:49.206 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:21:05 +0000 (0:00:00.032) 0:00:49.239 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:21:05 +0000 (0:00:00.108) 0:00:49.348 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:21:05 +0000 (0:00:00.046) 0:00:49.395 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:21:05 +0000 (0:00:00.073) 0:00:49.468 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004161", "end": "2024-01-12 18:21:06.028224", "rc": 0, "start": "2024-01-12 18:21:06.024063" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:21:06 +0000 (0:00:00.148) 0:00:49.616 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:21:06 +0000 (0:00:00.019) 0:00:49.636 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:21:06 +0000 (0:00:00.019) 0:00:49.655 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:21:06 +0000 (0:00:00.034) 0:00:49.689 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:21:06 +0000 (0:00:00.037) 0:00:49.727 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:21:06 +0000 (0:00:00.035) 0:00:49.762 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:21:06 +0000 (0:00:00.031) 0:00:49.794 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:21:06 +0000 (0:00:00.021) 0:00:49.816 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:21:06 +0000 (0:00:00.022) 0:00:49.839 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:21:07 +0000 (0:00:00.798) 0:00:50.637 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:21:08 +0000 (0:00:01.017) 0:00:51.655 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:21:08 +0000 (0:00:00.057) 0:00:51.712 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:21:08 +0000 (0:00:00.022) 0:00:51.735 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:21:08 +0000 (0:00:00.021) 0:00:51.757 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:21:08 +0000 (0:00:00.050) 0:00:51.807 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:21:08 +0000 (0:00:00.020) 0:00:51.828 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:21:08 +0000 (0:00:00.021) 0:00:51.850 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:21:08 +0000 (0:00:00.033) 0:00:51.883 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:21:08 +0000 (0:00:00.256) 0:00:52.139 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:21:08 +0000 (0:00:00.035) 0:00:52.175 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:21:08 +0000 (0:00:00.018) 0:00:52.193 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:21:08 +0000 (0:00:00.018) 0:00:52.211 ******** 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, 6d5428fd-2834-43c3-b9fb-cef86a8b2548 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:21:08 +0000 (0:00:00.348) 0:00:52.560 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:21:09 +0000 (0:00:00.029) 0:00:52.590 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d5428fd-2834-43c3-b9fb-cef86a8b2548" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:21:09 +0000 (0:00:00.042) 0:00:52.632 ******** 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, 6d5428fd-2834-43c3-b9fb-cef86a8b2548\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d5428fd-2834-43c3-b9fb-cef86a8b2548" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:21:09 +0000 (0:00:00.043) 0:00:52.676 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:21:09 +0000 (0:00:00.032) 0:00:52.709 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:21:09 +0000 (0:00:00.163) 0:00:52.872 ******** 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, 6d5428fd-2834-43c3-b9fb-cef86a8b2548\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d5428fd-2834-43c3-b9fb-cef86a8b2548" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:21:09 +0000 (0:00:00.037) 0:00:52.910 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:21:09 +0000 (0:00:00.079) 0:00:52.990 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:21:09 +0000 (0:00:00.038) 0:00:53.028 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:21:09 +0000 (0:00:00.030) 0:00:53.059 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:21:09 +0000 (0:00:00.021) 0:00:53.081 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:21:09 +0000 (0:00:00.021) 0:00:53.103 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:21:10 +0000 (0:00:00.791) 0:00:53.894 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:21:11 +0000 (0:00:00.992) 0:00:54.887 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:21:11 +0000 (0:00:00.039) 0:00:54.926 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:21:11 +0000 (0:00:00.051) 0:00:54.977 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:21:11 +0000 (0:00:00.039) 0:00:55.017 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:21:11 +0000 (0:00:00.064) 0:00:55.081 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:21:11 +0000 (0:00:00.030) 0:00:55.111 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:21:11 +0000 (0:00:00.033) 0:00:55.145 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:21:11 +0000 (0:00:00.038) 0:00:55.184 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:21:12 +0000 (0:00:00.383) 0:00:55.567 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:21:12 +0000 (0:00:00.038) 0:00:55.606 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:21:12 +0000 (0:00:00.030) 0:00:55.636 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:21:12 +0000 (0:00:00.021) 0:00:55.658 ******** 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, 6d5428fd-2834-43c3-b9fb-cef86a8b2548 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:21:12 +0000 (0:00:00.322) 0:00:55.980 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:21:12 +0000 (0:00:00.023) 0:00:56.004 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6d5428fd-2834-43c3-b9fb-cef86a8b2548 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:21:12 +0000 (0:00:00.022) 0:00:56.026 ******** 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, 6d5428fd-2834-43c3-b9fb-cef86a8b2548 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6d5428fd-2834-43c3-b9fb-cef86a8b2548 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:21:12 +0000 (0:00:00.023) 0:00:56.049 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:21:12 +0000 (0:00:00.023) 0:00:56.073 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:21:12 +0000 (0:00:00.162) 0:00:56.235 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:21:12 +0000 (0:00:00.039) 0:00:56.274 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:21:12 +0000 (0:00:00.037) 0:00:56.311 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:21:12 +0000 (0:00:00.039) 0:00:56.351 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:21:12 +0000 (0:00:00.022) 0:00:56.374 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:21:12 +0000 (0:00:00.021) 0:00:56.396 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:21:13 +0000 (0:00:00.818) 0:00:57.215 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:21:14 +0000 (0:00:00.975) 0:00:58.190 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:21:14 +0000 (0:00:00.022) 0:00:58.213 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:21:14 +0000 (0:00:00.021) 0:00:58.234 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:21:14 +0000 (0:00:00.023) 0:00:58.258 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:21:14 +0000 (0:00:00.051) 0:00:58.309 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:21:14 +0000 (0:00:00.022) 0:00:58.332 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:21:14 +0000 (0:00:00.033) 0:00:58.365 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:21:14 +0000 (0:00:00.038) 0:00:58.404 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:21:15 +0000 (0:00:00.277) 0:00:58.682 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:21:15 +0000 (0:00:00.045) 0:00:58.728 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:21:15 +0000 (0:00:00.023) 0:00:58.751 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:21:15 +0000 (0:00:00.027) 0:00:58.779 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:21:15 +0000 (0:00:00.425) 0:00:59.205 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:21:15 +0000 (0:00:00.035) 0:00:59.240 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:21:15 +0000 (0:00:00.036) 0:00:59.276 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:21:15 +0000 (0:00:00.094) 0:00:59.371 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:21:15 +0000 (0:00:00.032) 0:00:59.404 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:21:16 +0000 (0:00:00.164) 0:00:59.568 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:21:16 +0000 (0:00:00.035) 0:00:59.604 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:21:16 +0000 (0:00:00.039) 0:00:59.644 ******** included: /WORKDIR/git-route_typexvc837ip/.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:21:16 +0000 (0:00:00.047) 0:00:59.691 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:21:16 +0000 (0:00:00.090) 0:00:59.782 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:21:16 +0000 (0:00:00.034) 0:00:59.816 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:21:16 +0000 (0:00:00.040) 0:00:59.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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:21:17 +0000 (0:00:00.804) 0:01:00.660 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:21:18 +0000 (0:00:00.974) 0:01:01.635 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:21:18 +0000 (0:00:00.020) 0:01:01.656 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:21:18 +0000 (0:00:00.059) 0:01:01.715 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:21:18 +0000 (0:00:00.021) 0:01:01.737 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:21:18 +0000 (0:00:00.051) 0:01:01.788 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:21:18 +0000 (0:00:00.021) 0:01:01.810 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:21:18 +0000 (0:00:00.020) 0:01:01.831 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:21:18 +0000 (0:00:00.033) 0:01:01.864 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:21:18 +0000 (0:00:00.257) 0:01:02.121 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:21:18 +0000 (0:00:00.036) 0:01:02.158 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:21:18 +0000 (0:00:00.019) 0:01:02.177 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:21:18 +0000 (0:00:00.021) 0:01:02.199 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:21:18 +0000 (0:00:00.331) 0:01:02.531 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:21:18 +0000 (0:00:00.021) 0:01:02.552 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:21:19 +0000 (0:00:00.021) 0:01:02.574 ******** 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_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:21:19 +0000 (0:00:00.020) 0:01:02.594 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:21:19 +0000 (0:00:00.021) 0:01:02.616 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:21:19 +0000 (0:00:00.148) 0:01:02.764 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:21:19 +0000 (0:00:00.037) 0:01:02.801 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:21:19 +0000 (0:00:00.063) 0:01:02.865 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:21:19 +0000 (0:00:00.020) 0:01:02.885 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:21:19 +0000 (0:00:00.137) 0:01:03.023 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:21:19 +0000 (0:00:00.017) 0:01:03.040 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022758", "end": "2024-01-12 18:21:19.614236", "rc": 1, "start": "2024-01-12 18:21:19.591478" } 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:21:19 +0000 (0:00:00.162) 0:01:03.202 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:21:19 +0000 (0:00:00.021) 0:01:03.224 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:21:19 +0000 (0:00:00.025) 0:01:03.250 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:21:19 +0000 (0:00:00.020) 0:01:03.271 ******** 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_typexvc837ip/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:21:19 +0000 (0:00:00.019) 0:01:03.290 ******** 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_typexvc837ip/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:21:19 +0000 (0:00:00.019) 0:01:03.309 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 18:21:19 +0000 (0:00:00.021) 0:01:03.331 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.693796", "end": "2024-01-12 18:21:20.575940", "rc": 0, "start": "2024-01-12 18:21:19.882144" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 18:21:20 +0000 (0:00:00.851) 0:01:04.182 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 18:21:20 +0000 (0:00:00.027) 0:01:04.209 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:21:20 +0000 (0:00:00.026) 0:01:04.236 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:21:20 +0000 (0:00:00.064) 0:01:04.300 ******** included: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:21:20 +0000 (0:00:00.042) 0:01:04.343 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:21:20 +0000 (0:00:00.177) 0:01:04.520 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:21:20 +0000 (0:00:00.021) 0:01:04.542 ******** 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_typexvc837ip/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:21:20 +0000 (0:00:00.020) 0:01:04.562 ******** included: /WORKDIR/git-route_typexvc837ip/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_typexvc837ip/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:21:21 +0000 (0:00:00.036) 0:01:04.598 ******** 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.048632", "end": "2024-01-12 18:21:21.200817", "rc": 1, "start": "2024-01-12 18:21:21.152185" } 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 18:21:21 +0000 (0:00:00.227) 0:01:04.826 ******** =============================================================================== Gather current interface info ------------------------------------------- 1.20s /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.07s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.06s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.88s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.85s /WORKDIR/git-route_typexvc837ip/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-route_typexvc837ip/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---