# 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_fixjhh469ik/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/tests_states_nm.yml:6 Friday 26 January 2024 21:27:30 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/tests_states_nm.yml:9 Friday 26 January 2024 21:27:30 +0000 (0:00:00.539) 0:00:00.551 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:27:30 +0000 (0:00:00.027) 0:00:00.578 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/el_repo_setup.yml:19 Friday 26 January 2024 21:27:31 +0000 (0:00:00.231) 0:00:00.810 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/el_repo_setup.yml:24 Friday 26 January 2024 21:27:31 +0000 (0:00:00.241) 0:00:01.051 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/el_repo_setup.yml:28 Friday 26 January 2024 21:27:31 +0000 (0:00:00.020) 0:00:01.071 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/el_repo_setup.yml:53 Friday 26 January 2024 21:27:31 +0000 (0:00:00.018) 0:00:01.090 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:27:31 +0000 (0:00:00.049) 0:00:01.140 ******** 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_fixjhh469ik/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:27:31 +0000 (0:00:00.214) 0:00:01.355 ******** 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_fixjhh469ik/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:27:32 +0000 (0:00:00.515) 0:00:01.870 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179377", "end": "2024-01-26 21:27:32.602260", "rc": 0, "start": "2024-01-26 21:27:32.422883" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:27:32 +0000 (0:00:00.346) 0:00:02.216 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:27:32 +0000 (0:00:00.012) 0:00:02.229 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tests_states_nm.yml:11 Friday 26 January 2024 21:27:32 +0000 (0:00:00.021) 0:00:02.250 ******** 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_fixjhh469ik/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 21:27:32 +0000 (0:00:00.015) 0:00:02.265 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 21:27:33 +0000 (0:00:00.427) 0:00:02.693 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 21:27:33 +0000 (0:00:00.034) 0:00:02.727 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:33 +0000 (0:00:00.037) 0:00:02.765 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:33 +0000 (0:00:00.040) 0:00:02.805 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:33 +0000 (0:00:00.034) 0:00:02.839 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.025) 0:00:02.865 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.015) 0:00:02.880 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003594", "end": "2024-01-26 21:27:33.405345", "rc": 0, "start": "2024-01-26 21:27:33.401751" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:33 +0000 (0:00:00.124) 0:00:03.004 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:33 +0000 (0:00:00.011) 0:00:03.016 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:33 +0000 (0:00:00.011) 0:00:03.028 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.021) 0:00:03.049 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011051", "end": "2024-01-26 21:27:33.585039", "rc": 1, "start": "2024-01-26 21:27:33.573988" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.143) 0:00:03.192 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.021) 0:00:03.213 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:27:33 +0000 (0:00:00.121) 0:00:03.335 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:33 +0000 (0:00:00.012) 0:00:03.348 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.022) 0:00:03.370 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:33 +0000 (0:00:00.032) 0:00:03.403 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.088) 0:00:03.491 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:33 +0000 (0:00:00.016) 0:00:03.507 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:33 +0000 (0:00:00.009) 0:00:03.517 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:33 +0000 (0:00:00.014) 0:00:03.532 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:34 +0000 (0:00:00.795) 0:00:04.327 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:35 +0000 (0:00:01.078) 0:00:05.405 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:35 +0000 (0:00:00.049) 0:00:05.454 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:35 +0000 (0:00:00.020) 0:00:05.474 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:35 +0000 (0:00:00.021) 0:00:05.496 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:35 +0000 (0:00:00.041) 0:00:05.538 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:35 +0000 (0:00:00.020) 0:00:05.558 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:35 +0000 (0:00:00.021) 0:00:05.579 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:36 +0000 (0:00:00.023) 0:00:05.602 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:36 +0000 (0:00:00.369) 0:00:05.972 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:36 +0000 (0:00:00.024) 0:00:05.996 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:36 +0000 (0:00:00.019) 0:00:06.016 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:36 +0000 (0:00:00.021) 0:00:06.037 ******** 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, 7485cedd-6db9-45c4-a1bf-2b25e813bd78 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:36 +0000 (0:00:00.507) 0:00:06.545 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:36 +0000 (0:00:00.022) 0:00:06.567 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7485cedd-6db9-45c4-a1bf-2b25e813bd78" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:37 +0000 (0:00:00.036) 0:00:06.604 ******** 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, 7485cedd-6db9-45c4-a1bf-2b25e813bd78\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7485cedd-6db9-45c4-a1bf-2b25e813bd78" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:37 +0000 (0:00:00.080) 0:00:06.684 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:37 +0000 (0:00:00.033) 0:00:06.717 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:27:37 +0000 (0:00:00.308) 0:00:07.026 ******** 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, 7485cedd-6db9-45c4-a1bf-2b25e813bd78\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7485cedd-6db9-45c4-a1bf-2b25e813bd78" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:37 +0000 (0:00:00.034) 0:00:07.061 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:27:37 +0000 (0:00:00.071) 0:00:07.132 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:37 +0000 (0:00:00.078) 0:00:07.211 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:37 +0000 (0:00:00.030) 0:00:07.241 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304456.8689945, "block_size": 4096, "blocks": 8, "ctime": 1706304456.8679945, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25558, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304456.8679945, "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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:37 +0000 (0:00:00.154) 0:00:07.396 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:37 +0000 (0:00:00.026) 0:00:07.422 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025233", "end": "2024-01-26 21:27:37.977411", "rc": 0, "start": "2024-01-26 21:27:37.952178" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:38 +0000 (0:00:00.165) 0:00:07.588 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:38 +0000 (0:00:00.030) 0:00:07.618 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:38 +0000 (0:00:00.029) 0:00:07.648 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:38 +0000 (0:00:00.028) 0:00:07.676 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:38 +0000 (0:00:00.046) 0:00:07.722 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:27:38 +0000 (0:00:00.041) 0:00:07.764 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:27:38 +0000 (0:00:00.045) 0:00:07.809 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:27:38 +0000 (0:00:00.025) 0:00:07.835 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:38 +0000 (0:00:00.032) 0:00:07.868 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:27:38 +0000 (0:00:00.087) 0:00:07.955 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:38 +0000 (0:00:00.034) 0:00:07.990 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304456.8749943, "block_size": 4096, "blocks": 0, "ctime": 1706304456.8709943, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17772, "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": 1706304456.8709943, "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_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:27:38 +0000 (0:00:00.166) 0:00:08.156 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:38 +0000 (0:00:00.038) 0:00:08.195 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:38 +0000 (0:00:00.021) 0:00:08.217 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:38 +0000 (0:00:00.040) 0:00:08.257 ******** 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.079565", "end": "2024-01-26 21:27:38.867774", "rc": 1, "start": "2024-01-26 21:27:38.788209" } STDOUT: Connection 'statebr' (7485cedd-6db9-45c4-a1bf-2b25e813bd78) successfully deleted. STDERR: (process:30213): GLib-GIO-WARNING **: 21:27:38.849: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/60 but no object proxy exists (process:30213): GLib-GIO-WARNING **: 21:27:38.849: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/53 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_fixjhh469ik/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 21:27:38 +0000 (0:00:00.231) 0:00:08.489 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:38 +0000 (0:00:00.074) 0:00:08.563 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:39 +0000 (0:00:00.040) 0:00:08.604 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:39 +0000 (0:00:00.058) 0:00:08.662 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:39 +0000 (0:00:00.037) 0:00:08.700 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:39 +0000 (0:00:00.056) 0:00:08.756 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003836", "end": "2024-01-26 21:27:39.282265", "rc": 0, "start": "2024-01-26 21:27:39.278429" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:39 +0000 (0:00:00.136) 0:00:08.892 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:39 +0000 (0:00:00.022) 0:00:08.914 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:39 +0000 (0:00:00.038) 0:00:08.953 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:27:39 +0000 (0:00:00.041) 0:00:08.994 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007470", "end": "2024-01-26 21:27:39.522620", "rc": 1, "start": "2024-01-26 21:27:39.515150" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:27:39 +0000 (0:00:00.140) 0:00:09.135 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:39 +0000 (0:00:00.035) 0:00:09.170 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:27:39 +0000 (0:00:00.134) 0:00:09.304 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:39 +0000 (0:00:00.025) 0:00:09.330 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 21:27:39 +0000 (0:00:00.038) 0:00:09.369 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:39 +0000 (0:00:00.042) 0:00:09.411 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:39 +0000 (0:00:00.064) 0:00:09.476 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:39 +0000 (0:00:00.028) 0:00:09.504 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:39 +0000 (0:00:00.021) 0:00:09.525 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:39 +0000 (0:00:00.022) 0:00:09.548 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:40 +0000 (0:00:00.729) 0:00:10.277 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:41 +0000 (0:00:00.945) 0:00:11.223 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:41 +0000 (0:00:00.023) 0:00:11.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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:41 +0000 (0:00:00.021) 0:00:11.268 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:41 +0000 (0:00:00.019) 0:00:11.287 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:41 +0000 (0:00:00.044) 0:00:11.331 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:41 +0000 (0:00:00.050) 0:00:11.382 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:41 +0000 (0:00:00.043) 0:00:11.425 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:41 +0000 (0:00:00.041) 0:00:11.466 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:42 +0000 (0:00:00.262) 0:00:11.729 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:42 +0000 (0:00:00.026) 0:00:11.755 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:42 +0000 (0:00:00.033) 0:00:11.789 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:42 +0000 (0:00:00.057) 0:00:11.846 ******** 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, df44582d-4702-4caf-b3d7-78cdd3fb5d5d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:42 +0000 (0:00:00.339) 0:00:12.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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:42 +0000 (0:00:00.025) 0:00:12.211 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, df44582d-4702-4caf-b3d7-78cdd3fb5d5d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:42 +0000 (0:00:00.023) 0:00:12.234 ******** 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, df44582d-4702-4caf-b3d7-78cdd3fb5d5d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, df44582d-4702-4caf-b3d7-78cdd3fb5d5d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:42 +0000 (0:00:00.022) 0:00:12.256 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:42 +0000 (0:00:00.020) 0:00:12.277 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 21:27:42 +0000 (0:00:00.133) 0:00:12.411 ******** 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, df44582d-4702-4caf-b3d7-78cdd3fb5d5d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, df44582d-4702-4caf-b3d7-78cdd3fb5d5d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:42 +0000 (0:00:00.029) 0:00:12.440 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:27:42 +0000 (0:00:00.053) 0:00:12.494 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:43 +0000 (0:00:00.092) 0:00:12.587 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:27:43 +0000 (0:00:00.166) 0:00:12.753 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:27:43 +0000 (0:00:00.024) 0:00:12.777 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:43 +0000 (0:00:00.036) 0:00:12.814 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:43 +0000 (0:00:00.021) 0:00:12.835 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304462.5399585, "block_size": 4096, "blocks": 8, "ctime": 1706304462.5399585, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25578, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304462.5399585, "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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:43 +0000 (0:00:00.134) 0:00:12.970 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:43 +0000 (0:00:00.053) 0:00:13.023 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022716", "end": "2024-01-26 21:27:43.595442", "rc": 0, "start": "2024-01-26 21:27:43.572726" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:43 +0000 (0:00:00.197) 0:00:13.221 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:43 +0000 (0:00:00.054) 0:00:13.275 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:43 +0000 (0:00:00.024) 0:00:13.300 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:43 +0000 (0:00:00.022) 0:00:13.323 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:43 +0000 (0:00:00.030) 0:00:13.353 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:27:43 +0000 (0:00:00.023) 0:00:13.376 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:27:43 +0000 (0:00:00.027) 0:00:13.403 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:27:43 +0000 (0:00:00.037) 0:00:13.441 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:43 +0000 (0:00:00.022) 0:00:13.464 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:43 +0000 (0:00:00.024) 0:00:13.489 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:43 +0000 (0:00:00.091) 0:00:13.580 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:44 +0000 (0:00:00.062) 0:00:13.643 ******** 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.048734", "end": "2024-01-26 21:27:44.226384", "rc": 1, "start": "2024-01-26 21:27:44.177650" } STDOUT: Connection 'statebr' (df44582d-4702-4caf-b3d7-78cdd3fb5d5d) 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_fixjhh469ik/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 21:27:44 +0000 (0:00:00.200) 0:00:13.844 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:44 +0000 (0:00:00.043) 0:00:13.888 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:44 +0000 (0:00:00.032) 0:00:13.920 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:44 +0000 (0:00:00.057) 0:00:13.978 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:44 +0000 (0:00:00.045) 0:00:14.023 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:44 +0000 (0:00:00.057) 0:00:14.080 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003502", "end": "2024-01-26 21:27:44.618617", "rc": 0, "start": "2024-01-26 21:27:44.615115" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:44 +0000 (0:00:00.178) 0:00:14.259 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:44 +0000 (0:00:00.045) 0:00:14.305 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:44 +0000 (0:00:00.038) 0:00:14.344 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:44 +0000 (0:00:00.084) 0:00:14.429 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:44 +0000 (0:00:00.087) 0:00:14.516 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:44 +0000 (0:00:00.038) 0:00:14.555 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:44 +0000 (0:00:00.025) 0:00:14.580 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:45 +0000 (0:00:00.021) 0:00:14.601 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:45 +0000 (0:00:00.021) 0:00:14.623 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:45 +0000 (0:00:00.695) 0:00:15.319 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:46 +0000 (0:00:00.925) 0:00:16.244 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:46 +0000 (0:00:00.023) 0:00:16.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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:46 +0000 (0:00:00.043) 0:00:16.310 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:46 +0000 (0:00:00.021) 0:00:16.331 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:46 +0000 (0:00:00.044) 0:00:16.375 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:46 +0000 (0:00:00.021) 0:00:16.397 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:46 +0000 (0:00:00.023) 0:00:16.420 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:46 +0000 (0:00:00.024) 0:00:16.445 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:47 +0000 (0:00:00.230) 0:00:16.675 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:47 +0000 (0:00:00.024) 0:00:16.700 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:47 +0000 (0:00:00.020) 0:00:16.720 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:47 +0000 (0:00:00.020) 0:00:16.740 ******** 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, 0499237b-e2e7-453c-a520-e66b11fba77a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:47 +0000 (0:00:00.333) 0:00:17.073 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:47 +0000 (0:00:00.019) 0:00:17.093 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0499237b-e2e7-453c-a520-e66b11fba77a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:47 +0000 (0:00:00.021) 0:00:17.114 ******** 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, 0499237b-e2e7-453c-a520-e66b11fba77a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0499237b-e2e7-453c-a520-e66b11fba77a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:47 +0000 (0:00:00.021) 0:00:17.136 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:47 +0000 (0:00:00.021) 0:00:17.157 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:27:47 +0000 (0:00:00.137) 0:00:17.295 ******** 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, 0499237b-e2e7-453c-a520-e66b11fba77a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0499237b-e2e7-453c-a520-e66b11fba77a" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:47 +0000 (0:00:00.025) 0:00:17.320 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:27:47 +0000 (0:00:00.067) 0:00:17.388 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:47 +0000 (0:00:00.060) 0:00:17.449 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:47 +0000 (0:00:00.113) 0:00:17.562 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:48 +0000 (0:00:00.066) 0:00:17.628 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:48 +0000 (0:00:00.063) 0:00:17.692 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:48 +0000 (0:00:00.068) 0:00:17.761 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:48 +0000 (0:00:00.761) 0:00:18.522 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:49 +0000 (0:00:00.923) 0:00:19.446 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:49 +0000 (0:00:00.048) 0:00:19.494 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:49 +0000 (0:00:00.028) 0:00:19.523 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:49 +0000 (0:00:00.031) 0:00:19.554 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:50 +0000 (0:00:00.045) 0:00:19.600 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:50 +0000 (0:00:00.023) 0:00:19.623 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:50 +0000 (0:00:00.028) 0:00:19.651 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:50 +0000 (0:00:00.038) 0:00:19.689 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:50 +0000 (0:00:00.229) 0:00:19.919 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:50 +0000 (0:00:00.039) 0:00:19.958 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:50 +0000 (0:00:00.032) 0:00:19.991 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:50 +0000 (0:00:00.022) 0:00:20.013 ******** 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, 0499237b-e2e7-453c-a520-e66b11fba77a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:50 +0000 (0:00:00.297) 0:00:20.310 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:50 +0000 (0:00:00.019) 0:00:20.330 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0499237b-e2e7-453c-a520-e66b11fba77a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:50 +0000 (0:00:00.020) 0:00:20.350 ******** 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, 0499237b-e2e7-453c-a520-e66b11fba77a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0499237b-e2e7-453c-a520-e66b11fba77a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:50 +0000 (0:00:00.022) 0:00:20.372 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:50 +0000 (0:00:00.022) 0:00:20.394 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:50 +0000 (0:00:00.132) 0:00:20.527 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.079) 0:00:20.606 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.055) 0:00:20.661 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304467.4109278, "block_size": 4096, "blocks": 0, "ctime": 1706304467.4069278, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17772, "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": 1706304467.4069278, "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_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:27:51 +0000 (0:00:00.158) 0:00:20.820 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.022) 0:00:20.842 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.038) 0:00:20.881 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:51 +0000 (0:00:00.024) 0:00:20.905 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304467.4059277, "block_size": 4096, "blocks": 8, "ctime": 1706304467.4049277, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25578, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304467.4049277, "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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:51 +0000 (0:00:00.136) 0:00:21.042 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:51 +0000 (0:00:00.036) 0:00:21.078 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024087", "end": "2024-01-26 21:27:51.637129", "rc": 0, "start": "2024-01-26 21:27:51.613042" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:51 +0000 (0:00:00.177) 0:00:21.256 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:51 +0000 (0:00:00.042) 0:00:21.298 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:51 +0000 (0:00:00.033) 0:00:21.332 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:51 +0000 (0:00:00.030) 0:00:21.362 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:51 +0000 (0:00:00.045) 0:00:21.408 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:27:51 +0000 (0:00:00.029) 0:00:21.437 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:27:51 +0000 (0:00:00.067) 0:00:21.505 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:27:51 +0000 (0:00:00.025) 0:00:21.530 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:51 +0000 (0:00:00.026) 0:00:21.557 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:52 +0000 (0:00:00.031) 0:00:21.588 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:52 +0000 (0:00:00.022) 0:00:21.610 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:52 +0000 (0:00:00.051) 0:00:21.662 ******** 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.076954", "end": "2024-01-26 21:27:52.262149", "rc": 1, "start": "2024-01-26 21:27:52.185195" } STDOUT: Connection 'statebr' (0499237b-e2e7-453c-a520-e66b11fba77a) successfully deleted. STDERR: (process:30926): GLib-GIO-WARNING **: 21:27:52.242: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/61 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_fixjhh469ik/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 21:27:52 +0000 (0:00:00.209) 0:00:21.871 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:52 +0000 (0:00:00.035) 0:00:21.907 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:52 +0000 (0:00:00.020) 0:00:21.927 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:52 +0000 (0:00:00.043) 0:00:21.970 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:52 +0000 (0:00:00.032) 0:00:22.003 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:52 +0000 (0:00:00.033) 0:00:22.036 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003539", "end": "2024-01-26 21:27:52.564837", "rc": 0, "start": "2024-01-26 21:27:52.561298" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:52 +0000 (0:00:00.137) 0:00:22.173 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:52 +0000 (0:00:00.045) 0:00:22.218 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:52 +0000 (0:00:00.021) 0:00:22.240 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:52 +0000 (0:00:00.050) 0:00:22.291 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:52 +0000 (0:00:00.039) 0:00:22.331 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:52 +0000 (0:00:00.048) 0:00:22.379 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:52 +0000 (0:00:00.032) 0:00:22.411 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:52 +0000 (0:00:00.020) 0:00:22.432 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:52 +0000 (0:00:00.020) 0:00:22.452 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:53 +0000 (0:00:00.696) 0:00:23.148 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:54 +0000 (0:00:00.972) 0:00:24.121 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:54 +0000 (0:00:00.024) 0:00:24.145 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:54 +0000 (0:00:00.025) 0:00:24.171 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:54 +0000 (0:00:00.022) 0:00:24.193 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:54 +0000 (0:00:00.046) 0:00:24.240 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:54 +0000 (0:00:00.028) 0:00:24.268 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:54 +0000 (0:00:00.033) 0:00:24.302 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:54 +0000 (0:00:00.025) 0:00:24.328 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:54 +0000 (0:00:00.236) 0:00:24.564 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:55 +0000 (0:00:00.029) 0:00:24.594 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:55 +0000 (0:00:00.021) 0:00:24.615 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:55 +0000 (0:00:00.027) 0:00:24.643 ******** 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, 7e43f272-f3c1-4ba7-94b5-81db950ff670 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:55 +0000 (0:00:00.386) 0:00:25.030 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:55 +0000 (0:00:00.041) 0:00:25.071 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7e43f272-f3c1-4ba7-94b5-81db950ff670" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:55 +0000 (0:00:00.037) 0:00:25.109 ******** 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, 7e43f272-f3c1-4ba7-94b5-81db950ff670\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7e43f272-f3c1-4ba7-94b5-81db950ff670" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:55 +0000 (0:00:00.043) 0:00:25.153 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:55 +0000 (0:00:00.054) 0:00:25.207 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:27:55 +0000 (0:00:00.155) 0:00:25.362 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7e43f272-f3c1-4ba7-94b5-81db950ff670\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7e43f272-f3c1-4ba7-94b5-81db950ff670" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:27:55 +0000 (0:00:00.038) 0:00:25.400 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:55 +0000 (0:00:00.039) 0:00:25.440 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:55 +0000 (0:00:00.067) 0:00:25.507 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:55 +0000 (0:00:00.035) 0:00:25.542 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:55 +0000 (0:00:00.022) 0:00:25.565 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:56 +0000 (0:00:00.022) 0:00:25.588 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:56 +0000 (0:00:00.704) 0:00:26.293 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:57 +0000 (0:00:00.960) 0:00:27.254 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:57 +0000 (0:00:00.024) 0:00:27.279 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:57 +0000 (0:00:00.030) 0:00:27.309 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:57 +0000 (0:00:00.021) 0:00:27.331 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:57 +0000 (0:00:00.042) 0:00:27.374 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:57 +0000 (0:00:00.022) 0:00:27.396 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:57 +0000 (0:00:00.021) 0:00:27.418 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:57 +0000 (0:00:00.025) 0:00:27.443 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:58 +0000 (0:00:00.226) 0:00:27.670 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:58 +0000 (0:00:00.024) 0:00:27.695 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:58 +0000 (0:00:00.019) 0:00:27.715 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:58 +0000 (0:00:00.019) 0:00:27.735 ******** 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, 7e43f272-f3c1-4ba7-94b5-81db950ff670 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:58 +0000 (0:00:00.282) 0:00:28.017 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:58 +0000 (0:00:00.020) 0:00:28.038 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7e43f272-f3c1-4ba7-94b5-81db950ff670 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:58 +0000 (0:00:00.021) 0:00:28.059 ******** 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, 7e43f272-f3c1-4ba7-94b5-81db950ff670 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7e43f272-f3c1-4ba7-94b5-81db950ff670 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:58 +0000 (0:00:00.053) 0:00:28.112 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:58 +0000 (0:00:00.047) 0:00:28.159 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:58 +0000 (0:00:00.144) 0:00:28.304 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:27:58 +0000 (0:00:00.039) 0:00:28.343 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:58 +0000 (0:00:00.039) 0:00:28.383 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:58 +0000 (0:00:00.037) 0:00:28.420 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:58 +0000 (0:00:00.024) 0:00:28.445 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:58 +0000 (0:00:00.019) 0:00:28.464 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:58 +0000 (0:00:00.019) 0:00:28.484 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:59 +0000 (0:00:00.707) 0:00:29.191 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:00 +0000 (0:00:00.968) 0:00:30.160 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:00 +0000 (0:00:00.047) 0:00:30.207 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:00 +0000 (0:00:00.056) 0:00:30.263 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:00 +0000 (0:00:00.032) 0:00:30.296 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:00 +0000 (0:00:00.045) 0:00:30.342 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:00 +0000 (0:00:00.020) 0:00:30.362 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:00 +0000 (0:00:00.027) 0:00:30.390 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:00 +0000 (0:00:00.024) 0:00:30.414 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:01 +0000 (0:00:00.239) 0:00:30.654 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:01 +0000 (0:00:00.026) 0:00:30.680 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:01 +0000 (0:00:00.023) 0:00:30.704 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:01 +0000 (0:00:00.031) 0:00:30.735 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:01 +0000 (0:00:00.422) 0:00:31.158 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:01 +0000 (0:00:00.049) 0:00:31.208 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:01 +0000 (0:00:00.022) 0:00:31.230 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:01 +0000 (0:00:00.025) 0:00:31.256 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:01 +0000 (0:00:00.024) 0:00:31.281 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:28:01 +0000 (0:00:00.144) 0:00:31.425 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:28:01 +0000 (0:00:00.059) 0:00:31.485 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:28:01 +0000 (0:00:00.038) 0:00:31.524 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304475.3268776, "block_size": 4096, "blocks": 0, "ctime": 1706304475.3258777, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17774, "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": 1706304475.3258777, "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_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:28:02 +0000 (0:00:00.165) 0:00:31.689 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:28:02 +0000 (0:00:00.026) 0:00:31.715 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:28:02 +0000 (0:00:00.040) 0:00:31.756 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:28:02 +0000 (0:00:00.023) 0:00:31.779 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:28:02 +0000 (0:00:00.142) 0:00:31.922 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:28:02 +0000 (0:00:00.022) 0:00:31.945 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023014", "end": "2024-01-26 21:28:02.491284", "rc": 1, "start": "2024-01-26 21:28:02.468270" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:28:02 +0000 (0:00:00.160) 0:00:32.105 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:28:02 +0000 (0:00:00.066) 0:00:32.171 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:28:02 +0000 (0:00:00.025) 0:00:32.197 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:28:02 +0000 (0:00:00.041) 0:00:32.238 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:28:02 +0000 (0:00:00.046) 0:00:32.285 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:28:02 +0000 (0:00:00.037) 0:00:32.322 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:28:02 +0000 (0:00:00.030) 0:00:32.352 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:28:02 +0000 (0:00:00.028) 0:00:32.381 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:28:02 +0000 (0:00:00.039) 0:00:32.421 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:28:02 +0000 (0:00:00.086) 0:00:32.508 ******** 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.078064", "end": "2024-01-26 21:28:03.153754", "rc": 1, "start": "2024-01-26 21:28:03.075690" } STDOUT: Connection 'statebr' (7e43f272-f3c1-4ba7-94b5-81db950ff670) 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_fixjhh469ik/tests/playbooks/tests_states.yml:103 Friday 26 January 2024 21:28:03 +0000 (0:00:00.280) 0:00:32.788 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:28:03 +0000 (0:00:00.115) 0:00:32.903 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:28:03 +0000 (0:00:00.033) 0:00:32.936 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:28:03 +0000 (0:00:00.047) 0:00:32.984 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:28:03 +0000 (0:00:00.034) 0:00:33.018 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:28:03 +0000 (0:00:00.069) 0:00:33.088 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003515", "end": "2024-01-26 21:28:03.631520", "rc": 0, "start": "2024-01-26 21:28:03.628005" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:28:03 +0000 (0:00:00.157) 0:00:33.245 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:28:03 +0000 (0:00:00.057) 0:00:33.302 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:28:03 +0000 (0:00:00.050) 0:00:33.353 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:28:03 +0000 (0:00:00.052) 0:00:33.406 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:03 +0000 (0:00:00.036) 0:00:33.442 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:03 +0000 (0:00:00.050) 0:00:33.492 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:03 +0000 (0:00:00.042) 0:00:33.535 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:03 +0000 (0:00:00.035) 0:00:33.571 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:04 +0000 (0:00:00.026) 0:00:33.597 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:04 +0000 (0:00:00.721) 0:00:34.319 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:05 +0000 (0:00:00.956) 0:00:35.275 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:05 +0000 (0:00:00.040) 0:00:35.315 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:05 +0000 (0:00:00.037) 0:00:35.353 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:05 +0000 (0:00:00.023) 0:00:35.377 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:05 +0000 (0:00:00.044) 0:00:35.421 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:05 +0000 (0:00:00.020) 0:00:35.441 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:05 +0000 (0:00:00.019) 0:00:35.460 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:05 +0000 (0:00:00.023) 0:00:35.484 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:06 +0000 (0:00:00.227) 0:00:35.711 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:06 +0000 (0:00:00.024) 0:00:35.735 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:06 +0000 (0:00:00.019) 0:00:35.755 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:06 +0000 (0:00:00.020) 0:00:35.775 ******** 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, f38cdd17-bc7e-4100-aed3-588a9885c3ce TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:06 +0000 (0:00:00.415) 0:00:36.191 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:06 +0000 (0:00:00.038) 0:00:36.230 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f38cdd17-bc7e-4100-aed3-588a9885c3ce" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:06 +0000 (0:00:00.035) 0:00:36.265 ******** 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, f38cdd17-bc7e-4100-aed3-588a9885c3ce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f38cdd17-bc7e-4100-aed3-588a9885c3ce" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:06 +0000 (0:00:00.046) 0:00:36.312 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:06 +0000 (0:00:00.029) 0:00:36.342 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:28:06 +0000 (0:00:00.161) 0:00:36.503 ******** 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, f38cdd17-bc7e-4100-aed3-588a9885c3ce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f38cdd17-bc7e-4100-aed3-588a9885c3ce" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:28:06 +0000 (0:00:00.034) 0:00:36.538 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:07 +0000 (0:00:00.105) 0:00:36.643 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:07 +0000 (0:00:00.108) 0:00:36.752 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:07 +0000 (0:00:00.063) 0:00:36.815 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:07 +0000 (0:00:00.036) 0:00:36.852 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:07 +0000 (0:00:00.021) 0:00:36.874 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:07 +0000 (0:00:00.708) 0:00:37.583 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:09 +0000 (0:00:01.004) 0:00:38.587 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:09 +0000 (0:00:00.029) 0:00:38.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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:09 +0000 (0:00:00.023) 0:00:38.640 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:09 +0000 (0:00:00.036) 0:00:38.677 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:09 +0000 (0:00:00.053) 0:00:38.730 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:09 +0000 (0:00:00.023) 0:00:38.754 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:09 +0000 (0:00:00.022) 0:00:38.776 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:09 +0000 (0:00:00.024) 0:00:38.800 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:09 +0000 (0:00:00.253) 0:00:39.054 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:09 +0000 (0:00:00.031) 0:00:39.086 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:09 +0000 (0:00:00.024) 0:00:39.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:09 +0000 (0:00:00.046) 0:00:39.157 ******** 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, f38cdd17-bc7e-4100-aed3-588a9885c3ce skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:09 +0000 (0:00:00.325) 0:00:39.482 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:09 +0000 (0:00:00.042) 0:00:39.524 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f38cdd17-bc7e-4100-aed3-588a9885c3ce skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:09 +0000 (0:00:00.022) 0:00:39.546 ******** 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, f38cdd17-bc7e-4100-aed3-588a9885c3ce skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f38cdd17-bc7e-4100-aed3-588a9885c3ce skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:09 +0000 (0:00:00.020) 0:00:39.567 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:10 +0000 (0:00:00.021) 0:00:39.589 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:28:10 +0000 (0:00:00.129) 0:00:39.719 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:10 +0000 (0:00:00.036) 0:00:39.756 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:10 +0000 (0:00:00.040) 0:00:39.797 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:10 +0000 (0:00:00.025) 0:00:39.822 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:10 +0000 (0:00:00.019) 0:00:39.841 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:10 +0000 (0:00:00.031) 0:00:39.873 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:10 +0000 (0:00:00.691) 0:00:40.565 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:11 +0000 (0:00:00.958) 0:00:41.523 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:11 +0000 (0:00:00.021) 0:00:41.544 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:11 +0000 (0:00:00.021) 0:00:41.566 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:12 +0000 (0:00:00.020) 0:00:41.587 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:12 +0000 (0:00:00.069) 0:00:41.657 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:12 +0000 (0:00:00.036) 0:00:41.693 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:12 +0000 (0:00:00.023) 0:00:41.717 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:12 +0000 (0:00:00.028) 0:00:41.745 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:12 +0000 (0:00:00.254) 0:00:42.000 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:12 +0000 (0:00:00.031) 0:00:42.032 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:12 +0000 (0:00:00.036) 0:00:42.069 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:12 +0000 (0:00:00.027) 0:00:42.096 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:12 +0000 (0:00:00.372) 0:00:42.468 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:12 +0000 (0:00:00.064) 0:00:42.533 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:12 +0000 (0:00:00.026) 0:00:42.559 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:13 +0000 (0:00:00.049) 0:00:42.608 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:13 +0000 (0:00:00.052) 0:00:42.660 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:28:13 +0000 (0:00:00.154) 0:00:42.815 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:28:13 +0000 (0:00:00.045) 0:00:42.860 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:13 +0000 (0:00:00.042) 0:00:42.902 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:13 +0000 (0:00:00.054) 0:00:42.957 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:13 +0000 (0:00:00.041) 0:00:42.999 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:13 +0000 (0:00:00.023) 0:00:43.022 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:13 +0000 (0:00:00.019) 0:00:43.042 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:14 +0000 (0:00:00.713) 0:00:43.756 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:15 +0000 (0:00:00.925) 0:00:44.681 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:15 +0000 (0:00:00.030) 0:00:44.711 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:15 +0000 (0:00:00.039) 0:00:44.751 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:15 +0000 (0:00:00.040) 0:00:44.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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:15 +0000 (0:00:00.101) 0:00:44.893 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:15 +0000 (0:00:00.074) 0:00:44.967 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:15 +0000 (0:00:00.031) 0:00:44.999 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:15 +0000 (0:00:00.035) 0:00:45.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:15 +0000 (0:00:00.241) 0:00:45.276 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:15 +0000 (0:00:00.030) 0:00:45.307 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:15 +0000 (0:00:00.029) 0:00:45.337 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:15 +0000 (0:00:00.071) 0:00:45.408 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:16 +0000 (0:00:00.402) 0:00:45.810 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:16 +0000 (0:00:00.024) 0:00:45.835 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:16 +0000 (0:00:00.024) 0:00:45.859 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:16 +0000 (0:00:00.026) 0:00:45.886 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:16 +0000 (0:00:00.022) 0:00:45.908 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:28:16 +0000 (0:00:00.140) 0:00:46.049 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:28:16 +0000 (0:00:00.046) 0:00:46.095 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:28:16 +0000 (0:00:00.073) 0:00:46.168 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:28:16 +0000 (0:00:00.027) 0:00:46.196 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:28:16 +0000 (0:00:00.168) 0:00:46.364 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:28:16 +0000 (0:00:00.036) 0:00:46.400 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020682", "end": "2024-01-26 21:28:16.977764", "rc": 1, "start": "2024-01-26 21:28:16.957082" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:28:17 +0000 (0:00:00.189) 0:00:46.590 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:28:17 +0000 (0:00:00.022) 0:00:46.613 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:28:17 +0000 (0:00:00.055) 0:00:46.668 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:28:17 +0000 (0:00:00.027) 0:00:46.696 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:28:17 +0000 (0:00:00.026) 0:00:46.722 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:28:17 +0000 (0:00:00.023) 0:00:46.746 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:28:17 +0000 (0:00:00.051) 0:00:46.797 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:28:17 +0000 (0:00:00.086) 0:00:46.884 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:28:17 +0000 (0:00:00.044) 0:00:46.928 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:28:17 +0000 (0:00:00.169) 0:00:47.098 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:28:17 +0000 (0:00:00.058) 0:00:47.156 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:28:17 +0000 (0:00:00.040) 0:00:47.196 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:28:17 +0000 (0:00:00.048) 0:00:47.244 ******** 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.044229", "end": "2024-01-26 21:28:17.812926", "rc": 1, "start": "2024-01-26 21:28:17.768697" } 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_fixjhh469ik/tests/playbooks/tests_states.yml:126 Friday 26 January 2024 21:28:17 +0000 (0:00:00.178) 0:00:47.423 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:28:17 +0000 (0:00:00.036) 0:00:47.460 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:28:17 +0000 (0:00:00.028) 0:00:47.489 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:28:18 +0000 (0:00:00.175) 0:00:47.665 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:28:18 +0000 (0:00:00.057) 0:00:47.722 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:28:18 +0000 (0:00:00.121) 0:00:47.844 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003553", "end": "2024-01-26 21:28:18.407577", "rc": 0, "start": "2024-01-26 21:28:18.404024" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:28:18 +0000 (0:00:00.190) 0:00:48.034 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:28:18 +0000 (0:00:00.025) 0:00:48.060 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:28:18 +0000 (0:00:00.024) 0:00:48.084 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:28:18 +0000 (0:00:00.059) 0:00:48.143 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:18 +0000 (0:00:00.081) 0:00:48.225 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:18 +0000 (0:00:00.087) 0:00:48.312 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:18 +0000 (0:00:00.044) 0:00:48.357 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:18 +0000 (0:00:00.025) 0:00:48.382 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:18 +0000 (0:00:00.045) 0:00:48.427 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:19 +0000 (0:00:00.753) 0:00:49.180 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:20 +0000 (0:00:00.938) 0:00:50.119 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:20 +0000 (0:00:00.038) 0:00:50.157 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:20 +0000 (0:00:00.041) 0:00:50.198 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:20 +0000 (0:00:00.043) 0:00:50.242 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:20 +0000 (0:00:00.045) 0:00:50.288 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:20 +0000 (0:00:00.026) 0:00:50.314 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:20 +0000 (0:00:00.026) 0:00:50.341 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:20 +0000 (0:00:00.024) 0:00:50.365 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:21 +0000 (0:00:00.230) 0:00:50.596 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:21 +0000 (0:00:00.073) 0:00:50.669 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:21 +0000 (0:00:00.020) 0:00:50.690 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:21 +0000 (0:00:00.019) 0:00:50.710 ******** 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, 58f030b1-6352-4251-aa32-2d9465c67220 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:21 +0000 (0:00:00.346) 0:00:51.056 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:21 +0000 (0:00:00.026) 0:00:51.083 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58f030b1-6352-4251-aa32-2d9465c67220" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:21 +0000 (0:00:00.034) 0:00:51.118 ******** 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, 58f030b1-6352-4251-aa32-2d9465c67220\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58f030b1-6352-4251-aa32-2d9465c67220" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:21 +0000 (0:00:00.024) 0:00:51.142 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:21 +0000 (0:00:00.027) 0:00:51.170 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:28:21 +0000 (0:00:00.171) 0:00:51.342 ******** 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, 58f030b1-6352-4251-aa32-2d9465c67220\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58f030b1-6352-4251-aa32-2d9465c67220" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:28:21 +0000 (0:00:00.026) 0:00:51.368 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:21 +0000 (0:00:00.036) 0:00:51.405 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:21 +0000 (0:00:00.039) 0:00:51.444 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:21 +0000 (0:00:00.026) 0:00:51.471 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:21 +0000 (0:00:00.021) 0:00:51.492 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:21 +0000 (0:00:00.059) 0:00:51.552 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:22 +0000 (0:00:00.770) 0:00:52.323 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:23 +0000 (0:00:00.969) 0:00:53.292 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:23 +0000 (0:00:00.059) 0:00:53.352 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:23 +0000 (0:00:00.049) 0:00:53.401 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:23 +0000 (0:00:00.057) 0:00:53.459 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:23 +0000 (0:00:00.083) 0:00:53.542 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:23 +0000 (0:00:00.039) 0:00:53.582 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:24 +0000 (0:00:00.061) 0:00:53.643 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:24 +0000 (0:00:00.062) 0:00:53.705 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:24 +0000 (0:00:00.297) 0:00:54.003 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:24 +0000 (0:00:00.046) 0:00:54.050 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:24 +0000 (0:00:00.052) 0:00:54.103 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:24 +0000 (0:00:00.027) 0:00:54.130 ******** 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, 58f030b1-6352-4251-aa32-2d9465c67220 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:24 +0000 (0:00:00.293) 0:00:54.424 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:24 +0000 (0:00:00.021) 0:00:54.446 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 58f030b1-6352-4251-aa32-2d9465c67220 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:24 +0000 (0:00:00.024) 0:00:54.470 ******** 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, 58f030b1-6352-4251-aa32-2d9465c67220 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 58f030b1-6352-4251-aa32-2d9465c67220 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:24 +0000 (0:00:00.022) 0:00:54.493 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:24 +0000 (0:00:00.022) 0:00:54.516 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:28:25 +0000 (0:00:00.130) 0:00:54.647 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:25 +0000 (0:00:00.034) 0:00:54.682 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:25 +0000 (0:00:00.038) 0:00:54.720 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:25 +0000 (0:00:00.027) 0:00:54.747 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:25 +0000 (0:00:00.023) 0:00:54.771 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:25 +0000 (0:00:00.022) 0:00:54.793 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:25 +0000 (0:00:00.741) 0:00:55.535 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:26 +0000 (0:00:00.967) 0:00:56.502 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:26 +0000 (0:00:00.025) 0:00:56.528 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:27 +0000 (0:00:00.057) 0:00:56.586 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:27 +0000 (0:00:00.046) 0:00:56.632 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:27 +0000 (0:00:00.045) 0:00:56.677 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:27 +0000 (0:00:00.027) 0:00:56.705 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:27 +0000 (0:00:00.022) 0:00:56.727 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:27 +0000 (0:00:00.024) 0:00:56.752 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:27 +0000 (0:00:00.273) 0:00:57.025 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:27 +0000 (0:00:00.029) 0:00:57.055 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:27 +0000 (0:00:00.063) 0:00:57.119 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:27 +0000 (0:00:00.025) 0:00:57.144 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:27 +0000 (0:00:00.386) 0:00:57.531 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:27 +0000 (0:00:00.024) 0:00:57.555 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:27 +0000 (0:00:00.026) 0:00:57.581 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:28 +0000 (0:00:00.030) 0:00:57.611 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:28 +0000 (0:00:00.041) 0:00:57.653 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:28:28 +0000 (0:00:00.193) 0:00:57.846 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:28:28 +0000 (0:00:00.054) 0:00:57.901 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:28 +0000 (0:00:00.062) 0:00:57.964 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:28 +0000 (0:00:00.078) 0:00:58.043 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:28 +0000 (0:00:00.028) 0:00:58.071 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:28 +0000 (0:00:00.020) 0:00:58.092 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:28 +0000 (0:00:00.052) 0:00:58.145 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:29 +0000 (0:00:00.706) 0:00:58.852 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:30 +0000 (0:00:00.939) 0:00:59.791 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:30 +0000 (0:00:00.024) 0:00:59.816 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:30 +0000 (0:00:00.023) 0:00:59.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:30 +0000 (0:00:00.026) 0:00:59.865 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:30 +0000 (0:00:00.057) 0:00:59.923 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:30 +0000 (0:00:00.025) 0:00:59.949 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:30 +0000 (0:00:00.023) 0:00:59.972 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:30 +0000 (0:00:00.025) 0:00:59.998 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:30 +0000 (0:00:00.244) 0:01:00.242 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:30 +0000 (0:00:00.024) 0:01:00.266 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:30 +0000 (0:00:00.019) 0:01:00.286 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:30 +0000 (0:00:00.021) 0:01:00.307 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:31 +0000 (0:00:00.300) 0:01:00.607 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:31 +0000 (0:00:00.029) 0:01:00.636 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:31 +0000 (0:00:00.031) 0:01:00.668 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:31 +0000 (0:00:00.023) 0:01:00.692 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:31 +0000 (0:00:00.023) 0:01:00.715 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:28:31 +0000 (0:00:00.139) 0:01:00.855 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:28:31 +0000 (0:00:00.048) 0:01:00.904 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:28:31 +0000 (0:00:00.035) 0:01:00.940 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:28:31 +0000 (0:00:00.030) 0:01:00.971 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:28:31 +0000 (0:00:00.138) 0:01:01.109 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:28:31 +0000 (0:00:00.054) 0:01:01.163 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020586", "end": "2024-01-26 21:28:31.707885", "rc": 1, "start": "2024-01-26 21:28:31.687299" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:28:31 +0000 (0:00:00.154) 0:01:01.318 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:28:31 +0000 (0:00:00.025) 0:01:01.343 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:28:31 +0000 (0:00:00.041) 0:01:01.385 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:28:31 +0000 (0:00:00.022) 0:01:01.407 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:28:31 +0000 (0:00:00.024) 0:01:01.432 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:28:31 +0000 (0:00:00.021) 0:01:01.454 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 21:28:31 +0000 (0:00:00.023) 0:01:01.477 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.687091", "end": "2024-01-26 21:28:32.688695", "rc": 0, "start": "2024-01-26 21:28:32.001604" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 21:28:32 +0000 (0:00:00.822) 0:01:02.300 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 21:28:32 +0000 (0:00:00.022) 0:01:02.322 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:28:32 +0000 (0:00:00.023) 0:01:02.346 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:28:32 +0000 (0:00:00.043) 0:01:02.389 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:28:32 +0000 (0:00:00.035) 0:01:02.425 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:28:33 +0000 (0:00:00.165) 0:01:02.590 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:28:33 +0000 (0:00:00.026) 0:01:02.617 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:28:33 +0000 (0:00:00.035) 0:01:02.652 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:28:33 +0000 (0:00:00.041) 0:01:02.693 ******** 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.045459", "end": "2024-01-26 21:28:33.263155", "rc": 1, "start": "2024-01-26 21:28:33.217696" } 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:28:33 +0000 (0:00:00.178) 0:01:02.872 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.99s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.29s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.20s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.09s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.01s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Re-test connectivity ----------------------- 0.93s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---