Commit Graph

61 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
Monty Taylor b4fd783219
Remove unmatched single quotes from jenkins jobs
The v3 migration script can handle these just fine - but if we go ahead
and remove them the output can be predominantely shell rather than
script.

Change-Id: I440851a0149e1cc7f8c5c6e8a4e3e0b94088ee82
2017-09-20 09:27:26 -05:00
David Shrewsbury 78dea4646f Fix neutron extension name
Change-Id: Ie32116ff6650f0c128a7423d8914502061a5ea21
2017-08-14 16:28:59 -04:00
Sławek Kapłoński 2b6ef58552 Enable missing "qos" extension driver for Neutron ML2 plugin
Extension is required for Neutron ML2 plugin if QoS service plugin
is enabled.
Commit Ic716cf4e5ae94766751d6a391e426946c8b4f8ba enabled QoS
service plugin in Devstack used for Shade functional tests so this
extension driver should also be added.

Change-Id: I48727649f53171055b1949d8a003a3af58404fd3
2017-08-10 15:07:50 +00:00
Sławek Kapłoński 89127eb58a Add QoS service plugin to be enabled in shade tests
This patch enables Neutron QoS service plugin in Devstack
used for Shade functional tests.
QoS service plugin is necessary to run QoS related functional
tests added to shade in commit:
Iebff3309423bea1fa871612c5e824940c13926c1

Change-Id: Ic716cf4e5ae94766751d6a391e426946c8b4f8ba
2017-08-08 16:11:26 +00:00
Samuel de Medeiros Queiroz 462df5c3de Set shade to use v2.0 in legacy functional tests
In the -legacy functional tests, besides enabling keystone v2.0, shade
needs to be told to use v2.0

Change-Id: I3aee7a396199532c7e43da057cf8ea5e1e82ced1
2017-06-12 13:52:55 -04:00
Monty Taylor 1f6c846edd
Set cinder API list limit to 6
We want to be able to test pagination, but the current limit before
pagination starts is 1000. We don't want to try to make 1001 volumes in
devstack. Set it to 6.

Change-Id: Iaeeae708a02fd630f6ad1a5f1cff3cc1045347ec
2017-05-31 08:27:08 -05:00
Monty Taylor 41e9976e55
Collapse shade legacy and non-legacy jobs
Similar to the last collapse, the differences in these sets of jobs is
small, and this gives us a very nice pile of combinations of things
available.

Also, remove "dsvm" from the name. These titles are getting a bit log.

There is a tiny hack, which is sed-ing /tmp/dg-local.conf after the
local_conf macro has written it - but that's just because there is one
local.conf setting we want different between legacy and non.

BTW - If you're wondering why I'm doing so much refactoring of shade's
jobs - it's because I'm starting to think about what they need to look
like in a zuul v3 world, so consolidating is the first step for my
brain.

Change-Id: Ie430cbb948de2ae9b5ee75d006d250588a44abbd
2017-05-30 09:39:25 -05:00
Monty Taylor 69673b1e6b
Collapse shade legacy and neutron jobs
legacy and legacy-libs are only different in the git repo checkout.
neutron and neutron-libs are only different in the git repo checkout.

Collapse them from 4 definitions to 2, with parameters.

Also, collapse the template expansion into single calls. This will
expand a few combos we don't use, but that's not actually important
since we're not creating jobs in jenkins.

Finally, remove "neutron" from the normal job names. Neutron is the
default, there is no need to name it.

Change-Id: Ia1c5a25c8b3d1205e34456a46b862e3ea55cda43
2017-05-26 12:41:04 -05:00
Monty Taylor 24ce8f1708
Collapse shade ansible job definitions
The two defintions are the same except for a flag. Collapse them into a
single template with a new parameter.

Change-Id: Ib238597d0b23b93842f1d2c7134e3701c1af1f7f
2017-05-26 11:15:01 -05:00
Monty Taylor 86d03cd17e
Migrate shade tests to local_conf
We're using the old syntax. Use the new syntax. It's the same for most
of the jobs, so define a builder.

While we're at it, sort some of the lists of things and switch from
cloning over git:// to https://

Change-Id: Id91e308514154e4a6f00b9d6fe50cab60dffa0e7
2017-05-22 05:50:30 -05:00
Monty Taylor eb2ed55b96
Add python3 functional tests to shade
We should make sure that running shade's functional tests under python3
works.

Start off non-voting, but if it passes, we'll flip the switch quickly.

Change-Id: Iffb9f6767c30d171a12481ccd1df502b7aabc4f4
2017-05-22 05:23:45 -05:00
Monty Taylor 091cc887e3
Remove neutron and cinder clients from shade projects
shade no longer depends on neutronclient and cinderclient. Remove them
from the PROJECTS list.

Change-Id: Id2d1157eb4c83e8217f37f52e66499301c46ddc3
2017-05-14 09:20:30 -05:00
Monty Taylor 9d8da86e5a
Use master libs for shade functional-libs
The purpose of this job is to test that latest libs work with
newton devstack. We don't want to install devstack from branch
tips. Rather, we want to install branch tips (of master) into our
functional venv. This means we need zuul to prepare the repo states
for the libraries based on master, even though devstack is set with
a branch-override of stable/newton. It should be ok though, since
we did not set DEVSTACK_PROJECT_FROM_GIT for the projects as well.

Change-Id: I7de309504b5f52c1f7da64d3924efbb6db9a02e7
2017-05-14 09:19:42 -05:00
Monty Taylor 0ea05d26d8
Re-add magnumclient to shade's magnum job
The magnum plugin seems to want to install magnumclient from source, so
not having it here seems to be making this job very unhappy.

Change-Id: If3441ff22ed352da8c761578b0e1f041da0f56b4
2017-04-03 07:57:21 -05:00
Monty Taylor da99ea6ed5
Disable designate in shade's gate jobs
The designate devstack jobs are broken in multiple ways. I have a patch
that fixes two of them, but there is also something about eventlet
versions. So for now, just turn it off - we still have the unit tests.
Once designate's devstack jobs are green again, we can re-enable.

Change-Id: I4eec135f59b30287bb0acb8ad27b1862b3f99a58
2017-03-29 16:44:52 -05:00
Monty Taylor 9c14b78019
Remove heatclient and magnumclient from PROJECTS
shade does not use magumclient or heatclient anymore.

Change-Id: I2b6bff18914f6899d77d82873809aa05bd380006
2017-03-29 05:18:27 -05:00
Monty Taylor 547e1664a7
Add a shade job to test old openstack with latest libs
Also, fix the job that tests with latest libs on current openstack by
having it actually install into the functional-tips virtualenv.

Finally, add both of these jobs to os-client-config.

Change-Id: Ic841070d572d6363e960b9fef092e1a7ee30f752
2017-01-18 17:08:25 -06:00
Monty Taylor 00b979e7f3
Collapse keystone2 and nova-net shade jobs
Both are there so that we can test old deprecated but still existing
things. There's no need to test those configs separately.

Change-Id: I675809b8a1f51eb74bc3749d94691b1d5da71ba3
2016-12-14 11:35:18 -06:00
Monty Taylor b677a4ac3f
Enable keystone-v2 for shade keystone-v2 job
Also, move it to stable/newton and xenial nodes, since liberty isn't a
thing anymore.

Change-Id: I9391dc353a97afb503362cfa05ac226350e39352
2016-12-14 11:05:26 -06:00
Monty Taylor 1fe1806d9b
shade-keystone2 job does not have designate
The missing-services test works! Except we told it that the keystone job
has designate and it doesn't. Also, remove the plugin references since
they don't work with this config.

Change-Id: I53da84b3cf548f2a3b551f4ea8b52081f7febae7
2016-12-13 08:17:05 -06:00
Monty Taylor c8cb86b7c1
Tell shade which services are running
Shade has traps in its tests to only run tests on services that exist.
However, that can allow skipping of tests that _should_ run in a given
config. Add explicit variables for the things we expect to exist in the
gate so that if they're missing all of a sudden we'll see test jobs
fail.

Change-Id: I2433c7bced6c8ca785634056de45ddf624031509
2016-12-12 11:10:15 -06:00
Monty Taylor 2922c6b021
Split magnum shade support into its own job
The magnum team reports problems with having magnum and all the other
services enabled at the same time due to memory pressure. We see a
flakier gate when we have magnum enabled than when we don't. So - split
out magnum support into its own job that does not include swift, heat or
designate, then include swift, heat and designate in the other jobs.
Finally, turn off horizon and ceilometer from the gate since we do not
test either of them.

Change-Id: I7e7ede279be2acabd469fbe997ae54743768dfd8
2016-12-12 10:44:09 -06:00
Jenkins 3b89d90acb Merge "Revert "Remove magnum from shade's gate"" 2016-12-12 07:35:57 +00:00
Monty Taylor 35eead34e2
Remove magnumclient from LIBS_FROM_GIT for shade
Missed this in the initial removal.

Change-Id: I0e03a6bbc1251c70b462aa58b8f60840cc9fd9f6
2016-12-10 11:34:17 -06:00
Jenkins be8d853021 Merge "Remove magnum from shade's gate" 2016-12-10 00:12:37 +00:00
Jenkins ec32b0b5be Merge "Remove python-glanceclient from shade git libs" 2016-12-10 00:11:44 +00:00
Monty Taylor e26d2687ef
Revert "Remove magnum from shade's gate"
Add the magnum config back to shade's gate jobs once the offending swift
disablement is done in magnum's gate hook.

This reverts commit 0e098421e2.

Change-Id: I6b9af586f57c3865809ab1867dde8e5c99847adf
Depends-On: Icd82a4ab68533f39f967575c2125b0f61c70e0a6
2016-12-09 14:42:56 -06:00
Monty Taylor 0e098421e2
Remove magnum from shade's gate
The magnum devstack plugin landed a change to disable swift. That
breaks shade's swift tests which tests functionality essential for Infra
production.

Turn off magnum support for now. We can revert this when the magnum
devstack plugin works again.

Change-Id: Iee92cb3e386651fb5a9669c3cf0bdedf1326d8b1
2016-12-09 13:33:47 -06:00
Monty Taylor 787ff4ac5a
Remove python-glanceclient from shade git libs
shade no longer uses glanceclient, so we don't need to test against
master of it.

Change-Id: I9985f6deae0255ba490848efe3cd5ce8f29316c8
2016-12-09 13:33:44 -06:00
Andreas Jaeger 4a61bc67f5 Change job-suffix to suffix
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
2016-12-08 22:05:01 +01:00
Monty Taylor 1dc6e077e0
Add heat plugin to shade jobs
heat is not in normal devstack anymore, it's in the heat repo. That's
awesome- but our jobs didn't know that. How about let's re-enable it.

Change-Id: I6e8944a18a0d0c80cadc0bd62bb6cdb04c03aee6
2016-12-07 08:53:43 -06:00
Monty Taylor a6261ef27b
Remove troveclient and ironicclient from shade libs
Neither library have the ability to be put into LIBS_FROM_GIT, so
putting them into the project or libs list just results in errors.

Change-Id: Ieecf91bfafc35624f7e172bed46a6df02174fcb8
2016-08-12 08:20:44 -05:00
Monty Taylor 3674c2c7b3
Add libs to project list for shade libs test
We need to add python-*client to PROJECTS so that the repos will be
cloned.

Change-Id: I0c20550ef062dd4f3ce12b39da5fe5ff9c43dab8
2016-08-11 15:40:33 -05:00
Monty Taylor dab61fd27b
Add devstack test for shade and master of libs
It's good to know about things that client libs do to break us before
they release and break us. Add a devstack job config that installs all
of the client libs from source rather than from pip. This should usually
work, but if it breaks, it means there is something coming that we need
to be prepared for.

Change-Id: Ie387ab3f47d9f79f5d344bcd330784d49198e095
2016-08-11 09:14:09 -05:00
Yolanda Robla fa46268d50 Add magnum plugin to shade dsvm-ansible job
Change-Id: I7ee0a8db544fe815bee87e78ce962f1ee4bebd28
2016-05-16 08:37:43 +02:00
Yolanda Robla f050c2c0fb Integrate ansible-dev-magnum with real job in shade
We had this as non-voting and it was passing. Unify the
magnum job in the ansible-dev one.

Change-Id: I8e71a7d79697385010ee1c58ce1f3c13d0b9051f
2016-05-12 10:17:00 +02:00
Yolanda Robla 941770f537 Integrate shade+magnum neutron job
The non-voting job for neutron has been passing consistently.
Integrate with the shade neutron magnum job.

Change-Id: I16b68a8240a9b304f823f487bdc0e4082b544932
2016-05-05 15:14:35 +02:00
Yolanda Robla 82d75bd2e5 Remove keystone2+magnum job
This is running on liberty, and magnum liberty version
won't be supported in shade, because is giving compatibility
problems and failures with images.

Change-Id: Ief7f08634c66a6451ff1e73bb62a70eff41b54b1
2016-05-03 17:19:35 +02:00
yolanda.robla 31197785b7 Revert "Add magnum plugin to keystone2 job in shade"
This reverts commit 2db54cb2af.

Change-Id: I749b1101bbb5f7a771d60afeea3800270e6b8ec8
2016-05-03 08:45:52 +00:00
Yolanda Robla 2db54cb2af Add magnum plugin to keystone2 job in shade
This job was set to experimental and non-voting, and has
been passing successfully. Integrate magnum in real
keystone2 tests on shade.

Change-Id: Ic1fc9d26fc9cfe4d94f444399dff581b8cf6e2fe
2016-05-01 12:04:33 +02:00
Yolanda Robla 6cb1a3ca70 Remove nova job from shade+magnum
Magnum always need to have neutron enabled to work,
so the test with neutron disabled will always fail.

Change-Id: I9d37a052d0beef3b837385324d9f9fa2f1ec9617
2016-04-24 09:44:31 +02:00
Yolanda Robla f9f1ff453d Add more experimental jobs to shade+magnum
In order to validate the magnum plugin integration,
add more experimental jobs to ensure we have proper coverage
of all tests before moving to check.

Change-Id: Ic3ffc4996eac2d3a7e817ef732f75d0204bd3a80
2016-04-22 18:00:21 +02:00
Monty Taylor 96822e6690 Revert "Enable magnum plugin on shade and use our atomic generated images"
This reverts commit c1c5c7af65.

Change-Id: I552de35102d60d9d3a9c6967b578c34410777be2
2016-04-21 20:43:55 +00:00
Yolanda Robla c1c5c7af65 Enable magnum plugin on shade and use our atomic generated images
This patch had been proposed before:
https://review.openstack.org/#/c/295969

But had to be reverted because we were consuming external images
from fedorapeople, that caused our tests to timeout. We are now on
the situation where we have our own custom atomic images, to start
adding that on shade as a previous step for adding magnum integration
to shade.

Change-Id: Ifae8e54e78f6f36cf025ac92ba704391b2052769
2016-04-21 15:57:02 +02:00
Yolanda Robla e79d15cf1c Add missing python-magnumclient to shade-magnum job
When enabling magnum plugin, python-magnumclient is
required, and the job is failing when cloning. Add that project
to the specified list of projects in the job.

Change-Id: I38d65e91750454e958669f44619bbaba05928e52
2016-04-14 11:01:17 +02:00
Yolanda Robla 4ceb53c884 Add experimental job for shade and magnum
Start with an experimental job to add magnum plugin
to shade, consuming the atomic images that have been
published in our mirrors.

Change-Id: I1684ee47f1b3afe9a3c365a8a77d25e7bfc38b85
2016-04-14 09:26:16 +02:00
Ricardo Carrillo Cruz 26eee077fd Enable designate on shade dsvm jobs
This change needs to land prior to adding Designate support
on shade, as the functional tests will require DevStack
with Designate enabled

Change-Id: Ieaddeb4a0b317f85a2161e67bc5c202cc1b01464
2016-04-12 17:54:31 +02:00
David Shrewsbury d37091ea69 Enable heat service in shade jobs
Shade does heat things. Would be nice if we could test that
functionality beyond unit tests. So let's turn on the heat.

Change-Id: I45b58942c54f23b71c45f9118e3c68304afd32b0
2016-03-14 16:27:34 -04:00
David Shrewsbury f41942bedf Add non-voting shade job to test upstream Ansible
Adds a non-voting job that will allow shade to test against
development versions of Ansible.

Change-Id: Ic286193e7ca87d82345f3bf74f29f3f785685715
Depends-On: I7ac84487dd323ef95191fab966244da586b37cd3
2016-02-26 12:59:15 -05:00