# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-route_typea488y7rt/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/tests_states_nm.yml:6 Friday 12 January 2024 18:19:34 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typea488y7rt/tests/tests_states_nm.yml:9 Friday 12 January 2024 18:19:34 +0000 (0:00:00.507) 0:00:00.518 ******** included: /WORKDIR/git-route_typea488y7rt/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_typea488y7rt/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:19:34 +0000 (0:00:00.021) 0:00:00.540 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 18:19:35 +0000 (0:00:00.222) 0:00:00.762 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typea488y7rt/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 18:19:35 +0000 (0:00:00.191) 0:00:00.954 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 18:19:35 +0000 (0:00:00.020) 0:00:00.974 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 18:19:35 +0000 (0:00:00.018) 0:00:00.992 ******** included: /WORKDIR/git-route_typea488y7rt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:19:35 +0000 (0:00:00.030) 0:00:01.023 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:19:35 +0000 (0:00:00.180) 0:00:01.204 ******** 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_typea488y7rt/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:19:36 +0000 (0:00:00.444) 0:00:01.649 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177237", "end": "2024-01-12 18:19:36.388539", "rc": 0, "start": "2024-01-12 18:19:36.211302" } 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_typea488y7rt/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:19:36 +0000 (0:00:00.299) 0:00:01.948 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:19:36 +0000 (0:00:00.010) 0:00:01.959 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/tests_states_nm.yml:11 Friday 12 January 2024 18:19:36 +0000 (0:00:00.009) 0:00:01.968 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 18:19:36 +0000 (0:00:00.008) 0:00:01.977 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 18:19:36 +0000 (0:00:00.378) 0:00:02.356 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 18:19:36 +0000 (0:00:00.009) 0:00:02.365 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:19:36 +0000 (0:00:00.015) 0:00:02.380 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:19:36 +0000 (0:00:00.010) 0:00:02.391 ******** 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_typea488y7rt/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:19:36 +0000 (0:00:00.030) 0:00:02.422 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:19:36 +0000 (0:00:00.013) 0:00:02.435 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:19:36 +0000 (0:00:00.012) 0:00:02.448 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2024-01-12 18:19:37.013492", "rc": 0, "start": "2024-01-12 18:19:37.010013" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:19:37 +0000 (0:00:00.125) 0:00:02.573 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:19:37 +0000 (0:00:00.010) 0:00:02.584 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:19:37 +0000 (0:00:00.009) 0:00:02.593 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:19:37 +0000 (0:00:00.019) 0:00:02.612 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010880", "end": "2024-01-12 18:19:37.183876", "rc": 1, "start": "2024-01-12 18:19:37.172996" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:19:37 +0000 (0:00:00.137) 0:00:02.750 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:19:37 +0000 (0:00:00.014) 0:00:02.765 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:19:37 +0000 (0:00:00.126) 0:00:02.891 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:19:37 +0000 (0:00:00.013) 0:00:02.905 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:19:37 +0000 (0:00:00.017) 0:00:02.922 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:19:37 +0000 (0:00:00.034) 0:00:02.957 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:19:37 +0000 (0:00:00.068) 0:00:03.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 [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:19:37 +0000 (0:00:00.012) 0:00:03.038 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:19:37 +0000 (0:00:00.010) 0:00:03.049 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:19:37 +0000 (0:00:00.010) 0:00:03.060 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:19:38 +0000 (0:00:00.766) 0:00:03.826 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:19:39 +0000 (0:00:01.092) 0:00:04.918 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:19:39 +0000 (0:00:00.020) 0:00:04.939 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:19:39 +0000 (0:00:00.019) 0:00:04.959 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:19:39 +0000 (0:00:00.019) 0:00:04.979 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:19:39 +0000 (0:00:00.048) 0:00:05.027 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:19:39 +0000 (0:00:00.031) 0:00:05.058 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:19:39 +0000 (0:00:00.022) 0:00:05.080 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:19:39 +0000 (0:00:00.028) 0:00:05.109 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:19:39 +0000 (0:00:00.352) 0:00:05.462 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:19:39 +0000 (0:00:00.026) 0:00:05.488 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:19:39 +0000 (0:00:00.021) 0:00:05.510 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:19:39 +0000 (0:00:00.021) 0:00:05.531 ******** 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, fdbbe92a-3dd7-4259-bd6e-19fb3edea869 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:19:40 +0000 (0:00:00.434) 0:00:05.965 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:19:40 +0000 (0:00:00.020) 0:00:05.986 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdbbe92a-3dd7-4259-bd6e-19fb3edea869" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:19:40 +0000 (0:00:00.042) 0:00:06.028 ******** 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, fdbbe92a-3dd7-4259-bd6e-19fb3edea869\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdbbe92a-3dd7-4259-bd6e-19fb3edea869" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:19:40 +0000 (0:00:00.024) 0:00:06.052 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:19:40 +0000 (0:00:00.020) 0:00:06.072 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:19:40 +0000 (0:00:00.178) 0:00:06.250 ******** 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, fdbbe92a-3dd7-4259-bd6e-19fb3edea869\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdbbe92a-3dd7-4259-bd6e-19fb3edea869" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:19:40 +0000 (0:00:00.021) 0:00:06.272 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:19:40 +0000 (0:00:00.037) 0:00:06.310 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:19:40 +0000 (0:00:00.037) 0:00:06.348 ******** 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:19:40 +0000 (0:00:00.020) 0:00:06.369 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083580.3425589, "block_size": 4096, "blocks": 8, "ctime": 1705083580.341559, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25407, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083580.341559, "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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:19:40 +0000 (0:00:00.131) 0:00:06.500 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:19:40 +0000 (0:00:00.021) 0:00:06.522 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024084", "end": "2024-01-12 18:19:41.107490", "rc": 0, "start": "2024-01-12 18:19:41.083406" } 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:19:41 +0000 (0:00:00.154) 0:00:06.676 ******** 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:19:41 +0000 (0:00:00.023) 0:00:06.700 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:19:41 +0000 (0:00:00.024) 0:00:06.725 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:19:41 +0000 (0:00:00.022) 0:00:06.747 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:19:41 +0000 (0:00:00.022) 0:00:06.769 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:19:41 +0000 (0:00:00.060) 0:00:06.830 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:19:41 +0000 (0:00:00.023) 0:00:06.853 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:19:41 +0000 (0:00:00.021) 0:00:06.875 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:19:41 +0000 (0:00:00.020) 0:00:06.896 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:19:41 +0000 (0:00:00.039) 0:00:06.935 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:19:41 +0000 (0:00:00.032) 0:00:06.968 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083580.348559, "block_size": 4096, "blocks": 0, "ctime": 1705083580.344559, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17589, "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": 1705083580.344559, "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_typea488y7rt/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:19:41 +0000 (0:00:00.134) 0:00:07.102 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:19:41 +0000 (0:00:00.023) 0:00:07.125 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:19:41 +0000 (0:00:00.021) 0:00:07.147 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:19:41 +0000 (0:00:00.038) 0:00:07.186 ******** 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.080286", "end": "2024-01-12 18:19:41.829767", "rc": 1, "start": "2024-01-12 18:19:41.749481" } STDOUT: Connection 'statebr' (fdbbe92a-3dd7-4259-bd6e-19fb3edea869) successfully deleted. STDERR: (process:18904): GLib-GIO-WARNING **: 18:19:41.807: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/20 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_typea488y7rt/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 18:19:41 +0000 (0:00:00.213) 0:00:07.399 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:19:41 +0000 (0:00:00.035) 0:00:07.435 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:19:41 +0000 (0:00:00.021) 0:00:07.456 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:19:41 +0000 (0:00:00.064) 0:00:07.520 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:19:42 +0000 (0:00:00.032) 0:00:07.553 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:19:42 +0000 (0:00:00.031) 0:00:07.585 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003819", "end": "2024-01-12 18:19:42.153690", "rc": 0, "start": "2024-01-12 18:19:42.149871" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:19:42 +0000 (0:00:00.138) 0:00:07.724 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:19:42 +0000 (0:00:00.021) 0:00:07.745 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:19:42 +0000 (0:00:00.020) 0:00:07.765 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:19:42 +0000 (0:00:00.037) 0:00:07.803 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007821", "end": "2024-01-12 18:19:42.374955", "rc": 1, "start": "2024-01-12 18:19:42.367134" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:19:42 +0000 (0:00:00.139) 0:00:07.943 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:19:42 +0000 (0:00:00.034) 0:00:07.978 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:19:42 +0000 (0:00:00.135) 0:00:08.113 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:19:42 +0000 (0:00:00.023) 0:00:08.137 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 18:19:42 +0000 (0:00:00.041) 0:00:08.178 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:19:42 +0000 (0:00:00.075) 0:00:08.254 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:19:42 +0000 (0:00:00.041) 0:00:08.295 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:19:42 +0000 (0:00:00.024) 0:00:08.320 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:19:42 +0000 (0:00:00.019) 0:00:08.340 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:19:42 +0000 (0:00:00.020) 0:00:08.361 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:19:43 +0000 (0:00:00.700) 0:00:09.061 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:19:44 +0000 (0:00:00.938) 0:00:10.000 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:19:44 +0000 (0:00:00.021) 0:00:10.021 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:19:44 +0000 (0:00:00.019) 0:00:10.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:19:44 +0000 (0:00:00.021) 0:00:10.063 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:19:44 +0000 (0:00:00.042) 0:00:10.105 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:19:44 +0000 (0:00:00.021) 0:00:10.127 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:19:44 +0000 (0:00:00.022) 0:00:10.149 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:19:44 +0000 (0:00:00.024) 0:00:10.174 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:19:44 +0000 (0:00:00.227) 0:00:10.401 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:19:44 +0000 (0:00:00.025) 0:00:10.427 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:19:44 +0000 (0:00:00.019) 0:00:10.446 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:19:44 +0000 (0:00:00.019) 0:00:10.466 ******** 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, 9613d3a9-829d-4cc2-858e-7c1770c3fcf7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:19:45 +0000 (0:00:00.288) 0:00:10.754 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:19:45 +0000 (0:00:00.020) 0:00:10.775 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9613d3a9-829d-4cc2-858e-7c1770c3fcf7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:19:45 +0000 (0:00:00.021) 0:00:10.797 ******** 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, 9613d3a9-829d-4cc2-858e-7c1770c3fcf7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9613d3a9-829d-4cc2-858e-7c1770c3fcf7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:19:45 +0000 (0:00:00.021) 0:00:10.819 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:19:45 +0000 (0:00:00.048) 0:00:10.867 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 18:19:45 +0000 (0:00:00.131) 0:00:10.999 ******** 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, 9613d3a9-829d-4cc2-858e-7c1770c3fcf7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9613d3a9-829d-4cc2-858e-7c1770c3fcf7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:19:45 +0000 (0:00:00.024) 0:00:11.023 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:19:45 +0000 (0:00:00.042) 0:00:11.065 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:19:45 +0000 (0:00:00.056) 0:00:11.122 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:19:45 +0000 (0:00:00.134) 0:00:11.256 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:19:45 +0000 (0:00:00.021) 0:00:11.278 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:19:45 +0000 (0:00:00.034) 0:00:11.313 ******** 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:19:45 +0000 (0:00:00.020) 0:00:11.334 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083585.167473, "block_size": 4096, "blocks": 8, "ctime": 1705083585.167473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083585.167473, "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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:19:45 +0000 (0:00:00.131) 0:00:11.466 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:19:45 +0000 (0:00:00.022) 0:00:11.488 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021889", "end": "2024-01-12 18:19:46.073003", "rc": 0, "start": "2024-01-12 18:19:46.051114" } 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:19:46 +0000 (0:00:00.154) 0:00:11.642 ******** 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:19:46 +0000 (0:00:00.023) 0:00:11.665 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:19:46 +0000 (0:00:00.044) 0:00:11.710 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:19:46 +0000 (0:00:00.022) 0:00:11.732 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:19:46 +0000 (0:00:00.022) 0:00:11.754 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:19:46 +0000 (0:00:00.021) 0:00:11.776 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:19:46 +0000 (0:00:00.023) 0:00:11.800 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:19:46 +0000 (0:00:00.023) 0:00:11.823 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:19:46 +0000 (0:00:00.023) 0:00:11.847 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:19:46 +0000 (0:00:00.023) 0:00:11.870 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:19:46 +0000 (0:00:00.043) 0:00:11.914 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:19:46 +0000 (0:00:00.050) 0:00:11.964 ******** 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.049264", "end": "2024-01-12 18:19:46.576560", "rc": 1, "start": "2024-01-12 18:19:46.527296" } STDOUT: Connection 'statebr' (9613d3a9-829d-4cc2-858e-7c1770c3fcf7) 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_typea488y7rt/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 18:19:46 +0000 (0:00:00.180) 0:00:12.145 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:19:46 +0000 (0:00:00.034) 0:00:12.179 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:19:46 +0000 (0:00:00.020) 0:00:12.200 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:19:46 +0000 (0:00:00.044) 0:00:12.244 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:19:46 +0000 (0:00:00.032) 0:00:12.277 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:19:46 +0000 (0:00:00.054) 0:00:12.332 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004696", "end": "2024-01-12 18:19:47.899096", "rc": 0, "start": "2024-01-12 18:19:46.894400" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:19:47 +0000 (0:00:01.137) 0:00:13.469 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:19:47 +0000 (0:00:00.021) 0:00:13.491 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:19:47 +0000 (0:00:00.022) 0:00:13.514 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:19:48 +0000 (0:00:00.037) 0:00:13.551 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:19:48 +0000 (0:00:00.036) 0:00:13.588 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:19:48 +0000 (0:00:00.040) 0:00:13.629 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:19:48 +0000 (0:00:00.025) 0:00:13.654 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:19:48 +0000 (0:00:00.019) 0:00:13.674 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:19:48 +0000 (0:00:00.019) 0:00:13.694 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:19:48 +0000 (0:00:00.706) 0:00:14.400 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:19:49 +0000 (0:00:00.920) 0:00:15.321 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:19:49 +0000 (0:00:00.020) 0:00:15.341 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:19:49 +0000 (0:00:00.019) 0:00:15.361 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:19:49 +0000 (0:00:00.019) 0:00:15.380 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:19:49 +0000 (0:00:00.042) 0:00:15.423 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:19:49 +0000 (0:00:00.019) 0:00:15.443 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:19:49 +0000 (0:00:00.019) 0:00:15.462 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:19:49 +0000 (0:00:00.042) 0:00:15.504 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:19:50 +0000 (0:00:00.230) 0:00:15.735 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:19:50 +0000 (0:00:00.026) 0:00:15.761 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:19:50 +0000 (0:00:00.019) 0:00:15.781 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:19:50 +0000 (0:00:00.020) 0:00:15.801 ******** 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, 29a29dd0-5836-4e36-902e-856e77903c36 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:19:50 +0000 (0:00:00.334) 0:00:16.136 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:19:50 +0000 (0:00:00.020) 0:00:16.157 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 29a29dd0-5836-4e36-902e-856e77903c36" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:19:50 +0000 (0:00:00.021) 0:00:16.178 ******** 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, 29a29dd0-5836-4e36-902e-856e77903c36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 29a29dd0-5836-4e36-902e-856e77903c36" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:19:50 +0000 (0:00:00.020) 0:00:16.199 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:19:50 +0000 (0:00:00.019) 0:00:16.218 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:19:50 +0000 (0:00:00.131) 0:00:16.350 ******** 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, 29a29dd0-5836-4e36-902e-856e77903c36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 29a29dd0-5836-4e36-902e-856e77903c36" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:19:50 +0000 (0:00:00.022) 0:00:16.372 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:19:50 +0000 (0:00:00.037) 0:00:16.410 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:19:50 +0000 (0:00:00.064) 0:00:16.474 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:19:50 +0000 (0:00:00.052) 0:00:16.527 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:19:51 +0000 (0:00:00.027) 0:00:16.554 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:19:51 +0000 (0:00:00.028) 0:00:16.583 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:19:51 +0000 (0:00:00.024) 0:00:16.608 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:19:51 +0000 (0:00:00.697) 0:00:17.305 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:19:52 +0000 (0:00:00.931) 0:00:18.236 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:19:52 +0000 (0:00:00.022) 0:00:18.259 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:19:52 +0000 (0:00:00.047) 0:00:18.307 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:19:52 +0000 (0:00:00.021) 0:00:18.329 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:19:52 +0000 (0:00:00.051) 0:00:18.380 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:19:52 +0000 (0:00:00.023) 0:00:18.404 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:19:52 +0000 (0:00:00.021) 0:00:18.425 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:19:52 +0000 (0:00:00.024) 0:00:18.449 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:19:53 +0000 (0:00:00.224) 0:00:18.674 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:19:53 +0000 (0:00:00.024) 0:00:18.698 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:19:53 +0000 (0:00:00.021) 0:00:18.720 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:19:53 +0000 (0:00:00.020) 0:00:18.740 ******** 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, 29a29dd0-5836-4e36-902e-856e77903c36 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:19:53 +0000 (0:00:00.280) 0:00:19.020 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:19:53 +0000 (0:00:00.020) 0:00:19.040 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 29a29dd0-5836-4e36-902e-856e77903c36 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:19:53 +0000 (0:00:00.023) 0:00:19.064 ******** 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, 29a29dd0-5836-4e36-902e-856e77903c36 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 29a29dd0-5836-4e36-902e-856e77903c36 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:19:53 +0000 (0:00:00.022) 0:00:19.086 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:19:53 +0000 (0:00:00.020) 0:00:19.106 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:19:53 +0000 (0:00:00.133) 0:00:19.239 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:19:53 +0000 (0:00:00.062) 0:00:19.301 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:19:53 +0000 (0:00:00.035) 0:00:19.337 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083590.508378, "block_size": 4096, "blocks": 0, "ctime": 1705083590.5073779, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17589, "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": 1705083590.5073779, "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_typea488y7rt/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:19:53 +0000 (0:00:00.140) 0:00:19.477 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:19:53 +0000 (0:00:00.022) 0:00:19.499 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:19:53 +0000 (0:00:00.034) 0:00:19.534 ******** 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:19:54 +0000 (0:00:00.020) 0:00:19.554 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083590.506378, "block_size": 4096, "blocks": 8, "ctime": 1705083590.505378, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25416, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083590.505378, "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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:19:54 +0000 (0:00:00.133) 0:00:19.687 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:19:54 +0000 (0:00:00.021) 0:00:19.709 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022656", "end": "2024-01-12 18:19:54.293249", "rc": 0, "start": "2024-01-12 18:19:54.270593" } 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:19:54 +0000 (0:00:00.152) 0:00:19.862 ******** 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:19:54 +0000 (0:00:00.023) 0:00:19.886 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:19:54 +0000 (0:00:00.026) 0:00:19.912 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:19:54 +0000 (0:00:00.023) 0:00:19.936 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:19:54 +0000 (0:00:00.022) 0:00:19.958 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:19:54 +0000 (0:00:00.021) 0:00:19.979 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:19:54 +0000 (0:00:00.052) 0:00:20.032 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:19:54 +0000 (0:00:00.023) 0:00:20.055 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:19:54 +0000 (0:00:00.021) 0:00:20.077 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:19:54 +0000 (0:00:00.019) 0:00:20.096 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:19:54 +0000 (0:00:00.020) 0:00:20.117 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:19:54 +0000 (0:00:00.037) 0:00:20.154 ******** 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.082404", "end": "2024-01-12 18:19:54.799968", "rc": 1, "start": "2024-01-12 18:19:54.717564" } STDOUT: Connection 'statebr' (29a29dd0-5836-4e36-902e-856e77903c36) successfully deleted. STDERR: (process:19617): GLib-GIO-WARNING **: 18:19:54.779: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/21 but no object proxy exists (process:19617): GLib-GIO-WARNING **: 18:19:54.780: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/24 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_typea488y7rt/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 18:19:54 +0000 (0:00:00.214) 0:00:20.368 ******** included: /WORKDIR/git-route_typea488y7rt/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_typea488y7rt/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:19:54 +0000 (0:00:00.034) 0:00:20.403 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:19:54 +0000 (0:00:00.020) 0:00:20.424 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:19:54 +0000 (0:00:00.040) 0:00:20.464 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:19:54 +0000 (0:00:00.032) 0:00:20.497 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:19:54 +0000 (0:00:00.031) 0:00:20.528 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003795", "end": "2024-01-12 18:19:55.097761", "rc": 0, "start": "2024-01-12 18:19:55.093966" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:19:55 +0000 (0:00:00.139) 0:00:20.667 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:19:55 +0000 (0:00:00.051) 0:00:20.718 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:19:55 +0000 (0:00:00.034) 0:00:20.753 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:19:55 +0000 (0:00:00.053) 0:00:20.806 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:19:55 +0000 (0:00:00.045) 0:00:20.852 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:19:55 +0000 (0:00:00.054) 0:00:20.906 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:19:55 +0000 (0:00:00.031) 0:00:20.937 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:19:55 +0000 (0:00:00.024) 0:00:20.961 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:19:55 +0000 (0:00:00.022) 0:00:20.984 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:19:56 +0000 (0:00:00.687) 0:00:21.672 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:19:57 +0000 (0:00:00.917) 0:00:22.589 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:19:57 +0000 (0:00:00.021) 0:00:22.610 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:19:57 +0000 (0:00:00.021) 0:00:22.632 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:19:57 +0000 (0:00:00.020) 0:00:22.652 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:19:57 +0000 (0:00:00.042) 0:00:22.695 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:19:57 +0000 (0:00:00.023) 0:00:22.718 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:19:57 +0000 (0:00:00.027) 0:00:22.746 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:19:57 +0000 (0:00:00.032) 0:00:22.778 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:19:57 +0000 (0:00:00.228) 0:00:23.006 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:19:57 +0000 (0:00:00.025) 0:00:23.031 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:19:57 +0000 (0:00:00.019) 0:00:23.051 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:19:57 +0000 (0:00:00.019) 0:00:23.071 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:19:57 +0000 (0:00:00.354) 0:00:23.426 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:19:57 +0000 (0:00:00.046) 0:00:23.472 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:19:57 +0000 (0:00:00.024) 0:00:23.496 ******** 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, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:19:57 +0000 (0:00:00.022) 0:00:23.518 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:19:57 +0000 (0:00:00.021) 0:00:23.540 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:19:58 +0000 (0:00:00.141) 0:00:23.681 ******** 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, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:19:58 +0000 (0:00:00.021) 0:00:23.703 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:19:58 +0000 (0:00:00.036) 0:00:23.739 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:19:58 +0000 (0:00:00.039) 0:00:23.779 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:19:58 +0000 (0:00:00.025) 0:00:23.805 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:19:58 +0000 (0:00:00.021) 0:00:23.826 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:19:58 +0000 (0:00:00.020) 0:00:23.847 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:19:58 +0000 (0:00:00.693) 0:00:24.540 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:19:59 +0000 (0:00:00.941) 0:00:25.482 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:19:59 +0000 (0:00:00.020) 0:00:25.502 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:19:59 +0000 (0:00:00.019) 0:00:25.522 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:19:59 +0000 (0:00:00.019) 0:00:25.542 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:00 +0000 (0:00:00.042) 0:00:25.584 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:00 +0000 (0:00:00.020) 0:00:25.605 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:00 +0000 (0:00:00.019) 0:00:25.624 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:00 +0000 (0:00:00.022) 0:00:25.647 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:00 +0000 (0:00:00.226) 0:00:25.874 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:00 +0000 (0:00:00.025) 0:00:25.900 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:00 +0000 (0:00:00.021) 0:00:25.921 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:00 +0000 (0:00:00.051) 0:00:25.973 ******** 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, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:00 +0000 (0:00:00.285) 0:00:26.258 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:00 +0000 (0:00:00.020) 0:00:26.278 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:00 +0000 (0:00:00.020) 0:00:26.298 ******** 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, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a19c6aa0-6a39-49a3-a3ef-b17cb03951a4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:00 +0000 (0:00:00.021) 0:00:26.320 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:00 +0000 (0:00:00.019) 0:00:26.339 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:20:00 +0000 (0:00:00.131) 0:00:26.470 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:20:00 +0000 (0:00:00.038) 0:00:26.508 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:20:01 +0000 (0:00:00.040) 0:00:26.549 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:01 +0000 (0:00:00.037) 0:00:26.586 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:20:01 +0000 (0:00:00.023) 0:00:26.610 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:20:01 +0000 (0:00:00.019) 0:00:26.629 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:20:01 +0000 (0:00:00.020) 0:00:26.650 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:20:01 +0000 (0:00:00.696) 0:00:27.346 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:20:02 +0000 (0:00:00.971) 0:00:28.318 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:20:02 +0000 (0:00:00.023) 0:00:28.342 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:20:02 +0000 (0:00:00.021) 0:00:28.363 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:20:02 +0000 (0:00:00.024) 0:00:28.387 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:02 +0000 (0:00:00.043) 0:00:28.431 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:02 +0000 (0:00:00.024) 0:00:28.455 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:02 +0000 (0:00:00.022) 0:00:28.477 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:02 +0000 (0:00:00.029) 0:00:28.507 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:03 +0000 (0:00:00.231) 0:00:28.738 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:03 +0000 (0:00:00.026) 0:00:28.764 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:03 +0000 (0:00:00.019) 0:00:28.784 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:03 +0000 (0:00:00.021) 0:00:28.806 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:03 +0000 (0:00:00.313) 0:00:29.120 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:03 +0000 (0:00:00.020) 0:00:29.140 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:03 +0000 (0:00:00.021) 0:00:29.162 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:03 +0000 (0:00:00.022) 0:00:29.184 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:03 +0000 (0:00:00.020) 0:00:29.205 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:20:03 +0000 (0:00:00.133) 0:00:29.339 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:20:03 +0000 (0:00:00.049) 0:00:29.389 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:20:03 +0000 (0:00:00.037) 0:00:29.426 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083597.801248, "block_size": 4096, "blocks": 0, "ctime": 1705083597.8002481, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17591, "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": 1705083597.8002481, "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_typea488y7rt/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:20:04 +0000 (0:00:00.141) 0:00:29.568 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:20:04 +0000 (0:00:00.021) 0:00:29.590 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:20:04 +0000 (0:00:00.057) 0:00:29.647 ******** 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:20:04 +0000 (0:00:00.021) 0:00:29.668 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:20:04 +0000 (0:00:00.131) 0:00:29.800 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:20:04 +0000 (0:00:00.020) 0:00:29.821 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022367", "end": "2024-01-12 18:20:04.405308", "rc": 1, "start": "2024-01-12 18:20:04.382941" } 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:20:04 +0000 (0:00:00.155) 0:00:29.976 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:20:04 +0000 (0:00:00.021) 0:00:29.997 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:20:04 +0000 (0:00:00.022) 0:00:30.020 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:20:04 +0000 (0:00:00.020) 0:00:30.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:20:04 +0000 (0:00:00.021) 0:00:30.062 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:20:04 +0000 (0:00:00.020) 0:00:30.083 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:20:04 +0000 (0:00:00.022) 0:00:30.105 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:20:04 +0000 (0:00:00.018) 0:00:30.124 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:20:04 +0000 (0:00:00.020) 0:00:30.145 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:20:04 +0000 (0:00:00.037) 0:00:30.182 ******** 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.083174", "end": "2024-01-12 18:20:04.829447", "rc": 1, "start": "2024-01-12 18:20:04.746273" } STDOUT: Connection 'statebr' (a19c6aa0-6a39-49a3-a3ef-b17cb03951a4) successfully deleted. STDERR: (process:20236): GLib-GIO-WARNING **: 18:20:04.807: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/22 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_typea488y7rt/tests/playbooks/tests_states.yml:103 Friday 12 January 2024 18:20:04 +0000 (0:00:00.216) 0:00:30.399 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:20:04 +0000 (0:00:00.060) 0:00:30.459 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:20:04 +0000 (0:00:00.022) 0:00:30.481 ******** 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_typea488y7rt/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:20:04 +0000 (0:00:00.042) 0:00:30.524 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:20:05 +0000 (0:00:00.034) 0:00:30.559 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:20:05 +0000 (0:00:00.033) 0:00:30.592 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003554", "end": "2024-01-12 18:20:05.159486", "rc": 0, "start": "2024-01-12 18:20:05.155932" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:20:05 +0000 (0:00:00.136) 0:00:30.729 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:20:05 +0000 (0:00:00.022) 0:00:30.751 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:20:05 +0000 (0:00:00.020) 0:00:30.772 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:20:05 +0000 (0:00:00.042) 0:00:30.814 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:20:05 +0000 (0:00:00.033) 0:00:30.848 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:05 +0000 (0:00:00.036) 0:00:30.885 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:20:05 +0000 (0:00:00.054) 0:00:30.939 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:20:05 +0000 (0:00:00.021) 0:00:30.960 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:20:05 +0000 (0:00:00.020) 0:00:30.980 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:20:06 +0000 (0:00:00.689) 0:00:31.670 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:20:07 +0000 (0:00:00.921) 0:00:32.591 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:20:07 +0000 (0:00:00.022) 0:00:32.614 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:20:07 +0000 (0:00:00.020) 0:00:32.634 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:20:07 +0000 (0:00:00.021) 0:00:32.655 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:07 +0000 (0:00:00.047) 0:00:32.703 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:07 +0000 (0:00:00.056) 0:00:32.760 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:07 +0000 (0:00:00.021) 0:00:32.781 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:07 +0000 (0:00:00.027) 0:00:32.809 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:07 +0000 (0:00:00.230) 0:00:33.039 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:07 +0000 (0:00:00.024) 0:00:33.063 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:07 +0000 (0:00:00.020) 0:00:33.084 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:07 +0000 (0:00:00.020) 0:00:33.104 ******** 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, 08bff84b-880a-4521-a55a-b4cf26ccb633 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:07 +0000 (0:00:00.330) 0:00:33.434 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:07 +0000 (0:00:00.021) 0:00:33.456 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08bff84b-880a-4521-a55a-b4cf26ccb633" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:07 +0000 (0:00:00.021) 0:00:33.478 ******** 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, 08bff84b-880a-4521-a55a-b4cf26ccb633\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08bff84b-880a-4521-a55a-b4cf26ccb633" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:07 +0000 (0:00:00.022) 0:00:33.500 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:07 +0000 (0:00:00.021) 0:00:33.522 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:20:08 +0000 (0:00:00.135) 0:00:33.658 ******** 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, 08bff84b-880a-4521-a55a-b4cf26ccb633\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08bff84b-880a-4521-a55a-b4cf26ccb633" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:20:08 +0000 (0:00:00.021) 0:00:33.679 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:20:08 +0000 (0:00:00.033) 0:00:33.713 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:08 +0000 (0:00:00.065) 0:00:33.778 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:20:08 +0000 (0:00:00.025) 0:00:33.804 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:20:08 +0000 (0:00:00.022) 0:00:33.826 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:20:08 +0000 (0:00:00.021) 0:00:33.847 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:20:08 +0000 (0:00:00.693) 0:00:34.540 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:20:09 +0000 (0:00:00.922) 0:00:35.463 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:20:09 +0000 (0:00:00.020) 0:00:35.484 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:20:09 +0000 (0:00:00.020) 0:00:35.504 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:20:09 +0000 (0:00:00.038) 0:00:35.543 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:10 +0000 (0:00:00.042) 0:00:35.586 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:10 +0000 (0:00:00.019) 0:00:35.606 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:10 +0000 (0:00:00.022) 0:00:35.628 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:10 +0000 (0:00:00.025) 0:00:35.654 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:10 +0000 (0:00:00.258) 0:00:35.912 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:10 +0000 (0:00:00.024) 0:00:35.936 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:10 +0000 (0:00:00.020) 0:00:35.957 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:10 +0000 (0:00:00.021) 0:00:35.978 ******** 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, 08bff84b-880a-4521-a55a-b4cf26ccb633 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:10 +0000 (0:00:00.280) 0:00:36.259 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:10 +0000 (0:00:00.021) 0:00:36.280 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 08bff84b-880a-4521-a55a-b4cf26ccb633 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:10 +0000 (0:00:00.021) 0:00:36.302 ******** 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, 08bff84b-880a-4521-a55a-b4cf26ccb633 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 08bff84b-880a-4521-a55a-b4cf26ccb633 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:10 +0000 (0:00:00.022) 0:00:36.324 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:10 +0000 (0:00:00.020) 0:00:36.344 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:20:10 +0000 (0:00:00.132) 0:00:36.476 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:20:10 +0000 (0:00:00.059) 0:00:36.536 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:11 +0000 (0:00:00.039) 0:00:36.575 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:20:11 +0000 (0:00:00.026) 0:00:36.601 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:20:11 +0000 (0:00:00.020) 0:00:36.622 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:20:11 +0000 (0:00:00.019) 0:00:36.641 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:20:11 +0000 (0:00:00.687) 0:00:37.329 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:20:12 +0000 (0:00:00.922) 0:00:38.252 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:20:12 +0000 (0:00:00.042) 0:00:38.294 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:20:12 +0000 (0:00:00.020) 0:00:38.315 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:20:12 +0000 (0:00:00.019) 0:00:38.335 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:12 +0000 (0:00:00.042) 0:00:38.377 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:12 +0000 (0:00:00.019) 0:00:38.396 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:12 +0000 (0:00:00.019) 0:00:38.416 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:12 +0000 (0:00:00.022) 0:00:38.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 [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:13 +0000 (0:00:00.228) 0:00:38.667 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:13 +0000 (0:00:00.024) 0:00:38.692 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:13 +0000 (0:00:00.020) 0:00:38.712 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:13 +0000 (0:00:00.021) 0:00:38.734 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:13 +0000 (0:00:00.316) 0:00:39.050 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:13 +0000 (0:00:00.021) 0:00:39.071 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:13 +0000 (0:00:00.025) 0:00:39.097 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:13 +0000 (0:00:00.023) 0:00:39.121 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:13 +0000 (0:00:00.022) 0:00:39.143 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:20:13 +0000 (0:00:00.152) 0:00:39.296 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:20:13 +0000 (0:00:00.038) 0:00:39.334 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:20:13 +0000 (0:00:00.039) 0:00:39.374 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:13 +0000 (0:00:00.039) 0:00:39.413 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:20:13 +0000 (0:00:00.027) 0:00:39.440 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:20:13 +0000 (0:00:00.022) 0:00:39.462 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:20:13 +0000 (0:00:00.024) 0:00:39.487 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:20:14 +0000 (0:00:00.677) 0:00:40.164 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:20:15 +0000 (0:00:00.925) 0:00:41.090 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:20:15 +0000 (0:00:00.022) 0:00:41.113 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:20:15 +0000 (0:00:00.022) 0:00:41.136 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:20:15 +0000 (0:00:00.020) 0:00:41.157 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:15 +0000 (0:00:00.043) 0:00:41.200 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:15 +0000 (0:00:00.022) 0:00:41.223 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:15 +0000 (0:00:00.020) 0:00:41.243 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:15 +0000 (0:00:00.025) 0:00:41.268 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:15 +0000 (0:00:00.225) 0:00:41.494 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:15 +0000 (0:00:00.027) 0:00:41.521 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:15 +0000 (0:00:00.021) 0:00:41.543 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:16 +0000 (0:00:00.022) 0:00:41.565 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:16 +0000 (0:00:00.363) 0:00:41.928 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:16 +0000 (0:00:00.062) 0:00:41.991 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:16 +0000 (0:00:00.022) 0:00:42.014 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:16 +0000 (0:00:00.027) 0:00:42.041 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:16 +0000 (0:00:00.035) 0:00:42.077 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:20:16 +0000 (0:00:00.154) 0:00:42.232 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:20:16 +0000 (0:00:00.039) 0:00:42.271 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:20:16 +0000 (0:00:00.034) 0:00:42.305 ******** 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:20:16 +0000 (0:00:00.021) 0:00:42.326 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:20:16 +0000 (0:00:00.131) 0:00:42.458 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:20:16 +0000 (0:00:00.021) 0:00:42.479 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020576", "end": "2024-01-12 18:20:17.063732", "rc": 1, "start": "2024-01-12 18:20:17.043156" } 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:20:17 +0000 (0:00:00.153) 0:00:42.633 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:20:17 +0000 (0:00:00.022) 0:00:42.655 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:20:17 +0000 (0:00:00.021) 0:00:42.677 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:20:17 +0000 (0:00:00.021) 0:00:42.698 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:20:17 +0000 (0:00:00.020) 0:00:42.718 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:20:17 +0000 (0:00:00.047) 0:00:42.766 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:20:17 +0000 (0:00:00.023) 0:00:42.789 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:20:17 +0000 (0:00:00.040) 0:00:42.830 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:20:17 +0000 (0:00:00.035) 0:00:42.865 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:20:17 +0000 (0:00:00.137) 0:00:43.003 ******** 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_typea488y7rt/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:20:17 +0000 (0:00:00.027) 0:00:43.031 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:20:17 +0000 (0:00:00.021) 0:00:43.053 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:20:17 +0000 (0:00:00.039) 0:00:43.092 ******** 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.043413", "end": "2024-01-12 18:20:17.701808", "rc": 1, "start": "2024-01-12 18:20:17.658395" } 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_typea488y7rt/tests/playbooks/tests_states.yml:126 Friday 12 January 2024 18:20:17 +0000 (0:00:00.179) 0:00:43.271 ******** included: /WORKDIR/git-route_typea488y7rt/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_typea488y7rt/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:20:17 +0000 (0:00:00.035) 0:00:43.307 ******** 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_typea488y7rt/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:20:17 +0000 (0:00:00.021) 0:00:43.329 ******** 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_typea488y7rt/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:20:17 +0000 (0:00:00.043) 0:00:43.372 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:20:17 +0000 (0:00:00.035) 0:00:43.407 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:20:17 +0000 (0:00:00.061) 0:00:43.469 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003528", "end": "2024-01-12 18:20:18.035672", "rc": 0, "start": "2024-01-12 18:20:18.032144" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:20:18 +0000 (0:00:00.136) 0:00:43.605 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:20:18 +0000 (0:00:00.022) 0:00:43.628 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:20:18 +0000 (0:00:00.020) 0:00:43.649 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:20:18 +0000 (0:00:00.041) 0:00:43.690 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:20:18 +0000 (0:00:00.035) 0:00:43.725 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:18 +0000 (0:00:00.037) 0:00:43.763 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:20:18 +0000 (0:00:00.023) 0:00:43.787 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:20:18 +0000 (0:00:00.020) 0:00:43.807 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:20:18 +0000 (0:00:00.020) 0:00:43.828 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:20:18 +0000 (0:00:00.706) 0:00:44.534 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:20:19 +0000 (0:00:00.924) 0:00:45.459 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:20:19 +0000 (0:00:00.021) 0:00:45.480 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:20:19 +0000 (0:00:00.020) 0:00:45.501 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:20:19 +0000 (0:00:00.021) 0:00:45.522 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:20 +0000 (0:00:00.045) 0:00:45.567 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:20 +0000 (0:00:00.022) 0:00:45.589 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:20 +0000 (0:00:00.021) 0:00:45.611 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:20 +0000 (0:00:00.024) 0:00:45.636 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:20 +0000 (0:00:00.226) 0:00:45.863 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:20 +0000 (0:00:00.024) 0:00:45.888 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:20 +0000 (0:00:00.045) 0:00:45.934 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:20 +0000 (0:00:00.020) 0:00:45.954 ******** 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, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:20 +0000 (0:00:00.333) 0:00:46.288 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:20 +0000 (0:00:00.020) 0:00:46.308 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:20 +0000 (0:00:00.025) 0:00:46.334 ******** 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, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:20 +0000 (0:00:00.044) 0:00:46.379 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:20 +0000 (0:00:00.026) 0:00:46.405 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:20:20 +0000 (0:00:00.138) 0:00:46.543 ******** 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, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:20:21 +0000 (0:00:00.022) 0:00:46.565 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:20:21 +0000 (0:00:00.034) 0:00:46.600 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:21 +0000 (0:00:00.038) 0:00:46.639 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:20:21 +0000 (0:00:00.025) 0:00:46.665 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:20:21 +0000 (0:00:00.020) 0:00:46.686 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:20:21 +0000 (0:00:00.020) 0:00:46.706 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:20:21 +0000 (0:00:00.688) 0:00:47.395 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:20:22 +0000 (0:00:00.918) 0:00:48.313 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:20:22 +0000 (0:00:00.022) 0:00:48.335 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:20:22 +0000 (0:00:00.020) 0:00:48.356 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:20:22 +0000 (0:00:00.020) 0:00:48.377 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:22 +0000 (0:00:00.042) 0:00:48.420 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:22 +0000 (0:00:00.020) 0:00:48.440 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:22 +0000 (0:00:00.019) 0:00:48.459 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:22 +0000 (0:00:00.023) 0:00:48.482 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:23 +0000 (0:00:00.247) 0:00:48.730 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:23 +0000 (0:00:00.024) 0:00:48.754 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:23 +0000 (0:00:00.020) 0:00:48.775 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:23 +0000 (0:00:00.020) 0:00:48.795 ******** 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, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:23 +0000 (0:00:00.279) 0:00:49.075 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:23 +0000 (0:00:00.020) 0:00:49.096 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:23 +0000 (0:00:00.022) 0:00:49.119 ******** 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, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a76e0aa4-0b35-4ec0-a66e-0401725dc4e3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:23 +0000 (0:00:00.022) 0:00:49.141 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:23 +0000 (0:00:00.019) 0:00:49.161 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:20:23 +0000 (0:00:00.129) 0:00:49.290 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:20:23 +0000 (0:00:00.035) 0:00:49.326 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:23 +0000 (0:00:00.039) 0:00:49.366 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:20:23 +0000 (0:00:00.025) 0:00:49.391 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:20:23 +0000 (0:00:00.019) 0:00:49.411 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:20:23 +0000 (0:00:00.019) 0:00:49.430 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:20:24 +0000 (0:00:00.706) 0:00:50.137 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:20:25 +0000 (0:00:00.920) 0:00:51.057 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:20:25 +0000 (0:00:00.021) 0:00:51.079 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:20:25 +0000 (0:00:00.022) 0:00:51.101 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:20:25 +0000 (0:00:00.022) 0:00:51.123 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:25 +0000 (0:00:00.047) 0:00:51.171 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:25 +0000 (0:00:00.021) 0:00:51.193 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:25 +0000 (0:00:00.022) 0:00:51.215 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:25 +0000 (0:00:00.035) 0:00:51.250 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:26 +0000 (0:00:00.300) 0:00:51.551 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:26 +0000 (0:00:00.032) 0:00:51.584 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:26 +0000 (0:00:00.022) 0:00:51.606 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:26 +0000 (0:00:00.021) 0:00:51.627 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:26 +0000 (0:00:00.369) 0:00:51.997 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:26 +0000 (0:00:00.022) 0:00:52.020 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:26 +0000 (0:00:00.022) 0:00:52.042 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:26 +0000 (0:00:00.022) 0:00:52.065 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:26 +0000 (0:00:00.019) 0:00:52.085 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:20:26 +0000 (0:00:00.131) 0:00:52.216 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:20:26 +0000 (0:00:00.040) 0:00:52.257 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:20:26 +0000 (0:00:00.037) 0:00:52.294 ******** included: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:20:26 +0000 (0:00:00.066) 0:00:52.360 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:20:26 +0000 (0:00:00.025) 0:00:52.386 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:20:26 +0000 (0:00:00.023) 0:00:52.410 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:20:26 +0000 (0:00:00.026) 0:00:52.436 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:20:27 +0000 (0:00:00.694) 0:00:53.131 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:20:28 +0000 (0:00:00.921) 0:00:54.053 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:20:28 +0000 (0:00:00.020) 0:00:54.073 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:20:28 +0000 (0:00:00.020) 0:00:54.093 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:20:28 +0000 (0:00:00.019) 0:00:54.113 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:20:28 +0000 (0:00:00.063) 0:00:54.176 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:20:28 +0000 (0:00:00.020) 0:00:54.197 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:20:28 +0000 (0:00:00.020) 0:00:54.217 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:20:28 +0000 (0:00:00.023) 0:00:54.241 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:20:28 +0000 (0:00:00.230) 0:00:54.472 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:20:28 +0000 (0:00:00.024) 0:00:54.496 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:20:28 +0000 (0:00:00.021) 0:00:54.518 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:20:28 +0000 (0:00:00.020) 0:00:54.539 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:20:29 +0000 (0:00:00.305) 0:00:54.844 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:20:29 +0000 (0:00:00.020) 0:00:54.865 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:20:29 +0000 (0:00:00.021) 0:00:54.887 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:20:29 +0000 (0:00:00.021) 0:00:54.909 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:20:29 +0000 (0:00:00.019) 0:00:54.928 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:20:29 +0000 (0:00:00.127) 0:00:55.055 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:20:29 +0000 (0:00:00.046) 0:00:55.102 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:20:29 +0000 (0:00:00.062) 0:00:55.164 ******** 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:20:29 +0000 (0:00:00.021) 0:00:55.185 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:20:29 +0000 (0:00:00.131) 0:00:55.317 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:20:29 +0000 (0:00:00.021) 0:00:55.338 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020599", "end": "2024-01-12 18:20:29.921489", "rc": 1, "start": "2024-01-12 18:20:29.900890" } 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_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:20:29 +0000 (0:00:00.153) 0:00:55.492 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:20:29 +0000 (0:00:00.022) 0:00:55.515 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:20:29 +0000 (0:00:00.023) 0:00:55.538 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:20:30 +0000 (0:00:00.020) 0:00:55.559 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:20:30 +0000 (0:00:00.021) 0:00:55.581 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:20:30 +0000 (0:00:00.021) 0:00:55.602 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 18:20:30 +0000 (0:00:00.024) 0:00:55.627 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.681063", "end": "2024-01-12 18:20:30.870189", "rc": 0, "start": "2024-01-12 18:20:30.189126" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 18:20:30 +0000 (0:00:00.814) 0:00:56.441 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 18:20:30 +0000 (0:00:00.020) 0:00:56.461 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:20:30 +0000 (0:00:00.041) 0:00:56.503 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:20:30 +0000 (0:00:00.041) 0:00:56.544 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:20:31 +0000 (0:00:00.033) 0:00:56.577 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:20:31 +0000 (0:00:00.136) 0:00:56.714 ******** 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_typea488y7rt/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:20:31 +0000 (0:00:00.024) 0:00:56.738 ******** 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_typea488y7rt/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:20:31 +0000 (0:00:00.020) 0:00:56.759 ******** included: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:20:31 +0000 (0:00:00.041) 0:00:56.800 ******** 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.043247", "end": "2024-01-12 18:20:31.405590", "rc": 1, "start": "2024-01-12 18:20:31.362343" } 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 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Friday 12 January 2024 18:20:31 +0000 (0:00:00.161) 0:00:56.962 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.79s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.27s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typea488y7rt/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.13s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.09s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.04s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.96s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typea488y7rt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---