Daniel Belenky commented on OVIRT-886:

Thinking about this, we've solved a similar issue in 
A simple solution could be something like what going through the packages in 
.packages and verify that they are installed. Should be something like:
for package in "${packages[@]}"; do rpm -q --whatprovides $pkg_name || fail; 
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
Infra mailing list

Reply via email to