This is a multi-part message in MIME format...
------------=_1523365020-24055-182
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
[
https://ovirt-jira.atlassian.net/browse/OVIRT-886?page=com.atlassian.jira...
]
Daniel Belenky edited comment on OVIRT-886 at 4/10/18 12:56 PM:
----------------------------------------------------------------
Thinking about this, we've solved a similar issue in
https://gerrit.ovirt.org/c/89948
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 "${packages[@]}"; do rpm -q --whatprovides $package || fail;
done
{code}
After this line, we can run the user's script.
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.
was (Author: dbelenky(a)redhat.com):
Thinking about this, we've solved a similar issue in
[
https://gerrit.ovirt.org/c/89948/|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 "${packages[@]}"; do rpm -q --whatprovides $pkg_name || fail;
done
{code}
After this line, we can run the user's script.
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.
Yum install does not throw error on missing package
---------------------------------------------------
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
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100082)
------------=_1523365020-24055-182
Content-Type: text/html; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
<html><body>
<pre>[
https://ovirt-jira.atlassian.net/browse/OVIRT-886?page=com.atlassian.jira...
]</pre>
<h3>Daniel Belenky edited comment on OVIRT-886 at 4/10/18 12:56 PM:</h3>
<p>Thinking about this, we've solved a similar issue in <a
href="https://gerrit.ovirt.org/c/89948">https://gerrit.ovirt...
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
“${packages[@]}”; do rpm -q --whatprovides $package || 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>
<p>was (Author: dbelenky(a)redhat.com): Thinking about this, we've solved a
similar issue in [<a
href="https://gerrit.ovirt.org/c/89948/">https://gerrit.ovir...].
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
“${packages[@]}”; 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>— This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100082)</p>
<img
src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpS...
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>
------------=_1523365020-24055-182--