# 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_typeifdmts5q/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/tests_states_nm.yml:6 Friday 12 January 2024 20:18:23 +0000 (0:00:00.014) 0:00:00.014 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeifdmts5q/tests/tests_states_nm.yml:9 Friday 12 January 2024 20:18:24 +0000 (0:00:00.571) 0:00:00.585 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 20:18:24 +0000 (0:00:00.023) 0:00:00.608 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 20:18:24 +0000 (0:00:00.237) 0:00:00.845 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 20:18:24 +0000 (0:00:00.243) 0:00:01.089 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 20:18:24 +0000 (0:00:00.032) 0:00:01.121 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 20:18:24 +0000 (0:00:00.020) 0:00:01.142 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 20:18:25 +0000 (0:00:00.038) 0:00:01.180 ******** 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_typeifdmts5q/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 20:18:25 +0000 (0:00:00.218) 0:00:01.398 ******** 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_typeifdmts5q/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 20:18:25 +0000 (0:00:00.486) 0:00:01.885 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.180725", "end": "2024-01-12 20:18:26.025582", "rc": 0, "start": "2024-01-12 20:18:25.844857" } 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_typeifdmts5q/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 20:18:26 +0000 (0:00:00.309) 0:00:02.194 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 20:18:26 +0000 (0:00:00.011) 0:00:02.206 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tests_states_nm.yml:11 Friday 12 January 2024 20:18:26 +0000 (0:00:00.033) 0:00:02.239 ******** 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_typeifdmts5q/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 20:18:26 +0000 (0:00:00.013) 0:00:02.252 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 20:18:26 +0000 (0:00:00.395) 0:00:02.648 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 20:18:26 +0000 (0:00:00.011) 0:00:02.660 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:18:26 +0000 (0:00:00.018) 0:00:02.679 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:18:26 +0000 (0:00:00.012) 0:00:02.691 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:18:26 +0000 (0:00:00.033) 0:00:02.725 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:18:26 +0000 (0:00:00.014) 0:00:02.740 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:18:26 +0000 (0:00:00.015) 0:00:02.756 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004871", "end": "2024-01-12 20:18:27.720347", "rc": 0, "start": "2024-01-12 20:18:26.715476" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:18:27 +0000 (0:00:01.132) 0:00:03.889 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:18:27 +0000 (0:00:00.031) 0:00:03.920 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:18:27 +0000 (0:00:00.028) 0:00:03.949 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 20:18:27 +0000 (0:00:00.024) 0:00:03.973 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011925", "end": "2024-01-12 20:18:27.950035", "rc": 1, "start": "2024-01-12 20:18:27.938110" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:18:27 +0000 (0:00:00.166) 0:00:04.140 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:28 +0000 (0:00:00.030) 0:00:04.171 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:18:28 +0000 (0:00:00.184) 0:00:04.355 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:18:28 +0000 (0:00:00.013) 0:00:04.369 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:18:28 +0000 (0:00:00.020) 0:00:04.390 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:18:28 +0000 (0:00:00.034) 0:00:04.425 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:28 +0000 (0:00:00.087) 0:00:04.512 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:18:28 +0000 (0:00:00.020) 0:00:04.533 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:18:28 +0000 (0:00:00.011) 0:00:04.544 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:18:28 +0000 (0:00:00.011) 0:00:04.556 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:18:29 +0000 (0:00:00.808) 0:00:05.364 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:18:30 +0000 (0:00:01.125) 0:00:06.489 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:18:30 +0000 (0:00:00.025) 0:00:06.515 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:18:30 +0000 (0:00:00.024) 0:00:06.539 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:18:30 +0000 (0:00:00.023) 0:00:06.562 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:18:30 +0000 (0:00:00.056) 0:00:06.619 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:18:30 +0000 (0:00:00.031) 0:00:06.650 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:18:30 +0000 (0:00:00.024) 0:00:06.675 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:18:30 +0000 (0:00:00.026) 0:00:06.701 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:18:30 +0000 (0:00:00.401) 0:00:07.102 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:18:30 +0000 (0:00:00.028) 0:00:07.131 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:18:31 +0000 (0:00:00.022) 0:00:07.154 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:18:31 +0000 (0:00:00.023) 0:00:07.177 ******** 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, c53f58ef-4d70-4b0d-a649-cc845a6c4693 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:18:31 +0000 (0:00:00.469) 0:00:07.646 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:18:31 +0000 (0:00:00.023) 0:00:07.670 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c53f58ef-4d70-4b0d-a649-cc845a6c4693" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:18:31 +0000 (0:00:00.024) 0:00:07.694 ******** 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, c53f58ef-4d70-4b0d-a649-cc845a6c4693\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c53f58ef-4d70-4b0d-a649-cc845a6c4693" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:18:31 +0000 (0:00:00.055) 0:00:07.750 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:18:31 +0000 (0:00:00.048) 0:00:07.799 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:18:31 +0000 (0:00:00.241) 0:00:08.040 ******** 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, c53f58ef-4d70-4b0d-a649-cc845a6c4693\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c53f58ef-4d70-4b0d-a649-cc845a6c4693" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:18:31 +0000 (0:00:00.039) 0:00:08.080 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:18:31 +0000 (0:00:00.068) 0:00:08.148 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:18:32 +0000 (0:00:00.054) 0:00:08.203 ******** 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:18:32 +0000 (0:00:00.024) 0:00:08.228 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090711.4107413, "block_size": 4096, "blocks": 8, "ctime": 1705090711.4097414, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25408, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090711.4097414, "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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:18:32 +0000 (0:00:00.141) 0:00:08.369 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:18:32 +0000 (0:00:00.023) 0:00:08.393 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025608", "end": "2024-01-12 20:18:32.375093", "rc": 0, "start": "2024-01-12 20:18:32.349485" } 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:18:32 +0000 (0:00:00.192) 0:00:08.585 ******** 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:18:32 +0000 (0:00:00.028) 0:00:08.613 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:18:32 +0000 (0:00:00.023) 0:00:08.637 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:18:32 +0000 (0:00:00.031) 0:00:08.669 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:18:32 +0000 (0:00:00.028) 0:00:08.697 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:18:32 +0000 (0:00:00.028) 0:00:08.726 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:18:32 +0000 (0:00:00.064) 0:00:08.790 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:18:32 +0000 (0:00:00.044) 0:00:08.835 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:18:32 +0000 (0:00:00.041) 0:00:08.876 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:18:32 +0000 (0:00:00.071) 0:00:08.948 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:32 +0000 (0:00:00.118) 0:00:09.066 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090711.4167414, "block_size": 4096, "blocks": 0, "ctime": 1705090711.4127414, "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": 1705090711.4127414, "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_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:18:33 +0000 (0:00:00.194) 0:00:09.260 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:18:33 +0000 (0:00:00.028) 0:00:09.289 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:18:33 +0000 (0:00:00.026) 0:00:09.315 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:18:33 +0000 (0:00:00.052) 0:00:09.367 ******** 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.080611", "end": "2024-01-12 20:18:33.429332", "rc": 1, "start": "2024-01-12 20:18:33.348721" } STDOUT: Connection 'statebr' (c53f58ef-4d70-4b0d-a649-cc845a6c4693) successfully deleted. STDERR: (process:19320): GLib-GIO-WARNING **: 20:18:33.406: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 20:18:33 +0000 (0:00:00.241) 0:00:09.609 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:18:33 +0000 (0:00:00.059) 0:00:09.668 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:18:33 +0000 (0:00:00.032) 0:00:09.701 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:18:33 +0000 (0:00:00.088) 0:00:09.789 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:18:33 +0000 (0:00:00.079) 0:00:09.869 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:18:33 +0000 (0:00:00.037) 0:00:09.906 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003908", "end": "2024-01-12 20:18:33.875704", "rc": 0, "start": "2024-01-12 20:18:33.871796" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:18:33 +0000 (0:00:00.150) 0:00:10.056 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:18:33 +0000 (0:00:00.023) 0:00:10.080 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:18:33 +0000 (0:00:00.023) 0:00:10.104 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 20:18:33 +0000 (0:00:00.042) 0:00:10.146 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007470", "end": "2024-01-12 20:18:34.111726", "rc": 1, "start": "2024-01-12 20:18:34.104256" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:18:34 +0000 (0:00:00.165) 0:00:10.312 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:34 +0000 (0:00:00.038) 0:00:10.351 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:18:34 +0000 (0:00:00.149) 0:00:10.500 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:18:34 +0000 (0:00:00.038) 0:00:10.539 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 20:18:34 +0000 (0:00:00.062) 0:00:10.602 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:18:34 +0000 (0:00:00.045) 0:00:10.647 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:34 +0000 (0:00:00.073) 0:00:10.720 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:18:34 +0000 (0:00:00.028) 0:00:10.749 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:18:34 +0000 (0:00:00.045) 0:00:10.794 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:18:34 +0000 (0:00:00.022) 0:00:10.816 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:18:35 +0000 (0:00:00.707) 0:00:11.523 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:18:36 +0000 (0:00:00.943) 0:00:12.466 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:18:36 +0000 (0:00:00.026) 0:00:12.493 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:18:36 +0000 (0:00:00.026) 0:00:12.519 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:18:36 +0000 (0:00:00.051) 0:00:12.571 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:18:36 +0000 (0:00:00.057) 0:00:12.629 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:18:36 +0000 (0:00:00.032) 0:00:12.661 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:18:36 +0000 (0:00:00.024) 0:00:12.686 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:18:36 +0000 (0:00:00.046) 0:00:12.733 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:18:36 +0000 (0:00:00.275) 0:00:13.008 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:18:36 +0000 (0:00:00.042) 0:00:13.051 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:18:36 +0000 (0:00:00.030) 0:00:13.082 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:18:36 +0000 (0:00:00.037) 0:00:13.119 ******** 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, a6acdc56-c18f-4103-93f0-ff4eefd58e4e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:18:37 +0000 (0:00:00.322) 0:00:13.442 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:18:37 +0000 (0:00:00.023) 0:00:13.466 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a6acdc56-c18f-4103-93f0-ff4eefd58e4e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:18:37 +0000 (0:00:00.032) 0:00:13.499 ******** 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, a6acdc56-c18f-4103-93f0-ff4eefd58e4e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a6acdc56-c18f-4103-93f0-ff4eefd58e4e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:18:37 +0000 (0:00:00.045) 0:00:13.544 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:18:37 +0000 (0:00:00.037) 0:00:13.582 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 20:18:37 +0000 (0:00:00.152) 0:00:13.735 ******** 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, a6acdc56-c18f-4103-93f0-ff4eefd58e4e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a6acdc56-c18f-4103-93f0-ff4eefd58e4e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:18:37 +0000 (0:00:00.026) 0:00:13.762 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:18:37 +0000 (0:00:00.099) 0:00:13.862 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:37 +0000 (0:00:00.053) 0:00:13.915 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:18:37 +0000 (0:00:00.139) 0:00:14.055 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:18:37 +0000 (0:00:00.041) 0:00:14.097 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:18:37 +0000 (0:00:00.046) 0:00:14.144 ******** 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:18:38 +0000 (0:00:00.050) 0:00:14.194 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090717.2437806, "block_size": 4096, "blocks": 8, "ctime": 1705090717.2437806, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090717.2437806, "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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:18:38 +0000 (0:00:00.152) 0:00:14.346 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:18:38 +0000 (0:00:00.030) 0:00:14.377 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023139", "end": "2024-01-12 20:18:38.360683", "rc": 0, "start": "2024-01-12 20:18:38.337544" } 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:18:38 +0000 (0:00:00.172) 0:00:14.550 ******** 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:18:38 +0000 (0:00:00.024) 0:00:14.574 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:18:38 +0000 (0:00:00.027) 0:00:14.602 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:18:38 +0000 (0:00:00.026) 0:00:14.628 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:18:38 +0000 (0:00:00.025) 0:00:14.653 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:18:38 +0000 (0:00:00.026) 0:00:14.680 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:18:38 +0000 (0:00:00.029) 0:00:14.710 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:18:38 +0000 (0:00:00.092) 0:00:14.802 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:18:38 +0000 (0:00:00.040) 0:00:14.842 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:18:38 +0000 (0:00:00.023) 0:00:14.866 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:18:38 +0000 (0:00:00.035) 0:00:14.902 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:18:38 +0000 (0:00:00.045) 0:00:14.947 ******** 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.049030", "end": "2024-01-12 20:18:38.953060", "rc": 1, "start": "2024-01-12 20:18:38.904030" } STDOUT: Connection 'statebr' (a6acdc56-c18f-4103-93f0-ff4eefd58e4e) 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_typeifdmts5q/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 20:18:38 +0000 (0:00:00.184) 0:00:15.132 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:18:39 +0000 (0:00:00.041) 0:00:15.173 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:18:39 +0000 (0:00:00.024) 0:00:15.198 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:18:39 +0000 (0:00:00.061) 0:00:15.259 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:18:39 +0000 (0:00:00.049) 0:00:15.309 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:18:39 +0000 (0:00:00.040) 0:00:15.349 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003624", "end": "2024-01-12 20:18:39.315070", "rc": 0, "start": "2024-01-12 20:18:39.311446" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:18:39 +0000 (0:00:00.165) 0:00:15.514 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:18:39 +0000 (0:00:00.037) 0:00:15.552 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:18:39 +0000 (0:00:00.090) 0:00:15.643 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:18:39 +0000 (0:00:00.059) 0:00:15.702 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:18:39 +0000 (0:00:00.052) 0:00:15.755 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:39 +0000 (0:00:00.065) 0:00:15.820 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:18:39 +0000 (0:00:00.042) 0:00:15.862 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:18:39 +0000 (0:00:00.045) 0:00:15.908 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:18:39 +0000 (0:00:00.111) 0:00:16.019 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:18:40 +0000 (0:00:00.746) 0:00:16.765 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:18:41 +0000 (0:00:01.003) 0:00:17.769 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:18:41 +0000 (0:00:00.108) 0:00:17.877 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:18:41 +0000 (0:00:00.068) 0:00:17.945 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:18:41 +0000 (0:00:00.041) 0:00:17.986 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:18:41 +0000 (0:00:00.047) 0:00:18.034 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:18:41 +0000 (0:00:00.027) 0:00:18.061 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:18:41 +0000 (0:00:00.024) 0:00:18.086 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:18:41 +0000 (0:00:00.029) 0:00:18.115 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:18:42 +0000 (0:00:00.239) 0:00:18.355 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:18:42 +0000 (0:00:00.030) 0:00:18.385 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:18:42 +0000 (0:00:00.028) 0:00:18.414 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:18:42 +0000 (0:00:00.024) 0:00:18.439 ******** 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, e926dfd6-e415-4aad-b210-491d7b27ce9b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:18:42 +0000 (0:00:00.403) 0:00:18.842 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:18:42 +0000 (0:00:00.039) 0:00:18.882 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e926dfd6-e415-4aad-b210-491d7b27ce9b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:18:42 +0000 (0:00:00.045) 0:00:18.927 ******** 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, e926dfd6-e415-4aad-b210-491d7b27ce9b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e926dfd6-e415-4aad-b210-491d7b27ce9b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:18:42 +0000 (0:00:00.032) 0:00:18.960 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:18:42 +0000 (0:00:00.022) 0:00:18.982 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:18:42 +0000 (0:00:00.157) 0:00:19.140 ******** 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, e926dfd6-e415-4aad-b210-491d7b27ce9b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e926dfd6-e415-4aad-b210-491d7b27ce9b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:18:43 +0000 (0:00:00.066) 0:00:19.207 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:18:43 +0000 (0:00:00.045) 0:00:19.252 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:18:43 +0000 (0:00:00.044) 0:00:19.297 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:43 +0000 (0:00:00.044) 0:00:19.342 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:18:43 +0000 (0:00:00.028) 0:00:19.370 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:18:43 +0000 (0:00:00.026) 0:00:19.397 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:18:43 +0000 (0:00:00.023) 0:00:19.420 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:18:43 +0000 (0:00:00.710) 0:00:20.130 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:18:45 +0000 (0:00:01.067) 0:00:21.198 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:18:45 +0000 (0:00:00.041) 0:00:21.239 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:18:45 +0000 (0:00:00.029) 0:00:21.269 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:18:45 +0000 (0:00:00.023) 0:00:21.293 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:18:45 +0000 (0:00:00.050) 0:00:21.344 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:18:45 +0000 (0:00:00.030) 0:00:21.375 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:18:45 +0000 (0:00:00.024) 0:00:21.399 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:18:45 +0000 (0:00:00.027) 0:00:21.426 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:18:45 +0000 (0:00:00.244) 0:00:21.671 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:18:45 +0000 (0:00:00.032) 0:00:21.704 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:18:45 +0000 (0:00:00.026) 0:00:21.731 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:18:45 +0000 (0:00:00.025) 0:00:21.756 ******** 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, e926dfd6-e415-4aad-b210-491d7b27ce9b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:18:45 +0000 (0:00:00.313) 0:00:22.070 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:18:45 +0000 (0:00:00.033) 0:00:22.103 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e926dfd6-e415-4aad-b210-491d7b27ce9b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:18:46 +0000 (0:00:00.052) 0:00:22.156 ******** 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, e926dfd6-e415-4aad-b210-491d7b27ce9b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e926dfd6-e415-4aad-b210-491d7b27ce9b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:18:46 +0000 (0:00:00.087) 0:00:22.244 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:18:46 +0000 (0:00:00.138) 0:00:22.382 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:18:46 +0000 (0:00:00.157) 0:00:22.540 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:18:46 +0000 (0:00:00.058) 0:00:22.598 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:46 +0000 (0:00:00.042) 0:00:22.641 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090722.5928166, "block_size": 4096, "blocks": 0, "ctime": 1705090722.5918167, "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": 1705090722.5918167, "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_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:18:46 +0000 (0:00:00.155) 0:00:22.796 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:18:46 +0000 (0:00:00.025) 0:00:22.822 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:18:46 +0000 (0:00:00.041) 0:00:22.863 ******** 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:18:46 +0000 (0:00:00.028) 0:00:22.892 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090722.5908165, "block_size": 4096, "blocks": 8, "ctime": 1705090722.5898166, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090722.5898166, "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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:18:46 +0000 (0:00:00.142) 0:00:23.034 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:18:46 +0000 (0:00:00.025) 0:00:23.059 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025814", "end": "2024-01-12 20:18:47.043379", "rc": 0, "start": "2024-01-12 20:18:47.017565" } 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:18:47 +0000 (0:00:00.163) 0:00:23.223 ******** 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:18:47 +0000 (0:00:00.049) 0:00:23.272 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:18:47 +0000 (0:00:00.029) 0:00:23.301 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:18:47 +0000 (0:00:00.029) 0:00:23.331 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:18:47 +0000 (0:00:00.071) 0:00:23.402 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:18:47 +0000 (0:00:00.032) 0:00:23.434 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:18:47 +0000 (0:00:00.030) 0:00:23.464 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:18:47 +0000 (0:00:00.036) 0:00:23.501 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:18:47 +0000 (0:00:00.029) 0:00:23.530 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:18:47 +0000 (0:00:00.035) 0:00:23.565 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:18:47 +0000 (0:00:00.024) 0:00:23.590 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:18:47 +0000 (0:00:00.047) 0:00:23.637 ******** 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.083523", "end": "2024-01-12 20:18:47.686412", "rc": 1, "start": "2024-01-12 20:18:47.602889" } STDOUT: Connection 'statebr' (e926dfd6-e415-4aad-b210-491d7b27ce9b) successfully deleted. STDERR: (process:20034): GLib-GIO-WARNING **: 20:18:47.664: 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_typeifdmts5q/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 20:18:47 +0000 (0:00:00.229) 0:00:23.866 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:18:47 +0000 (0:00:00.044) 0:00:23.911 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:18:47 +0000 (0:00:00.052) 0:00:23.963 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:18:47 +0000 (0:00:00.105) 0:00:24.069 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:18:47 +0000 (0:00:00.045) 0:00:24.114 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:18:47 +0000 (0:00:00.036) 0:00:24.150 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005222", "end": "2024-01-12 20:18:49.128718", "rc": 0, "start": "2024-01-12 20:18:48.123496" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:18:49 +0000 (0:00:01.159) 0:00:25.310 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:18:49 +0000 (0:00:00.025) 0:00:25.336 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:18:49 +0000 (0:00:00.025) 0:00:25.362 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:18:49 +0000 (0:00:00.046) 0:00:25.408 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:18:49 +0000 (0:00:00.040) 0:00:25.448 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:49 +0000 (0:00:00.044) 0:00:25.492 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:18:49 +0000 (0:00:00.028) 0:00:25.521 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:18:49 +0000 (0:00:00.027) 0:00:25.549 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:18:49 +0000 (0:00:00.035) 0:00:25.584 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:18:50 +0000 (0:00:00.713) 0:00:26.298 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:18:51 +0000 (0:00:00.975) 0:00:27.273 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:18:51 +0000 (0:00:00.053) 0:00:27.327 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:18:51 +0000 (0:00:00.050) 0:00:27.378 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:18:51 +0000 (0:00:00.037) 0:00:27.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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:18:51 +0000 (0:00:00.079) 0:00:27.495 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:18:51 +0000 (0:00:00.025) 0:00:27.520 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:18:51 +0000 (0:00:00.035) 0:00:27.556 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:18:51 +0000 (0:00:00.048) 0:00:27.604 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:18:51 +0000 (0:00:00.261) 0:00:27.866 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:18:51 +0000 (0:00:00.026) 0:00:27.892 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:18:51 +0000 (0:00:00.031) 0:00:27.924 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:18:51 +0000 (0:00:00.033) 0:00:27.957 ******** 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, e930be4d-2524-4855-b38c-b631da22967b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:18:52 +0000 (0:00:00.448) 0:00:28.406 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:18:52 +0000 (0:00:00.026) 0:00:28.432 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e930be4d-2524-4855-b38c-b631da22967b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:18:52 +0000 (0:00:00.049) 0:00:28.482 ******** 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, e930be4d-2524-4855-b38c-b631da22967b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e930be4d-2524-4855-b38c-b631da22967b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:18:52 +0000 (0:00:00.048) 0:00:28.531 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:18:52 +0000 (0:00:00.027) 0:00:28.558 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:18:52 +0000 (0:00:00.137) 0:00:28.696 ******** 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, e930be4d-2524-4855-b38c-b631da22967b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e930be4d-2524-4855-b38c-b631da22967b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:18:52 +0000 (0:00:00.023) 0:00:28.719 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:18:52 +0000 (0:00:00.041) 0:00:28.761 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:52 +0000 (0:00:00.043) 0:00:28.805 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:18:52 +0000 (0:00:00.030) 0:00:28.835 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:18:52 +0000 (0:00:00.023) 0:00:28.859 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:18:52 +0000 (0:00:00.023) 0:00:28.882 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:18:53 +0000 (0:00:00.718) 0:00:29.600 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:18:54 +0000 (0:00:01.002) 0:00:30.602 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:18:54 +0000 (0:00:00.024) 0:00:30.627 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:18:54 +0000 (0:00:00.023) 0:00:30.650 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:18:54 +0000 (0:00:00.022) 0:00:30.672 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:18:54 +0000 (0:00:00.046) 0:00:30.719 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:18:54 +0000 (0:00:00.025) 0:00:30.744 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:18:54 +0000 (0:00:00.023) 0:00:30.768 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:18:54 +0000 (0:00:00.042) 0:00:30.811 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:18:54 +0000 (0:00:00.298) 0:00:31.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:18:54 +0000 (0:00:00.028) 0:00:31.138 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:18:55 +0000 (0:00:00.027) 0:00:31.165 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:18:55 +0000 (0:00:00.034) 0:00:31.200 ******** 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, e930be4d-2524-4855-b38c-b631da22967b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:18:55 +0000 (0:00:00.320) 0:00:31.520 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:18:55 +0000 (0:00:00.024) 0:00:31.545 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e930be4d-2524-4855-b38c-b631da22967b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:18:55 +0000 (0:00:00.025) 0:00:31.570 ******** 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, e930be4d-2524-4855-b38c-b631da22967b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e930be4d-2524-4855-b38c-b631da22967b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:18:55 +0000 (0:00:00.028) 0:00:31.599 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:18:55 +0000 (0:00:00.025) 0:00:31.624 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:18:55 +0000 (0:00:00.135) 0:00:31.759 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 20:18:55 +0000 (0:00:00.069) 0:00:31.829 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:18:55 +0000 (0:00:00.055) 0:00:31.884 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:55 +0000 (0:00:00.045) 0:00:31.930 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:18:55 +0000 (0:00:00.027) 0:00:31.957 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:18:55 +0000 (0:00:00.022) 0:00:31.979 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:18:55 +0000 (0:00:00.022) 0:00:32.002 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:18:56 +0000 (0:00:00.694) 0:00:32.696 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:18:57 +0000 (0:00:00.927) 0:00:33.624 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:18:57 +0000 (0:00:00.025) 0:00:33.650 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:18:57 +0000 (0:00:00.024) 0:00:33.675 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:18:57 +0000 (0:00:00.024) 0:00:33.699 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:18:57 +0000 (0:00:00.079) 0:00:33.779 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:18:57 +0000 (0:00:00.032) 0:00:33.811 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:18:57 +0000 (0:00:00.036) 0:00:33.847 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:18:57 +0000 (0:00:00.044) 0:00:33.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:18:57 +0000 (0:00:00.231) 0:00:34.124 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:18:58 +0000 (0:00:00.028) 0:00:34.152 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:18:58 +0000 (0:00:00.063) 0:00:34.215 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:18:58 +0000 (0:00:00.038) 0:00:34.254 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:18:58 +0000 (0:00:00.377) 0:00:34.631 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:18:58 +0000 (0:00:00.026) 0:00:34.658 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:18:58 +0000 (0:00:00.047) 0:00:34.706 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:18:58 +0000 (0:00:00.028) 0:00:34.735 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:18:58 +0000 (0:00:00.031) 0:00:34.766 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:18:58 +0000 (0:00:00.150) 0:00:34.916 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:18:58 +0000 (0:00:00.045) 0:00:34.961 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:58 +0000 (0:00:00.038) 0:00:35.000 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090732.1408808, "block_size": 4096, "blocks": 0, "ctime": 1705090732.1378808, "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": 1705090732.1378808, "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_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:18:59 +0000 (0:00:00.180) 0:00:35.180 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:18:59 +0000 (0:00:00.024) 0:00:35.205 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:18:59 +0000 (0:00:00.041) 0:00:35.247 ******** 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:18:59 +0000 (0:00:00.026) 0:00:35.273 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:18:59 +0000 (0:00:00.156) 0:00:35.430 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:18:59 +0000 (0:00:00.051) 0:00:35.482 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022865", "end": "2024-01-12 20:18:59.575041", "rc": 1, "start": "2024-01-12 20:18:59.552176" } 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:18:59 +0000 (0:00:00.297) 0:00:35.779 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:18:59 +0000 (0:00:00.081) 0:00:35.861 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:18:59 +0000 (0:00:00.063) 0:00:35.924 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:18:59 +0000 (0:00:00.069) 0:00:35.993 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:18:59 +0000 (0:00:00.039) 0:00:36.033 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:18:59 +0000 (0:00:00.025) 0:00:36.059 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:18:59 +0000 (0:00:00.034) 0:00:36.094 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:18:59 +0000 (0:00:00.042) 0:00:36.136 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:19:00 +0000 (0:00:00.072) 0:00:36.209 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:19:00 +0000 (0:00:00.107) 0:00:36.317 ******** 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.082589", "end": "2024-01-12 20:19:00.388661", "rc": 1, "start": "2024-01-12 20:19:00.306072" } STDOUT: Connection 'statebr' (e930be4d-2524-4855-b38c-b631da22967b) successfully deleted. STDERR: (process:20653): GLib-GIO-WARNING **: 20:19:00.365: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/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_typeifdmts5q/tests/playbooks/tests_states.yml:103 Friday 12 January 2024 20:19:00 +0000 (0:00:00.257) 0:00:36.574 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:19:00 +0000 (0:00:00.038) 0:00:36.612 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:19:00 +0000 (0:00:00.032) 0:00:36.645 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:19:00 +0000 (0:00:00.093) 0:00:36.739 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:19:00 +0000 (0:00:00.069) 0:00:36.809 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:19:00 +0000 (0:00:00.071) 0:00:36.881 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003576", "end": "2024-01-12 20:19:00.877636", "rc": 0, "start": "2024-01-12 20:19:00.874060" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:19:00 +0000 (0:00:00.175) 0:00:37.056 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:19:00 +0000 (0:00:00.029) 0:00:37.086 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:19:00 +0000 (0:00:00.025) 0:00:37.111 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:19:01 +0000 (0:00:00.061) 0:00:37.173 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:01 +0000 (0:00:00.054) 0:00:37.228 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:01 +0000 (0:00:00.043) 0:00:37.272 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:01 +0000 (0:00:00.032) 0:00:37.304 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:01 +0000 (0:00:00.025) 0:00:37.330 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:01 +0000 (0:00:00.034) 0:00:37.365 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:01 +0000 (0:00:00.705) 0:00:38.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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:02 +0000 (0:00:00.995) 0:00:39.066 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:02 +0000 (0:00:00.039) 0:00:39.105 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:03 +0000 (0:00:00.050) 0:00:39.155 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:03 +0000 (0:00:00.041) 0:00:39.197 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:03 +0000 (0:00:00.072) 0:00:39.269 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:03 +0000 (0:00:00.029) 0:00:39.299 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:03 +0000 (0:00:00.023) 0:00:39.323 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:03 +0000 (0:00:00.039) 0:00:39.362 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:03 +0000 (0:00:00.270) 0:00:39.632 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:03 +0000 (0:00:00.031) 0:00:39.664 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:03 +0000 (0:00:00.022) 0:00:39.686 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:03 +0000 (0:00:00.060) 0:00:39.746 ******** 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, c3b41e18-bd47-4630-82b9-080d4bd9dca1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:03 +0000 (0:00:00.350) 0:00:40.097 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:03 +0000 (0:00:00.024) 0:00:40.121 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c3b41e18-bd47-4630-82b9-080d4bd9dca1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:04 +0000 (0:00:00.030) 0:00:40.152 ******** 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, c3b41e18-bd47-4630-82b9-080d4bd9dca1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c3b41e18-bd47-4630-82b9-080d4bd9dca1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:04 +0000 (0:00:00.025) 0:00:40.178 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:04 +0000 (0:00:00.029) 0:00:40.208 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:19:04 +0000 (0:00:00.164) 0:00:40.372 ******** 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, c3b41e18-bd47-4630-82b9-080d4bd9dca1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c3b41e18-bd47-4630-82b9-080d4bd9dca1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:19:04 +0000 (0:00:00.053) 0:00:40.426 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:04 +0000 (0:00:00.065) 0:00:40.492 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:04 +0000 (0:00:00.046) 0:00:40.538 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:04 +0000 (0:00:00.043) 0:00:40.582 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:04 +0000 (0:00:00.047) 0:00:40.630 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:04 +0000 (0:00:00.053) 0:00:40.683 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:05 +0000 (0:00:00.735) 0:00:41.419 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:06 +0000 (0:00:00.925) 0:00:42.344 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:06 +0000 (0:00:00.024) 0:00:42.369 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:06 +0000 (0:00:00.022) 0:00:42.391 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:06 +0000 (0:00:00.027) 0:00:42.419 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:06 +0000 (0:00:00.047) 0:00:42.466 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:06 +0000 (0:00:00.025) 0:00:42.491 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:06 +0000 (0:00:00.024) 0:00:42.515 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:06 +0000 (0:00:00.032) 0:00:42.548 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:06 +0000 (0:00:00.253) 0:00:42.801 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:06 +0000 (0:00:00.046) 0:00:42.848 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:06 +0000 (0:00:00.056) 0:00:42.905 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:06 +0000 (0:00:00.042) 0:00:42.948 ******** 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, c3b41e18-bd47-4630-82b9-080d4bd9dca1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:07 +0000 (0:00:00.380) 0:00:43.329 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:07 +0000 (0:00:00.030) 0:00:43.360 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c3b41e18-bd47-4630-82b9-080d4bd9dca1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:07 +0000 (0:00:00.041) 0:00:43.401 ******** 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, c3b41e18-bd47-4630-82b9-080d4bd9dca1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c3b41e18-bd47-4630-82b9-080d4bd9dca1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:07 +0000 (0:00:00.033) 0:00:43.435 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:07 +0000 (0:00:00.026) 0:00:43.462 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 20:19:07 +0000 (0:00:00.143) 0:00:43.605 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:07 +0000 (0:00:00.039) 0:00:43.644 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:07 +0000 (0:00:00.042) 0:00:43.687 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:07 +0000 (0:00:00.029) 0:00:43.716 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:07 +0000 (0:00:00.022) 0:00:43.738 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:07 +0000 (0:00:00.042) 0:00:43.781 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:08 +0000 (0:00:00.798) 0:00:44.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:09 +0000 (0:00:00.971) 0:00:45.551 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:09 +0000 (0:00:00.024) 0:00:45.575 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:09 +0000 (0:00:00.025) 0:00:45.600 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:09 +0000 (0:00:00.022) 0:00:45.622 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:09 +0000 (0:00:00.045) 0:00:45.667 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:09 +0000 (0:00:00.023) 0:00:45.691 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:09 +0000 (0:00:00.023) 0:00:45.714 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:09 +0000 (0:00:00.026) 0:00:45.741 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:09 +0000 (0:00:00.242) 0:00:45.983 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:09 +0000 (0:00:00.045) 0:00:46.028 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:09 +0000 (0:00:00.035) 0:00:46.063 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:09 +0000 (0:00:00.031) 0:00:46.095 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:10 +0000 (0:00:00.389) 0:00:46.484 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:10 +0000 (0:00:00.033) 0:00:46.518 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:10 +0000 (0:00:00.025) 0:00:46.544 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:10 +0000 (0:00:00.026) 0:00:46.570 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:10 +0000 (0:00:00.023) 0:00:46.593 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:19:10 +0000 (0:00:00.129) 0:00:46.723 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:19:10 +0000 (0:00:00.089) 0:00:46.813 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:10 +0000 (0:00:00.069) 0:00:46.882 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:10 +0000 (0:00:00.094) 0:00:46.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:10 +0000 (0:00:00.047) 0:00:47.024 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:10 +0000 (0:00:00.032) 0:00:47.056 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:10 +0000 (0:00:00.047) 0:00:47.104 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:11 +0000 (0:00:00.689) 0:00:47.793 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:12 +0000 (0:00:00.967) 0:00:48.761 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:12 +0000 (0:00:00.058) 0:00:48.820 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:12 +0000 (0:00:00.043) 0:00:48.863 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:12 +0000 (0:00:00.037) 0:00:48.900 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:12 +0000 (0:00:00.070) 0:00:48.971 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:12 +0000 (0:00:00.057) 0:00:49.029 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:12 +0000 (0:00:00.034) 0:00:49.063 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:12 +0000 (0:00:00.027) 0:00:49.091 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:13 +0000 (0:00:00.234) 0:00:49.325 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:13 +0000 (0:00:00.034) 0:00:49.360 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:13 +0000 (0:00:00.100) 0:00:49.461 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:13 +0000 (0:00:00.057) 0:00:49.518 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:13 +0000 (0:00:00.386) 0:00:49.904 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:13 +0000 (0:00:00.023) 0:00:49.928 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:13 +0000 (0:00:00.026) 0:00:49.954 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:13 +0000 (0:00:00.036) 0:00:49.990 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:13 +0000 (0:00:00.033) 0:00:50.024 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:19:14 +0000 (0:00:00.158) 0:00:50.182 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:19:14 +0000 (0:00:00.042) 0:00:50.224 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:19:14 +0000 (0:00:00.041) 0:00:50.266 ******** 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:19:14 +0000 (0:00:00.028) 0:00:50.294 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:19:14 +0000 (0:00:00.152) 0:00:50.447 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:19:14 +0000 (0:00:00.022) 0:00:50.470 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022074", "end": "2024-01-12 20:19:14.448104", "rc": 1, "start": "2024-01-12 20:19:14.426030" } 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:19:14 +0000 (0:00:00.156) 0:00:50.627 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:19:14 +0000 (0:00:00.070) 0:00:50.697 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:19:14 +0000 (0:00:00.025) 0:00:50.723 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:19:14 +0000 (0:00:00.048) 0:00:50.771 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:19:14 +0000 (0:00:00.066) 0:00:50.838 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:19:14 +0000 (0:00:00.050) 0:00:50.888 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:19:14 +0000 (0:00:00.055) 0:00:50.944 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:19:14 +0000 (0:00:00.069) 0:00:51.013 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:19:14 +0000 (0:00:00.040) 0:00:51.053 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:19:15 +0000 (0:00:00.199) 0:00:51.253 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:19:15 +0000 (0:00:00.049) 0:00:51.302 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:19:15 +0000 (0:00:00.031) 0:00:51.334 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:19:15 +0000 (0:00:00.050) 0:00:51.384 ******** 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.045353", "end": "2024-01-12 20:19:15.400103", "rc": 1, "start": "2024-01-12 20:19:15.354750" } 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_typeifdmts5q/tests/playbooks/tests_states.yml:126 Friday 12 January 2024 20:19:15 +0000 (0:00:00.193) 0:00:51.578 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:19:15 +0000 (0:00:00.038) 0:00:51.616 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:19:15 +0000 (0:00:00.071) 0:00:51.687 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:19:15 +0000 (0:00:00.055) 0:00:51.743 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:19:15 +0000 (0:00:00.051) 0:00:51.795 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:19:15 +0000 (0:00:00.040) 0:00:51.836 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003886", "end": "2024-01-12 20:19:15.801934", "rc": 0, "start": "2024-01-12 20:19:15.798048" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:19:15 +0000 (0:00:00.151) 0:00:51.987 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:19:15 +0000 (0:00:00.042) 0:00:52.030 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:19:15 +0000 (0:00:00.065) 0:00:52.095 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:19:16 +0000 (0:00:00.081) 0:00:52.177 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:16 +0000 (0:00:00.040) 0:00:52.218 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:16 +0000 (0:00:00.049) 0:00:52.267 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:16 +0000 (0:00:00.040) 0:00:52.308 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:16 +0000 (0:00:00.025) 0:00:52.333 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:16 +0000 (0:00:00.026) 0:00:52.359 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:16 +0000 (0:00:00.750) 0:00:53.110 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:17 +0000 (0:00:00.936) 0:00:54.047 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:17 +0000 (0:00:00.025) 0:00:54.073 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:17 +0000 (0:00:00.028) 0:00:54.101 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:17 +0000 (0:00:00.033) 0:00:54.135 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:18 +0000 (0:00:00.063) 0:00:54.198 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:18 +0000 (0:00:00.042) 0:00:54.240 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:18 +0000 (0:00:00.036) 0:00:54.277 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:18 +0000 (0:00:00.030) 0:00:54.307 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:18 +0000 (0:00:00.257) 0:00:54.565 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:18 +0000 (0:00:00.069) 0:00:54.634 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:18 +0000 (0:00:00.043) 0:00:54.678 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:18 +0000 (0:00:00.037) 0:00:54.716 ******** 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, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:18 +0000 (0:00:00.382) 0:00:55.099 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:18 +0000 (0:00:00.046) 0:00:55.145 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:19 +0000 (0:00:00.049) 0:00:55.195 ******** 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, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:19 +0000 (0:00:00.032) 0:00:55.227 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:19 +0000 (0:00:00.053) 0:00:55.280 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:19:19 +0000 (0:00:00.174) 0:00:55.455 ******** 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, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:19:19 +0000 (0:00:00.028) 0:00:55.483 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:19 +0000 (0:00:00.044) 0:00:55.528 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:19 +0000 (0:00:00.060) 0:00:55.588 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:19 +0000 (0:00:00.033) 0:00:55.621 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:19 +0000 (0:00:00.025) 0:00:55.646 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:19 +0000 (0:00:00.023) 0:00:55.670 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:20 +0000 (0:00:00.759) 0:00:56.429 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:21 +0000 (0:00:00.922) 0:00:57.351 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:21 +0000 (0:00:00.023) 0:00:57.374 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:21 +0000 (0:00:00.022) 0:00:57.397 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:21 +0000 (0:00:00.023) 0:00:57.421 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:21 +0000 (0:00:00.046) 0:00:57.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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:21 +0000 (0:00:00.024) 0:00:57.492 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:21 +0000 (0:00:00.021) 0:00:57.513 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:21 +0000 (0:00:00.026) 0:00:57.539 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:21 +0000 (0:00:00.256) 0:00:57.796 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:21 +0000 (0:00:00.026) 0:00:57.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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:21 +0000 (0:00:00.022) 0:00:57.846 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:21 +0000 (0:00:00.023) 0:00:57.870 ******** 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, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:22 +0000 (0:00:00.291) 0:00:58.161 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:22 +0000 (0:00:00.062) 0:00:58.224 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:22 +0000 (0:00:00.067) 0:00:58.291 ******** 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, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 714bbf77-c74d-4b5b-82c3-edf4ee71b8c7 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:22 +0000 (0:00:00.037) 0:00:58.329 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:22 +0000 (0:00:00.024) 0:00:58.353 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:19:22 +0000 (0:00:00.141) 0:00:58.494 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:22 +0000 (0:00:00.056) 0:00:58.551 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:22 +0000 (0:00:00.081) 0:00:58.632 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:22 +0000 (0:00:00.028) 0:00:58.661 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:22 +0000 (0:00:00.023) 0:00:58.684 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:22 +0000 (0:00:00.022) 0:00:58.706 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:23 +0000 (0:00:00.737) 0:00:59.444 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:24 +0000 (0:00:00.965) 0:01:00.409 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:24 +0000 (0:00:00.050) 0:01:00.460 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:24 +0000 (0:00:00.053) 0:01:00.513 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:24 +0000 (0:00:00.060) 0:01:00.574 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:24 +0000 (0:00:00.076) 0:01:00.650 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:24 +0000 (0:00:00.041) 0:01:00.691 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:24 +0000 (0:00:00.027) 0:01:00.719 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:24 +0000 (0:00:00.051) 0:01:00.770 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:24 +0000 (0:00:00.231) 0:01:01.002 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:24 +0000 (0:00:00.057) 0:01:01.060 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:24 +0000 (0:00:00.025) 0:01:01.085 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:24 +0000 (0:00:00.031) 0:01:01.117 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:25 +0000 (0:00:00.459) 0:01:01.577 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:25 +0000 (0:00:00.036) 0:01:01.613 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:25 +0000 (0:00:00.051) 0:01:01.665 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:25 +0000 (0:00:00.026) 0:01:01.692 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:25 +0000 (0:00:00.035) 0:01:01.728 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:19:25 +0000 (0:00:00.175) 0:01:01.903 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:19:25 +0000 (0:00:00.042) 0:01:01.946 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:25 +0000 (0:00:00.038) 0:01:01.985 ******** included: /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:25 +0000 (0:00:00.043) 0:01:02.029 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:25 +0000 (0:00:00.038) 0:01:02.067 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:25 +0000 (0:00:00.022) 0:01:02.090 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:25 +0000 (0:00:00.055) 0:01:02.146 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:26 +0000 (0:00:00.688) 0:01:02.835 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:27 +0000 (0:00:00.929) 0:01:03.764 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:27 +0000 (0:00:00.023) 0:01:03.788 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:27 +0000 (0:00:00.022) 0:01:03.810 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:27 +0000 (0:00:00.027) 0:01:03.838 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:27 +0000 (0:00:00.050) 0:01:03.888 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:27 +0000 (0:00:00.023) 0:01:03.911 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:27 +0000 (0:00:00.022) 0:01:03.933 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:27 +0000 (0:00:00.051) 0:01:03.984 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:28 +0000 (0:00:00.229) 0:01:04.214 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:28 +0000 (0:00:00.027) 0:01:04.241 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:28 +0000 (0:00:00.022) 0:01:04.264 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:28 +0000 (0:00:00.023) 0:01:04.287 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:28 +0000 (0:00:00.304) 0:01:04.591 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:28 +0000 (0:00:00.023) 0:01:04.615 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:28 +0000 (0:00:00.023) 0:01:04.638 ******** 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_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:28 +0000 (0:00:00.026) 0:01:04.665 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:28 +0000 (0:00:00.030) 0:01:04.695 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:19:28 +0000 (0:00:00.142) 0:01:04.838 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:19:28 +0000 (0:00:00.049) 0:01:04.887 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:19:28 +0000 (0:00:00.038) 0:01:04.926 ******** 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:19:28 +0000 (0:00:00.022) 0:01:04.948 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:19:28 +0000 (0:00:00.180) 0:01:05.129 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:19:29 +0000 (0:00:00.029) 0:01:05.158 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020123", "end": "2024-01-12 20:19:29.143952", "rc": 1, "start": "2024-01-12 20:19:29.123829" } 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_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:19:29 +0000 (0:00:00.176) 0:01:05.335 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:19:29 +0000 (0:00:00.024) 0:01:05.359 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:19:29 +0000 (0:00:00.028) 0:01:05.388 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:19:29 +0000 (0:00:00.029) 0:01:05.417 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:19:29 +0000 (0:00:00.029) 0:01:05.446 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:19:29 +0000 (0:00:00.026) 0:01:05.473 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 20:19:29 +0000 (0:00:00.031) 0:01:05.504 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.677947", "end": "2024-01-12 20:19:30.146664", "rc": 0, "start": "2024-01-12 20:19:29.468717" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 20:19:30 +0000 (0:00:00.821) 0:01:06.325 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 20:19:30 +0000 (0:00:00.023) 0:01:06.349 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:19:30 +0000 (0:00:00.024) 0:01:06.373 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:19:30 +0000 (0:00:00.046) 0:01:06.419 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:19:30 +0000 (0:00:00.074) 0:01:06.494 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:19:30 +0000 (0:00:00.159) 0:01:06.653 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:19:30 +0000 (0:00:00.073) 0:01:06.727 ******** 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_typeifdmts5q/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:19:30 +0000 (0:00:00.062) 0:01:06.790 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:19:30 +0000 (0:00:00.045) 0:01:06.835 ******** 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.044418", "end": "2024-01-12 20:19:30.839136", "rc": 1, "start": "2024-01-12 20:19:30.794718" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Friday 12 January 2024 20:19:30 +0000 (0:00:00.206) 0:01:07.042 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.05s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.43s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.31s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.15s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.13s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.05s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typeifdmts5q/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_typeifdmts5q/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_typeifdmts5q/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_typeifdmts5q/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_typeifdmts5q/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. ---^---^---^---^---^---