# 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-nm_plugin_hotfixgacpe91v/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tests_states_nm.yml:6 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tests_states_nm.yml:9 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.584) 0:00:00.596 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:3 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.022) 0:00:00.619 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:19 Tuesday 20 February 2024 20:44:46 +0000 (0:00:00.229) 0:00:00.849 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:24 Tuesday 20 February 2024 20:44:46 +0000 (0:00:00.191) 0:00:01.040 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:28 Tuesday 20 February 2024 20:44:46 +0000 (0:00:00.020) 0:00:01.060 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:53 Tuesday 20 February 2024 20:44:46 +0000 (0:00:00.018) 0:00:01.079 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml:8 Tuesday 20 February 2024 20:44:46 +0000 (0:00:00.031) 0:00:01.110 ****** 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-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml:24 Tuesday 20 February 2024 20:44:46 +0000 (0:00:00.228) 0:00:01.338 ****** 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-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml:30 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.468) 0:00:01.807 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177340", "end": "2024-02-20 20:44:47.381602", "rc": 0, "start": "2024-02-20 20:44:47.204262" } 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-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml:35 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.318) 0:00:02.126 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml:40 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.034) 0:00:02.161 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tests_states_nm.yml:11 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.028) 0:00:02.189 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:3 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.016) 0:00:02.206 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:11 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.443) 0:00:02.650 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:22 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.026) 0:00:02.676 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.018) 0:00:02.695 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.035) 0:00:02.731 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.044) 0:00:02.775 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.046) 0:00:02.822 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.029) 0:00:02.851 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003494", "end": "2024-02-20 20:44:48.248457", "rc": 0, "start": "2024-02-20 20:44:48.244963" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.122) 0:00:02.973 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.012) 0:00:02.986 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.012) 0:00:02.998 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.022) 0:00:03.021 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010921", "end": "2024-02-20 20:44:48.434953", "rc": 1, "start": "2024-02-20 20:44:48.424032" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.138) 0:00:03.159 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.015) 0:00:03.174 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.166) 0:00:03.341 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.024) 0:00:03.366 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.023) 0:00:03.389 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.059) 0:00:03.449 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.108) 0:00:03.557 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.021) 0:00:03.579 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.011) 0:00:03.591 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.009) 0:00:03.601 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.805) 0:00:04.406 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:44:50 +0000 (0:00:01.099) 0:00:05.506 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.026) 0:00:05.533 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.035) 0:00:05.569 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.037) 0:00:05.606 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.051) 0:00:05.658 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.026) 0:00:05.684 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.031) 0:00:05.715 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.047) 0:00:05.763 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.051) 0:00:05.814 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.405) 0:00:06.220 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.040) 0:00:06.260 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.025) 0:00:06.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.022) 0:00:06.308 ****** 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, 43a11cd3-f6cb-4c48-a2f0-d4c783fcf540 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.467) 0:00:06.776 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.027) 0:00:06.803 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 43a11cd3-f6cb-4c48-a2f0-d4c783fcf540" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.023) 0:00:06.827 ****** 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, 43a11cd3-f6cb-4c48-a2f0-d4c783fcf540\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 43a11cd3-f6cb-4c48-a2f0-d4c783fcf540" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.044) 0:00:06.872 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.021) 0:00:06.894 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.189) 0:00:07.084 ****** 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, 43a11cd3-f6cb-4c48-a2f0-d4c783fcf540\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 43a11cd3-f6cb-4c48-a2f0-d4c783fcf540" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.073) 0:00:07.158 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.069) 0:00:07.227 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.066) 0:00:07.293 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.023) 0:00:07.317 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461891.9773095, "block_size": 4096, "blocks": 8, "ctime": 1708461891.9763095, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461891.9763095, "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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.129) 0:00:07.446 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.022) 0:00:07.468 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024312", "end": "2024-02-20 20:44:52.887326", "rc": 0, "start": "2024-02-20 20:44:52.863014" } 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.155) 0:00:07.624 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.023) 0:00:07.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.022) 0:00:07.670 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.022) 0:00:07.693 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.025) 0:00:07.719 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.046) 0:00:07.765 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.023) 0:00:07.788 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.022) 0:00:07.811 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.020) 0:00:07.831 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.042) 0:00:07.874 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.036) 0:00:07.910 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461891.9833093, "block_size": 4096, "blocks": 0, "ctime": 1708461891.9793096, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17628, "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": 1708461891.9793096, "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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.185) 0:00:08.096 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.029) 0:00:08.126 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.031) 0:00:08.157 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.125) 0:00:08.282 ****** 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.080426", "end": "2024-02-20 20:44:53.759055", "rc": 1, "start": "2024-02-20 20:44:53.678629" } STDOUT: Connection 'statebr' (43a11cd3-f6cb-4c48-a2f0-d4c783fcf540) successfully deleted. STDERR: (process:29997): GLib-GIO-WARNING **: 20:44:53.738: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/48 but no object proxy exists (process:29997): GLib-GIO-WARNING **: 20:44:53.738: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/85 but no object proxy exists (process:29997): GLib-GIO-WARNING **: 20:44:53.738: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/49 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:45 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.223) 0:00:08.506 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.064) 0:00:08.570 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.023) 0:00:08.593 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.042) 0:00:08.636 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.062) 0:00:08.699 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.036) 0:00:08.735 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003501", "end": "2024-02-20 20:44:54.142162", "rc": 0, "start": "2024-02-20 20:44:54.138661" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.142) 0:00:08.877 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.022) 0:00:08.900 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.021) 0:00:08.921 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.038) 0:00:08.960 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007541", "end": "2024-02-20 20:44:54.362679", "rc": 1, "start": "2024-02-20 20:44:54.355138" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.162) 0:00:09.123 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.035) 0:00:09.158 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.148) 0:00:09.307 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.026) 0:00:09.333 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.044) 0:00:09.378 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.076) 0:00:09.454 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.039) 0:00:09.494 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.048) 0:00:09.543 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.024) 0:00:09.567 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.025) 0:00:09.593 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.699) 0:00:10.292 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.957) 0:00:11.250 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.040) 0:00:11.291 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.026) 0:00:11.317 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.041) 0:00:11.359 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.076) 0:00:11.435 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.037) 0:00:11.473 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.038) 0:00:11.511 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.038) 0:00:11.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.026) 0:00:11.577 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.282) 0:00:11.859 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.043) 0:00:11.903 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.049) 0:00:11.953 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.037) 0:00:11.991 ****** 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, 7b0e77fd-0af0-47cc-9f78-46571363455e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.317) 0:00:12.308 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.024) 0:00:12.332 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7b0e77fd-0af0-47cc-9f78-46571363455e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.034) 0:00:12.366 ****** 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, 7b0e77fd-0af0-47cc-9f78-46571363455e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7b0e77fd-0af0-47cc-9f78-46571363455e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.046) 0:00:12.412 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.038) 0:00:12.451 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.191) 0:00:12.642 ****** 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, 7b0e77fd-0af0-47cc-9f78-46571363455e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7b0e77fd-0af0-47cc-9f78-46571363455e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.029) 0:00:12.671 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.102) 0:00:12.774 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.105) 0:00:12.880 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.144) 0:00:13.024 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.024) 0:00:13.049 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.036) 0:00:13.086 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.021) 0:00:13.107 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461897.5530906, "block_size": 4096, "blocks": 8, "ctime": 1708461897.5530906, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461897.5530906, "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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.135) 0:00:13.243 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.033) 0:00:13.276 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022841", "end": "2024-02-20 20:44:58.721731", "rc": 0, "start": "2024-02-20 20:44:58.698890" } 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.198) 0:00:13.475 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.035) 0:00:13.511 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.043) 0:00:13.554 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.036) 0:00:13.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.072) 0:00:13.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.069) 0:00:13.732 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.111) 0:00:13.843 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.044) 0:00:13.888 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.040) 0:00:13.929 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.022) 0:00:13.951 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.030) 0:00:13.982 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.047) 0:00:14.029 ****** 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.048413", "end": "2024-02-20 20:44:59.488592", "rc": 1, "start": "2024-02-20 20:44:59.440179" } STDOUT: Connection 'statebr' (7b0e77fd-0af0-47cc-9f78-46571363455e) 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:65 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.220) 0:00:14.250 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.051) 0:00:14.301 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.029) 0:00:14.331 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.051) 0:00:14.382 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.033) 0:00:14.415 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.033) 0:00:14.449 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003570", "end": "2024-02-20 20:44:59.853092", "rc": 0, "start": "2024-02-20 20:44:59.849522" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.139) 0:00:14.589 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.021) 0:00:14.611 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.047) 0:00:14.658 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.046) 0:00:14.705 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.037) 0:00:14.743 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.044) 0:00:14.787 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.034) 0:00:14.821 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.027) 0:00:14.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.028) 0:00:14.878 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.696) 0:00:15.575 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:01 +0000 (0:00:00.950) 0:00:16.525 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:01 +0000 (0:00:00.027) 0:00:16.552 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:01 +0000 (0:00:00.025) 0:00:16.578 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:01 +0000 (0:00:00.029) 0:00:16.607 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:01 +0000 (0:00:00.052) 0:00:16.660 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:01 +0000 (0:00:00.021) 0:00:16.682 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:01 +0000 (0:00:00.019) 0:00:16.701 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.024) 0:00:16.725 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.025) 0:00:16.751 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.234) 0:00:16.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.028) 0:00:17.015 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.029) 0:00:17.045 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.022) 0:00:17.067 ****** 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, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.337) 0:00:17.405 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.020) 0:00:17.426 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.053) 0:00:17.479 ****** 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, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.026) 0:00:17.506 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.023) 0:00:17.529 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.129) 0:00:17.659 ****** 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, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.021) 0:00:17.681 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.038) 0:00:17.720 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.040) 0:00:17.760 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.045) 0:00:17.806 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.036) 0:00:17.842 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.022) 0:00:17.864 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.028) 0:00:17.893 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.771) 0:00:18.664 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.926) 0:00:19.591 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.022) 0:00:19.613 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.021) 0:00:19.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.019) 0:00:19.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.057) 0:00:19.713 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.040) 0:00:19.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.029) 0:00:19.783 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.026) 0:00:19.809 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.029) 0:00:19.838 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.246) 0:00:20.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.025) 0:00:20.111 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.040) 0:00:20.151 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.083) 0:00:20.234 ****** 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, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.294) 0:00:20.529 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.024) 0:00:20.554 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.025) 0:00:20.579 ****** 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, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5f7f58f-39a1-47de-b5fd-25a955fc9ef5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.033) 0:00:20.612 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.039) 0:00:20.652 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.199) 0:00:20.851 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.093) 0:00:20.945 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.039) 0:00:20.984 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461902.6168919, "block_size": 4096, "blocks": 0, "ctime": 1708461902.6158917, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17628, "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": 1708461902.6158917, "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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.143) 0:00:21.127 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.030) 0:00:21.158 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.044) 0:00:21.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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.034) 0:00:21.237 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461902.6708896, "block_size": 4096, "blocks": 8, "ctime": 1708461902.6148918, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461902.6148918, "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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.166) 0:00:21.403 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.023) 0:00:21.427 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021618", "end": "2024-02-20 20:45:06.843460", "rc": 0, "start": "2024-02-20 20:45:06.821842" } 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.151) 0:00:21.579 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.025) 0:00:21.604 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.026) 0:00:21.631 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.032) 0:00:21.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.023) 0:00:21.687 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.025) 0:00:21.712 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.031) 0:00:21.744 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.024) 0:00:21.769 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.022) 0:00:21.792 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.019) 0:00:21.811 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.020) 0:00:21.832 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.037) 0:00:21.869 ****** 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.081736", "end": "2024-02-20 20:45:07.344918", "rc": 1, "start": "2024-02-20 20:45:07.263182" } STDOUT: Connection 'statebr' (b5f7f58f-39a1-47de-b5fd-25a955fc9ef5) successfully deleted. STDERR: (process:30709): GLib-GIO-WARNING **: 20:45:07.321: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/49 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:83 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.210) 0:00:22.080 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.038) 0:00:22.118 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.056) 0:00:22.174 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.043) 0:00:22.218 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.033) 0:00:22.252 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.033) 0:00:22.285 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003652", "end": "2024-02-20 20:45:07.682538", "rc": 0, "start": "2024-02-20 20:45:07.678886" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.132) 0:00:22.417 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.024) 0:00:22.442 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.023) 0:00:22.465 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.040) 0:00:22.505 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.036) 0:00:22.542 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.039) 0:00:22.581 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.025) 0:00:22.607 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.027) 0:00:22.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.055) 0:00:22.691 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.687) 0:00:23.378 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.954) 0:00:24.332 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.022) 0:00:24.355 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.020) 0:00:24.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.020) 0:00:24.396 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.044) 0:00:24.441 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.021) 0:00:24.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.022) 0:00:24.486 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.027) 0:00:24.514 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.053) 0:00:24.568 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.232) 0:00:24.800 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.039) 0:00:24.839 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.032) 0:00:24.872 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.038) 0:00:24.910 ****** 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, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.335) 0:00:25.245 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.021) 0:00:25.266 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.022) 0:00:25.289 ****** 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, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.023) 0:00:25.312 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.020) 0:00:25.332 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.132) 0:00:25.465 ****** 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, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.025) 0:00:25.490 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.037) 0:00:25.527 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.038) 0:00:25.565 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.052) 0:00:25.618 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.026) 0:00:25.645 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.024) 0:00:25.669 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.691) 0:00:26.361 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.943) 0:00:27.305 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.026) 0:00:27.332 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.024) 0:00:27.357 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.032) 0:00:27.389 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.047) 0:00:27.437 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.025) 0:00:27.462 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.082) 0:00:27.545 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.026) 0:00:27.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.029) 0:00:27.602 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.243) 0:00:27.846 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.029) 0:00:27.875 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.020) 0:00:27.895 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.022) 0:00:27.917 ****** 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, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.279) 0:00:28.197 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.021) 0:00:28.219 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.023) 0:00:28.242 ****** 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, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.024) 0:00:28.267 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.022) 0:00:28.290 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.127) 0:00:28.417 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.037) 0:00:28.455 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.067) 0:00:28.523 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.043) 0:00:28.566 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.027) 0:00:28.593 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.025) 0:00:28.618 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.025) 0:00:28.644 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.703) 0:00:29.348 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.950) 0:00:30.298 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.024) 0:00:30.322 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.072) 0:00:30.395 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.031) 0:00:30.426 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.045) 0:00:30.472 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.021) 0:00:30.494 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.022) 0:00:30.517 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.025) 0:00:30.542 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.032) 0:00:30.575 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.253) 0:00:30.829 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.027) 0:00:30.857 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.020) 0:00:30.877 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.025) 0:00:30.902 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.330) 0:00:31.232 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.029) 0:00:31.262 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.035) 0:00:31.298 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.025) 0:00:31.323 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.028) 0:00:31.352 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.129) 0:00:31.482 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.076) 0:00:31.558 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.048) 0:00:31.606 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461910.4655836, "block_size": 4096, "blocks": 0, "ctime": 1708461910.456584, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17630, "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": 1708461910.456584, "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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.134) 0:00:31.740 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.029) 0:00:31.770 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.038) 0:00:31.809 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.022) 0:00:31.832 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.132) 0:00:31.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.021) 0:00:31.986 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022684", "end": "2024-02-20 20:45:17.405588", "rc": 1, "start": "2024-02-20 20:45:17.382904" } 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.157) 0:00:32.144 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.022) 0:00:32.166 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.020) 0:00:32.187 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.020) 0:00:32.208 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.020) 0:00:32.228 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.020) 0:00:32.249 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.022) 0:00:32.271 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.047) 0:00:32.319 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.032) 0:00:32.351 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.042) 0:00:32.394 ****** 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.081713", "end": "2024-02-20 20:45:17.873824", "rc": 1, "start": "2024-02-20 20:45:17.792111" } STDOUT: Connection 'statebr' (b1d4d15b-ff77-4abe-9c96-41bb7e0f9bf7) 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:103 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.217) 0:00:32.611 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.037) 0:00:32.648 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.023) 0:00:32.671 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.045) 0:00:32.717 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.036) 0:00:32.753 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.034) 0:00:32.788 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003747", "end": "2024-02-20 20:45:18.195040", "rc": 0, "start": "2024-02-20 20:45:18.191293" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.142) 0:00:32.930 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.021) 0:00:32.952 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.020) 0:00:32.973 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.066) 0:00:33.039 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.035) 0:00:33.075 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.038) 0:00:33.113 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.026) 0:00:33.140 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.021) 0:00:33.161 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.020) 0:00:33.182 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.684) 0:00:33.866 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.943) 0:00:34.810 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.032) 0:00:34.843 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.023) 0:00:34.866 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.029) 0:00:34.896 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.063) 0:00:34.959 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.022) 0:00:34.982 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.023) 0:00:35.005 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.025) 0:00:35.030 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.028) 0:00:35.059 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.251) 0:00:35.311 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.038) 0:00:35.349 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.021) 0:00:35.371 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.019) 0:00:35.390 ****** 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, e4196673-269b-4067-a422-2ab273a6c394 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.328) 0:00:35.718 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.039) 0:00:35.758 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4196673-269b-4067-a422-2ab273a6c394" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.047) 0:00:35.805 ****** 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, e4196673-269b-4067-a422-2ab273a6c394\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4196673-269b-4067-a422-2ab273a6c394" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.025) 0:00:35.831 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.074) 0:00:35.905 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.152) 0:00:36.058 ****** 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, e4196673-269b-4067-a422-2ab273a6c394\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4196673-269b-4067-a422-2ab273a6c394" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.024) 0:00:36.082 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.044) 0:00:36.127 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.040) 0:00:36.167 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.036) 0:00:36.203 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.032) 0:00:36.236 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.056) 0:00:36.292 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.702) 0:00:36.995 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.949) 0:00:37.944 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.021) 0:00:37.966 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.019) 0:00:37.985 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.019) 0:00:38.005 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.040) 0:00:38.045 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.020) 0:00:38.065 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.020) 0:00:38.086 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.023) 0:00:38.109 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.025) 0:00:38.135 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.232) 0:00:38.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.027) 0:00:38.394 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.028) 0:00:38.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.044) 0:00:38.467 ****** 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, e4196673-269b-4067-a422-2ab273a6c394 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.285) 0:00:38.753 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.024) 0:00:38.777 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e4196673-269b-4067-a422-2ab273a6c394 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.065) 0:00:38.842 ****** 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, e4196673-269b-4067-a422-2ab273a6c394 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e4196673-269b-4067-a422-2ab273a6c394 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.022) 0:00:38.865 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.027) 0:00:38.893 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.136) 0:00:39.029 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.035) 0:00:39.065 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.040) 0:00:39.106 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.030) 0:00:39.136 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.022) 0:00:39.159 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.024) 0:00:39.183 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.697) 0:00:39.881 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:26 +0000 (0:00:01.016) 0:00:40.897 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.027) 0:00:40.924 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.023) 0:00:40.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.031) 0:00:40.980 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.047) 0:00:41.028 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.022) 0:00:41.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.020) 0:00:41.070 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.028) 0:00:41.099 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.037) 0:00:41.136 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.241) 0:00:41.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.030) 0:00:41.409 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.022) 0:00:41.432 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.025) 0:00:41.457 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.445) 0:00:41.902 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.069) 0:00:41.971 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.025) 0:00:41.997 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.041) 0:00:42.038 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.033) 0:00:42.071 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.149) 0:00:42.221 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.061) 0:00:42.282 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.078) 0:00:42.361 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.056) 0:00:42.418 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.043) 0:00:42.462 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.038) 0:00:42.500 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.045) 0:00:42.545 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:28 +0000 (0:00:00.704) 0:00:43.249 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.952) 0:00:44.202 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.022) 0:00:44.224 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.020) 0:00:44.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.019) 0:00:44.264 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.058) 0:00:44.323 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.027) 0:00:44.351 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.050) 0:00:44.401 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.025) 0:00:44.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.025) 0:00:44.452 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.235) 0:00:44.687 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.025) 0:00:44.713 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.021) 0:00:44.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.024) 0:00:44.759 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.451) 0:00:45.210 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.068) 0:00:45.279 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.076) 0:00:45.356 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.065) 0:00:45.421 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.045) 0:00:45.467 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.184) 0:00:45.652 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.044) 0:00:45.696 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.043) 0:00:45.740 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.035) 0:00:45.776 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.160) 0:00:45.936 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.031) 0:00:45.967 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021119", "end": "2024-02-20 20:45:31.396325", "rc": 1, "start": "2024-02-20 20:45:31.375206" } 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.181) 0:00:46.148 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.045) 0:00:46.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.051) 0:00:46.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.040) 0:00:46.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.071) 0:00:46.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.031) 0:00:46.389 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.033) 0:00:46.423 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.049) 0:00:46.472 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.058) 0:00:46.530 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.253) 0:00:46.784 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.050) 0:00:46.835 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.056) 0:00:46.891 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.068) 0:00:46.959 ****** 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.043271", "end": "2024-02-20 20:45:32.411583", "rc": 1, "start": "2024-02-20 20:45:32.368312" } 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:126 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.193) 0:00:47.153 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.046) 0:00:47.199 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.024) 0:00:47.223 ****** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.047) 0:00:47.271 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.066) 0:00:47.337 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.035) 0:00:47.373 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003474", "end": "2024-02-20 20:45:32.776596", "rc": 0, "start": "2024-02-20 20:45:32.773122" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.144) 0:00:47.517 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.034) 0:00:47.552 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.024) 0:00:47.576 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.055) 0:00:47.631 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.036) 0:00:47.668 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.042) 0:00:47.710 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:33 +0000 (0:00:00.027) 0:00:47.737 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:33 +0000 (0:00:00.038) 0:00:47.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:33 +0000 (0:00:00.023) 0:00:47.799 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:33 +0000 (0:00:00.732) 0:00:48.532 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.933) 0:00:49.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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.036) 0:00:49.502 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.038) 0:00:49.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.037) 0:00:49.578 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.066) 0:00:49.645 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.022) 0:00:49.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.020) 0:00:49.688 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.028) 0:00:49.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.024) 0:00:49.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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.247) 0:00:49.988 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.046) 0:00:50.035 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.020) 0:00:50.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.048) 0:00:50.103 ****** 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, ab8948ce-01fc-4355-960d-ca83d2855636 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.353) 0:00:50.457 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.027) 0:00:50.484 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab8948ce-01fc-4355-960d-ca83d2855636" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.042) 0:00:50.527 ****** 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, ab8948ce-01fc-4355-960d-ca83d2855636\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab8948ce-01fc-4355-960d-ca83d2855636" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.033) 0:00:50.561 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.041) 0:00:50.602 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:45:36 +0000 (0:00:00.152) 0:00:50.754 ****** 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, ab8948ce-01fc-4355-960d-ca83d2855636\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab8948ce-01fc-4355-960d-ca83d2855636" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:45:36 +0000 (0:00:00.041) 0:00:50.796 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:36 +0000 (0:00:00.038) 0:00:50.834 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:36 +0000 (0:00:00.057) 0:00:50.891 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:36 +0000 (0:00:00.027) 0:00:50.919 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:36 +0000 (0:00:00.022) 0:00:50.942 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:36 +0000 (0:00:00.029) 0:00:50.971 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:36 +0000 (0:00:00.686) 0:00:51.658 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.938) 0:00:52.597 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.025) 0:00:52.622 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.021) 0:00:52.644 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.022) 0:00:52.666 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.048) 0:00:52.714 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.029) 0:00:52.744 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.039) 0:00:52.784 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.034) 0:00:52.818 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.029) 0:00:52.847 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.258) 0:00:53.106 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.065) 0:00:53.171 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.028) 0:00:53.200 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.022) 0:00:53.222 ****** 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, ab8948ce-01fc-4355-960d-ca83d2855636 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.369) 0:00:53.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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.088) 0:00:53.680 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab8948ce-01fc-4355-960d-ca83d2855636 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.052) 0:00:53.732 ****** 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, ab8948ce-01fc-4355-960d-ca83d2855636 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab8948ce-01fc-4355-960d-ca83d2855636 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.029) 0:00:53.762 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.037) 0:00:53.799 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.156) 0:00:53.956 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.045) 0:00:54.002 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.040) 0:00:54.042 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.025) 0:00:54.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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.019) 0:00:54.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.019) 0:00:54.107 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:40 +0000 (0:00:00.705) 0:00:54.812 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.923) 0:00:55.735 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.029) 0:00:55.765 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.023) 0:00:55.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.025) 0:00:55.815 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.046) 0:00:55.861 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.022) 0:00:55.884 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.034) 0:00:55.919 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.045) 0:00:55.964 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.025) 0:00:55.989 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.256) 0:00:56.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.026) 0:00:56.273 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.022) 0:00:56.295 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.030) 0:00:56.326 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.377) 0:00:56.704 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.032) 0:00:56.736 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.030) 0:00:56.766 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.025) 0:00:56.791 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.038) 0:00:56.829 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.149) 0:00:56.979 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.075) 0:00:57.054 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.061) 0:00:57.116 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.055) 0:00:57.172 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.050) 0:00:57.222 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.033) 0:00:57.256 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.067) 0:00:57.323 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:43 +0000 (0:00:00.726) 0:00:58.049 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.924) 0:00:58.973 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.025) 0:00:58.999 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.022) 0:00:59.022 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.028) 0:00:59.050 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.058) 0:00:59.109 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.028) 0:00:59.137 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.034) 0:00:59.172 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.070) 0:00:59.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.121) 0:00:59.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.270) 0:00:59.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.033) 0:00:59.668 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.022) 0:00:59.691 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.027) 0:00:59.718 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.374) 0:01:00.093 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.025) 0:01:00.118 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.027) 0:01:00.145 ****** 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-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.045) 0:01:00.190 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.045) 0:01:00.236 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.168) 0:01:00.404 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.080) 0:01:00.485 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.039) 0:01:00.524 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.022) 0:01:00.547 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.149) 0:01:00.696 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.091) 0:01:00.787 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020673", "end": "2024-02-20 20:45:46.216765", "rc": 1, "start": "2024-02-20 20:45:46.196092" } 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.166) 0:01:00.953 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.041) 0:01:00.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.028) 0:01:01.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.048) 0:01:01.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.025) 0:01:01.097 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.042) 0:01:01.140 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.023) 0:01:01.163 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.686998", "end": "2024-02-20 20:45:47.244723", "rc": 0, "start": "2024-02-20 20:45:46.557725" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.837) 0:01:02.001 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.054) 0:01:02.055 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.036) 0:01:02.091 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.046) 0:01:02.138 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.035) 0:01:02.173 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.182) 0:01:02.356 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.034) 0:01:02.390 ****** 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-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.022) 0:01:02.413 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.046) 0:01:02.459 ****** 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.045457", "end": "2024-02-20 20:45:47.903440", "rc": 1, "start": "2024-02-20 20:45:47.857983" } 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 [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.186) 0:01:02.645 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007942", "end": "2024-02-20 20:45:48.049198", "rc": 0, "start": "2024-02-20 20:45:48.041256" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:cc:fb:75:82:3f brd ff:ff:ff:ff:ff:ff inet 10.31.45.38/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3094sec preferred_lft 3094sec inet6 fe80::cc:fbff:fe75:823f/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 82:4e:1c:fe:d6:f2 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.38 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 February 2024 20:45:48 +0000 (0:00:00.142) 0:01:02.787 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.788209", "end": "2024-02-20 20:45:48.978755", "rc": 0, "start": "2024-02-20 20:45:48.190546" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 778 0 --:--:-- --:--:-- --:--:-- 780 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 779 0 --:--:-- --:--:-- --:--:-- 778 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=261 rescued=0 ignored=11 Tuesday 20 February 2024 20:45:48 +0000 (0:00:00.917) 0:01:03.704 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.82s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Enable and start NetworkManager ------------ 1.37s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 linux-system-roles.network : Configure networking connection profiles --- 1.23s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Configure networking connection profiles --- 1.20s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.98s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-nm_plugin_hotfixgacpe91v/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. ---^---^---^---^---^---