After setting the UPPER_CONSTRAINTS_FILE, gates started failing
because of side effects, as this var was being taken as part of
the image build. Unset it after requirements have been installed
and before actually running the tests.
Change-Id: I650cf83e2828ce373b8c9e8b3c0cc1c9722b949a
Call the contrib script to make the infra mirror repo files. I don't
want the functional tests calling this themselves -- in theory they
should run anywhere and this is OpenStack CI specific setup.
While we're here, remove the clone and install of dib-utils. This
hasn't been doing anything since
Ic1e22ba498d2c368da7d72e2e2b70ff34324feb8 when we decided to retire
the project and fold it into diskimage-builder. The related jobs
aren't actually testing anything.
Change-Id: I45b4b181369032155f8908ee11641d2327586e6f
Convert the diskimage-builder jobs to be able to make either a python2
or python3 virtualenv for testing. Convert jobs to specify. Add a
-nv Xenial python3 jobs for testing. When these are stable, we will
remove the Xenial python2 jobs and just leave python3.
Change-Id: I787451057eee90a59a94b6821c4665c243a5d7f7
We have now some rather long job-template names, shorten them with
replacing job-suffix with suffix.
Before this change we had 1500 usages of job-suffix and 700 of just
suffix. This change therefore unifies to one setting.
Note that this does not change any job names at all, they are unchanged,
it changes and shortens only the names of job-templates.
Change-Id: I514df039a848d9f6619bca3adc05dfb84a761fc9
We recently added bindep support to diskimage-builder, in doing so, we
incorrectly looked in the wrong directory for the cloned project.
Change-Id: I960a466351dabae1b75c2f31183fcdb7c43fe173
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Start using bindep to manage OS dependencies for DIB.
Change-Id: I88c01234de396db0ae35365eb678069ed082e552
Depends-On: I3b599983106b87fec6a4b6348469ed037654810e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We may do things that exceed the space available in a tmpfs, so point
everything at the larger mounted space.
Change-Id: Ie63a66f9c3e77a0e6351f2d058e17a5eb5a2d949
This commit allows the definition of non-voting gate jobs by defining
a new job-suffix. 'extras' was added as a new job pre-suffix because
just 'nv' implies we would be testing the same things as the
non-postfixed variant. This was done to facilitate adding a Gentoo
non-voting gate job, also in this commit.
Change-Id: I08f35397a4cce05b90d88077922dc38ece5c2b55
Depends-On: I0d2768a912b350e1b2cf40d2fd227fdc767b1bcb
Signed-off-by: Matthew Thode <mthode@mthode.org>
With the switch to the ubuntu-trusty nodes, we've exposed a flaw in
testing dib from a checkout like this. Several of the parts have
python dependencies [1] ; e.g.
| dib-run-parts Thu Mar 17 06:04:57 UTC 2016
| Running /tmp/image.2NkOFQBR/hooks/extra-data.d/99-squash-package-install
| Traceback (most recent call last):
| File "... /bin/package-installs-squash", line 23, in <module>
| import yaml
| ImportError: No module named yaml
but we're not installing dib's python dependencies at all but simply
running ./run_tests.sh
So now that the image doesn't come with some of these things, we
break. The solution is to install dib into a virtualenv and run from
there so that we get all the dependencies. We already had an
experimental job doing this, so move it to the main job. The scripts
should be using "#!/usr/bin/env python" so they should pickup the
virtualenv python & consequently have their dependencies.
[1] http://logs.openstack.org/33/293833/1/check/gate-dib-dsvm-functests-ubuntu-trusty/1731239/console.html
Change-Id: I5950c772b380cab926fd707cfed25db219a96f62
Rather than running from the checkout of the source tree, we should
also be testing the install/distribution part of the package by pip
installing.
This sets up some experimental jobs to make sure this works, with the
idea of converting the main jobs when it does.
Change-Id: I161f58d19e57cdc985d49d8490f57cae2a441732
In order to to speed CI build times for bifrost, we will
attempt to pre-build the debian guest image that helps us
identify if simple-init is in working order as compared to
bifrost, since the simple-init element which users are
dependent upon resides in the diskimage-builder repository.
As a result of the same job being utilized, the job has been
renamed appropriately.
Additionally, the file upload configuration appeared to be
working incorrectly and this commit updates it in an attempt
to correct the issue.
Change-Id: Ifde8717740f324cb3abe1266efca42bd24d634d3
Between the Icehouse and Juno releases, OpenStack changed its
supported Ubuntu LTS platform from Precise to Trusty. In support of
continuing testing stable/icehouse and prior branches on Precise
while starting to test newer branches on Trusty, a branch-based
decision tree was introduced into our Zuul configuration by way of
complex parameter functions with an ever growing list of regular
expression matches on job names.
Now that Icehouse is EOL (in fact, Juno is too) this simply adds
unnecessary complexity and an attractive nuisance for cargo-cult
copying into new job and job-template definitions which don't even
need it. In preparation to remove the associated parameter
functions, get rid of multiple labels in all jobs and set them to
whatever label Zuul would ultimately select.
This change touches a vast number, possibly a majority, of our jobs
and so manual jenkins-jobs updates on all Jenkins masters will be
needed after this merges, before it's safe to approve the
corresponding Zuul configuration cleanup.
Change-Id: Ic952ee02da2c77fe2ace81c4e2fa87531be6119c
The repo name was accidently put into the diskimage-builder
post-build job by accident instead of the actual script name
inside of the repository.
Corrected, which should result in the build job working as
intended.
Change-Id: Ic5cd96ba3290339be3abfa69887d4248d9c988d7
In order to to speed CI build times for bifrost, we will
attempt to pre-build the IPA image when changes have been
committed to diskimage-builder, as the ironic-agent build
element is with-in the diskimage-builder repository.
Change-Id: If9363bff535f9d1fc9692767ac9194923030cfe7
When performing image boot tests we run up against the 30min default
timeout. We are pretty far in the test run at this point, so extenting
the timeout to 60min should be enough.
Change-Id: I0254e08e2bee35f4db5ec9deb185e328e67a6d5a
When we switched to zuul-cloner we missed the prepended openstack/ for
the downloaded repos. Also removing gerrit-git-prep since were using
zuul-cloner for the same functionality.
Change-Id: Ia9e1d943c486986a35c456733c8d4579957a5e50
We keep chasing after missing deps and dependency installation issues.
Lets handle these issues in the DIB source tree.
Depends-On: I7c8bdaddfe316ae171b34164f99bc3d568eafd92
Change-Id: I7883ad5408a39af858114377d54daad261856bd9
In diskimage-builder Ie491e27f00bde54f73af6b47c9696ec04d973b14 we are
adding functional tests. Adding jobs per distro since this a very
distro-dependent operation.
Change-Id: Ic80f44fc07c7ae9b4498417dee38e123fe1c2e71