[Searchlight][Zuul] tox failed tests at zuul check only

Trinh Nguyen dangtrinhnt at gmail.com
Wed Dec 12 00:47:35 UTC 2018


Thank Jeremy. I will look into bindep.

On Wed, Dec 12, 2018 at 12:04 AM Jeremy Stanley <fungi at yuggoth.org> wrote:

> On 2018-12-11 15:21:47 +0900 (+0900), Trinh Nguyen wrote:
> > I'm trying to figure out how Zuul processes the test-setup.sh [1]
> > file to adopt new dependencies.
> [...]
>
> Looking at what you've put in there for your JRE packages, those
> would be better handled in a bindep.txt file in your repository.
> Running tools/test-setup.sh in jobs is really to catch other sorts
> of setup steps like precreating a database or formatting and
> mounting a particular filesystem your tests are going to rely on.
> For system package dependencies of your jobs, we have a declarative
> mechanism already which doesn't require complex conditional
> handling: we install whatever bindep says is missing.
>
> I see you're also leveraging tools/test-setup.sh to obtain packages
> of elasticsearch which are not available in the distributions on
> which your jobs run, which I guess is a suitable workaround though
> it seems odd to test on platforms which don't package the software
> on which your project relies.
> --
> Jeremy Stanley
>


-- 
*Trinh Nguyen*
*www.edlab.xyz <https://www.edlab.xyz>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20181212/9630bc7e/attachment.html>


More information about the openstack-discuss mailing list