# 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-bond_options_rewritegy7mn240/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tests_states_nm.yml:6 Tuesday 30 January 2024 21:39:15 +0000 (0:00:00.017) 0:00:00.017 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tests_states_nm.yml:9 Tuesday 30 January 2024 21:39:15 +0000 (0:00:00.581) 0:00:00.599 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/tasks/el_repo_setup.yml:3 Tuesday 30 January 2024 21:39:15 +0000 (0:00:00.028) 0:00:00.628 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tasks/el_repo_setup.yml:19 Tuesday 30 January 2024 21:39:16 +0000 (0:00:00.233) 0:00:00.861 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tasks/el_repo_setup.yml:24 Tuesday 30 January 2024 21:39:16 +0000 (0:00:00.226) 0:00:01.088 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tasks/el_repo_setup.yml:28 Tuesday 30 January 2024 21:39:16 +0000 (0:00:00.034) 0:00:01.122 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tasks/el_repo_setup.yml:53 Tuesday 30 January 2024 21:39:16 +0000 (0:00:00.024) 0:00:01.147 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tasks/enable_epel.yml:8 Tuesday 30 January 2024 21:39:16 +0000 (0:00:00.042) 0:00:01.189 ******* 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-bond_options_rewritegy7mn240/tests/tasks/enable_epel.yml:24 Tuesday 30 January 2024 21:39:16 +0000 (0:00:00.242) 0:00:01.431 ******* 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-bond_options_rewritegy7mn240/tests/tasks/enable_epel.yml:30 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.483) 0:00:01.915 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.176867", "end": "2024-01-30 21:39:17.373565", "rc": 0, "start": "2024-01-30 21:39:17.196698" } 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-bond_options_rewritegy7mn240/tests/tasks/enable_epel.yml:35 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.304) 0:00:02.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tasks/enable_epel.yml:40 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.016) 0:00:02.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/tests_states_nm.yml:11 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.013) 0:00:02.249 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tests_states.yml:3 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.015) 0:00:02.264 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tests_states.yml:11 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.373) 0:00:02.637 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tests_states.yml:22 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.013) 0:00:02.651 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.022) 0:00:02.673 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.016) 0:00:02.690 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.051) 0:00:02.742 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.022) 0:00:02.764 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:39:17 +0000 (0:00:00.019) 0:00:02.783 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004578", "end": "2024-01-30 21:39:19.071716", "rc": 0, "start": "2024-01-30 21:39:18.067138" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:39:19 +0000 (0:00:01.133) 0:00:03.917 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.015) 0:00:03.933 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.014) 0:00:03.947 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.028) 0:00:03.976 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010962", "end": "2024-01-30 21:39:19.267473", "rc": 1, "start": "2024-01-30 21:39:19.256511" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.135) 0:00:04.111 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.020) 0:00:04.131 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.135) 0:00:04.267 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.019) 0:00:04.286 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.030) 0:00:04.316 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.059) 0:00:04.376 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.102) 0:00:04.478 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.015) 0:00:04.493 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.014) 0:00:04.508 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:19 +0000 (0:00:00.014) 0:00:04.522 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:20 +0000 (0:00:00.790) 0:00:05.312 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:39:21 +0000 (0:00:01.189) 0:00:06.502 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:39:21 +0000 (0:00:00.029) 0:00:06.532 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:39:21 +0000 (0:00:00.028) 0:00:06.560 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:39:21 +0000 (0:00:00.039) 0:00:06.600 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:39:21 +0000 (0:00:00.077) 0:00:06.677 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:39:21 +0000 (0:00:00.036) 0:00:06.714 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:39:21 +0000 (0:00:00.037) 0:00:06.751 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:39:21 +0000 (0:00:00.052) 0:00:06.803 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:39:22 +0000 (0:00:00.452) 0:00:07.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:39:22 +0000 (0:00:00.043) 0:00:07.299 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:39:22 +0000 (0:00:00.030) 0:00:07.330 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:39:22 +0000 (0:00:00.039) 0:00:07.369 ******* 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, d83080a3-5eab-4700-bf93-d989ff7d413c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.532) 0:00:07.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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.060) 0:00:07.962 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d83080a3-5eab-4700-bf93-d989ff7d413c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.034) 0:00:07.997 ******* 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, d83080a3-5eab-4700-bf93-d989ff7d413c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d83080a3-5eab-4700-bf93-d989ff7d413c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.042) 0:00:08.040 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.036) 0:00:08.076 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.254) 0:00:08.330 ******* 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, d83080a3-5eab-4700-bf93-d989ff7d413c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d83080a3-5eab-4700-bf93-d989ff7d413c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.044) 0:00:08.375 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.058) 0:00:08.433 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.059) 0:00:08.493 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.035) 0:00:08.528 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650762.9788094, "block_size": 4096, "blocks": 8, "ctime": 1706650762.9778094, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706650762.9778094, "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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.143) 0:00:08.671 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:39:23 +0000 (0:00:00.030) 0:00:08.702 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023979", "end": "2024-01-30 21:39:24.007064", "rc": 0, "start": "2024-01-30 21:39:23.983085" } 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.164) 0:00:08.866 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.032) 0:00:08.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.031) 0:00:08.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.030) 0:00:08.960 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.062) 0:00:09.022 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.032) 0:00:09.055 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.031) 0:00:09.087 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.033) 0:00:09.120 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.028) 0:00:09.148 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.067) 0:00:09.216 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.054) 0:00:09.271 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650762.986809, "block_size": 4096, "blocks": 0, "ctime": 1706650762.9808092, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17598, "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": 1706650762.9808092, "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-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.144) 0:00:09.415 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.032) 0:00:09.448 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.028) 0:00:09.477 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.051) 0:00:09.528 ******* 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.079770", "end": "2024-01-30 21:39:24.889850", "rc": 1, "start": "2024-01-30 21:39:24.810080" } STDOUT: Connection 'statebr' (d83080a3-5eab-4700-bf93-d989ff7d413c) successfully deleted. STDERR: (process:30003): GLib-GIO-WARNING **: 21:39:24.868: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/46 but no object proxy exists (process:30003): GLib-GIO-WARNING **: 21:39:24.868: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/81 but no object proxy exists (process:30003): GLib-GIO-WARNING **: 21:39:24.868: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/51 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-bond_options_rewritegy7mn240/tests/playbooks/tests_states.yml:45 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.218) 0:00:09.747 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:39:24 +0000 (0:00:00.049) 0:00:09.796 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:39:25 +0000 (0:00:00.064) 0:00:09.861 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:39:25 +0000 (0:00:00.059) 0:00:09.920 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:39:25 +0000 (0:00:00.050) 0:00:09.971 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:39:25 +0000 (0:00:00.045) 0:00:10.016 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004617", "end": "2024-01-30 21:39:26.302650", "rc": 0, "start": "2024-01-30 21:39:25.298033" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:39:26 +0000 (0:00:01.145) 0:00:11.161 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:39:26 +0000 (0:00:00.027) 0:00:11.189 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:39:26 +0000 (0:00:00.027) 0:00:11.217 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 30 January 2024 21:39:26 +0000 (0:00:00.060) 0:00:11.277 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008248", "end": "2024-01-30 21:39:26.566732", "rc": 1, "start": "2024-01-30 21:39:26.558484" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:39:26 +0000 (0:00:00.149) 0:00:11.426 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:39:26 +0000 (0:00:00.097) 0:00:11.524 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:39:26 +0000 (0:00:00.151) 0:00:11.675 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:39:26 +0000 (0:00:00.039) 0:00:11.714 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 30 January 2024 21:39:26 +0000 (0:00:00.052) 0:00:11.767 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:26 +0000 (0:00:00.058) 0:00:11.825 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:27 +0000 (0:00:00.056) 0:00:11.881 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:27 +0000 (0:00:00.035) 0:00:11.917 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:27 +0000 (0:00:00.028) 0:00:11.946 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:27 +0000 (0:00:00.031) 0:00:11.977 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:27 +0000 (0:00:00.721) 0:00:12.698 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:39:28 +0000 (0:00:00.972) 0:00:13.671 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:39:28 +0000 (0:00:00.030) 0:00:13.701 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:39:28 +0000 (0:00:00.028) 0:00:13.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:39:28 +0000 (0:00:00.027) 0:00:13.758 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:39:28 +0000 (0:00:00.060) 0:00:13.818 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.028) 0:00:13.847 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.042) 0:00:13.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.046) 0:00:13.936 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.245) 0:00:14.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.038) 0:00:14.221 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.027) 0:00:14.249 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.030) 0:00:14.279 ******* 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, 72f8d0a5-6b87-4c73-8592-014f1b917228 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.353) 0:00:14.632 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.033) 0:00:14.666 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 72f8d0a5-6b87-4c73-8592-014f1b917228" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.032) 0:00:14.698 ******* 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, 72f8d0a5-6b87-4c73-8592-014f1b917228\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 72f8d0a5-6b87-4c73-8592-014f1b917228" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.033) 0:00:14.731 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:39:29 +0000 (0:00:00.040) 0:00:14.771 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.140) 0:00:14.912 ******* 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, 72f8d0a5-6b87-4c73-8592-014f1b917228\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 72f8d0a5-6b87-4c73-8592-014f1b917228" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.029) 0:00:14.941 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.059) 0:00:15.001 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.069) 0:00:15.070 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.142) 0:00:15.213 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.031) 0:00:15.244 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.053) 0:00:15.298 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.026) 0:00:15.324 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650769.7575774, "block_size": 4096, "blocks": 8, "ctime": 1706650769.7575774, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706650769.7575774, "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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.198) 0:00:15.522 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.041) 0:00:15.564 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022042", "end": "2024-01-30 21:39:30.870146", "rc": 0, "start": "2024-01-30 21:39:30.848104" } 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.168) 0:00:15.733 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.033) 0:00:15.766 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.031) 0:00:15.798 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:39:30 +0000 (0:00:00.030) 0:00:15.828 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.032) 0:00:15.860 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.035) 0:00:15.896 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.041) 0:00:15.937 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.037) 0:00:15.975 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.044) 0:00:16.020 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.027) 0:00:16.047 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.033) 0:00:16.081 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.073) 0:00:16.154 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047546", "end": "2024-01-30 21:39:31.487893", "rc": 1, "start": "2024-01-30 21:39:31.440347" } STDOUT: Connection 'statebr' (72f8d0a5-6b87-4c73-8592-014f1b917228) 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-bond_options_rewritegy7mn240/tests/playbooks/tests_states.yml:65 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.204) 0:00:16.358 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.107) 0:00:16.465 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.056) 0:00:16.522 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.069) 0:00:16.591 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.049) 0:00:16.640 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:39:31 +0000 (0:00:00.069) 0:00:16.709 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-01-30 21:39:31.997094", "rc": 0, "start": "2024-01-30 21:39:31.993624" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:39:32 +0000 (0:00:00.145) 0:00:16.855 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:39:32 +0000 (0:00:00.030) 0:00:16.886 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:39:32 +0000 (0:00:00.032) 0:00:16.918 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:39:32 +0000 (0:00:00.056) 0:00:16.975 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:32 +0000 (0:00:00.049) 0:00:17.025 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:32 +0000 (0:00:00.073) 0:00:17.098 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:32 +0000 (0:00:00.045) 0:00:17.144 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:32 +0000 (0:00:00.043) 0:00:17.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:32 +0000 (0:00:00.087) 0:00:17.274 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:33 +0000 (0:00:00.723) 0:00:17.998 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.951) 0:00:18.950 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.053) 0:00:19.004 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.044) 0:00:19.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.038) 0:00:19.087 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.073) 0:00:19.161 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.038) 0:00:19.199 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.035) 0:00:19.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.070) 0:00:19.306 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.243) 0:00:19.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.034) 0:00:19.584 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.026) 0:00:19.610 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:39:34 +0000 (0:00:00.027) 0:00:19.638 ******* 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, e5b6a517-7dce-42ac-9d3d-e99987acfd63 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.349) 0:00:19.987 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.028) 0:00:20.016 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5b6a517-7dce-42ac-9d3d-e99987acfd63" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.029) 0:00:20.045 ******* 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, e5b6a517-7dce-42ac-9d3d-e99987acfd63\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5b6a517-7dce-42ac-9d3d-e99987acfd63" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.031) 0:00:20.077 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.029) 0:00:20.106 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.138) 0:00:20.245 ******* 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, e5b6a517-7dce-42ac-9d3d-e99987acfd63\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5b6a517-7dce-42ac-9d3d-e99987acfd63" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.034) 0:00:20.279 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.077) 0:00:20.357 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.096) 0:00:20.453 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.064) 0:00:20.518 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.036) 0:00:20.554 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.027) 0:00:20.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:35 +0000 (0:00:00.028) 0:00:20.611 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:36 +0000 (0:00:00.709) 0:00:21.321 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:39:37 +0000 (0:00:00.938) 0:00:22.259 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:39:37 +0000 (0:00:00.031) 0:00:22.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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:39:37 +0000 (0:00:00.069) 0:00:22.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:39:37 +0000 (0:00:00.028) 0:00:22.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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:39:37 +0000 (0:00:00.067) 0:00:22.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:39:37 +0000 (0:00:00.028) 0:00:22.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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:39:37 +0000 (0:00:00.028) 0:00:22.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:39:37 +0000 (0:00:00.035) 0:00:22.549 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:39:37 +0000 (0:00:00.273) 0:00:22.823 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.038) 0:00:22.862 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.030) 0:00:22.893 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.029) 0:00:22.922 ******* 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, e5b6a517-7dce-42ac-9d3d-e99987acfd63 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.315) 0:00:23.238 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.035) 0:00:23.274 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5b6a517-7dce-42ac-9d3d-e99987acfd63 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.035) 0:00:23.309 ******* 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, e5b6a517-7dce-42ac-9d3d-e99987acfd63 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5b6a517-7dce-42ac-9d3d-e99987acfd63 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.041) 0:00:23.350 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.030) 0:00:23.381 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.147) 0:00:23.529 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.131) 0:00:23.661 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:39:38 +0000 (0:00:00.067) 0:00:23.728 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650775.0723956, "block_size": 4096, "blocks": 0, "ctime": 1706650775.0713956, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17598, "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": 1706650775.0713956, "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-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.168) 0:00:23.896 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.047) 0:00:23.943 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.057) 0:00:24.001 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.030) 0:00:24.032 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650775.0703957, "block_size": 4096, "blocks": 8, "ctime": 1706650775.0693958, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706650775.0693958, "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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.157) 0:00:24.189 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.043) 0:00:24.233 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022089", "end": "2024-01-30 21:39:39.543309", "rc": 0, "start": "2024-01-30 21:39:39.521220" } 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.170) 0:00:24.403 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.035) 0:00:24.438 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.034) 0:00:24.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.035) 0:00:24.508 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.032) 0:00:24.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.033) 0:00:24.574 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.087) 0:00:24.661 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.037) 0:00:24.698 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.031) 0:00:24.730 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.027) 0:00:24.757 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:39:39 +0000 (0:00:00.028) 0:00:24.785 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.052) 0:00:24.838 ******* 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.078609", "end": "2024-01-30 21:39:40.200076", "rc": 1, "start": "2024-01-30 21:39:40.121467" } STDOUT: Connection 'statebr' (e5b6a517-7dce-42ac-9d3d-e99987acfd63) 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-bond_options_rewritegy7mn240/tests/playbooks/tests_states.yml:83 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.227) 0:00:25.065 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.061) 0:00:25.126 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.028) 0:00:25.155 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.080) 0:00:25.235 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.058) 0:00:25.294 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.043) 0:00:25.337 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003677", "end": "2024-01-30 21:39:40.623452", "rc": 0, "start": "2024-01-30 21:39:40.619775" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.145) 0:00:25.483 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.065) 0:00:25.549 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.028) 0:00:25.577 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.057) 0:00:25.634 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.046) 0:00:25.681 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.052) 0:00:25.734 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.033) 0:00:25.768 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.026) 0:00:25.794 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:40 +0000 (0:00:00.027) 0:00:25.822 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:41 +0000 (0:00:00.703) 0:00:26.526 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:39:42 +0000 (0:00:01.003) 0:00:27.530 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:39:42 +0000 (0:00:00.036) 0:00:27.566 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:39:42 +0000 (0:00:00.040) 0:00:27.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:39:42 +0000 (0:00:00.031) 0:00:27.638 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:39:42 +0000 (0:00:00.071) 0:00:27.709 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:39:42 +0000 (0:00:00.038) 0:00:27.748 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:39:42 +0000 (0:00:00.034) 0:00:27.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.049) 0:00:27.832 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.269) 0:00:28.101 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.038) 0:00:28.140 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.032) 0:00:28.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.028) 0:00:28.201 ******* 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, e0bafa91-6bbd-434b-b49e-583e856ada10 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.428) 0:00:28.630 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.027) 0:00:28.657 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0bafa91-6bbd-434b-b49e-583e856ada10" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.029) 0:00:28.687 ******* 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, e0bafa91-6bbd-434b-b49e-583e856ada10\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0bafa91-6bbd-434b-b49e-583e856ada10" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.030) 0:00:28.717 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:39:43 +0000 (0:00:00.027) 0:00:28.745 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:39:44 +0000 (0:00:00.137) 0:00:28.882 ******* 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, e0bafa91-6bbd-434b-b49e-583e856ada10\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0bafa91-6bbd-434b-b49e-583e856ada10" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 30 January 2024 21:39:44 +0000 (0:00:00.031) 0:00:28.913 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:44 +0000 (0:00:00.049) 0:00:28.963 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:44 +0000 (0:00:00.058) 0:00:29.022 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:44 +0000 (0:00:00.041) 0:00:29.063 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:44 +0000 (0:00:00.026) 0:00:29.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:44 +0000 (0:00:00.026) 0:00:29.116 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:45 +0000 (0:00:00.742) 0:00:29.859 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:39:45 +0000 (0:00:00.956) 0:00:30.815 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.036) 0:00:30.851 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.037) 0:00:30.889 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.046) 0:00:30.935 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.070) 0:00:31.006 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.028) 0:00:31.034 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.030) 0:00:31.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.044) 0:00:31.109 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.267) 0:00:31.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.045) 0:00:31.423 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.030) 0:00:31.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.064) 0:00:31.518 ******* 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, e0bafa91-6bbd-434b-b49e-583e856ada10 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:39:46 +0000 (0:00:00.303) 0:00:31.821 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.030) 0:00:31.851 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e0bafa91-6bbd-434b-b49e-583e856ada10 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.033) 0:00:31.884 ******* 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, e0bafa91-6bbd-434b-b49e-583e856ada10 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e0bafa91-6bbd-434b-b49e-583e856ada10 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.034) 0:00:31.919 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.037) 0:00:31.957 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.137) 0:00:32.094 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.064) 0:00:32.159 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.052) 0:00:32.211 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.050) 0:00:32.261 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.042) 0:00:32.303 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.029) 0:00:32.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:47 +0000 (0:00:00.029) 0:00:32.362 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:48 +0000 (0:00:00.761) 0:00:33.123 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.962) 0:00:34.086 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.030) 0:00:34.117 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.027) 0:00:34.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.027) 0:00:34.172 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.058) 0:00:34.230 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.027) 0:00:34.258 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.029) 0:00:34.288 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.033) 0:00:34.321 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.281) 0:00:34.603 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.044) 0:00:34.648 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.028) 0:00:34.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:39:49 +0000 (0:00:00.026) 0:00:34.704 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.341) 0:00:35.045 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.037) 0:00:35.083 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.040) 0:00:35.124 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.033) 0:00:35.158 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.028) 0:00:35.186 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.149) 0:00:35.335 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.061) 0:00:35.397 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.044) 0:00:35.441 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650783.6911008, "block_size": 4096, "blocks": 0, "ctime": 1706650783.6901007, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17600, "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": 1706650783.6901007, "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-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.141) 0:00:35.583 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.077) 0:00:35.660 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.049) 0:00:35.710 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:39:50 +0000 (0:00:00.035) 0:00:35.745 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.143) 0:00:35.888 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.032) 0:00:35.921 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021839", "end": "2024-01-30 21:39:51.225339", "rc": 1, "start": "2024-01-30 21:39:51.203500" } 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.163) 0:00:36.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.030) 0:00:36.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.034) 0:00:36.150 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.037) 0:00:36.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.030) 0:00:36.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.038) 0:00:36.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.035) 0:00:36.292 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.029) 0:00:36.322 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.039) 0:00:36.362 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.056) 0:00:36.418 ******* 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.071707", "end": "2024-01-30 21:39:51.771205", "rc": 1, "start": "2024-01-30 21:39:51.699498" } STDOUT: Connection 'statebr' (e0bafa91-6bbd-434b-b49e-583e856ada10) 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-bond_options_rewritegy7mn240/tests/playbooks/tests_states.yml:103 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.247) 0:00:36.666 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.050) 0:00:36.716 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:39:51 +0000 (0:00:00.044) 0:00:36.760 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.072) 0:00:36.833 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.060) 0:00:36.894 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.063) 0:00:36.958 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003694", "end": "2024-01-30 21:39:52.244209", "rc": 0, "start": "2024-01-30 21:39:52.240515" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.157) 0:00:37.115 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.041) 0:00:37.157 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.034) 0:00:37.192 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.086) 0:00:37.279 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.071) 0:00:37.350 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.091) 0:00:37.441 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.136) 0:00:37.578 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.028) 0:00:37.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:52 +0000 (0:00:00.033) 0:00:37.640 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:53 +0000 (0:00:00.696) 0:00:38.336 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:39:54 +0000 (0:00:00.937) 0:00:39.274 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:39:54 +0000 (0:00:00.031) 0:00:39.305 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:39:54 +0000 (0:00:00.038) 0:00:39.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:39:54 +0000 (0:00:00.039) 0:00:39.384 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:39:54 +0000 (0:00:00.101) 0:00:39.486 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:39:54 +0000 (0:00:00.031) 0:00:39.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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:39:54 +0000 (0:00:00.041) 0:00:39.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:39:54 +0000 (0:00:00.033) 0:00:39.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.244) 0:00:39.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.034) 0:00:39.871 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.041) 0:00:39.913 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.030) 0:00:39.943 ******* 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, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.339) 0:00:40.283 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.027) 0:00:40.310 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.036) 0:00:40.347 ******* 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, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.046) 0:00:40.394 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.030) 0:00:40.424 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.140) 0:00:40.564 ******* 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, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.031) 0:00:40.595 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.101) 0:00:40.697 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.073) 0:00:40.771 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:55 +0000 (0:00:00.045) 0:00:40.816 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:56 +0000 (0:00:00.031) 0:00:40.848 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:56 +0000 (0:00:00.040) 0:00:40.888 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:56 +0000 (0:00:00.709) 0:00:41.597 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:39:57 +0000 (0:00:00.940) 0:00:42.537 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:39:57 +0000 (0:00:00.028) 0:00:42.566 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:39:57 +0000 (0:00:00.071) 0:00:42.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:39:57 +0000 (0:00:00.028) 0:00:42.667 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:39:57 +0000 (0:00:00.061) 0:00:42.728 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:39:57 +0000 (0:00:00.028) 0:00:42.757 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:39:57 +0000 (0:00:00.029) 0:00:42.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:39:57 +0000 (0:00:00.036) 0:00:42.822 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.259) 0:00:43.082 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.036) 0:00:43.119 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.032) 0:00:43.152 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.028) 0:00:43.180 ******* 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, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.293) 0:00:43.473 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.033) 0:00:43.506 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.031) 0:00:43.538 ******* 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, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8f925b40-f303-4dd2-bfaa-d7eb3e1117f5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.030) 0:00:43.569 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.028) 0:00:43.597 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.136) 0:00:43.734 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:39:58 +0000 (0:00:00.085) 0:00:43.819 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:39:59 +0000 (0:00:00.054) 0:00:43.873 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:39:59 +0000 (0:00:00.034) 0:00:43.908 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:39:59 +0000 (0:00:00.028) 0:00:43.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:39:59 +0000 (0:00:00.028) 0:00:43.965 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:39:59 +0000 (0:00:00.708) 0:00:44.673 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:40:00 +0000 (0:00:00.949) 0:00:45.623 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:40:00 +0000 (0:00:00.094) 0:00:45.717 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:40:00 +0000 (0:00:00.039) 0:00:45.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:40:00 +0000 (0:00:00.039) 0:00:45.796 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.076) 0:00:45.873 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.032) 0:00:45.905 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.029) 0:00:45.934 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.034) 0:00:45.969 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.251) 0:00:46.221 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.044) 0:00:46.265 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.041) 0:00:46.307 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.028) 0:00:46.335 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.346) 0:00:46.682 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.039) 0:00:46.721 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.034) 0:00:46.756 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:40:01 +0000 (0:00:00.048) 0:00:46.805 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:40:02 +0000 (0:00:00.040) 0:00:46.846 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:40:02 +0000 (0:00:00.203) 0:00:47.050 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 January 2024 21:40:02 +0000 (0:00:00.063) 0:00:47.114 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:40:02 +0000 (0:00:00.057) 0:00:47.171 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:40:02 +0000 (0:00:00.066) 0:00:47.237 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:40:02 +0000 (0:00:00.037) 0:00:47.275 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:40:02 +0000 (0:00:00.027) 0:00:47.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:40:02 +0000 (0:00:00.029) 0:00:47.332 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:40:03 +0000 (0:00:00.697) 0:00:48.030 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.935) 0:00:48.965 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.030) 0:00:48.995 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.029) 0:00:49.025 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.029) 0:00:49.055 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.058) 0:00:49.113 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.028) 0:00:49.141 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.027) 0:00:49.169 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.035) 0:00:49.204 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.245) 0:00:49.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.033) 0:00:49.483 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.029) 0:00:49.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:40:04 +0000 (0:00:00.029) 0:00:49.542 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.401) 0:00:49.944 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.080) 0:00:50.024 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.036) 0:00:50.060 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.032) 0:00:50.093 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.029) 0:00:50.122 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.137) 0:00:50.259 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.073) 0:00:50.333 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.059) 0:00:50.392 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.031) 0:00:50.423 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.141) 0:00:50.565 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.026) 0:00:50.591 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019313", "end": "2024-01-30 21:40:05.893765", "rc": 1, "start": "2024-01-30 21:40:05.874452" } 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.171) 0:00:50.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:40:05 +0000 (0:00:00.037) 0:00:50.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.029) 0:00:50.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.038) 0:00:50.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.031) 0:00:50.901 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.090) 0:00:50.991 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.038) 0:00:51.030 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.068) 0:00:51.099 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.056) 0:00:51.156 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.142) 0:00:51.299 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.043) 0:00:51.343 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.029) 0:00:51.372 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.054) 0:00:51.426 ******* 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.041632", "end": "2024-01-30 21:40:06.752265", "rc": 1, "start": "2024-01-30 21:40:06.710633" } 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-bond_options_rewritegy7mn240/tests/playbooks/tests_states.yml:126 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.185) 0:00:51.612 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.052) 0:00:51.664 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.034) 0:00:51.699 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:40:06 +0000 (0:00:00.078) 0:00:51.777 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.110) 0:00:51.888 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.045) 0:00:51.934 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003496", "end": "2024-01-30 21:40:07.222212", "rc": 0, "start": "2024-01-30 21:40:07.218716" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.155) 0:00:52.089 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.029) 0:00:52.119 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.034) 0:00:52.154 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.061) 0:00:52.216 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.074) 0:00:52.291 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.080) 0:00:52.371 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.035) 0:00:52.407 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.030) 0:00:52.437 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:40:07 +0000 (0:00:00.032) 0:00:52.470 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:40:08 +0000 (0:00:00.744) 0:00:53.215 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.941) 0:00:54.156 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.030) 0:00:54.186 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.032) 0:00:54.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.028) 0:00:54.247 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.072) 0:00:54.320 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.040) 0:00:54.360 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.042) 0:00:54.403 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.046) 0:00:54.449 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.262) 0:00:54.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:40:09 +0000 (0:00:00.033) 0:00:54.745 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.088) 0:00:54.834 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.032) 0:00:54.866 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 71703d57-669f-4520-8040-b2492b3dd875 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.344) 0:00:55.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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.029) 0:00:55.240 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 71703d57-669f-4520-8040-b2492b3dd875" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.038) 0:00:55.279 ******* 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, 71703d57-669f-4520-8040-b2492b3dd875\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 71703d57-669f-4520-8040-b2492b3dd875" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.031) 0:00:55.310 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.033) 0:00:55.344 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.144) 0:00:55.488 ******* 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, 71703d57-669f-4520-8040-b2492b3dd875\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 71703d57-669f-4520-8040-b2492b3dd875" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.033) 0:00:55.522 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.065) 0:00:55.587 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.054) 0:00:55.641 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.035) 0:00:55.677 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.030) 0:00:55.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:40:10 +0000 (0:00:00.027) 0:00:55.735 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:40:11 +0000 (0:00:00.699) 0:00:56.435 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:40:12 +0000 (0:00:00.933) 0:00:57.368 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:40:12 +0000 (0:00:00.029) 0:00:57.397 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:40:12 +0000 (0:00:00.031) 0:00:57.429 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:40:12 +0000 (0:00:00.029) 0:00:57.458 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:40:12 +0000 (0:00:00.070) 0:00:57.529 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:40:12 +0000 (0:00:00.030) 0:00:57.559 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:40:12 +0000 (0:00:00.028) 0:00:57.587 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:40:12 +0000 (0:00:00.037) 0:00:57.624 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.294) 0:00:57.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.033) 0:00:57.953 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.029) 0:00:57.982 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.029) 0:00:58.011 ******* 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, 71703d57-669f-4520-8040-b2492b3dd875 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.302) 0:00:58.314 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.028) 0:00:58.343 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 71703d57-669f-4520-8040-b2492b3dd875 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.040) 0:00:58.384 ******* 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, 71703d57-669f-4520-8040-b2492b3dd875 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 71703d57-669f-4520-8040-b2492b3dd875 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.042) 0:00:58.427 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.028) 0:00:58.455 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.141) 0:00:58.596 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.048) 0:00:58.644 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.072) 0:00:58.717 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.037) 0:00:58.754 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:40:13 +0000 (0:00:00.029) 0:00:58.784 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:40:14 +0000 (0:00:00.079) 0:00:58.864 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:40:14 +0000 (0:00:00.701) 0:00:59.565 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:40:15 +0000 (0:00:00.942) 0:01:00.507 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:40:15 +0000 (0:00:00.032) 0:01:00.539 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:40:15 +0000 (0:00:00.040) 0:01:00.579 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:40:15 +0000 (0:00:00.033) 0:01:00.613 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:40:15 +0000 (0:00:00.082) 0:01:00.696 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:40:15 +0000 (0:00:00.036) 0:01:00.732 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:40:15 +0000 (0:00:00.035) 0:01:00.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.083) 0:01:00.851 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.252) 0:01:01.103 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.040) 0:01:01.143 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.029) 0:01:01.173 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.038) 0:01:01.212 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.414) 0:01:01.627 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.028) 0:01:01.656 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.029) 0:01:01.685 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.030) 0:01:01.716 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:40:16 +0000 (0:00:00.027) 0:01:01.744 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:40:17 +0000 (0:00:00.140) 0:01:01.884 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 January 2024 21:40:17 +0000 (0:00:00.053) 0:01:01.937 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 30 January 2024 21:40:17 +0000 (0:00:00.048) 0:01:01.986 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:40:17 +0000 (0:00:00.112) 0:01:02.098 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 30 January 2024 21:40:17 +0000 (0:00:00.036) 0:01:02.135 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 30 January 2024 21:40:17 +0000 (0:00:00.029) 0:01:02.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 30 January 2024 21:40:17 +0000 (0:00:00.029) 0:01:02.194 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 30 January 2024 21:40:18 +0000 (0:00:00.726) 0:01:02.921 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.944) 0:01:03.865 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.038) 0:01:03.904 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.028) 0:01:03.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.030) 0:01:03.963 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.114) 0:01:04.078 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.027) 0:01:04.105 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.027) 0:01:04.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.033) 0:01:04.167 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.250) 0:01:04.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.035) 0:01:04.453 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.028) 0:01:04.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 30 January 2024 21:40:19 +0000 (0:00:00.030) 0:01:04.512 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.339) 0:01:04.852 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.028) 0:01:04.880 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.028) 0:01:04.908 ******* 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-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.029) 0:01:04.938 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.027) 0:01:04.966 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.135) 0:01:05.101 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.097) 0:01:05.198 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.060) 0:01:05.259 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.042) 0:01:05.302 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.151) 0:01:05.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.041) 0:01:05.494 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019894", "end": "2024-01-30 21:40:20.804777", "rc": 1, "start": "2024-01-30 21:40:20.784883" } 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.174) 0:01:05.669 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.044) 0:01:05.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.046) 0:01:05.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:40:20 +0000 (0:00:00.039) 0:01:05.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:40:21 +0000 (0:00:00.032) 0:01:05.832 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 January 2024 21:40:21 +0000 (0:00:00.035) 0:01:05.868 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 30 January 2024 21:40:21 +0000 (0:00:00.045) 0:01:05.914 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.684508", "end": "2024-01-30 21:40:21.885637", "rc": 0, "start": "2024-01-30 21:40:21.201129" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 30 January 2024 21:40:21 +0000 (0:00:00.831) 0:01:06.745 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 30 January 2024 21:40:21 +0000 (0:00:00.029) 0:01:06.775 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:40:22 +0000 (0:00:00.067) 0:01:06.843 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:40:22 +0000 (0:00:00.067) 0:01:06.910 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:40:22 +0000 (0:00:00.052) 0:01:06.963 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:40:22 +0000 (0:00:00.154) 0:01:07.118 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:40:22 +0000 (0:00:00.038) 0:01:07.157 ******* 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-bond_options_rewritegy7mn240/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:40:22 +0000 (0:00:00.031) 0:01:07.189 ******* included: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:40:22 +0000 (0:00:00.065) 0:01:07.254 ******* 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.045201", "end": "2024-01-30 21:40:22.583882", "rc": 1, "start": "2024-01-30 21:40:22.538681" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 30 January 2024 21:40:22 +0000 (0:00:00.172) 0:01:07.426 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.00s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.47s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.21s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.19s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.16s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewritegy7mn240/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.10s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritegy7mn240/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritegy7mn240/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. ---^---^---^---^---^---