<html><body>
<h3>Barak Korren created OVIRT-1831:</h3>
<pre>   Summary: Make `global-setup.sh` check if packages are installed before trying to install them
       Key: OVIRT-1831
       URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1831
   Project: oVirt - virtualization made easy
Issue Type: Improvement
Components: oVirt CI
  Reporter: Barak Korren
  Assignee: infra</pre>
<p>The way &lsquo;{{global-setup.sh}}&rsquo; works currently is that it tries to install all the packages it needs in a single yum command and then runs in a loop and checks if the packages were installed properly.</p>
<p>If the packages are already installed this takes a negligible amount of time on CentOS slaves, but on Fedora it seems to take much longer and as much as 2 minutes.</p>
<p>We should try to make &lsquo;{{global-setup.sh}}&rsquo; faster by making it not try to install packages before checking if they are there, but instead check first and only try to install the missing ones.</p>
<p>Note that if we'll install multiple packages in a single command, we'll still need to verify they were properly installed after the yum/dnf command finishes.</p>
<p>&mdash; This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100075)</p>

<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BJ33BSM3tuiUfRTk64K-2BOjGpF-2BuMzoJRRB1ifzZIErtIxTccLy521zz7OxZViB5mnpbbwYJFz6flgevXOzUJVH-2FqBqvcqqqKIp3p4OcyDFOsRwvaLk1r7X8JpLEbbYtQ-2F8se-2FAoG3NqMy6MEF960fM4WCfArIPipDAxV3I9QtDxwIZkeNWD9yApPsdJra3V4NT7hIOoTif46hN9A2Na-2BIseHngSSOzrSPo87Xs5dlTOpR1NqXgs74k1IZrSwLia427AArEGj9LCBequgC-2FcqJGCJOxb81HaJtY017m3GjtpV3o9fNHdSEG4jkTmlu81gE0oxelwytFymBld17DvnYR-2B-2BzqjCrRhTwu5aRWr2KRgZwkfOoTW6i-2FLfsYKDaqeWrNjcKdC1suUDiowLHb6ct-2B8lCBRiXOK8V7pzMwsSosL-2B" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>