24 Commits

Author SHA1 Message Date
Ihar Hrachyshka
b97f008059 Use python3 to calculate freezes
We need the integration gate to work with both trusty (python3.4) and
xenial (python3.5).  Rather than hard code the full python binary just
use python 3 and let the OS mange this for us. This is less than ideal
but it's the best we can do right now to unblock the gate.

We also address a short term issue with out upper-constraints.txt files
and manually copy the constraints from 3.4 to 3.5

Related-Bug: 1620436
Change-Id: I6acabf86933b7a7bce7baf44e6b512e7d0d2f6db
2016-09-06 03:34:23 +00:00
Andreas Jaeger
1f3975247a Move other-requirements.txt to bindep.txt
The default filename for documenting binary dependencies has been
changed from "other-requirements.txt" to "bindep.txt" with the release
of bindep 2.1.0. While the previous name is still supported, it will
be deprecated.

Move the file around to follow this change.

Note that this change is self-testing, the OpenStack CI infrastructure
will use a "bindep.txt" file to setup nodes for testing.

For more information about bindep, see also:
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
http://docs.openstack.org/infra/bindep/

As well as this announcement:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101590.html

Change-Id: If4db21748c4cf2b457e02efdd92b33eee44e2319
2016-08-13 16:45:13 +10:00
Jenkins
eeb5a1d827 Merge "Stop special casing jeepyb and pypi-mirror in test" 2015-10-23 18:29:02 +00:00
Doug Hellmann
cd88f6c3f6 do not commit requirements syncs
We need to test without committing the requirements changes because pbr
throws an error if the pre and post versioning do not match. The first
change on a stable branch must be the one to remove the pre-versioning
configuration.

Change-Id: I812af614b7a6c7f499c67310f078ac4835b9e91a
2015-10-16 14:27:08 +00:00
Clark Boylan
7fe60b6f33 Stop special casing jeepyb and pypi-mirror in test
We have removed these projects from the PROJECTS list so no longer need
to special case them here.

Change-Id: Ic3116a646389438ded03f285819529477bf849d8
Depends-On: I61c2f3f8a724dc789479278e7ba493e095c52305
2015-10-15 10:44:43 -07:00
Robert Collins
4c028dba0a Move integration test dependencies into bindep
bindep makes this a lot easier to work with as well as making it
possible to support Fedora, Suse etc as needed.

Change-Id: I4d19df8bbcd08e06edcf71ee51c30bb9c3d57fd0
2015-07-19 08:37:11 +12:00
Matt Riedemann
f236298949 Revert "Move integration test dependencies into bindep"
This reverts commit ce6ef0fe230ff939ae4d583a2262a16d598c32b9

We're only installing bindep on diskimage-builder built images, and
the devstack-trusty images in rax regions are snapshot-based. We'll
need to temporarily revert this until devstack-trusty is switched to
DIB everywhere, or DevStack-based jobs move to the ubuntu-trusty DIB
images we have available in rax currently.

Change-Id: I69c923297c3202fd35b8892ddfa4d8dbf272bf16
Closes-Bug: #1475880
2015-07-18 15:04:34 +00:00
Robert Collins
ce6ef0fe23 Move integration test dependencies into bindep
bindep makes this a lot easier to work with as well as making it
possible to support Fedora, Suse etc as needed.

Change-Id: I29ffd7376c6f77ca104bf7d930fef178e5cab20f
2015-07-16 07:28:59 +12:00
Robert Collins
5e4ca1b8b8 Test that changes to requirements are freezable.
If we can't generate a new constraints file, don't let changes in.

Change-Id: If5aa15bb9ca75db0b8ef89a13c9b4bbf8d45cae2
2015-06-25 11:20:56 +12:00
Robert Collins
4b22b94752 Also update extras in setup.cfg.
This required some care. There doesn't seem to be a sane Python3 ready
comment-preserving ini parser around, so I wrote a
minimal-for-our-case one in Parsley. Parsley is already in use in
infra in bindep, but I need to add it to global-requirements as this
is the first use in a managed project of it.

Change-Id: I48de3a2f36e945f75b534f689e3af802bbdc5be9
Depends-On: I7d7e91694c9145fac0ddab8a9de5f789d723c641
Depends-On: I16e967356d5c56f1474ee661b954b3db11a608cb
2015-06-20 19:19:21 +12:00
Flavio Percoco
7428cd9e30 Use pyngus>=1.3.1
Pyngus 1.3.1 has been released and it fixes the issues that blocked the
gate last time. This version of the library is required for the amqp
driver in oslo.messaging.

Change-Id: I4ba583e062674b27ad873ca2228274f383f2bb22
2015-06-16 13:32:24 +02:00
Robert Collins
020073faee Allow testing with specific pips
We want to use the new resolver branch of pip today, and perhaps
develop in future too. This introduces the same basic change we did to
pbr's tests to test with a custom pip.

Change-Id: Ia2b1a9c7ee7a7bf32f404932fe7fe872ac402b0e
Depends-On: I7600fa20391bb83491d630b277bf01cc3a20727c
2015-05-11 12:42:26 +12:00
Jenkins
ab00508aed Merge "also install a new pbr into the venvs" 2015-05-04 18:42:04 +00:00
Jenkins
ce750be64f Merge "Do not sync requirements to possibly capped library's master branch" 2015-02-24 15:12:14 +00:00
Adam Gandelman
8c2ad8c2a8 Do not sync requirements to possibly capped library's master branch
We've hit a situation where a project (pycadf) is listed and capped
in stable/icehouse requirements.txt.  pycadf is also listed in
projects.txt. As part of the requirements integration test, we are
attempting to update pycadf's master branch with stable/icehouse
requirements, and failing because of new dependencies in pycadf that
are not managed by stable/icehouse's GR.

This updates integration.sh so that when we're testing a stable branch,
we are only syncing requirements to other projects have stable branches.
This avoids trying to sync stable requirements into library's master
branches.

Change-Id: I3b8845ad8e013cf6747995df5a62cc4f2ee85e01
2015-02-24 11:57:57 +01:00
Jenkins
c01252639a Merge "Don't use git diff --quiet to detect local change" 2015-02-23 13:27:18 +00:00
Ihar Hrachyshka
e1b3c1f099 Don't use git diff --quiet to detect local change
It seems that there is a bug in (old?) versions of git, particularily in
the one that is shipped with Ubuntu Precise (1.7.9.5) that (sometimes?)
makes the exit code of git diff incorrect.

Change-Id: Id2286147529f1072fe4ceff3fc5200aeb30267a1
Related-Bug: #1264422
Related-Bug: #1410434
2015-02-23 12:01:38 +01:00
Sean Dague
79387c1135 also install a new pbr into the venvs
Ensure we have an up to date pbr for running the tests.

Change-Id: If5229146ce66e79c05e688d2a340008c14f3f6ec
2015-02-13 10:07:43 -05:00
Ihar Hrachyshka
cc9e20ad30 Cleanup code related to pbr wheel installation from git
Since I8e453110655c0e74ff81b4cdc796c4935c75a553, we don't generate pbr
wheels from git, so there is no need for this either.

Change-Id: I0c70735556d1da68924518b9deb13f4ed082a79d
2015-02-11 10:04:22 +01:00
Sean Dague
0275f5f59b don't install pbr from upstream source
For requirements tests we should be using released pbr, not upstream
git.

Change-Id: I8e453110655c0e74ff81b4cdc796c4935c75a553
2015-02-10 17:19:12 -05:00
Sean Dague
b380f04a25 attempt to install all of global requirements
This adds a test to try to install all of the global-requirements.txt
into a venv to see if it works. If we can get this functioning, it
will help determine ordering issues and compatibility between all
components at an early stage.

Change-Id: Id147a7b31f96650159f5178ac6dbeec2736d73f6
2015-01-16 14:47:17 -05:00
Sean Dague
f1c40d16ef only do package installation once
requirements only needs to test that requirements works once, this
will dramatically speed up the time to run the requirements job.

Change-Id: I26f50f95099e57c72e1e30cdf92cd14be293f720
2015-01-16 08:22:59 -05:00
Sean Dague
82cf7d581c update tools/integration.sh to latest version from pbr
this syncs the latest changes so we can hopefully get this out of pbr
for good and into the requirements repo.

Change-Id: I37b1510f3639c332a13bd7fc892b66f71b99b594
2015-01-13 16:20:36 -05:00
Sean Dague
8e073738db add integration test script from pbr
the integration test script shouldn't be in pbr, it should be in
requirements repo. Start the move process by copying this over
now.

Change-Id: I5795c6fe6af49eab3b028472dce800b73012d491
2014-09-02 13:07:24 -04:00