# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-code_refactorfvhhqx8q/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-code_refactorfvhhqx8q/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tests_states_initscripts.yml:4 Thursday 30 November 2023 18:31:55 +0000 (0:00:00.016) 0:00:00.016 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tests_states_initscripts.yml:8 Thursday 30 November 2023 18:32:26 +0000 (0:00:30.797) 0:00:30.814 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/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-code_refactorfvhhqx8q/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:32:26 +0000 (0:00:00.013) 0:00:30.827 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 18:32:56 +0000 (0:00:30.251) 0:01:01.078 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 18:32:57 +0000 (0:00:00.202) 0:01:01.281 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 18:32:57 +0000 (0:00:00.020) 0:01:01.302 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 18:32:57 +0000 (0:00:00.009) 0:01:01.312 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:32:57 +0000 (0:00:00.030) 0:01:01.342 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:32:57 +0000 (0:00:00.208) 0:01:01.551 ***** 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-code_refactorfvhhqx8q/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:32:57 +0000 (0:00:00.447) 0:01:01.998 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.190054", "end": "2023-11-30 18:32:58.202156", "rc": 0, "start": "2023-11-30 18:32:58.012102" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:32:58 +0000 (0:00:00.316) 0:01:02.315 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:32:58 +0000 (0:00:00.010) 0:01:02.325 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/tests_states_initscripts.yml:10 Thursday 30 November 2023 18:32:58 +0000 (0:00:00.009) 0:01:02.334 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tests_states.yml:3 Thursday 30 November 2023 18:32:58 +0000 (0:00:00.019) 0:01:02.353 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tests_states.yml:11 Thursday 30 November 2023 18:33:28 +0000 (0:00:30.557) 0:01:32.911 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tests_states.yml:22 Thursday 30 November 2023 18:33:28 +0000 (0:00:00.027) 0:01:32.939 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:5 Thursday 30 November 2023 18:33:28 +0000 (0:00:00.033) 0:01:32.972 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:9 Thursday 30 November 2023 18:33:28 +0000 (0:00:00.028) 0:01:33.000 ***** 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": false, "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-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:21 Thursday 30 November 2023 18:33:28 +0000 (0:00:00.069) 0:01:33.069 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.029) 0:01:33.098 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.026) 0:01:33.125 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003634", "end": "2023-11-30 18:33:29.152659", "rc": 0, "start": "2023-11-30 18:33:29.149025" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.139) 0:01:33.264 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.023) 0:01:33.288 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:24 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.023) 0:01:33.311 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/delete_interface.yml:3 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.039) 0:01:33.351 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010804", "end": "2023-11-30 18:33:29.387408", "rc": 1, "start": "2023-11-30 18:33:29.376604" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.147) 0:01:33.498 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.025) 0:01:33.523 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.136) 0:01:33.660 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:30 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.023) 0:01:33.683 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.033) 0:01:33.717 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.046) 0:01:33.764 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.044) 0:01:33.809 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.025) 0:01:33.835 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.026) 0:01:33.862 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:33:29 +0000 (0:00:00.032) 0:01:33.894 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:33:30 +0000 (0:00:00.940) 0:01:34.834 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:33:31 +0000 (0:00:00.904) 0:01:35.739 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:33:31 +0000 (0:00:00.043) 0:01:35.783 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:33:31 +0000 (0:00:00.036) 0:01:35.819 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:33:31 +0000 (0:00:00.033) 0:01:35.852 ***** fatal: [sut]: FAILED! => { "changed": false, "changes": { "installed": [ "bridge-utils" ] }, "rc": 1, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\n" ] } MSG: http://download.eng.brq.redhat.com/rhel-7/rel-eng/updates/RHEL-7/RHEL-7.9-updates-20231114.0/compose/Server/x86_64/os/Packages/bridge-utils-1.5-9.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: download.eng.brq.redhat.com; Unknown error" Trying other mirror. Error downloading packages: bridge-utils-1.5-9.el7.x86_64: [Errno 256] No more mirrors to try. TASK [Failure in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:52 Thursday 30 November 2023 18:34:14 +0000 (0:00:42.574) 0:02:18.426 ***** ok: [sut] => {} MSG: !!!!! Failure in test 'I can create a profile' !!!!! TASK [Show item that failed] *************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:56 Thursday 30 November 2023 18:34:14 +0000 (0:00:00.042) 0:02:18.469 ***** ok: [sut] => (item=__network_connections_result) => { "__network_connections_result": "VARIABLE IS NOT DEFINED!: '__network_connections_result' is undefined. '__network_connections_result' is undefined", "ansible_loop_var": "item", "item": "__network_connections_result" } TASK [Issue failed message] **************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:61 Thursday 30 November 2023 18:34:14 +0000 (0:00:00.036) 0:02:18.506 ***** fatal: [sut]: FAILED! => { "changed": false } MSG: !!!!! Failure in test 'I can create a profile' !!!!! TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:66 Thursday 30 November 2023 18:34:14 +0000 (0:00:00.033) 0:02:18.540 ***** included: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 30 November 2023 18:34:14 +0000 (0:00:00.073) 0:02:18.613 ***** 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.048070", "end": "2023-11-30 18:34:14.688843", "rc": 1, "start": "2023-11-30 18:34:14.640773" } 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 to retry, use: --limit @/tmp/tests_states_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=35 changed=0 unreachable=0 failed=1 skipped=8 rescued=1 ignored=2 Thursday 30 November 2023 18:34:14 +0000 (0:00:00.185) 0:02:18.799 ***** =============================================================================== fedora.linux_system_roles.network : Install packages ------------------- 42.57s /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Gathering Facts -------------------------------------------------------- 30.80s /WORKDIR/git-code_refactorfvhhqx8q/tests/tests_states_initscripts.yml:4 ------- Gathering Facts -------------------------------------------------------- 30.56s /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tests_states.yml:3 --------- Gather the minimum subset of ansible_facts required by the network role test -- 30.25s /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/el_repo_setup.yml:3 ------------ fedora.linux_system_roles.network : Check which services are running ---- 0.94s /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.90s /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install yum-utils package ----------------------------------------------- 0.45s /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/enable_epel.yml:24 ------------- Enable EPEL 7 ----------------------------------------------------------- 0.32s /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/enable_epel.yml:30 ------------- Create EPEL 7 ----------------------------------------------------------- 0.21s /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/enable_epel.yml:8 -------------- Check if system is ostree ----------------------------------------------- 0.20s /WORKDIR/git-code_refactorfvhhqx8q/tests/tasks/el_repo_setup.yml:17 ----------- Cleanup profile and device ---------------------------------------------- 0.19s /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Remove test interface if necessary -------------------------------------- 0.15s /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/delete_interface.yml:3 Gather current interface info ------------------------------------------- 0.14s /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/get_current_interfaces.yml:3 Get stat for interface statebr ------------------------------------------ 0.14s /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/get_interface_stat.yml:3 Cleanup ----------------------------------------------------------------- 0.07s /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:66 ------ Show item --------------------------------------------------------------- 0.07s /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:9 ------- Include network role ---------------------------------------------------- 0.05s /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/create_bridge_profile.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role --- 0.04s /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 fedora.linux_system_roles.network : Print network provider -------------- 0.04s /WORKDIR/git-code_refactorfvhhqx8q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Failure in test 'I can create a profile' -------------------------------- 0.04s /WORKDIR/git-code_refactorfvhhqx8q/tests/playbooks/tasks/run_test.yml:52 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---