# 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_fixnylq7gb6/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tests_states_nm.yml:6 Friday 26 January 2024 21:29:41 +0000 (0:00:00.046) 0:00:00.046 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tests_states_nm.yml:9 Friday 26 January 2024 21:29:42 +0000 (0:00:00.583) 0:00:00.629 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:29:42 +0000 (0:00:00.023) 0:00:00.653 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml:19 Friday 26 January 2024 21:29:42 +0000 (0:00:00.241) 0:00:00.894 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml:24 Friday 26 January 2024 21:29:42 +0000 (0:00:00.209) 0:00:01.104 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml:28 Friday 26 January 2024 21:29:42 +0000 (0:00:00.030) 0:00:01.135 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml:53 Friday 26 January 2024 21:29:42 +0000 (0:00:00.017) 0:00:01.152 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:29:42 +0000 (0:00:00.038) 0:00:01.191 ******** 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_fixnylq7gb6/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:29:43 +0000 (0:00:00.232) 0:00:01.423 ******** 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_fixnylq7gb6/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:29:43 +0000 (0:00:00.511) 0:00:01.935 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193814", "end": "2024-01-26 21:29:43.933038", "rc": 0, "start": "2024-01-26 21:29:43.739224" } 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_fixnylq7gb6/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:29:43 +0000 (0:00:00.340) 0:00:02.276 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:29:44 +0000 (0:00:00.076) 0:00:02.352 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tests_states_nm.yml:11 Friday 26 January 2024 21:29:44 +0000 (0:00:00.023) 0:00:02.376 ******** 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_fixnylq7gb6/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 21:29:44 +0000 (0:00:00.068) 0:00:02.444 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 21:29:44 +0000 (0:00:00.455) 0:00:02.899 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 21:29:44 +0000 (0:00:00.060) 0:00:02.960 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:44 +0000 (0:00:00.052) 0:00:03.013 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:44 +0000 (0:00:00.013) 0:00:03.026 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:44 +0000 (0:00:00.036) 0:00:03.063 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:44 +0000 (0:00:00.018) 0:00:03.081 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:44 +0000 (0:00:00.015) 0:00:03.097 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003454", "end": "2024-01-26 21:29:44.918129", "rc": 0, "start": "2024-01-26 21:29:44.914675" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:44 +0000 (0:00:00.152) 0:00:03.250 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:44 +0000 (0:00:00.032) 0:00:03.283 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:45 +0000 (0:00:00.036) 0:00:03.319 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:29:45 +0000 (0:00:00.039) 0:00:03.359 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010729", "end": "2024-01-26 21:29:45.182373", "rc": 1, "start": "2024-01-26 21:29:45.171644" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:45 +0000 (0:00:00.156) 0:00:03.515 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:45 +0000 (0:00:00.034) 0:00:03.550 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:45 +0000 (0:00:00.210) 0:00:03.760 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:29:45 +0000 (0:00:00.031) 0:00:03.791 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:29:45 +0000 (0:00:00.053) 0:00:03.845 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:29:45 +0000 (0:00:00.093) 0:00:03.939 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:45 +0000 (0:00:00.090) 0:00:04.030 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:29:45 +0000 (0:00:00.022) 0:00:04.052 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:29:45 +0000 (0:00:00.062) 0:00:04.114 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:29:45 +0000 (0:00:00.016) 0:00:04.131 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:29:46 +0000 (0:00:00.960) 0:00:05.092 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:29:47 +0000 (0:00:00.955) 0:00:06.047 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:29:47 +0000 (0:00:00.082) 0:00:06.130 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:29:47 +0000 (0:00:00.063) 0:00:06.193 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:29:47 +0000 (0:00:00.033) 0:00:06.226 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:29:48 +0000 (0:00:00.099) 0:00:06.326 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:29:48 +0000 (0:00:00.061) 0:00:06.388 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:29:48 +0000 (0:00:00.024) 0:00:06.412 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:29:48 +0000 (0:00:00.049) 0:00:06.462 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:29:48 +0000 (0:00:00.658) 0:00:07.121 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:29:48 +0000 (0:00:00.034) 0:00:07.155 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:29:48 +0000 (0:00:00.027) 0:00:07.183 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:29:48 +0000 (0:00:00.022) 0:00:07.206 ******** 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, 83baee2d-b7cb-496a-aeac-91cb37bbf822 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:29:49 +0000 (0:00:00.799) 0:00:08.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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:29:49 +0000 (0:00:00.057) 0:00:08.063 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83baee2d-b7cb-496a-aeac-91cb37bbf822" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:29:49 +0000 (0:00:00.049) 0:00:08.112 ******** 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, 83baee2d-b7cb-496a-aeac-91cb37bbf822\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83baee2d-b7cb-496a-aeac-91cb37bbf822" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:29:49 +0000 (0:00:00.037) 0:00:08.149 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:29:49 +0000 (0:00:00.043) 0:00:08.193 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:29:50 +0000 (0:00:00.356) 0:00:08.549 ******** 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, 83baee2d-b7cb-496a-aeac-91cb37bbf822\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83baee2d-b7cb-496a-aeac-91cb37bbf822" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:29:50 +0000 (0:00:00.126) 0:00:08.675 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:29:50 +0000 (0:00:00.067) 0:00:08.743 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:29:50 +0000 (0:00:00.082) 0:00:08.825 ******** 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:29:50 +0000 (0:00:00.021) 0:00:08.847 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304589.6998763, "block_size": 4096, "blocks": 8, "ctime": 1706304589.6088767, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304589.6088767, "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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:29:50 +0000 (0:00:00.178) 0:00:09.026 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:29:50 +0000 (0:00:00.032) 0:00:09.059 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024194", "end": "2024-01-26 21:29:50.876720", "rc": 0, "start": "2024-01-26 21:29:50.852526" } 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:29:50 +0000 (0:00:00.159) 0:00:09.218 ******** 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:29:50 +0000 (0:00:00.049) 0:00:09.267 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:29:51 +0000 (0:00:00.053) 0:00:09.320 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:29:51 +0000 (0:00:00.024) 0:00:09.345 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:29:51 +0000 (0:00:00.035) 0:00:09.381 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:29:51 +0000 (0:00:00.088) 0:00:09.470 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:29:51 +0000 (0:00:00.054) 0:00:09.524 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:29:51 +0000 (0:00:00.043) 0:00:09.567 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:29:51 +0000 (0:00:00.070) 0:00:09.637 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:29:51 +0000 (0:00:00.078) 0:00:09.716 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:51 +0000 (0:00:00.057) 0:00:09.774 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304589.6208768, "block_size": 4096, "blocks": 0, "ctime": 1706304589.6118767, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17514, "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": 1706304589.6118767, "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_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:29:51 +0000 (0:00:00.194) 0:00:09.969 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:29:51 +0000 (0:00:00.044) 0:00:10.014 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:29:51 +0000 (0:00:00.042) 0:00:10.057 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:29:52 +0000 (0:00:00.265) 0:00:10.322 ******** 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.084181", "end": "2024-01-26 21:29:52.210842", "rc": 1, "start": "2024-01-26 21:29:52.126661" } STDOUT: Connection 'statebr' (83baee2d-b7cb-496a-aeac-91cb37bbf822) successfully deleted. STDERR: (process:22667): GLib-GIO-WARNING **: 21:29:52.188: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/16 but no object proxy exists (process:22667): GLib-GIO-WARNING **: 21:29:52.189: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/41 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_fixnylq7gb6/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 21:29:52 +0000 (0:00:00.227) 0:00:10.549 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:52 +0000 (0:00:00.034) 0:00:10.584 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:52 +0000 (0:00:00.023) 0:00:10.608 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:52 +0000 (0:00:00.053) 0:00:10.661 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:52 +0000 (0:00:00.034) 0:00:10.696 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:52 +0000 (0:00:00.045) 0:00:10.742 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003633", "end": "2024-01-26 21:29:52.549003", "rc": 0, "start": "2024-01-26 21:29:52.545370" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:52 +0000 (0:00:00.173) 0:00:10.915 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:52 +0000 (0:00:00.039) 0:00:10.954 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:52 +0000 (0:00:00.023) 0:00:10.978 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:29:52 +0000 (0:00:00.057) 0:00:11.036 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007282", "end": "2024-01-26 21:29:52.846120", "rc": 1, "start": "2024-01-26 21:29:52.838838" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:52 +0000 (0:00:00.162) 0:00:11.198 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:52 +0000 (0:00:00.086) 0:00:11.285 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:53 +0000 (0:00:00.211) 0:00:11.497 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:29:53 +0000 (0:00:00.075) 0:00:11.572 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 21:29:53 +0000 (0:00:00.067) 0:00:11.640 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:29:53 +0000 (0:00:00.054) 0:00:11.694 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:53 +0000 (0:00:00.100) 0:00:11.794 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:29:53 +0000 (0:00:00.058) 0:00:11.853 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:29:53 +0000 (0:00:00.041) 0:00:11.895 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:29:53 +0000 (0:00:00.047) 0:00:11.942 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:29:54 +0000 (0:00:00.847) 0:00:12.790 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:29:55 +0000 (0:00:00.923) 0:00:13.714 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:29:55 +0000 (0:00:00.050) 0:00:13.764 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:29:55 +0000 (0:00:00.059) 0:00:13.823 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:29:55 +0000 (0:00:00.105) 0:00:13.929 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:29:55 +0000 (0:00:00.165) 0:00:14.095 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:29:55 +0000 (0:00:00.115) 0:00:14.210 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:29:55 +0000 (0:00:00.083) 0:00:14.294 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:29:56 +0000 (0:00:00.119) 0:00:14.413 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:29:56 +0000 (0:00:00.260) 0:00:14.674 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:29:56 +0000 (0:00:00.065) 0:00:14.740 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:29:56 +0000 (0:00:00.067) 0:00:14.807 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:29:56 +0000 (0:00:00.045) 0:00:14.853 ******** 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, 3c6a6e4c-86cc-486d-b5db-27bc8bb6fb3b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:29:57 +0000 (0:00:00.595) 0:00:15.448 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:29:57 +0000 (0:00:00.135) 0:00:15.584 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3c6a6e4c-86cc-486d-b5db-27bc8bb6fb3b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:29:57 +0000 (0:00:00.164) 0:00:15.748 ******** 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, 3c6a6e4c-86cc-486d-b5db-27bc8bb6fb3b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3c6a6e4c-86cc-486d-b5db-27bc8bb6fb3b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:29:57 +0000 (0:00:00.099) 0:00:15.848 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:29:57 +0000 (0:00:00.111) 0:00:15.959 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 21:29:57 +0000 (0:00:00.234) 0:00:16.194 ******** 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, 3c6a6e4c-86cc-486d-b5db-27bc8bb6fb3b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3c6a6e4c-86cc-486d-b5db-27bc8bb6fb3b" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:29:58 +0000 (0:00:00.125) 0:00:16.319 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:58 +0000 (0:00:00.054) 0:00:16.374 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:58 +0000 (0:00:00.067) 0:00:16.441 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:58 +0000 (0:00:00.258) 0:00:16.700 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:29:58 +0000 (0:00:00.132) 0:00:16.833 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:29:58 +0000 (0:00:00.191) 0:00:17.024 ******** 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:29:58 +0000 (0:00:00.038) 0:00:17.063 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304596.9958441, "block_size": 4096, "blocks": 8, "ctime": 1706304596.9958441, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304596.9958441, "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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:29:58 +0000 (0:00:00.224) 0:00:17.287 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:29:59 +0000 (0:00:00.073) 0:00:17.360 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021461", "end": "2024-01-26 21:29:59.184402", "rc": 0, "start": "2024-01-26 21:29:59.162941" } 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:29:59 +0000 (0:00:00.162) 0:00:17.523 ******** 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:29:59 +0000 (0:00:00.025) 0:00:17.549 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:29:59 +0000 (0:00:00.031) 0:00:17.580 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:29:59 +0000 (0:00:00.023) 0:00:17.603 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:29:59 +0000 (0:00:00.030) 0:00:17.634 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:29:59 +0000 (0:00:00.031) 0:00:17.665 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:29:59 +0000 (0:00:00.091) 0:00:17.757 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:29:59 +0000 (0:00:00.030) 0:00:17.788 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:29:59 +0000 (0:00:00.040) 0:00:17.828 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:29:59 +0000 (0:00:00.037) 0:00:17.866 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:29:59 +0000 (0:00:00.062) 0:00:17.929 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:29:59 +0000 (0:00:00.100) 0:00:18.029 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047038", "end": "2024-01-26 21:29:59.930312", "rc": 1, "start": "2024-01-26 21:29:59.883274" } STDOUT: Connection 'statebr' (3c6a6e4c-86cc-486d-b5db-27bc8bb6fb3b) 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_fixnylq7gb6/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 21:29:59 +0000 (0:00:00.258) 0:00:18.287 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:00 +0000 (0:00:00.076) 0:00:18.364 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:00 +0000 (0:00:00.074) 0:00:18.439 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:00 +0000 (0:00:00.135) 0:00:18.574 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:00 +0000 (0:00:00.052) 0:00:18.627 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:00 +0000 (0:00:00.051) 0:00:18.678 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004653", "end": "2024-01-26 21:30:01.535121", "rc": 0, "start": "2024-01-26 21:30:00.530468" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:01 +0000 (0:00:01.263) 0:00:19.942 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:01 +0000 (0:00:00.049) 0:00:19.991 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:01 +0000 (0:00:00.040) 0:00:20.032 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:01 +0000 (0:00:00.098) 0:00:20.130 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:02 +0000 (0:00:00.276) 0:00:20.407 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:02 +0000 (0:00:00.120) 0:00:20.527 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:02 +0000 (0:00:00.124) 0:00:20.651 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:02 +0000 (0:00:00.054) 0:00:20.705 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:02 +0000 (0:00:00.073) 0:00:20.779 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:03 +0000 (0:00:00.857) 0:00:21.637 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:04 +0000 (0:00:00.762) 0:00:22.399 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:04 +0000 (0:00:00.034) 0:00:22.434 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:04 +0000 (0:00:00.073) 0:00:22.508 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:04 +0000 (0:00:00.038) 0:00:22.547 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:04 +0000 (0:00:00.059) 0:00:22.606 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:04 +0000 (0:00:00.063) 0:00:22.670 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:04 +0000 (0:00:00.063) 0:00:22.734 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:04 +0000 (0:00:00.045) 0:00:22.779 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:04 +0000 (0:00:00.392) 0:00:23.171 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:04 +0000 (0:00:00.055) 0:00:23.227 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:04 +0000 (0:00:00.079) 0:00:23.306 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:05 +0000 (0:00:00.028) 0:00:23.335 ******** 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, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:05 +0000 (0:00:00.417) 0:00:23.753 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:05 +0000 (0:00:00.082) 0:00:23.836 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:05 +0000 (0:00:00.072) 0:00:23.908 ******** 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, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:05 +0000 (0:00:00.026) 0:00:23.935 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:05 +0000 (0:00:00.036) 0:00:23.971 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:05 +0000 (0:00:00.149) 0:00:24.121 ******** 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, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:05 +0000 (0:00:00.025) 0:00:24.146 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:05 +0000 (0:00:00.065) 0:00:24.212 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:05 +0000 (0:00:00.039) 0:00:24.251 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:05 +0000 (0:00:00.041) 0:00:24.293 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:06 +0000 (0:00:00.029) 0:00:24.323 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:06 +0000 (0:00:00.022) 0:00:24.345 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:06 +0000 (0:00:00.023) 0:00:24.368 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:06 +0000 (0:00:00.815) 0:00:25.184 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:07 +0000 (0:00:00.851) 0:00:26.036 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:07 +0000 (0:00:00.087) 0:00:26.124 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:07 +0000 (0:00:00.069) 0:00:26.194 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:07 +0000 (0:00:00.084) 0:00:26.279 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:08 +0000 (0:00:00.107) 0:00:26.386 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:08 +0000 (0:00:00.202) 0:00:26.589 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:08 +0000 (0:00:00.033) 0:00:26.623 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:08 +0000 (0:00:00.028) 0:00:26.651 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:08 +0000 (0:00:00.280) 0:00:26.931 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:08 +0000 (0:00:00.045) 0:00:26.977 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:08 +0000 (0:00:00.048) 0:00:27.025 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:08 +0000 (0:00:00.042) 0:00:27.068 ******** 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, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:09 +0000 (0:00:00.375) 0:00:27.443 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:09 +0000 (0:00:00.033) 0:00:27.476 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:09 +0000 (0:00:00.064) 0:00:27.541 ******** 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, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:09 +0000 (0:00:00.045) 0:00:27.586 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:09 +0000 (0:00:00.038) 0:00:27.625 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:09 +0000 (0:00:00.151) 0:00:27.776 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:30:09 +0000 (0:00:00.088) 0:00:27.865 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:09 +0000 (0:00:00.108) 0:00:27.974 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304605.3138075, "block_size": 4096, "blocks": 0, "ctime": 1706304605.3108075, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17514, "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": 1706304605.3108075, "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_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:30:09 +0000 (0:00:00.230) 0:00:28.204 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:30:09 +0000 (0:00:00.082) 0:00:28.287 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:10 +0000 (0:00:00.095) 0:00:28.382 ******** 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:10 +0000 (0:00:00.099) 0:00:28.482 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304605.394807, "block_size": 4096, "blocks": 8, "ctime": 1706304605.3098075, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416151, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304605.3098075, "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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:10 +0000 (0:00:00.349) 0:00:28.832 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:10 +0000 (0:00:00.087) 0:00:28.919 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022297", "end": "2024-01-26 21:30:10.773431", "rc": 0, "start": "2024-01-26 21:30:10.751134" } 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:10 +0000 (0:00:00.221) 0:00:29.140 ******** 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:10 +0000 (0:00:00.027) 0:00:29.168 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:10 +0000 (0:00:00.047) 0:00:29.215 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:10 +0000 (0:00:00.057) 0:00:29.273 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:10 +0000 (0:00:00.037) 0:00:29.310 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:30:11 +0000 (0:00:00.032) 0:00:29.342 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:30:11 +0000 (0:00:00.026) 0:00:29.369 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:30:11 +0000 (0:00:00.032) 0:00:29.401 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:11 +0000 (0:00:00.024) 0:00:29.425 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:11 +0000 (0:00:00.021) 0:00:29.446 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:11 +0000 (0:00:00.037) 0:00:29.484 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:11 +0000 (0:00:00.053) 0:00:29.537 ******** 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.093999", "end": "2024-01-26 21:30:11.476285", "rc": 1, "start": "2024-01-26 21:30:11.382286" } STDOUT: Connection 'statebr' (28c4f3b4-cc0d-4b61-a0e6-5ce69ea9ec36) successfully deleted. STDERR: (process:23437): GLib-GIO-WARNING **: 21:30:11.450: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/17 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_fixnylq7gb6/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 21:30:11 +0000 (0:00:00.285) 0:00:29.823 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:11 +0000 (0:00:00.064) 0:00:29.887 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:11 +0000 (0:00:00.055) 0:00:29.942 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:11 +0000 (0:00:00.052) 0:00:29.995 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:11 +0000 (0:00:00.034) 0:00:30.029 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:11 +0000 (0:00:00.049) 0:00:30.078 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004633", "end": "2024-01-26 21:30:12.895141", "rc": 0, "start": "2024-01-26 21:30:11.890508" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:12 +0000 (0:00:01.193) 0:00:31.272 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:12 +0000 (0:00:00.034) 0:00:31.307 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:13 +0000 (0:00:00.038) 0:00:31.345 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:13 +0000 (0:00:00.083) 0:00:31.429 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:13 +0000 (0:00:00.048) 0:00:31.478 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:13 +0000 (0:00:00.092) 0:00:31.571 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:13 +0000 (0:00:00.046) 0:00:31.617 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:13 +0000 (0:00:00.035) 0:00:31.652 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:13 +0000 (0:00:00.043) 0:00:31.696 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:14 +0000 (0:00:00.845) 0:00:32.542 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:14 +0000 (0:00:00.699) 0:00:33.241 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:14 +0000 (0:00:00.026) 0:00:33.267 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:14 +0000 (0:00:00.030) 0:00:33.297 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:15 +0000 (0:00:00.041) 0:00:33.339 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:15 +0000 (0:00:00.051) 0:00:33.391 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:15 +0000 (0:00:00.022) 0:00:33.413 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:15 +0000 (0:00:00.024) 0:00:33.437 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:15 +0000 (0:00:00.025) 0:00:33.463 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:15 +0000 (0:00:00.276) 0:00:33.740 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:15 +0000 (0:00:00.026) 0:00:33.767 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:15 +0000 (0:00:00.031) 0:00:33.798 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:15 +0000 (0:00:00.027) 0:00:33.826 ******** 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, bf0d42d6-0768-4156-8fb0-319651a37e09 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:15 +0000 (0:00:00.359) 0:00:34.186 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:15 +0000 (0:00:00.021) 0:00:34.207 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf0d42d6-0768-4156-8fb0-319651a37e09" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:15 +0000 (0:00:00.062) 0:00:34.269 ******** 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, bf0d42d6-0768-4156-8fb0-319651a37e09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf0d42d6-0768-4156-8fb0-319651a37e09" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:16 +0000 (0:00:00.050) 0:00:34.319 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:16 +0000 (0:00:00.030) 0:00:34.350 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:16 +0000 (0:00:00.187) 0:00:34.537 ******** 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, bf0d42d6-0768-4156-8fb0-319651a37e09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf0d42d6-0768-4156-8fb0-319651a37e09" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:16 +0000 (0:00:00.113) 0:00:34.650 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:16 +0000 (0:00:00.062) 0:00:34.713 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:16 +0000 (0:00:00.075) 0:00:34.789 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:16 +0000 (0:00:00.048) 0:00:34.838 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:16 +0000 (0:00:00.062) 0:00:34.901 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:16 +0000 (0:00:00.134) 0:00:35.035 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:17 +0000 (0:00:00.845) 0:00:35.881 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:18 +0000 (0:00:00.683) 0:00:36.565 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:18 +0000 (0:00:00.061) 0:00:36.626 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:18 +0000 (0:00:00.051) 0:00:36.678 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:18 +0000 (0:00:00.042) 0:00:36.720 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:18 +0000 (0:00:00.126) 0:00:36.847 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:18 +0000 (0:00:00.060) 0:00:36.908 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:18 +0000 (0:00:00.054) 0:00:36.962 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:18 +0000 (0:00:00.092) 0:00:37.055 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:19 +0000 (0:00:00.392) 0:00:37.448 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:19 +0000 (0:00:00.068) 0:00:37.516 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:19 +0000 (0:00:00.038) 0:00:37.555 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:19 +0000 (0:00:00.022) 0:00:37.578 ******** 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, bf0d42d6-0768-4156-8fb0-319651a37e09 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:19 +0000 (0:00:00.504) 0:00:38.082 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:19 +0000 (0:00:00.042) 0:00:38.125 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf0d42d6-0768-4156-8fb0-319651a37e09 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:19 +0000 (0:00:00.044) 0:00:38.170 ******** 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, bf0d42d6-0768-4156-8fb0-319651a37e09 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf0d42d6-0768-4156-8fb0-319651a37e09 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:19 +0000 (0:00:00.026) 0:00:38.196 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:19 +0000 (0:00:00.055) 0:00:38.252 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:20 +0000 (0:00:00.171) 0:00:38.424 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:30:20 +0000 (0:00:00.043) 0:00:38.467 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:20 +0000 (0:00:00.213) 0:00:38.681 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:20 +0000 (0:00:00.102) 0:00:38.783 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:20 +0000 (0:00:00.048) 0:00:38.832 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:20 +0000 (0:00:00.049) 0:00:38.882 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:20 +0000 (0:00:00.027) 0:00:38.909 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:21 +0000 (0:00:00.797) 0:00:39.707 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:22 +0000 (0:00:00.766) 0:00:40.474 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:22 +0000 (0:00:00.041) 0:00:40.515 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:22 +0000 (0:00:00.023) 0:00:40.539 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:22 +0000 (0:00:00.061) 0:00:40.601 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:22 +0000 (0:00:00.135) 0:00:40.736 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:22 +0000 (0:00:00.025) 0:00:40.761 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:22 +0000 (0:00:00.039) 0:00:40.800 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:22 +0000 (0:00:00.030) 0:00:40.831 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:22 +0000 (0:00:00.446) 0:00:41.277 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:23 +0000 (0:00:00.048) 0:00:41.326 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:23 +0000 (0:00:00.032) 0:00:41.359 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:23 +0000 (0:00:00.083) 0:00:41.442 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:23 +0000 (0:00:00.473) 0:00:41.916 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:23 +0000 (0:00:00.048) 0:00:41.964 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:23 +0000 (0:00:00.023) 0:00:41.988 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:23 +0000 (0:00:00.147) 0:00:42.135 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:23 +0000 (0:00:00.047) 0:00:42.182 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:24 +0000 (0:00:00.194) 0:00:42.377 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:30:24 +0000 (0:00:00.134) 0:00:42.512 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:24 +0000 (0:00:00.089) 0:00:42.602 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304615.7977588, "block_size": 4096, "blocks": 0, "ctime": 1706304615.7867587, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17516, "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": 1706304615.7867587, "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_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:30:24 +0000 (0:00:00.171) 0:00:42.774 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:24 +0000 (0:00:00.025) 0:00:42.799 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:24 +0000 (0:00:00.066) 0:00:42.865 ******** 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:24 +0000 (0:00:00.067) 0:00:42.932 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:24 +0000 (0:00:00.261) 0:00:43.193 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:24 +0000 (0:00:00.055) 0:00:43.249 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024473", "end": "2024-01-26 21:30:25.130993", "rc": 1, "start": "2024-01-26 21:30:25.106520" } 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:25 +0000 (0:00:00.234) 0:00:43.484 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:25 +0000 (0:00:00.081) 0:00:43.566 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:25 +0000 (0:00:00.184) 0:00:43.750 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:25 +0000 (0:00:00.137) 0:00:43.888 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:25 +0000 (0:00:00.096) 0:00:43.984 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:25 +0000 (0:00:00.037) 0:00:44.021 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:25 +0000 (0:00:00.050) 0:00:44.071 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:25 +0000 (0:00:00.047) 0:00:44.119 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:25 +0000 (0:00:00.071) 0:00:44.190 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:25 +0000 (0:00:00.092) 0:00:44.283 ******** 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.081304", "end": "2024-01-26 21:30:26.217239", "rc": 1, "start": "2024-01-26 21:30:26.135935" } STDOUT: Connection 'statebr' (bf0d42d6-0768-4156-8fb0-319651a37e09) successfully deleted. STDERR: (process:24108): GLib-GIO-WARNING **: 21:30:26.191: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/18 but no object proxy exists (process:24108): GLib-GIO-WARNING **: 21:30:26.191: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/43 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_fixnylq7gb6/tests/playbooks/tests_states.yml:103 Friday 26 January 2024 21:30:26 +0000 (0:00:00.280) 0:00:44.564 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:26 +0000 (0:00:00.054) 0:00:44.618 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:26 +0000 (0:00:00.038) 0:00:44.656 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:26 +0000 (0:00:00.071) 0:00:44.727 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:26 +0000 (0:00:00.050) 0:00:44.778 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:26 +0000 (0:00:00.052) 0:00:44.830 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003411", "end": "2024-01-26 21:30:26.628179", "rc": 0, "start": "2024-01-26 21:30:26.624768" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:26 +0000 (0:00:00.144) 0:00:44.975 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:26 +0000 (0:00:00.037) 0:00:45.013 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:26 +0000 (0:00:00.059) 0:00:45.072 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:26 +0000 (0:00:00.046) 0:00:45.119 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:26 +0000 (0:00:00.038) 0:00:45.158 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:26 +0000 (0:00:00.050) 0:00:45.208 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:26 +0000 (0:00:00.029) 0:00:45.238 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:26 +0000 (0:00:00.032) 0:00:45.271 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:26 +0000 (0:00:00.024) 0:00:45.296 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:27 +0000 (0:00:00.830) 0:00:46.126 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:28 +0000 (0:00:00.684) 0:00:46.810 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:28 +0000 (0:00:00.059) 0:00:46.870 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:28 +0000 (0:00:00.092) 0:00:46.963 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:28 +0000 (0:00:00.027) 0:00:46.991 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:28 +0000 (0:00:00.082) 0:00:47.073 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:28 +0000 (0:00:00.026) 0:00:47.100 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:28 +0000 (0:00:00.024) 0:00:47.124 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:28 +0000 (0:00:00.031) 0:00:47.155 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:29 +0000 (0:00:00.307) 0:00:47.463 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:29 +0000 (0:00:00.104) 0:00:47.568 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:29 +0000 (0:00:00.035) 0:00:47.603 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:29 +0000 (0:00:00.041) 0:00:47.644 ******** 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, f18de908-e763-4aa9-bffc-14868a525307 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:29 +0000 (0:00:00.391) 0:00:48.036 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:29 +0000 (0:00:00.036) 0:00:48.072 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f18de908-e763-4aa9-bffc-14868a525307" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:29 +0000 (0:00:00.048) 0:00:48.120 ******** 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, f18de908-e763-4aa9-bffc-14868a525307\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f18de908-e763-4aa9-bffc-14868a525307" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:29 +0000 (0:00:00.066) 0:00:48.187 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:29 +0000 (0:00:00.051) 0:00:48.239 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:30 +0000 (0:00:00.144) 0:00:48.383 ******** 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, f18de908-e763-4aa9-bffc-14868a525307\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f18de908-e763-4aa9-bffc-14868a525307" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:30 +0000 (0:00:00.042) 0:00:48.425 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:30 +0000 (0:00:00.098) 0:00:48.524 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:30 +0000 (0:00:00.079) 0:00:48.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:30 +0000 (0:00:00.064) 0:00:48.667 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:30 +0000 (0:00:00.044) 0:00:48.712 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:30 +0000 (0:00:00.028) 0:00:48.740 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:31 +0000 (0:00:00.768) 0:00:49.509 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:31 +0000 (0:00:00.690) 0:00:50.200 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:31 +0000 (0:00:00.046) 0:00:50.246 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:31 +0000 (0:00:00.045) 0:00:50.292 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:32 +0000 (0:00:00.043) 0:00:50.335 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:32 +0000 (0:00:00.051) 0:00:50.386 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:32 +0000 (0:00:00.024) 0:00:50.411 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:32 +0000 (0:00:00.052) 0:00:50.463 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:32 +0000 (0:00:00.039) 0:00:50.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:32 +0000 (0:00:00.375) 0:00:50.878 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:32 +0000 (0:00:00.034) 0:00:50.913 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:32 +0000 (0:00:00.049) 0:00:50.962 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:32 +0000 (0:00:00.044) 0:00:51.007 ******** 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, f18de908-e763-4aa9-bffc-14868a525307 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:33 +0000 (0:00:00.427) 0:00:51.434 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:33 +0000 (0:00:00.041) 0:00:51.475 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f18de908-e763-4aa9-bffc-14868a525307 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:33 +0000 (0:00:00.071) 0:00:51.547 ******** 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, f18de908-e763-4aa9-bffc-14868a525307 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f18de908-e763-4aa9-bffc-14868a525307 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:33 +0000 (0:00:00.081) 0:00:51.629 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:33 +0000 (0:00:00.081) 0:00:51.710 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:30:33 +0000 (0:00:00.218) 0:00:51.929 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:33 +0000 (0:00:00.045) 0:00:51.975 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:33 +0000 (0:00:00.094) 0:00:52.070 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:33 +0000 (0:00:00.069) 0:00:52.139 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:33 +0000 (0:00:00.112) 0:00:52.252 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:33 +0000 (0:00:00.036) 0:00:52.289 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:34 +0000 (0:00:00.778) 0:00:53.068 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:35 +0000 (0:00:00.712) 0:00:53.781 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:35 +0000 (0:00:00.029) 0:00:53.810 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:35 +0000 (0:00:00.039) 0:00:53.850 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:35 +0000 (0:00:00.041) 0:00:53.891 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:35 +0000 (0:00:00.069) 0:00:53.961 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:35 +0000 (0:00:00.045) 0:00:54.006 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:35 +0000 (0:00:00.032) 0:00:54.038 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:35 +0000 (0:00:00.048) 0:00:54.087 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:36 +0000 (0:00:00.264) 0:00:54.352 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:36 +0000 (0:00:00.049) 0:00:54.401 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:36 +0000 (0:00:00.035) 0:00:54.437 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:36 +0000 (0:00:00.111) 0:00:54.548 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:36 +0000 (0:00:00.352) 0:00:54.900 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:36 +0000 (0:00:00.030) 0:00:54.930 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:36 +0000 (0:00:00.043) 0:00:54.974 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:36 +0000 (0:00:00.061) 0:00:55.036 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:36 +0000 (0:00:00.022) 0:00:55.059 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:36 +0000 (0:00:00.245) 0:00:55.304 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:37 +0000 (0:00:00.072) 0:00:55.377 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:37 +0000 (0:00:00.120) 0:00:55.497 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:37 +0000 (0:00:00.046) 0:00:55.543 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:37 +0000 (0:00:00.040) 0:00:55.584 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:37 +0000 (0:00:00.044) 0:00:55.629 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:37 +0000 (0:00:00.074) 0:00:55.703 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:38 +0000 (0:00:00.824) 0:00:56.527 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:38 +0000 (0:00:00.719) 0:00:57.247 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:38 +0000 (0:00:00.062) 0:00:57.310 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:39 +0000 (0:00:00.031) 0:00:57.341 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:39 +0000 (0:00:00.061) 0:00:57.403 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:39 +0000 (0:00:00.052) 0:00:57.455 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:39 +0000 (0:00:00.035) 0:00:57.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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:39 +0000 (0:00:00.036) 0:00:57.527 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:39 +0000 (0:00:00.048) 0:00:57.575 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:39 +0000 (0:00:00.461) 0:00:58.037 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:39 +0000 (0:00:00.038) 0:00:58.075 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:39 +0000 (0:00:00.046) 0:00:58.122 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:39 +0000 (0:00:00.046) 0:00:58.168 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:40 +0000 (0:00:00.499) 0:00:58.667 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:40 +0000 (0:00:00.096) 0:00:58.764 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:40 +0000 (0:00:00.027) 0:00:58.792 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:40 +0000 (0:00:00.060) 0:00:58.852 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:40 +0000 (0:00:00.091) 0:00:58.944 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:40 +0000 (0:00:00.212) 0:00:59.156 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:40 +0000 (0:00:00.044) 0:00:59.201 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:40 +0000 (0:00:00.098) 0:00:59.300 ******** 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:41 +0000 (0:00:00.065) 0:00:59.366 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:41 +0000 (0:00:00.148) 0:00:59.514 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:41 +0000 (0:00:00.019) 0:00:59.533 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021847", "end": "2024-01-26 21:30:41.345557", "rc": 1, "start": "2024-01-26 21:30:41.323710" } 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:41 +0000 (0:00:00.168) 0:00:59.702 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:41 +0000 (0:00:00.025) 0:00:59.727 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:41 +0000 (0:00:00.033) 0:00:59.760 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:41 +0000 (0:00:00.023) 0:00:59.784 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:41 +0000 (0:00:00.024) 0:00:59.808 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:41 +0000 (0:00:00.023) 0:00:59.832 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:41 +0000 (0:00:00.066) 0:00:59.899 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:30:41 +0000 (0:00:00.054) 0:00:59.954 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:41 +0000 (0:00:00.046) 0:01:00.001 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:30:41 +0000 (0:00:00.179) 0:01:00.180 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:41 +0000 (0:00:00.115) 0:01:00.296 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:42 +0000 (0:00:00.056) 0:01:00.352 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.068) 0:01:00.420 ******** 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.045350", "end": "2024-01-26 21:30:42.256910", "rc": 1, "start": "2024-01-26 21:30:42.211560" } 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_fixnylq7gb6/tests/playbooks/tests_states.yml:126 Friday 26 January 2024 21:30:42 +0000 (0:00:00.205) 0:01:00.626 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:42 +0000 (0:00:00.057) 0:01:00.683 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:42 +0000 (0:00:00.024) 0:01:00.708 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:42 +0000 (0:00:00.068) 0:01:00.776 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.042) 0:01:00.819 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.095) 0:01:00.915 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003505", "end": "2024-01-26 21:30:42.742712", "rc": 0, "start": "2024-01-26 21:30:42.739207" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:42 +0000 (0:00:00.168) 0:01:01.083 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:42 +0000 (0:00:00.025) 0:01:01.109 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:42 +0000 (0:00:00.032) 0:01:01.141 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.092) 0:01:01.234 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:42 +0000 (0:00:00.070) 0:01:01.304 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:43 +0000 (0:00:00.063) 0:01:01.367 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:43 +0000 (0:00:00.027) 0:01:01.395 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:43 +0000 (0:00:00.022) 0:01:01.417 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:43 +0000 (0:00:00.031) 0:01:01.449 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:43 +0000 (0:00:00.764) 0:01:02.214 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:44 +0000 (0:00:00.712) 0:01:02.926 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:44 +0000 (0:00:00.030) 0:01:02.956 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:44 +0000 (0:00:00.028) 0:01:02.985 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:44 +0000 (0:00:00.044) 0:01:03.029 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:44 +0000 (0:00:00.102) 0:01:03.132 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:44 +0000 (0:00:00.026) 0:01:03.159 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:44 +0000 (0:00:00.042) 0:01:03.202 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:44 +0000 (0:00:00.074) 0:01:03.276 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:45 +0000 (0:00:00.344) 0:01:03.620 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:45 +0000 (0:00:00.036) 0:01:03.657 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:45 +0000 (0:00:00.043) 0:01:03.700 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:45 +0000 (0:00:00.023) 0:01:03.723 ******** 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, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:45 +0000 (0:00:00.458) 0:01:04.181 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:45 +0000 (0:00:00.110) 0:01:04.292 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:46 +0000 (0:00:00.103) 0:01:04.395 ******** 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, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:46 +0000 (0:00:00.081) 0:01:04.477 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:46 +0000 (0:00:00.093) 0:01:04.571 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:46 +0000 (0:00:00.219) 0:01:04.790 ******** 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, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:46 +0000 (0:00:00.063) 0:01:04.854 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:46 +0000 (0:00:00.130) 0:01:04.985 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:46 +0000 (0:00:00.053) 0:01:05.039 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:46 +0000 (0:00:00.029) 0:01:05.068 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:46 +0000 (0:00:00.034) 0:01:05.103 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:46 +0000 (0:00:00.029) 0:01:05.132 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:47 +0000 (0:00:00.801) 0:01:05.933 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:48 +0000 (0:00:00.734) 0:01:06.667 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:48 +0000 (0:00:00.054) 0:01:06.721 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:48 +0000 (0:00:00.033) 0:01:06.755 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:48 +0000 (0:00:00.035) 0:01:06.791 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:48 +0000 (0:00:00.045) 0:01:06.836 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:48 +0000 (0:00:00.021) 0:01:06.857 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:48 +0000 (0:00:00.023) 0:01:06.881 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:48 +0000 (0:00:00.027) 0:01:06.908 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:48 +0000 (0:00:00.278) 0:01:07.186 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:48 +0000 (0:00:00.072) 0:01:07.259 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:48 +0000 (0:00:00.040) 0:01:07.299 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:49 +0000 (0:00:00.053) 0:01:07.352 ******** 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, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:49 +0000 (0:00:00.304) 0:01:07.657 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:49 +0000 (0:00:00.062) 0:01:07.720 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:49 +0000 (0:00:00.034) 0:01:07.754 ******** 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, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 998248e1-60f9-4c6f-84ae-e02cc3cf10b5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:49 +0000 (0:00:00.065) 0:01:07.819 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:49 +0000 (0:00:00.040) 0:01:07.860 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:49 +0000 (0:00:00.137) 0:01:07.998 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:49 +0000 (0:00:00.092) 0:01:08.090 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:49 +0000 (0:00:00.040) 0:01:08.130 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:49 +0000 (0:00:00.039) 0:01:08.170 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:49 +0000 (0:00:00.022) 0:01:08.193 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:49 +0000 (0:00:00.067) 0:01:08.260 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:50 +0000 (0:00:00.861) 0:01:09.122 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:51 +0000 (0:00:00.746) 0:01:09.869 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:51 +0000 (0:00:00.068) 0:01:09.937 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:51 +0000 (0:00:00.057) 0:01:09.995 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:51 +0000 (0:00:00.102) 0:01:10.098 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:51 +0000 (0:00:00.111) 0:01:10.209 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:51 +0000 (0:00:00.029) 0:01:10.239 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:51 +0000 (0:00:00.054) 0:01:10.293 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:52 +0000 (0:00:00.040) 0:01:10.334 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:52 +0000 (0:00:00.271) 0:01:10.605 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:52 +0000 (0:00:00.030) 0:01:10.636 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:52 +0000 (0:00:00.060) 0:01:10.696 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:52 +0000 (0:00:00.035) 0:01:10.732 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:52 +0000 (0:00:00.492) 0:01:11.224 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:52 +0000 (0:00:00.061) 0:01:11.285 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:53 +0000 (0:00:00.039) 0:01:11.324 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:53 +0000 (0:00:00.054) 0:01:11.379 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:53 +0000 (0:00:00.060) 0:01:11.440 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:53 +0000 (0:00:00.197) 0:01:11.637 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:53 +0000 (0:00:00.116) 0:01:11.754 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:53 +0000 (0:00:00.056) 0:01:11.811 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:53 +0000 (0:00:00.125) 0:01:11.936 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:53 +0000 (0:00:00.047) 0:01:11.983 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:53 +0000 (0:00:00.052) 0:01:12.036 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:53 +0000 (0:00:00.056) 0:01:12.093 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:54 +0000 (0:00:00.796) 0:01:12.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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:55 +0000 (0:00:00.702) 0:01:13.592 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:55 +0000 (0:00:00.024) 0:01:13.617 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:55 +0000 (0:00:00.021) 0:01:13.638 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:55 +0000 (0:00:00.021) 0:01:13.660 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:55 +0000 (0:00:00.077) 0:01:13.738 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:55 +0000 (0:00:00.036) 0:01:13.774 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:55 +0000 (0:00:00.023) 0:01:13.798 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:55 +0000 (0:00:00.026) 0:01:13.825 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:55 +0000 (0:00:00.319) 0:01:14.145 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:55 +0000 (0:00:00.039) 0:01:14.184 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:55 +0000 (0:00:00.031) 0:01:14.216 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:55 +0000 (0:00:00.034) 0:01:14.250 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:56 +0000 (0:00:00.363) 0:01:14.613 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:56 +0000 (0:00:00.071) 0:01:14.684 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:56 +0000 (0:00:00.074) 0:01:14.759 ******** 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_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:56 +0000 (0:00:00.059) 0:01:14.818 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:56 +0000 (0:00:00.121) 0:01:14.940 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:56 +0000 (0:00:00.202) 0:01:15.184 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:56 +0000 (0:00:00.069) 0:01:15.253 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:57 +0000 (0:00:00.111) 0:01:15.365 ******** 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:57 +0000 (0:00:00.050) 0:01:15.415 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:57 +0000 (0:00:00.336) 0:01:15.751 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:57 +0000 (0:00:00.089) 0:01:15.841 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020978", "end": "2024-01-26 21:30:57.676969", "rc": 1, "start": "2024-01-26 21:30:57.655991" } 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_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:57 +0000 (0:00:00.194) 0:01:16.035 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:57 +0000 (0:00:00.139) 0:01:16.175 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:57 +0000 (0:00:00.044) 0:01:16.219 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:57 +0000 (0:00:00.034) 0:01:16.254 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:57 +0000 (0:00:00.047) 0:01:16.302 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:58 +0000 (0:00:00.054) 0:01:16.356 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 21:30:58 +0000 (0:00:00.062) 0:01:16.418 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.407780", "end": "2024-01-26 21:30:58.643841", "rc": 0, "start": "2024-01-26 21:30:58.236061" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 21:30:58 +0000 (0:00:00.598) 0:01:17.017 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 21:30:58 +0000 (0:00:00.045) 0:01:17.063 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:58 +0000 (0:00:00.113) 0:01:17.176 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:30:58 +0000 (0:00:00.112) 0:01:17.289 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:59 +0000 (0:00:00.056) 0:01:17.346 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:30:59 +0000 (0:00:00.183) 0:01:17.530 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:59 +0000 (0:00:00.076) 0:01:17.607 ******** 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_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:59 +0000 (0:00:00.037) 0:01:17.644 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:59 +0000 (0:00:00.046) 0:01:17.691 ******** 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.043856", "end": "2024-01-26 21:30:59.594613", "rc": 1, "start": "2024-01-26 21:30:59.550757" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Friday 26 January 2024 21:30:59 +0000 (0:00:00.270) 0:01:17.962 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.43s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.98s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.61s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.35s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.33s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather current interface info ------------------------------------------- 1.26s /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.19s /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Re-test connectivity ----------------------- 1.06s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Enable and start NetworkManager ------------ 1.05s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.96s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---