<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=36266#comment-36266 ]</pre>
<h3>Daniel Belenky commented on OVIRT-886:</h3>
<p>Thinking about this, we've solved a similar issue in [<a href="https://gerrit.ovirt.org/c/89948/">https://gerrit.ovirt.org/c/89948/</a>|here]. A simple solution could be something like what going through the packages in .packages and verify that they are installed. Should be something like: {code:java} for package in &ldquo;${packages[@]}&rdquo;; do rpm -q --whatprovides $pkg_name || fail; done {code} After this line, we can run the user's script.</p>
<p>The bug is actually in yum. If you try to install multiple packages and some doesn't exist in the repo, it doesn't fail.</p>
<blockquote><h3>Yum install does not throw error on missing package</h3>
<pre>     Key: OVIRT-886
     URL: https://ovirt-jira.atlassian.net/browse/OVIRT-886
 Project: oVirt - virtualization made easy
         Issue Type: Bug
         Components: oVirt CI
Reporter: Gil Shinar
Assignee: infra
  Labels: mock_runner.sh, standard-ci</pre></blockquote>
<p>&mdash; This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100082)</p>

<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BJ33BSM3tuiUfRTk64K-2BOjH6OfHwHF07KbWgKiV6gm3mB1II18BSBtXPREj0WkjfqAgXWnshvNmi3g7hf7kv7FqBki2RZzgFbqRnK9goqqJkcAizW7noi7EpyC7Cyq4m5LcFY7gF1dfPA71ctDJv1itP55J4TaIQ0OVOFPKLlEkDqvR5zu-2BOiUvMmzEJIbMQEdd5TIXd0EUIrZzpWk0Acbta5iy-2BWecOD-2FMYCrOtNJel4kNULgp6OahmV9Hv8M6F8-2BRYVaFbrL2neM6JgmM7S0MFosGifTvr6fKZosgxaFONQ-2Bm3GgaJDQ4nf7dX8MMtlS42-2B-2BzR6N8-2FfAxI2vUkXt9OwQ9ojiEcAc6MM29T57fGzifGbyafJALWF06M-2BuGK-2FfSuNWpBUqJxKlvwuiNtnOA38hDKLTT6KEoJN5jDHYDb" 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>