# 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-ci_fixxvteou5m/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/tests_states_nm.yml:5 Thursday 21 December 2023 17:47:32 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/tests_states_nm.yml:9 Thursday 21 December 2023 17:47:32 +0000 (0:00:00.527) 0:00:00.538 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 17:47:32 +0000 (0:00:00.021) 0:00:00.560 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 17:47:32 +0000 (0:00:00.220) 0:00:00.781 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 17:47:33 +0000 (0:00:00.188) 0:00:00.969 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 17:47:33 +0000 (0:00:00.020) 0:00:00.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 17:47:33 +0000 (0:00:00.017) 0:00:01.007 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 17:47:33 +0000 (0:00:00.030) 0:00:01.037 ***** 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-ci_fixxvteou5m/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 17:47:33 +0000 (0:00:00.184) 0:00:01.222 ***** 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-ci_fixxvteou5m/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 17:47:33 +0000 (0:00:00.443) 0:00:01.666 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.191379", "end": "2023-12-21 17:47:34.126539", "rc": 0, "start": "2023-12-21 17:47:33.935160" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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-ci_fixxvteou5m/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.314) 0:00:01.980 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.010) 0:00:01.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/tests_states_nm.yml:11 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.009) 0:00:02.000 ***** 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-ci_fixxvteou5m/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.009) 0:00:02.010 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.416) 0:00:02.427 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.009) 0:00:02.436 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.014) 0:00:02.451 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.010) 0:00:02.462 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.032) 0:00:02.494 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.014) 0:00:02.509 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:47:34 +0000 (0:00:00.012) 0:00:02.521 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004571", "end": "2023-12-21 17:47:35.790462", "rc": 0, "start": "2023-12-21 17:47:34.785891" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:47:35 +0000 (0:00:01.122) 0:00:03.644 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:47:35 +0000 (0:00:00.011) 0:00:03.656 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:47:35 +0000 (0:00:00.010) 0:00:03.666 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 17:47:35 +0000 (0:00:00.019) 0:00:03.686 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010486", "end": "2023-12-21 17:47:35.964696", "rc": 1, "start": "2023-12-21 17:47:35.954210" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:47:35 +0000 (0:00:00.131) 0:00:03.817 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:47:35 +0000 (0:00:00.013) 0:00:03.831 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:47:36 +0000 (0:00:00.121) 0:00:03.952 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:47:36 +0000 (0:00:00.011) 0:00:03.964 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:47:36 +0000 (0:00:00.016) 0:00:03.981 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:47:36 +0000 (0:00:00.031) 0:00:04.012 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:47:36 +0000 (0:00:00.066) 0:00:04.078 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:47:36 +0000 (0:00:00.011) 0:00:04.089 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:47:36 +0000 (0:00:00.009) 0:00:04.099 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:47:36 +0000 (0:00:00.009) 0:00:04.108 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:47:37 +0000 (0:00:00.811) 0:00:04.920 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:47:37 +0000 (0:00:00.797) 0:00:05.717 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:47:37 +0000 (0:00:00.020) 0:00:05.738 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:47:37 +0000 (0:00:00.021) 0:00:05.759 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:47:37 +0000 (0:00:00.020) 0:00:05.780 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:47:37 +0000 (0:00:00.042) 0:00:05.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.019) 0:00:05.842 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.020) 0:00:05.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.024) 0:00:05.886 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.351) 0:00:06.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.023) 0:00:06.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.025) 0:00:06.287 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.020) 0:00:06.307 ***** 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, 28ed980f-9cac-4202-8862-66392724922e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.440) 0:00:06.748 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.019) 0:00:06.767 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28ed980f-9cac-4202-8862-66392724922e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.041) 0:00:06.809 ***** 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, 28ed980f-9cac-4202-8862-66392724922e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28ed980f-9cac-4202-8862-66392724922e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:47:38 +0000 (0:00:00.021) 0:00:06.830 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.019) 0:00:06.850 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.178) 0:00:07.028 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28ed980f-9cac-4202-8862-66392724922e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28ed980f-9cac-4202-8862-66392724922e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.023) 0:00:07.051 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.038) 0:00:07.090 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.034) 0:00:07.124 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.019) 0:00:07.144 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180858.8189366, "block_size": 4096, "blocks": 8, "ctime": 1703180858.8179367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703180858.8179367, "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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.131) 0:00:07.275 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.022) 0:00:07.297 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024030", "end": "2023-12-21 17:47:39.588352", "rc": 0, "start": "2023-12-21 17:47:39.564322" } 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.154) 0:00:07.451 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.022) 0:00:07.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.021) 0:00:07.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.021) 0:00:07.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.022) 0:00:07.539 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.049) 0:00:07.589 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.023) 0:00:07.612 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.023) 0:00:07.635 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.020) 0:00:07.655 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.040) 0:00:07.696 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:47:39 +0000 (0:00:00.033) 0:00:07.729 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180858.8299363, "block_size": 4096, "blocks": 0, "ctime": 1703180858.8209367, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17478, "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": 1703180858.8209367, "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-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.135) 0:00:07.864 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.021) 0:00:07.886 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.020) 0:00:07.906 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.036) 0:00:07.943 ***** 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.077120", "end": "2023-12-21 17:47:40.288759", "rc": 1, "start": "2023-12-21 17:47:40.211639" } STDOUT: Connection 'statebr' (28ed980f-9cac-4202-8862-66392724922e) successfully deleted. STDERR: (process:12381): GLib-GIO-WARNING **: 17:47:40.268: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/12 but no object proxy exists (process:12381): GLib-GIO-WARNING **: 17:47:40.268: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/26 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.208) 0:00:08.151 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.032) 0:00:08.184 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.020) 0:00:08.204 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.061) 0:00:08.265 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.032) 0:00:08.298 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:47:40 +0000 (0:00:00.030) 0:00:08.329 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004545", "end": "2023-12-21 17:47:41.599358", "rc": 0, "start": "2023-12-21 17:47:40.594813" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:47:41 +0000 (0:00:01.134) 0:00:09.463 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:47:41 +0000 (0:00:00.021) 0:00:09.485 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:47:41 +0000 (0:00:00.022) 0:00:09.507 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 17:47:41 +0000 (0:00:00.037) 0:00:09.545 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007231", "end": "2023-12-21 17:47:41.822567", "rc": 1, "start": "2023-12-21 17:47:41.815336" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:47:41 +0000 (0:00:00.140) 0:00:09.685 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:47:41 +0000 (0:00:00.033) 0:00:09.719 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:47:42 +0000 (0:00:00.150) 0:00:09.869 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:47:42 +0000 (0:00:00.021) 0:00:09.891 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 17:47:42 +0000 (0:00:00.037) 0:00:09.929 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:47:42 +0000 (0:00:00.038) 0:00:09.968 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:47:42 +0000 (0:00:00.037) 0:00:10.005 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:47:42 +0000 (0:00:00.025) 0:00:10.031 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:47:42 +0000 (0:00:00.019) 0:00:10.050 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:47:42 +0000 (0:00:00.018) 0:00:10.069 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:47:42 +0000 (0:00:00.754) 0:00:10.824 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:47:43 +0000 (0:00:00.664) 0:00:11.488 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:47:43 +0000 (0:00:00.021) 0:00:11.509 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:47:43 +0000 (0:00:00.020) 0:00:11.530 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:47:43 +0000 (0:00:00.020) 0:00:11.551 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:47:43 +0000 (0:00:00.041) 0:00:11.592 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:47:43 +0000 (0:00:00.019) 0:00:11.611 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:47:43 +0000 (0:00:00.019) 0:00:11.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:47:43 +0000 (0:00:00.022) 0:00:11.654 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.232) 0:00:11.886 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.023) 0:00:11.910 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.021) 0:00:11.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.019) 0:00:11.951 ***** 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, ef5d2184-f8d1-4d3d-a60d-d4482bbd837e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.293) 0:00:12.244 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.021) 0:00:12.266 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef5d2184-f8d1-4d3d-a60d-d4482bbd837e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.043) 0:00:12.309 ***** 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, ef5d2184-f8d1-4d3d-a60d-d4482bbd837e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef5d2184-f8d1-4d3d-a60d-d4482bbd837e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.021) 0:00:12.330 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.019) 0:00:12.350 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.136) 0:00:12.487 ***** 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, ef5d2184-f8d1-4d3d-a60d-d4482bbd837e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef5d2184-f8d1-4d3d-a60d-d4482bbd837e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.022) 0:00:12.509 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.039) 0:00:12.549 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.032) 0:00:12.581 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.132) 0:00:12.713 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.021) 0:00:12.734 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.033) 0:00:12.768 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:47:44 +0000 (0:00:00.020) 0:00:12.788 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180864.3598032, "block_size": 4096, "blocks": 8, "ctime": 1703180864.3598032, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703180864.3598032, "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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.131) 0:00:12.920 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.020) 0:00:12.941 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021304", "end": "2023-12-21 17:47:45.228782", "rc": 0, "start": "2023-12-21 17:47:45.207478" } 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.150) 0:00:13.091 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.046) 0:00:13.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.023) 0:00:13.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.023) 0:00:13.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.021) 0:00:13.206 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.022) 0:00:13.228 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.021) 0:00:13.250 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.021) 0:00:13.271 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.020) 0:00:13.292 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.018) 0:00:13.311 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.020) 0:00:13.331 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.037) 0:00:13.368 ***** 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.047881", "end": "2023-12-21 17:47:45.688226", "rc": 1, "start": "2023-12-21 17:47:45.640345" } STDOUT: Connection 'statebr' (ef5d2184-f8d1-4d3d-a60d-d4482bbd837e) 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-ci_fixxvteou5m/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.181) 0:00:13.550 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.033) 0:00:13.583 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.021) 0:00:13.605 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.048) 0:00:13.654 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.071) 0:00:13.725 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:47:45 +0000 (0:00:00.041) 0:00:13.766 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003393", "end": "2023-12-21 17:47:46.039176", "rc": 0, "start": "2023-12-21 17:47:46.035783" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:47:46 +0000 (0:00:00.136) 0:00:13.903 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:47:46 +0000 (0:00:00.021) 0:00:13.924 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:47:46 +0000 (0:00:00.021) 0:00:13.946 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:47:46 +0000 (0:00:00.034) 0:00:13.980 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:47:46 +0000 (0:00:00.033) 0:00:14.013 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:47:46 +0000 (0:00:00.036) 0:00:14.050 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:47:46 +0000 (0:00:00.024) 0:00:14.074 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:47:46 +0000 (0:00:00.019) 0:00:14.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:47:46 +0000 (0:00:00.021) 0:00:14.115 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:47:47 +0000 (0:00:00.766) 0:00:14.882 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:47:47 +0000 (0:00:00.634) 0:00:15.516 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:47:47 +0000 (0:00:00.020) 0:00:15.537 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:47:47 +0000 (0:00:00.019) 0:00:15.556 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:47:47 +0000 (0:00:00.019) 0:00:15.576 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:47:47 +0000 (0:00:00.040) 0:00:15.617 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:47:47 +0000 (0:00:00.019) 0:00:15.636 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:47:47 +0000 (0:00:00.018) 0:00:15.655 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:47:47 +0000 (0:00:00.022) 0:00:15.678 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.223) 0:00:15.901 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.024) 0:00:15.925 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.018) 0:00:15.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.040) 0:00:15.984 ***** 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, db481cc3-34cb-447c-9cfd-747030bd6f94 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.334) 0:00:16.318 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.021) 0:00:16.339 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db481cc3-34cb-447c-9cfd-747030bd6f94" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.022) 0:00:16.362 ***** 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, db481cc3-34cb-447c-9cfd-747030bd6f94\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db481cc3-34cb-447c-9cfd-747030bd6f94" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.024) 0:00:16.387 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.020) 0:00:16.408 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.130) 0:00:16.538 ***** 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, db481cc3-34cb-447c-9cfd-747030bd6f94\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db481cc3-34cb-447c-9cfd-747030bd6f94" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.022) 0:00:16.561 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.035) 0:00:16.597 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.037) 0:00:16.635 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.038) 0:00:16.673 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.025) 0:00:16.699 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.020) 0:00:16.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:47:48 +0000 (0:00:00.018) 0:00:16.738 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:47:49 +0000 (0:00:00.763) 0:00:17.502 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.634) 0:00:18.136 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.020) 0:00:18.156 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.019) 0:00:18.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.019) 0:00:18.195 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.042) 0:00:18.238 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.021) 0:00:18.260 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.021) 0:00:18.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.025) 0:00:18.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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.247) 0:00:18.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.026) 0:00:18.580 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.030) 0:00:18.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:47:50 +0000 (0:00:00.021) 0:00:18.632 ***** 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, db481cc3-34cb-447c-9cfd-747030bd6f94 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.276) 0:00:18.908 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.021) 0:00:18.930 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, db481cc3-34cb-447c-9cfd-747030bd6f94 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.022) 0:00:18.952 ***** 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, db481cc3-34cb-447c-9cfd-747030bd6f94 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, db481cc3-34cb-447c-9cfd-747030bd6f94 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.021) 0:00:18.974 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.019) 0:00:18.994 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.128) 0:00:19.122 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.050) 0:00:19.172 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.041) 0:00:19.213 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180868.3897061, "block_size": 4096, "blocks": 0, "ctime": 1703180868.3887062, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17478, "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": 1703180868.3887062, "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-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.143) 0:00:19.356 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.021) 0:00:19.378 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.058) 0:00:19.437 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.021) 0:00:19.458 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180868.3887062, "block_size": 4096, "blocks": 8, "ctime": 1703180868.3877063, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427532, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703180868.3877063, "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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.133) 0:00:19.592 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.022) 0:00:19.615 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021332", "end": "2023-12-21 17:47:51.903887", "rc": 0, "start": "2023-12-21 17:47:51.882555" } 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.155) 0:00:19.770 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.026) 0:00:19.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:47:51 +0000 (0:00:00.022) 0:00:19.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.023) 0:00:19.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.024) 0:00:19.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.021) 0:00:19.889 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.021) 0:00:19.910 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.022) 0:00:19.933 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.019) 0:00:19.953 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.017) 0:00:19.971 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.020) 0:00:19.991 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.036) 0:00:20.027 ***** 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.077927", "end": "2023-12-21 17:47:52.374292", "rc": 1, "start": "2023-12-21 17:47:52.296365" } STDOUT: Connection 'statebr' (db481cc3-34cb-447c-9cfd-747030bd6f94) successfully deleted. STDERR: (process:13147): GLib-GIO-WARNING **: 17:47:52.350: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/13 but no object proxy exists (process:13147): GLib-GIO-WARNING **: 17:47:52.353: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/27 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-ci_fixxvteou5m/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.235) 0:00:20.262 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.034) 0:00:20.297 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.020) 0:00:20.318 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.040) 0:00:20.358 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.032) 0:00:20.391 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.031) 0:00:20.422 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003183", "end": "2023-12-21 17:47:52.693243", "rc": 0, "start": "2023-12-21 17:47:52.690060" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.133) 0:00:20.555 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.021) 0:00:20.577 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.020) 0:00:20.598 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.038) 0:00:20.637 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.034) 0:00:20.671 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.036) 0:00:20.708 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.077) 0:00:20.785 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.021) 0:00:20.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:47:52 +0000 (0:00:00.019) 0:00:20.826 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:47:53 +0000 (0:00:00.740) 0:00:21.566 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.630) 0:00:22.197 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.023) 0:00:22.220 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.022) 0:00:22.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.020) 0:00:22.263 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.044) 0:00:22.307 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.021) 0:00:22.329 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.042) 0:00:22.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.024) 0:00:22.396 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.228) 0:00:22.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.023) 0:00:22.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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.021) 0:00:22.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:47:54 +0000 (0:00:00.021) 0:00:22.691 ***** 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, 3b462e36-1d00-4d12-9972-8ed952f40e01 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.321) 0:00:23.012 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.020) 0:00:23.033 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b462e36-1d00-4d12-9972-8ed952f40e01" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.020) 0:00:23.053 ***** 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, 3b462e36-1d00-4d12-9972-8ed952f40e01\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b462e36-1d00-4d12-9972-8ed952f40e01" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.020) 0:00:23.074 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.019) 0:00:23.093 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.129) 0:00:23.222 ***** 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, 3b462e36-1d00-4d12-9972-8ed952f40e01\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b462e36-1d00-4d12-9972-8ed952f40e01" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.022) 0:00:23.244 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.033) 0:00:23.277 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.058) 0:00:23.336 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.025) 0:00:23.362 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.020) 0:00:23.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:47:55 +0000 (0:00:00.019) 0:00:23.402 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:47:56 +0000 (0:00:00.741) 0:00:24.144 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:47:56 +0000 (0:00:00.635) 0:00:24.779 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:47:56 +0000 (0:00:00.022) 0:00:24.801 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:47:56 +0000 (0:00:00.019) 0:00:24.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.019) 0:00:24.840 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.040) 0:00:24.881 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.040) 0:00:24.921 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.020) 0:00:24.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.023) 0:00:24.966 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.222) 0:00:25.189 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.024) 0:00:25.213 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.019) 0:00:25.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.021) 0:00:25.254 ***** 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, 3b462e36-1d00-4d12-9972-8ed952f40e01 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.274) 0:00:25.528 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.021) 0:00:25.549 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b462e36-1d00-4d12-9972-8ed952f40e01 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.021) 0:00:25.570 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b462e36-1d00-4d12-9972-8ed952f40e01 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b462e36-1d00-4d12-9972-8ed952f40e01 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.021) 0:00:25.592 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.019) 0:00:25.611 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.128) 0:00:25.739 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.036) 0:00:25.776 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:47:57 +0000 (0:00:00.060) 0:00:25.836 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:47:58 +0000 (0:00:00.038) 0:00:25.874 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:47:58 +0000 (0:00:00.024) 0:00:25.899 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:47:58 +0000 (0:00:00.019) 0:00:25.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:47:58 +0000 (0:00:00.019) 0:00:25.937 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:47:58 +0000 (0:00:00.732) 0:00:26.670 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.631) 0:00:27.301 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.023) 0:00:27.325 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.022) 0:00:27.348 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.045) 0:00:27.393 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.041) 0:00:27.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.019) 0:00:27.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.019) 0:00:27.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.022) 0:00:27.497 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.223) 0:00:27.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.025) 0:00:27.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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.019) 0:00:27.765 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:47:59 +0000 (0:00:00.019) 0:00:27.784 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.320) 0:00:28.105 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.029) 0:00:28.135 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.022) 0:00:28.158 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.022) 0:00:28.180 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.020) 0:00:28.201 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.132) 0:00:28.333 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.073) 0:00:28.407 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.033) 0:00:28.440 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180875.0995445, "block_size": 4096, "blocks": 0, "ctime": 1703180875.0985446, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17480, "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": 1703180875.0985446, "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-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.135) 0:00:28.576 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.023) 0:00:28.599 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.035) 0:00:28.635 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.020) 0:00:28.656 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.139) 0:00:28.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:48:00 +0000 (0:00:00.023) 0:00:28.819 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021197", "end": "2023-12-21 17:48:01.113370", "rc": 1, "start": "2023-12-21 17:48:01.092173" } 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.166) 0:00:28.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.030) 0:00:29.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.025) 0:00:29.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.021) 0:00:29.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.023) 0:00:29.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.023) 0:00:29.110 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.023) 0:00:29.134 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.047) 0:00:29.182 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.021) 0:00:29.204 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.039) 0:00:29.243 ***** 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.079985", "end": "2023-12-21 17:48:01.593077", "rc": 1, "start": "2023-12-21 17:48:01.513092" } STDOUT: Connection 'statebr' (3b462e36-1d00-4d12-9972-8ed952f40e01) successfully deleted. STDERR: (process:13816): GLib-GIO-WARNING **: 17:48:01.567: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/14 but no object proxy exists (process:13816): GLib-GIO-WARNING **: 17:48:01.568: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/44 but no object proxy exists (process:13816): GLib-GIO-WARNING **: 17:48:01.568: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/28 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.212) 0:00:29.456 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.035) 0:00:29.491 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.021) 0:00:29.513 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.046) 0:00:29.559 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.033) 0:00:29.593 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.032) 0:00:29.626 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2023-12-21 17:48:01.901746", "rc": 0, "start": "2023-12-21 17:48:01.898286" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.138) 0:00:29.765 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.021) 0:00:29.786 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:48:01 +0000 (0:00:00.019) 0:00:29.806 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:48:02 +0000 (0:00:00.063) 0:00:29.870 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:48:02 +0000 (0:00:00.034) 0:00:29.904 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:48:02 +0000 (0:00:00.036) 0:00:29.941 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:48:02 +0000 (0:00:00.024) 0:00:29.965 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:48:02 +0000 (0:00:00.019) 0:00:29.984 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:48:02 +0000 (0:00:00.019) 0:00:30.003 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:48:02 +0000 (0:00:00.741) 0:00:30.745 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.632) 0:00:31.378 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.043) 0:00:31.421 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.020) 0:00:31.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.019) 0:00:31.461 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.040) 0:00:31.502 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.019) 0:00:31.522 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.020) 0:00:31.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.027) 0:00:31.569 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.224) 0:00:31.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:48:03 +0000 (0:00:00.026) 0:00:31.820 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.021) 0:00:31.841 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.021) 0:00:31.863 ***** 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, aa6fa014-0ab1-455a-9021-1d9463682949 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.331) 0:00:32.195 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.019) 0:00:32.214 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa6fa014-0ab1-455a-9021-1d9463682949" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.021) 0:00:32.236 ***** 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, aa6fa014-0ab1-455a-9021-1d9463682949\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa6fa014-0ab1-455a-9021-1d9463682949" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.021) 0:00:32.258 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.021) 0:00:32.279 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.133) 0:00:32.413 ***** 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, aa6fa014-0ab1-455a-9021-1d9463682949\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa6fa014-0ab1-455a-9021-1d9463682949" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.054) 0:00:32.467 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.035) 0:00:32.503 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.039) 0:00:32.542 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.025) 0:00:32.568 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.020) 0:00:32.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:48:04 +0000 (0:00:00.020) 0:00:32.608 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:48:05 +0000 (0:00:00.742) 0:00:33.351 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.666) 0:00:34.017 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.028) 0:00:34.045 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.021) 0:00:34.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.026) 0:00:34.093 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.043) 0:00:34.137 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.020) 0:00:34.157 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.019) 0:00:34.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.022) 0:00:34.199 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.224) 0:00:34.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.023) 0:00:34.448 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.019) 0:00:34.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.022) 0:00:34.490 ***** 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, aa6fa014-0ab1-455a-9021-1d9463682949 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.274) 0:00:34.764 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.019) 0:00:34.784 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aa6fa014-0ab1-455a-9021-1d9463682949 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.020) 0:00:34.804 ***** 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, aa6fa014-0ab1-455a-9021-1d9463682949 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aa6fa014-0ab1-455a-9021-1d9463682949 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:48:06 +0000 (0:00:00.020) 0:00:34.825 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:48:07 +0000 (0:00:00.018) 0:00:34.844 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 17:48:07 +0000 (0:00:00.153) 0:00:34.997 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:48:07 +0000 (0:00:00.035) 0:00:35.032 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:48:07 +0000 (0:00:00.039) 0:00:35.072 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:48:07 +0000 (0:00:00.025) 0:00:35.098 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:48:07 +0000 (0:00:00.022) 0:00:35.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:48:07 +0000 (0:00:00.022) 0:00:35.143 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:48:08 +0000 (0:00:00.745) 0:00:35.889 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:48:08 +0000 (0:00:00.658) 0:00:36.548 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:48:08 +0000 (0:00:00.020) 0:00:36.568 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:48:08 +0000 (0:00:00.019) 0:00:36.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:48:08 +0000 (0:00:00.019) 0:00:36.608 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:48:08 +0000 (0:00:00.043) 0:00:36.651 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:48:08 +0000 (0:00:00.020) 0:00:36.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:48:08 +0000 (0:00:00.023) 0:00:36.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:48:08 +0000 (0:00:00.025) 0:00:36.720 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.238) 0:00:36.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.026) 0:00:36.985 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.020) 0:00:37.006 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.021) 0:00:37.028 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.307) 0:00:37.335 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.020) 0:00:37.356 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.021) 0:00:37.377 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.021) 0:00:37.399 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.019) 0:00:37.418 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.143) 0:00:37.562 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.039) 0:00:37.601 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.041) 0:00:37.643 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.038) 0:00:37.682 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.026) 0:00:37.708 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.021) 0:00:37.729 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:48:09 +0000 (0:00:00.022) 0:00:37.752 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:48:10 +0000 (0:00:00.742) 0:00:38.495 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.682) 0:00:39.177 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.022) 0:00:39.200 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.021) 0:00:39.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.019) 0:00:39.241 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.043) 0:00:39.284 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.020) 0:00:39.305 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.020) 0:00:39.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.022) 0:00:39.348 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.227) 0:00:39.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.027) 0:00:39.603 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.021) 0:00:39.625 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:48:11 +0000 (0:00:00.021) 0:00:39.646 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.359) 0:00:40.006 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.021) 0:00:40.028 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.061) 0:00:40.089 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.022) 0:00:40.111 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.020) 0:00:40.132 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.129) 0:00:40.261 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.047) 0:00:40.309 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.038) 0:00:40.347 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.022) 0:00:40.370 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.131) 0:00:40.501 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.019) 0:00:40.521 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020811", "end": "2023-12-21 17:48:12.808353", "rc": 1, "start": "2023-12-21 17:48:12.787542" } 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.149) 0:00:40.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.022) 0:00:40.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.020) 0:00:40.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.021) 0:00:40.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.020) 0:00:40.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.021) 0:00:40.776 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:48:12 +0000 (0:00:00.023) 0:00:40.800 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.095) 0:00:40.895 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.034) 0:00:40.929 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.131) 0:00:41.061 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.023) 0:00:41.084 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.020) 0:00:41.105 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.037) 0:00:41.142 ***** 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.043370", "end": "2023-12-21 17:48:13.454403", "rc": 1, "start": "2023-12-21 17:48:13.411033" } 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-ci_fixxvteou5m/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.174) 0:00:41.317 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.035) 0:00:41.352 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.021) 0:00:41.374 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.043) 0:00:41.417 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.032) 0:00:41.450 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.053) 0:00:41.504 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003457", "end": "2023-12-21 17:48:13.775257", "rc": 0, "start": "2023-12-21 17:48:13.771800" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.134) 0:00:41.639 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.023) 0:00:41.662 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.021) 0:00:41.683 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.042) 0:00:41.725 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.034) 0:00:41.760 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.038) 0:00:41.799 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:48:13 +0000 (0:00:00.025) 0:00:41.824 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:48:14 +0000 (0:00:00.022) 0:00:41.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:48:14 +0000 (0:00:00.021) 0:00:41.867 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:48:14 +0000 (0:00:00.737) 0:00:42.605 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.662) 0:00:43.267 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.022) 0:00:43.290 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.019) 0:00:43.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.021) 0:00:43.331 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.043) 0:00:43.375 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.020) 0:00:43.395 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.021) 0:00:43.416 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.023) 0:00:43.440 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.227) 0:00:43.667 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.025) 0:00:43.693 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.020) 0:00:43.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:48:15 +0000 (0:00:00.019) 0:00:43.732 ***** 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, 758486be-c92d-4170-a3fd-467834d7ccea TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.354) 0:00:44.086 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.021) 0:00:44.107 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 758486be-c92d-4170-a3fd-467834d7ccea" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.021) 0:00:44.129 ***** 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, 758486be-c92d-4170-a3fd-467834d7ccea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 758486be-c92d-4170-a3fd-467834d7ccea" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.021) 0:00:44.151 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.021) 0:00:44.172 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.131) 0:00:44.303 ***** 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, 758486be-c92d-4170-a3fd-467834d7ccea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 758486be-c92d-4170-a3fd-467834d7ccea" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.021) 0:00:44.325 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.034) 0:00:44.360 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.036) 0:00:44.397 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.024) 0:00:44.421 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.020) 0:00:44.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:48:16 +0000 (0:00:00.019) 0:00:44.461 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:48:17 +0000 (0:00:00.764) 0:00:45.226 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.636) 0:00:45.862 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.021) 0:00:45.884 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.020) 0:00:45.905 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.019) 0:00:45.924 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.040) 0:00:45.965 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.019) 0:00:45.984 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.020) 0:00:46.005 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.025) 0:00:46.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.226) 0:00:46.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.024) 0:00:46.281 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.018) 0:00:46.300 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.042) 0:00:46.342 ***** 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, 758486be-c92d-4170-a3fd-467834d7ccea skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.273) 0:00:46.616 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.021) 0:00:46.637 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 758486be-c92d-4170-a3fd-467834d7ccea skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.021) 0:00:46.659 ***** 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, 758486be-c92d-4170-a3fd-467834d7ccea skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 758486be-c92d-4170-a3fd-467834d7ccea skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.023) 0:00:46.682 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.019) 0:00:46.701 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 17:48:18 +0000 (0:00:00.125) 0:00:46.827 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:48:19 +0000 (0:00:00.034) 0:00:46.862 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:48:19 +0000 (0:00:00.037) 0:00:46.899 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:48:19 +0000 (0:00:00.024) 0:00:46.923 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:48:19 +0000 (0:00:00.019) 0:00:46.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:48:19 +0000 (0:00:00.019) 0:00:46.962 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:48:19 +0000 (0:00:00.759) 0:00:47.722 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.643) 0:00:48.366 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.020) 0:00:48.386 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.021) 0:00:48.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.020) 0:00:48.428 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.042) 0:00:48.470 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.020) 0:00:48.490 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.019) 0:00:48.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.024) 0:00:48.534 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.238) 0:00:48.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.026) 0:00:48.799 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:48:20 +0000 (0:00:00.020) 0:00:48.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.051) 0:00:48.871 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.372) 0:00:49.244 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.020) 0:00:49.264 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.021) 0:00:49.286 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.022) 0:00:49.309 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.020) 0:00:49.329 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.126) 0:00:49.455 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.038) 0:00:49.493 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.034) 0:00:49.528 ***** included: /WORKDIR/git-ci_fixxvteou5m/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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.037) 0:00:49.566 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.024) 0:00:49.591 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.020) 0:00:49.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:48:21 +0000 (0:00:00.021) 0:00:49.632 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:48:22 +0000 (0:00:00.737) 0:00:50.370 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.640) 0:00:51.011 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.021) 0:00:51.032 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.019) 0:00:51.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.021) 0:00:51.073 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.042) 0:00:51.115 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.024) 0:00:51.140 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.022) 0:00:51.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.024) 0:00:51.186 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.222) 0:00:51.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.050) 0:00:51.460 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.021) 0:00:51.481 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.021) 0:00:51.503 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.293) 0:00:51.796 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.020) 0:00:51.817 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:48:23 +0000 (0:00:00.021) 0:00:51.839 ***** 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-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.021) 0:00:51.860 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.019) 0:00:51.880 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.125) 0:00:52.006 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.043) 0:00:52.049 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.034) 0:00:52.084 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.020) 0:00:52.105 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.132) 0:00:52.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.019) 0:00:52.257 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021537", "end": "2023-12-21 17:48:24.546864", "rc": 1, "start": "2023-12-21 17:48:24.525327" } 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-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.176) 0:00:52.434 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.021) 0:00:52.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.022) 0:00:52.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.022) 0:00:52.501 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.020) 0:00:52.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.021) 0:00:52.542 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 17:48:24 +0000 (0:00:00.021) 0:00:52.564 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.397700", "end": "2023-12-21 17:48:25.229334", "rc": 0, "start": "2023-12-21 17:48:24.831634" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.529) 0:00:53.093 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.022) 0:00:53.115 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.022) 0:00:53.138 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.041) 0:00:53.179 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.033) 0:00:53.213 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.132) 0:00:53.345 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.024) 0:00:53.370 ***** 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-ci_fixxvteou5m/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.052) 0:00:53.423 ***** included: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.040) 0:00:53.464 ***** 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.044051", "end": "2023-12-21 17:48:25.778149", "rc": 1, "start": "2023-12-21 17:48:25.734098" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Thursday 21 December 2023 17:48:25 +0000 (0:00:00.165) 0:00:53.629 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.78s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.25s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.12s /WORKDIR/git-ci_fixxvteou5m/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.10s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.03s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.92s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.80s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-ci_fixxvteou5m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---