# 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_typet_gc6b3d/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/tests_states_nm.yml:6 Thursday 11 January 2024 00:04:05 +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_typet_gc6b3d/tests/tests_states_nm.yml:9 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.506) 0:00:00.518 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:04:05 +0000 (0:00:00.021) 0:00:00.540 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 00:04:06 +0000 (0:00:00.235) 0:00:00.775 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 00:04:06 +0000 (0:00:00.190) 0:00:00.965 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 00:04:06 +0000 (0:00:00.020) 0:00:00.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 00:04:06 +0000 (0:00:00.018) 0:00:01.004 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:04:06 +0000 (0:00:00.030) 0:00:01.034 ****** 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_typet_gc6b3d/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:04:06 +0000 (0:00:00.181) 0:00:01.215 ****** 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_typet_gc6b3d/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.445) 0:00:01.660 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175719", "end": "2024-01-11 00:04:07.297989", "rc": 0, "start": "2024-01-11 00:04:07.122270" } 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_typet_gc6b3d/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.303) 0:00:01.964 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.010) 0:00:01.974 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/tests_states_nm.yml:11 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.036) 0:00:02.011 ****** 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_typet_gc6b3d/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.010) 0:00:02.022 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.394) 0:00:02.417 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.011) 0:00:02.428 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.016) 0:00:02.445 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.011) 0:00:02.457 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.032) 0:00:02.489 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.014) 0:00:02.504 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.012) 0:00:02.517 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003429", "end": "2024-01-11 00:04:07.976000", "rc": 0, "start": "2024-01-11 00:04:07.972571" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:07 +0000 (0:00:00.123) 0:00:02.641 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.015) 0:00:02.656 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.010) 0:00:02.667 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.019) 0:00:02.687 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010973", "end": "2024-01-11 00:04:08.158154", "rc": 1, "start": "2024-01-11 00:04:08.147181" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.134) 0:00:02.822 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.016) 0:00:02.839 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.123) 0:00:02.963 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.014) 0:00:02.977 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.017) 0:00:02.995 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.033) 0:00:03.028 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.067) 0:00:03.096 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.012) 0:00:03.108 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.009) 0:00:03.118 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:08 +0000 (0:00:00.009) 0:00:03.128 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:09 +0000 (0:00:00.764) 0:00:03.892 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:10 +0000 (0:00:01.080) 0:00:04.973 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.023) 0:00:04.996 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.021) 0:00:05.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.019) 0:00:05.037 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.041) 0:00:05.078 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.019) 0:00:05.098 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.019) 0:00:05.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.022) 0:00:05.140 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.352) 0:00:05.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.024) 0:00:05.516 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.019) 0:00:05.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:10 +0000 (0:00:00.019) 0:00:05.556 ****** 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, fba2f6e3-8aa1-416d-af21-9ff0ff451733 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.429) 0:00:05.986 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.020) 0:00:06.006 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fba2f6e3-8aa1-416d-af21-9ff0ff451733" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.020) 0:00:06.027 ****** 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, fba2f6e3-8aa1-416d-af21-9ff0ff451733\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fba2f6e3-8aa1-416d-af21-9ff0ff451733" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.040) 0:00:06.067 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.020) 0:00:06.088 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.178) 0:00:06.267 ****** 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, fba2f6e3-8aa1-416d-af21-9ff0ff451733\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fba2f6e3-8aa1-416d-af21-9ff0ff451733" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.021) 0:00:06.288 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.037) 0:00:06.326 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.037) 0:00:06.364 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.021) 0:00:06.385 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931451.2531295, "block_size": 4096, "blocks": 8, "ctime": 1704931451.2521296, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704931451.2521296, "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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.134) 0:00:06.520 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:11 +0000 (0:00:00.022) 0:00:06.543 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023402", "end": "2024-01-11 00:04:12.023107", "rc": 0, "start": "2024-01-11 00:04:11.999705" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.155) 0:00:06.698 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.023) 0:00:06.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.024) 0:00:06.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.022) 0:00:06.769 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.022) 0:00:06.791 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.047) 0:00:06.838 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.023) 0:00:06.862 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.023) 0:00:06.885 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.022) 0:00:06.907 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.044) 0:00:06.952 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.035) 0:00:06.988 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931451.2581294, "block_size": 4096, "blocks": 0, "ctime": 1704931451.2551296, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17617, "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": 1704931451.2551296, "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_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.136) 0:00:07.124 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.024) 0:00:07.148 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.022) 0:00:07.170 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.040) 0:00:07.211 ****** 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.074889", "end": "2024-01-11 00:04:12.746629", "rc": 1, "start": "2024-01-11 00:04:12.671740" } STDOUT: Connection 'statebr' (fba2f6e3-8aa1-416d-af21-9ff0ff451733) successfully deleted. STDERR: (process:19628): GLib-GIO-WARNING **: 00:04:12.727: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:19628): GLib-GIO-WARNING **: 00:04:12.727: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/26 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.209) 0:00:07.420 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.034) 0:00:07.455 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.022) 0:00:07.477 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.070) 0:00:07.548 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.035) 0:00:07.583 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:12 +0000 (0:00:00.032) 0:00:07.615 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004675", "end": "2024-01-11 00:04:14.079068", "rc": 0, "start": "2024-01-11 00:04:13.074393" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:14 +0000 (0:00:01.140) 0:00:08.756 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.022) 0:00:08.778 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.021) 0:00:08.800 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.038) 0:00:08.839 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007314", "end": "2024-01-11 00:04:14.303028", "rc": 1, "start": "2024-01-11 00:04:14.295714" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.137) 0:00:08.976 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.033) 0:00:09.010 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.152) 0:00:09.162 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.022) 0:00:09.185 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.037) 0:00:09.223 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.038) 0:00:09.261 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.040) 0:00:09.301 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.025) 0:00:09.327 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.022) 0:00:09.349 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:14 +0000 (0:00:00.021) 0:00:09.371 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:15 +0000 (0:00:00.698) 0:00:10.070 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.939) 0:00:11.009 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.020) 0:00:11.030 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.020) 0:00:11.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.019) 0:00:11.070 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.041) 0:00:11.112 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.021) 0:00:11.133 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.021) 0:00:11.155 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.024) 0:00:11.180 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.228) 0:00:11.408 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.024) 0:00:11.432 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.021) 0:00:11.453 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:16 +0000 (0:00:00.019) 0:00:11.473 ****** 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, b39d89f1-3c7d-417f-87e7-d9c18a4df567 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.340) 0:00:11.814 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.021) 0:00:11.835 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b39d89f1-3c7d-417f-87e7-d9c18a4df567" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.021) 0:00:11.856 ****** 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, b39d89f1-3c7d-417f-87e7-d9c18a4df567\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b39d89f1-3c7d-417f-87e7-d9c18a4df567" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.021) 0:00:11.878 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.019) 0:00:11.897 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.132) 0:00:12.029 ****** 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, b39d89f1-3c7d-417f-87e7-d9c18a4df567\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b39d89f1-3c7d-417f-87e7-d9c18a4df567" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.023) 0:00:12.052 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.040) 0:00:12.093 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.033) 0:00:12.126 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.138) 0:00:12.265 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.025) 0:00:12.290 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.037) 0:00:12.327 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.021) 0:00:12.349 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931457.1000931, "block_size": 4096, "blocks": 8, "ctime": 1704931457.1000931, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704931457.1000931, "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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.132) 0:00:12.482 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:17 +0000 (0:00:00.054) 0:00:12.537 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022015", "end": "2024-01-11 00:04:18.018571", "rc": 0, "start": "2024-01-11 00:04:17.996556" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.163) 0:00:12.701 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.024) 0:00:12.725 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.027) 0:00:12.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.030) 0:00:12.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.030) 0:00:12.814 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.024) 0:00:12.839 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.023) 0:00:12.862 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.023) 0:00:12.886 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.020) 0:00:12.907 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.019) 0:00:12.927 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.022) 0:00:12.949 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.039) 0:00:12.989 ****** 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.049780", "end": "2024-01-11 00:04:18.496180", "rc": 1, "start": "2024-01-11 00:04:18.446400" } STDOUT: Connection 'statebr' (b39d89f1-3c7d-417f-87e7-d9c18a4df567) 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_typet_gc6b3d/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.180) 0:00:13.170 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.038) 0:00:13.208 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.045) 0:00:13.253 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.043) 0:00:13.297 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.034) 0:00:13.331 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.033) 0:00:13.364 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003449", "end": "2024-01-11 00:04:18.825013", "rc": 0, "start": "2024-01-11 00:04:18.821564" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.134) 0:00:13.499 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.022) 0:00:13.522 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.021) 0:00:13.543 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.035) 0:00:13.579 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:18 +0000 (0:00:00.034) 0:00:13.613 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.037) 0:00:13.651 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.025) 0:00:13.676 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.019) 0:00:13.696 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.019) 0:00:13.716 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:19 +0000 (0:00:00.705) 0:00:14.421 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:20 +0000 (0:00:00.936) 0:00:15.358 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:20 +0000 (0:00:00.023) 0:00:15.381 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:20 +0000 (0:00:00.021) 0:00:15.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:20 +0000 (0:00:00.021) 0:00:15.424 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:20 +0000 (0:00:00.043) 0:00:15.468 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:20 +0000 (0:00:00.021) 0:00:15.489 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:20 +0000 (0:00:00.022) 0:00:15.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:20 +0000 (0:00:00.024) 0:00:15.537 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.259) 0:00:15.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.026) 0:00:15.823 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.022) 0:00:15.845 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.020) 0:00:15.866 ****** 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, a93e3a42-f547-40ff-ac8b-aecf4d3753fb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.335) 0:00:16.201 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.021) 0:00:16.223 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a93e3a42-f547-40ff-ac8b-aecf4d3753fb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.025) 0:00:16.248 ****** 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, a93e3a42-f547-40ff-ac8b-aecf4d3753fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a93e3a42-f547-40ff-ac8b-aecf4d3753fb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.024) 0:00:16.273 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.021) 0:00:16.295 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.134) 0:00:16.429 ****** 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, a93e3a42-f547-40ff-ac8b-aecf4d3753fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a93e3a42-f547-40ff-ac8b-aecf4d3753fb" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.024) 0:00:16.453 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.039) 0:00:16.493 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.039) 0:00:16.533 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.058) 0:00:16.591 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.025) 0:00:16.617 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:21 +0000 (0:00:00.020) 0:00:16.637 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.019) 0:00:16.657 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:22 +0000 (0:00:00.729) 0:00:17.387 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.929) 0:00:18.316 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.033) 0:00:18.349 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.026) 0:00:18.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.066) 0:00:18.442 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.065) 0:00:18.508 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.022) 0:00:18.530 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.020) 0:00:18.551 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:23 +0000 (0:00:00.028) 0:00:18.579 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.233) 0:00:18.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.025) 0:00:18.838 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.021) 0:00:18.859 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.022) 0:00:18.881 ****** 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, a93e3a42-f547-40ff-ac8b-aecf4d3753fb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.288) 0:00:19.170 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.020) 0:00:19.190 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a93e3a42-f547-40ff-ac8b-aecf4d3753fb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.021) 0:00:19.211 ****** 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, a93e3a42-f547-40ff-ac8b-aecf4d3753fb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a93e3a42-f547-40ff-ac8b-aecf4d3753fb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.021) 0:00:19.233 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.022) 0:00:19.255 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.132) 0:00:19.388 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.061) 0:00:19.449 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.035) 0:00:19.485 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931461.474066, "block_size": 4096, "blocks": 0, "ctime": 1704931461.473066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17617, "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": 1704931461.473066, "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_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:04:24 +0000 (0:00:00.143) 0:00:19.628 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.024) 0:00:19.653 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.035) 0:00:19.688 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.022) 0:00:19.711 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931461.5300658, "block_size": 4096, "blocks": 8, "ctime": 1704931461.4720662, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704931461.4720662, "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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.133) 0:00:19.844 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.022) 0:00:19.867 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023048", "end": "2024-01-11 00:04:25.350393", "rc": 0, "start": "2024-01-11 00:04:25.327345" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.159) 0:00:20.026 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.023) 0:00:20.049 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.023) 0:00:20.073 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.022) 0:00:20.095 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.021) 0:00:20.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.022) 0:00:20.140 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.021) 0:00:20.162 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.047) 0:00:20.209 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.022) 0:00:20.232 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.020) 0:00:20.252 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.022) 0:00:20.274 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.038) 0:00:20.313 ****** 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.081730", "end": "2024-01-11 00:04:25.854136", "rc": 1, "start": "2024-01-11 00:04:25.772406" } STDOUT: Connection 'statebr' (a93e3a42-f547-40ff-ac8b-aecf4d3753fb) successfully deleted. STDERR: (process:20342): GLib-GIO-WARNING **: 00:04:25.831: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.215) 0:00:20.528 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.036) 0:00:20.565 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.021) 0:00:20.586 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:25 +0000 (0:00:00.041) 0:00:20.628 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.033) 0:00:20.661 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.033) 0:00:20.695 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003551", "end": "2024-01-11 00:04:26.157962", "rc": 0, "start": "2024-01-11 00:04:26.154411" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.138) 0:00:20.833 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.020) 0:00:20.854 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.046) 0:00:20.900 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.042) 0:00:20.943 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.035) 0:00:20.978 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.039) 0:00:21.017 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.024) 0:00:21.042 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.021) 0:00:21.064 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:26 +0000 (0:00:00.020) 0:00:21.085 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:27 +0000 (0:00:00.689) 0:00:21.774 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.941) 0:00:22.716 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.021) 0:00:22.737 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.020) 0:00:22.758 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.020) 0:00:22.778 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.043) 0:00:22.822 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.021) 0:00:22.844 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.021) 0:00:22.865 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.025) 0:00:22.891 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.229) 0:00:23.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.025) 0:00:23.145 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.021) 0:00:23.167 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.020) 0:00:23.187 ****** 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, 8f42995f-5666-41b1-a814-e018c14596e3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.324) 0:00:23.511 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.042) 0:00:23.554 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f42995f-5666-41b1-a814-e018c14596e3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.022) 0:00:23.576 ****** 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, 8f42995f-5666-41b1-a814-e018c14596e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f42995f-5666-41b1-a814-e018c14596e3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.023) 0:00:23.600 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:28 +0000 (0:00:00.021) 0:00:23.621 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.131) 0:00:23.753 ****** 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, 8f42995f-5666-41b1-a814-e018c14596e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f42995f-5666-41b1-a814-e018c14596e3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.023) 0:00:23.776 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.035) 0:00:23.811 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.041) 0:00:23.852 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.027) 0:00:23.880 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.020) 0:00:23.900 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.021) 0:00:23.922 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:29 +0000 (0:00:00.687) 0:00:24.609 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:30 +0000 (0:00:00.940) 0:00:25.549 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:30 +0000 (0:00:00.021) 0:00:25.570 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:30 +0000 (0:00:00.019) 0:00:25.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:30 +0000 (0:00:00.019) 0:00:25.610 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.042) 0:00:25.652 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.019) 0:00:25.672 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.020) 0:00:25.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.022) 0:00:25.715 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.228) 0:00:25.943 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.024) 0:00:25.968 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.020) 0:00:25.988 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.019) 0:00:26.008 ****** 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, 8f42995f-5666-41b1-a814-e018c14596e3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.299) 0:00:26.307 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.025) 0:00:26.332 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8f42995f-5666-41b1-a814-e018c14596e3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.023) 0:00:26.355 ****** 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, 8f42995f-5666-41b1-a814-e018c14596e3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8f42995f-5666-41b1-a814-e018c14596e3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.022) 0:00:26.378 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.020) 0:00:26.398 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.131) 0:00:26.530 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.038) 0:00:26.569 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.039) 0:00:26.608 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:31 +0000 (0:00:00.038) 0:00:26.646 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.025) 0:00:26.672 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.019) 0:00:26.692 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.031) 0:00:26.723 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:32 +0000 (0:00:00.716) 0:00:27.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:33 +0000 (0:00:00.914) 0:00:28.354 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:33 +0000 (0:00:00.020) 0:00:28.375 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:33 +0000 (0:00:00.020) 0:00:28.395 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:33 +0000 (0:00:00.019) 0:00:28.415 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:33 +0000 (0:00:00.042) 0:00:28.457 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:33 +0000 (0:00:00.020) 0:00:28.478 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:33 +0000 (0:00:00.019) 0:00:28.498 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:33 +0000 (0:00:00.023) 0:00:28.522 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.244) 0:00:28.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.024) 0:00:28.791 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.020) 0:00:28.811 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.020) 0:00:28.831 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.313) 0:00:29.145 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.027) 0:00:29.172 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.023) 0:00:29.196 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.022) 0:00:29.218 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.020) 0:00:29.239 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.130) 0:00:29.369 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.041) 0:00:29.411 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.036) 0:00:29.448 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931468.7910209, "block_size": 4096, "blocks": 0, "ctime": 1704931468.7880208, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17619, "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": 1704931468.7880208, "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_typet_gc6b3d/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.137) 0:00:29.585 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:04:34 +0000 (0:00:00.023) 0:00:29.609 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.062) 0:00:29.671 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.021) 0:00:29.692 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.130) 0:00:29.823 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.020) 0:00:29.843 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022189", "end": "2024-01-11 00:04:35.321102", "rc": 1, "start": "2024-01-11 00:04:35.298913" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.151) 0:00:29.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.023) 0:00:30.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.023) 0:00:30.041 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.023) 0:00:30.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.022) 0:00:30.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.023) 0:00:30.110 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.025) 0:00:30.136 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.020) 0:00:30.157 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.022) 0:00:30.179 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.038) 0:00:30.218 ****** 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.081263", "end": "2024-01-11 00:04:35.757105", "rc": 1, "start": "2024-01-11 00:04:35.675842" } STDOUT: Connection 'statebr' (8f42995f-5666-41b1-a814-e018c14596e3) successfully deleted. STDERR: (process:20958): GLib-GIO-WARNING **: 00:04:35.736: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/26 but no object proxy exists (process:20958): GLib-GIO-WARNING **: 00:04:35.737: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/28 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.212) 0:00:30.430 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.061) 0:00:30.492 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.022) 0:00:30.514 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.044) 0:00:30.559 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.039) 0:00:30.598 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:35 +0000 (0:00:00.034) 0:00:30.633 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003612", "end": "2024-01-11 00:04:36.092867", "rc": 0, "start": "2024-01-11 00:04:36.089255" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.136) 0:00:30.770 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.028) 0:00:30.798 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.024) 0:00:30.822 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.061) 0:00:30.884 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.037) 0:00:30.921 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.046) 0:00:30.968 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.031) 0:00:31.000 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.049) 0:00:31.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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:36 +0000 (0:00:00.023) 0:00:31.072 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:37 +0000 (0:00:00.691) 0:00:31.764 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.920) 0:00:32.685 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.021) 0:00:32.706 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.020) 0:00:32.727 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.019) 0:00:32.746 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.043) 0:00:32.789 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.041) 0:00:32.831 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.020) 0:00:32.851 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.023) 0:00:32.875 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.229) 0:00:33.105 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.024) 0:00:33.129 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.019) 0:00:33.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.020) 0:00:33.169 ****** 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, 38846f64-10c0-4272-b0a1-a2e2b246c514 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.331) 0:00:33.500 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.021) 0:00:33.522 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38846f64-10c0-4272-b0a1-a2e2b246c514" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.023) 0:00:33.546 ****** 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, 38846f64-10c0-4272-b0a1-a2e2b246c514\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38846f64-10c0-4272-b0a1-a2e2b246c514" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.025) 0:00:33.572 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:38 +0000 (0:00:00.023) 0:00:33.595 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.132) 0:00:33.727 ****** 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, 38846f64-10c0-4272-b0a1-a2e2b246c514\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38846f64-10c0-4272-b0a1-a2e2b246c514" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.022) 0:00:33.750 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.035) 0:00:33.785 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.070) 0:00:33.855 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.029) 0:00:33.884 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.022) 0:00:33.907 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.021) 0:00:33.928 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:39 +0000 (0:00:00.691) 0:00:34.620 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:40 +0000 (0:00:00.911) 0:00:35.531 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:40 +0000 (0:00:00.021) 0:00:35.553 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:40 +0000 (0:00:00.019) 0:00:35.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:40 +0000 (0:00:00.045) 0:00:35.618 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.043) 0:00:35.661 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.020) 0:00:35.682 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.020) 0:00:35.702 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.022) 0:00:35.725 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.226) 0:00:35.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.024) 0:00:35.976 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.022) 0:00:35.999 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.019) 0:00:36.018 ****** 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, 38846f64-10c0-4272-b0a1-a2e2b246c514 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.284) 0:00:36.303 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.022) 0:00:36.326 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 38846f64-10c0-4272-b0a1-a2e2b246c514 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.023) 0:00:36.349 ****** 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, 38846f64-10c0-4272-b0a1-a2e2b246c514 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 38846f64-10c0-4272-b0a1-a2e2b246c514 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.023) 0:00:36.373 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.021) 0:00:36.395 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.133) 0:00:36.528 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.059) 0:00:36.588 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:41 +0000 (0:00:00.042) 0:00:36.630 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.026) 0:00:36.656 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.020) 0:00:36.677 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.020) 0:00:36.698 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:42 +0000 (0:00:00.684) 0:00:37.382 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.909) 0:00:38.291 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.043) 0:00:38.334 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.021) 0:00:38.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.020) 0:00:38.376 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.041) 0:00:38.418 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.020) 0:00:38.438 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.020) 0:00:38.458 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:43 +0000 (0:00:00.023) 0:00:38.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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.226) 0:00:38.708 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.025) 0:00:38.733 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.020) 0:00:38.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.019) 0:00:38.773 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.309) 0:00:39.083 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.020) 0:00:39.103 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.021) 0:00:39.125 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.022) 0:00:39.147 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.020) 0:00:39.167 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.152) 0:00:39.319 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.039) 0:00:39.358 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.039) 0:00:39.398 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.039) 0:00:39.437 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.026) 0:00:39.463 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.021) 0:00:39.484 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:44 +0000 (0:00:00.020) 0:00:39.505 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:45 +0000 (0:00:00.683) 0:00:40.188 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.937) 0:00:41.125 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.021) 0:00:41.147 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.020) 0:00:41.167 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.019) 0:00:41.187 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.042) 0:00:41.230 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.020) 0:00:41.250 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.019) 0:00:41.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.023) 0:00:41.294 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.230) 0:00:41.524 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.025) 0:00:41.549 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.019) 0:00:41.568 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:46 +0000 (0:00:00.020) 0:00:41.588 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.362) 0:00:41.951 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.043) 0:00:41.994 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.022) 0:00:42.017 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.022) 0:00:42.039 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.019) 0:00:42.059 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.131) 0:00:42.190 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.039) 0:00:42.229 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.034) 0:00:42.264 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.020) 0:00:42.285 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.136) 0:00:42.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.020) 0:00:42.442 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020838", "end": "2024-01-11 00:04:47.922023", "rc": 1, "start": "2024-01-11 00:04:47.901185" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.154) 0:00:42.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.021) 0:00:42.618 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:04:47 +0000 (0:00:00.022) 0:00:42.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.022) 0:00:42.664 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.020) 0:00:42.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.044) 0:00:42.729 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.023) 0:00:42.752 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.041) 0:00:42.794 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.034) 0:00:42.829 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.138) 0:00:42.967 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.022) 0:00:42.990 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.021) 0:00:43.012 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.038) 0:00:43.050 ****** 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.044916", "end": "2024-01-11 00:04:48.555146", "rc": 1, "start": "2024-01-11 00:04:48.510230" } 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_typet_gc6b3d/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.179) 0:00:43.230 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.035) 0:00:43.265 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.021) 0:00:43.287 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.044) 0:00:43.332 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.059) 0:00:43.392 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.033) 0:00:43.425 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003315", "end": "2024-01-11 00:04:48.886626", "rc": 0, "start": "2024-01-11 00:04:48.883311" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.137) 0:00:43.563 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.024) 0:00:43.588 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:04:48 +0000 (0:00:00.028) 0:00:43.617 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.047) 0:00:43.664 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.036) 0:00:43.701 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.039) 0:00:43.741 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.025) 0:00:43.767 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.022) 0:00:43.789 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.019) 0:00:43.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:49 +0000 (0:00:00.704) 0:00:44.514 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.917) 0:00:45.431 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.022) 0:00:45.454 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.020) 0:00:45.475 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.019) 0:00:45.494 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.042) 0:00:45.537 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.020) 0:00:45.558 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.022) 0:00:45.580 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:50 +0000 (0:00:00.025) 0:00:45.605 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.230) 0:00:45.836 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.024) 0:00:45.860 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.044) 0:00:45.904 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.020) 0:00:45.925 ****** 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, e75ab547-5e6f-44dc-a216-679c6a95bb60 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.322) 0:00:46.247 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.021) 0:00:46.268 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e75ab547-5e6f-44dc-a216-679c6a95bb60" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.021) 0:00:46.290 ****** 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, e75ab547-5e6f-44dc-a216-679c6a95bb60\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e75ab547-5e6f-44dc-a216-679c6a95bb60" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.022) 0:00:46.312 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.019) 0:00:46.332 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.131) 0:00:46.464 ****** 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, e75ab547-5e6f-44dc-a216-679c6a95bb60\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e75ab547-5e6f-44dc-a216-679c6a95bb60" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.022) 0:00:46.486 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.034) 0:00:46.521 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.038) 0:00:46.559 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.024) 0:00:46.584 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.019) 0:00:46.603 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:51 +0000 (0:00:00.019) 0:00:46.623 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:52 +0000 (0:00:00.685) 0:00:47.309 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.916) 0:00:48.226 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.021) 0:00:48.248 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.020) 0:00:48.268 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.022) 0:00:48.290 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.043) 0:00:48.334 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.020) 0:00:48.355 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.020) 0:00:48.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.023) 0:00:48.399 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.224) 0:00:48.623 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:53 +0000 (0:00:00.025) 0:00:48.648 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.019) 0:00:48.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.021) 0:00:48.690 ****** 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, e75ab547-5e6f-44dc-a216-679c6a95bb60 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.278) 0:00:48.968 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.021) 0:00:48.990 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e75ab547-5e6f-44dc-a216-679c6a95bb60 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.022) 0:00:49.013 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e75ab547-5e6f-44dc-a216-679c6a95bb60 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e75ab547-5e6f-44dc-a216-679c6a95bb60 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.023) 0:00:49.037 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.022) 0:00:49.059 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.130) 0:00:49.189 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.035) 0:00:49.225 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.037) 0:00:49.263 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.025) 0:00:49.288 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.020) 0:00:49.309 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:54 +0000 (0:00:00.046) 0:00:49.356 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:55 +0000 (0:00:00.713) 0:00:50.069 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.945) 0:00:51.015 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.021) 0:00:51.037 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.021) 0:00:51.058 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.020) 0:00:51.079 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.042) 0:00:51.122 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.020) 0:00:51.142 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.019) 0:00:51.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.044) 0:00:51.206 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.232) 0:00:51.438 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.024) 0:00:51.463 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.021) 0:00:51.485 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:56 +0000 (0:00:00.021) 0:00:51.506 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.385) 0:00:51.892 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.021) 0:00:51.913 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.024) 0:00:51.938 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.022) 0:00:51.960 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.022) 0:00:51.982 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.138) 0:00:52.121 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.037) 0:00:52.159 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.034) 0:00:52.193 ****** included: /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.064) 0:00:52.258 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.025) 0:00:52.283 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.020) 0:00:52.304 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:04:57 +0000 (0:00:00.020) 0:00:52.324 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:04:58 +0000 (0:00:00.691) 0:00:53.016 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.925) 0:00:53.941 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.021) 0:00:53.962 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.039) 0:00:54.002 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.020) 0:00:54.022 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.042) 0:00:54.064 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.021) 0:00:54.085 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.020) 0:00:54.106 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.025) 0:00:54.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.224) 0:00:54.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.025) 0:00:54.382 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.020) 0:00:54.402 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:04:59 +0000 (0:00:00.019) 0:00:54.422 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.303) 0:00:54.726 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.021) 0:00:54.748 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.022) 0:00:54.771 ****** 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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.021) 0:00:54.792 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.019) 0:00:54.812 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.131) 0:00:54.943 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.073) 0:00:55.017 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.038) 0:00:55.055 ****** 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.024) 0:00:55.080 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.139) 0:00:55.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.022) 0:00:55.242 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021466", "end": "2024-01-11 00:05:00.725048", "rc": 1, "start": "2024-01-11 00:05:00.703582" } 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_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.158) 0:00:55.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.021) 0:00:55.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.023) 0:00:55.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.023) 0:00:55.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.024) 0:00:55.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.021) 0:00:55.514 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 00:05:00 +0000 (0:00:00.026) 0:00:55.541 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.681878", "end": "2024-01-11 00:05:01.681500", "rc": 0, "start": "2024-01-11 00:05:00.999622" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 00:05:01 +0000 (0:00:00.840) 0:00:56.381 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 00:05:01 +0000 (0:00:00.021) 0:00:56.403 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:05:01 +0000 (0:00:00.021) 0:00:56.424 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:05:01 +0000 (0:00:00.041) 0:00:56.466 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:05:01 +0000 (0:00:00.034) 0:00:56.500 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:05:01 +0000 (0:00:00.135) 0:00:56.636 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:05:02 +0000 (0:00:00.023) 0:00:56.660 ****** 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_typet_gc6b3d/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:05:02 +0000 (0:00:00.020) 0:00:56.681 ****** included: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:05:02 +0000 (0:00:00.040) 0:00:56.722 ****** 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.045076", "end": "2024-01-11 00:05:02.225229", "rc": 1, "start": "2024-01-11 00:05:02.180153" } 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 Thursday 11 January 2024 00:05:02 +0000 (0:00:00.170) 0:00:56.892 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.74s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.30s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.15s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typet_gc6b3d/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.05s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_typet_gc6b3d/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_typet_gc6b3d/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_typet_gc6b3d/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_typet_gc6b3d/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_typet_gc6b3d/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_typet_gc6b3d/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_typet_gc6b3d/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_typet_gc6b3d/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_typet_gc6b3d/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_typet_gc6b3d/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_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.91s /WORKDIR/git-route_typet_gc6b3d/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typet_gc6b3d/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. ---^---^---^---^---^---