Commit Graph

49 Commits

Author SHA1 Message Date
Monty Taylor 355f7090a6 Remove zuul v2 and jjb content
It's migrated, it can be removed now.

Depends-On: I6a89752d74ed7424267c3af3937ad01fb4bb8f86
Change-Id: Id67d0149b645bd23e460cef65719541f76f0967b
2017-10-24 08:50:05 +02:00
Kaitlin Farr f0151c2ef8 Add old python-barbicanclient gate logic back for the stable branches
Change I95b5390ef24a754f66ccdb9ccde34cd0820b02fd moved the python-
barbicanclient gate to use the new local_conf setting, but this
wasn't compatible with the way the stable python-barbicanclient branches
enabled the barbican plugin. Adds back the old version of the gate
and enables it for only the stable branches.

Change-Id: Ib266438ae46145cdaf757b0a25128a30f5967d17
2017-09-14 14:08:20 -04:00
Kaitlin Farr e6f9855277 Python-barbicanclient functional gate changes
Unbreak python-barbicanclient gate ("enable_plugin barbican" in
DEVSTACK_LOCAL_CONFIG was removed here:
 Idd94b900b238c865a4074ec7d1f9c1c16ef8d434)

Also enables only tempest, rabbit, mysql, and key services, which should
make stacking faster anyway.

Change-Id: I95b5390ef24a754f66ccdb9ccde34cd0820b02fd
2017-05-17 16:00:43 -04:00
Jenkins 1035fe0f19 Merge "Barbican grenade gate: run "old" pre_test_hook.sh" 2017-05-16 01:24:31 +00:00
Kaitlin Farr be814ec199 Barbican grenade gate: run "old" pre_test_hook.sh
Change-Id: Iededd3cc3711276be8e16867cbbe1f33bc058c55
2017-05-11 18:13:54 +00:00
Kaitlin Farr 6748cdb2d7 Create new Barbican gates that have removed unused services
For the barbcan functional tests, most of the core
services such as Cinder and Nova are not needed.
Hopefully we can remove them and speed up the gates.
This change adds them as experimental checks. If they succeed, we can
promote these to be the main gates and remove the existing ones.

Change-Id: I68810330dbee4033f8198f39aba5b75cd3357399
2017-05-08 18:24:29 +00:00
Andreas Jaeger 0109c93059 Use DEVSTACK_PROJECT_FROM_GIT (1/2)
Use devstack-gate variable DEVSTACK_PROJECT_FROM_GIT instead of devstack
variable LIBS_FROM_GIT. In this case, we do not need to set PROJECTS
variable and can thus avoid some duplication.

In barbican.yaml: Rework several if conditions into elifs since only one
of these can be true - this makes it easy to see that we do not override
DEVSTACK_PROJECT_FROM_GIT wrongly.

Change-Id: Ib7b187ab9d44d76a007abc23a0feafaab1855030
2017-05-02 08:07:09 +02:00
Brianna Poulos 1ae585e136 Add cursive and castellan to PROJECTS
In order to use cursive and castellan from git instead of pip,
it is necessary to add them to the PROJECTS variable.

This is needed in order to fix the errors seen for the following:
http://logs.openstack.org/03/455903/1/experimental/gate-barbican-simple-crypto-dsvm-tempest-castellan-from-git-ubuntu-xenial-nv/7346952/logs/devstack-early.txt.gz#_2017-04-19_18_44_56_320
http://logs.openstack.org/02/357202/9/check/gate-barbican-simple-crypto-dsvm-tempest-cursive-ubuntu-xenial-nv/6cf8057/logs/devstack-early.txt.gz#_2017-04-19_18_38_49_282

Change-Id: I1ba6b6dc0acafb11e598958b0a4adcd8d9f81a4f
2017-04-19 14:51:37 -04:00
Kaitlin Farr 49209861bf Enable security configuration for barbican grenade gate
The grenade gate attempts to run the barbican-tempest-plugin
tests, but the proper configuration of security features needs
to happen before the tests will pass. The configuration
happens in barbican-tempest-plugin's pre_test_hook.sh.

Change-Id: Id8c5fa6c59e1036958a8954305747c60292462dc
2017-04-12 15:04:13 -04:00
Jenkins fd7a65e1ff Merge "Delete running tempest with all plugins" 2017-04-12 08:35:59 +00:00
Nam Nguyen Hoai ed78c3b8d5 Delete running tempest with all plugins
In previous patch set [1]. It already
fixed a bug relate to grenade [2]. However
there is a bug related to barbican-tempest-plugin.

This patch set will delete the option to
run tempest with plugins.
[1] https://review.openstack.org/#/c/453013/
[2]
http://logs.openstack.org/79/452679/4/experimental/gate-grenade-dsvm-barbican-ubuntu-xenial-nv/96eecf7/logs/grenade.sh.txt.gz

Change-Id: Iac4e4c12913c6f4b26d595f2f62c3f62601a8d84
2017-04-11 13:47:54 +00:00
Jenkins 8a7e801795 Merge "Add experimental py35 gate for Barbican Tempest Testing" 2017-04-10 13:31:44 +00:00
Jenkins b31582c400 Merge "Adding some configuations for gate_grenade" 2017-04-10 07:09:36 +00:00
Nam Nguyen Hoai b0a2699133 Adding some configuations for gate_grenade
This patch will add some configuations to fix
a bug during running gate_grenade for Barbican.

Closes-Bug: #1680713
Change-Id: I9d8c64217d622fd36bf8a8e5cd2f89aecc358fb9
2017-04-08 13:55:35 +07:00
Dave McCowan 30dcb715ec Add experimental py35 gate for Barbican Tempest Testing
Change-Id: I3603ed9b571d042676893b7f22ee8e02ad99a56b
2017-04-07 11:59:46 -04:00
Dane Fichter f8a543bbbd Add barbican-tempest-plugin tests to Cursive
The barbican-tempest-plugin project contains
scenario tests for security features which use
the cursive library. Adding this job to cursive's
jobs will help ensure that changes to cursive
will not break these features.

Change-Id: Id1f3802d4ed10edf355bfe366c192ec5e4fedad1
2017-04-06 09:39:39 -04:00
Jenkins 3b2c719907 Merge "Add Barbican grenade gate" 2017-03-30 07:32:19 +00:00
Kaitlin Farr c39c11acc0 Add Barbican grenade gate
Add a gate to run Barbican's grenade plugin.

Co-Author-By: Nam Nguyen Hoai <namnh@vn.fujitsu.com>
Change-Id: Ica225f99a83c33ef5a6d725ece758cfb3c65b4c4
2017-03-28 11:49:13 -04:00
Dave McCowan 83a3bae18a Disable Swift When Running Barbican with Python 3.5
disable_python3_package did not work.  This patch
changes to the more popular disable_service call
to disable Swift when running devstack with Python 3.5.

Change-Id: Iab58f4b79a9120ec325f6b41376cc141a637fd02
2017-03-27 12:11:54 -04:00
Dave McCowan 79993d2fcd Adding Python3 Functional Test Gate for Barbican
Adding a non-voting job that runs Barbican's functional test
suite using Python 3.

Partially-Implements: blueprint goal-py3

Change-Id: Ifd89039513dd27807a6866ef56d41cbb0d521afe
2017-03-24 14:59:00 -04:00
Jenkins e05e077294 Merge "Add barbican-tempest-plugin tests to Castellan" 2017-02-27 08:04:11 +00:00
Brianna Poulos 7dad5ebbdf KEEP_LOCALRC for barbican-tempest-plugin
With the recent modifications to merge local.conf and localrc,
setting local.conf values in the pre_test_hook.sh get overwritten
unless KEEP_LOCALRC is set to 1.

It is understood that setting configuration options via
DEVSTACK_LOCAL_CONFIG is preferable, but it is beneficial to
be able to test configuration options alongside the change
being proposed.

Change-Id: Ib06ae8aa890d09ac2cd9e3bf4bfd45440618dcc2
2017-02-27 11:38:23 +11:00
Jenkins db22be7115 Merge "Pass 'plugin' value in barbican gate" 2017-02-26 23:45:55 +00:00
Brianna Poulos 4cb79fbaf3 Add barbican-tempest-plugin tests to Castellan
Castellan is used by various projects (nova, glance, cinder, etc.)
for different security features (including image signing, cinder
volume encryption, and ephemeral storage encryption).  As scenario
tests are being added to the barbican-tempest-plugin for these
features, it would be valuable to confirm that changes to castellan
to not break these features.

This change adds an experimental gate check to castellan for
the barbican-tempest-plugin, including setting the variable
LIBS_FROM_GIT=castellan to cause the current patchset of castellan
to be used instead of the latest version from pypi.

Change-Id: Ic5b3e86e8f58916bd645a8a7f0d701e8757830ed
2017-02-24 17:10:38 -05:00
Kaitlin Farr fe6048fa82 Pass 'plugin' value in barbican gate
Allows the post_test_hook to know which plugin was configured,
so tests specific to the plugin can be executed.

Change-Id: I9fe7b156c4a825c8bfe94a3c48ce686ce0dee01e
2017-02-24 13:16:34 -05:00
Kaitlin Farr bf89f5cad2 Install barbican-tempest-plugin through local config
Previously, barbican-tempest-plugin was installed every time the
barbican devstack plugin was enabled, which was breaking things for
other projects that were trying to use barbican in their tests, but
not run the barbican tempest tests themselves (see
Iabbdc5177f62514bf5fc4dff5b79ba3c11083506). This is the first step
to explicitly install the barbican-tempest-plugin where the tests
are wanted.

Change-Id: Ibef3f9a135f14727bf57c29e766f838d7da56c68
Co-Authored-By: Brianna Poulos <Brianna.Poulos@jhuapl.edu>
2017-02-22 05:54:09 -05:00
Kaitlin Farr 72e330923c Enable signature verification for barbican-tempest-plugin gate
Adds the image signature verification option set to True to local.conf,
which is done in the pre_test_hook.sh in the repository.

Change-Id: I3d96ba5797b0010054137629e484fed0fdecb600
Depends-On: I9b1b412d59bd99c551af6b4d10d2e47c6eebda76
2017-02-16 11:34:16 -05:00
Kaitlin Farr cda4afb2b3 Add job template for Barbican tempest plugin
Adds a job for barbican-tempest-plugin that will run DevStack,
enable the Barbican Tempest plugin, and run just the Barbican
tempest plugin tests

Change-Id: I87b5f45b9658df5eb7578a64d5ac360e404859f8
2017-01-23 09:03:57 -05:00
Andreas Jaeger 003b434f4b Merge python-barbicanclient.yaml into barbican.yaml
No need for an extra file per repo, we normally have one per project.
In this case each file has exactly one job, so let's clean up.

Change-Id: Ia56096bf5aa3ce66956e7246890b9cbb6f8479e5
2017-01-04 08:32:39 +01:00
Jenkins d0d6dcfbdb Merge "Add barbican-tempest-plugin to $PROJECTS" 2016-12-07 16:03:15 +00:00
Clark Boylan 7913661a58 Run barbican plugin jobs on Xenial
Shift barbican plugin testing ahead to run on Xenial for changes against
branches >= newton. Older branches continue to run on Trusty. Note for
the one experimental job it is only set to run on Xenial because it was
already restricted to >= newton.

Change-Id: If8ff8a9efcb12ca8756c058b797ff1fa7f2d897b
2016-12-06 08:23:12 -08:00
Daniel Mellado b137bf8bba Add barbican-tempest-plugin to $PROJECTS
This commit adds barbican-tempest-plugin to ./jenkins/jobs/barbican.yaml

Change-Id: I2d9f90dcaba3a0c9de6fcf464c01163373a47afe
2016-12-05 17:02:23 +01:00
Marc Koderer b1cb8e1272 Move barbican-postgres to non-voting gate
The experimental job is working so far. It's
ready to be moved to non-voting test queue.

Change-Id: I87a8a03b70a3de67d07858a94964ac0123e95852
2016-10-17 15:31:04 +02:00
Marc Koderer ad3b0594ac Add experimental job for barbican using postgres
Change-Id: I8b53fb9341843d0070408f5039bbcb8dad5d4ff2
2016-10-07 13:04:41 +02:00
Joshua Hesketh e0a3fe6150 Remove kilo jobs
Holding off on openstack-dev/devstack, openstack-dev/grenade,
openstack-dev/pbr and openstack/requirements as their branches aren't
gone quite yet.

Change-Id: I12adc42629da0089b8520a6f06d3f59d9522fc02
2016-06-24 19:56:15 +02:00
Nathan Reller 5e96f15c42 Add KMIP Experiment Check to Barbican
Barbican currently supports a plugin architecture for secret stores.
One such secret store implementation is the KMIP secret store. There
are no checks in place at the moment to test the functionality of
Barbican with this plugin.

This patch creates a new Jenkins job to test Barbican with the KMIP
secret store plugin. The end effect will be running all of Barbican's
functional tests using a KMIP secret store plugin. This change enables
the PyKMIP server to run as part of the devstack setup.

The tests can only be run on the latest code. The older stable
branches for kilo, liberty, and mitaka are not supported because the
necessary devstack plugin code is not backported to those branches.
The KMIP secret store job is experimental for now until tests verify
the correct operation.

Change-Id: I3fc6abe6f34bcb31c9ea01bfd7c7ccfd22b28bcc
Depends-On: Ib804fa97545f14ed866bfd73bb251e85923a2e4e
2016-05-25 20:22:37 -04:00
Clark Boylan ceda9719f4 Switch rest of devstack-trusty to ubuntu-trusty
Switch all remaining devstack-trusty jobs to ubuntu-trusty to complete
the migration.

Change-Id: I7f94b59f318cab581aa4f194f33acf8ab597fc36
2016-03-14 12:58:43 -07:00
Andreas Jaeger 9e8c66a93a Increase devstack timeout
Increase devstack wrapper timeout by 5 mins since devstack-gate will use
10 mins - instead of the previous 5 mins - as buffer.

This is needed in this form only for those jobs changed by
21837612a5.

Change-Id: Ida6e84f6c9458d46b7c3792bf57eff27dd72b258
Needed-By: Iea866e4cc40e149e598f35e010ec855937bdf9ae
2016-02-07 09:16:13 +01:00
Andreas Jaeger 21837612a5 Remove DEVSTACK_GATE_TIMEOUT [part 1]
With change Iff5e96bd80b8f165ccc7d6be09b53208613571eb, we do not need
to pass DEVSTACK_GATE_TIMEOUT anymore to devstack-gate, instead the
value from the build-timeout wrapper is passed.

Remove DEVSTACK_GATE_TIMEOUT for jenkins/jobs/[a-c]*.yaml

Correct timeout value in congress, the variable had 60 minutes, the
wrapper 125 - use 65 now since that's what would have been used.

Change-Id: I8a737755608f7a085424d3010c3da8b81a457ebf
2016-02-05 18:54:33 +01:00
Jeremy Stanley 0af9b2c178 Get rid of precise||trusty job node declarations
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
2015-12-21 20:52:17 +00:00
Juan Antonio Osorio Robles f6eede5129 Use Fedora 23 for Barbican's Dogtag job
The setup in Fedora 21 is broken due to some package issues. On the
other hand, Fedora 21 will be EOL soon. So upgrading to Fedora 23 is the
best step in the long run.

Change-Id: I77fa548e4bc96682808d3721bc5528e091871b6a
2015-12-07 12:00:57 +02:00
venkatamahesh 154a9e0024 Added barbican plugin in barbican.yaml
Change-Id: I476667af108bdeac449c012c54ec5ececd6e41a0
2015-10-15 18:35:28 +05:30
Adam Harwell 9016b58701 Fully migrate Barbican gate to the new jobs
This moves the new jobs into place, replacing the old jobs and becoming
the voting jobs for Barbican moving forward. The old jobs become
"-oldstable" and are used only for the juno/kilo branches.

Change-Id: Ib9612a5ac77b8e3d2e4b8fa82b4a462661d4d148
Depends-On: I95219c75b59fc4d49874fb228bba1ae131495159
2015-09-18 00:01:42 -05:00
Adam Harwell bdf203eda3 Update Barbican Gate to use new Devstack config
This will merge the experimental new-plugin job into the existing gate
job, removing the experimental job in the process as it was only for
testing these changes.

Change-Id: I39c9877a2e6dcb8b08c92f9ac51294ffb0d2f1db
Depends-On: I0ec63819b3aae21a6ffaed5cf8285e26dce6ae94
2015-09-01 15:18:00 -07:00
Adam Harwell 50831adf74 Add experimental job for Barbican to test updated gate
We're working on updating the Barbican devstack plugin, and some changes
would be breaking for the existing gate. This experimental job is to
allow us to test the new job definition without risking temporary
breakage to the gate. This is the change on the Barbican side:

https://review.openstack.org/#/c/167885/

This experimental job is a very minor tweak of the existing gate job, so
hopefully merging this is trivial. It will be removed as soon as it is
shown to work and the primary gate job is updated to match.

Change-Id: I3ceea997a391c8c3fc8b416f6c2d3bb876315cf3
2015-08-26 21:02:43 -05:00
Juan Antonio Osorio Robles a6955f52d8 Add barbican-dogtag flag
Change-Id: I749539f387f163e829fdc8390b6bd16cf23c663b
2015-05-26 18:14:38 +03:00
Douglas Mendizábal 80ae177750 Rename barbican dogtag devstack-gate job
Rename the experimental dogtag devstack-gate job in barbican's tests to
add the '-f21' suffix so it can be run in Fedora 21.

Change-Id: I883e255ac526f3a04c010e0e78572a62a6692760
2015-02-26 11:14:07 -06:00
Douglas Mendizábal 36adb90081 Add a new devstack-gate job to Barbican's tests
Add a new devstack-gate job to Barbican to enable functional testing
using RedHat's DogTag as a backend for Barbican.

Change-Id: If5ee9930bfd89459a2f4d7c8f6b5c1ae8bfd0806
Depends-on: I40dfdbc414dbc4fa07b5a5cbed074e6d340c7778
2015-02-23 21:16:27 +00:00
Anita Kuno 1d21cd635f Reorganizes project-config
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.

Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
2014-09-25 11:41:04 -04:00