Commit Graph

95 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
Kevin Benton 35048fc239 Add 10 minutes to linuxbridge job
Looking at a recent timeout at [1], the linuxbridge job was a few
tests away from completing when the job timed out. The root cause
of the timeout was actually devstack-gate-setup-workspace-new taking
22 minutes instead of the 3-5 it should have which ate up a significant
amount of time.

I analyzed the difference between the execution time of the actual test
suite run and the a test suite run on the OVS job and it took about 5
minutes longer.

Adding 10 minutes should be enough to compensate for landing on a slow
node with a long setup time and should bring timeouts to parity with the
OVS job.

1. http://logs.openstack.org/75/502975/1/gate/
   gate-tempest-dsvm-neutron-linuxbridge-ubuntu-xenial/13d6c14/

Change-Id: Ieededb459e884e2a158678da7b024549423a76b1
Related-Bug: #1660612
2017-09-13 15:04:16 -07:00
Andreas Jaeger 1662be8582 Use local_conf for jenkins/jobs/n*
Update to use newer local_conf stanza for projects where possible.

Change-Id: I5fca7640cef18362cd1ca6bfc736c3606b1bc93e
2017-07-15 19:49:55 +02:00
Andreas Jaeger 6ce8e57fa0 Remove unused neutron templates
As the comment says: These can be removed once mitaka is eol'ed - these
are indeed not used after all the cleanups. Remove them.

Change-Id: Ie0d2625a61fef51a9730c5770286903f05bc5e21
2017-07-08 17:26:24 +02:00
Andreas Jaeger b0239e9055 Remove mitaka specific cases in jobs
Remove special treatment for mitaka in jobs where the repo has now
the stable/mitaka branch retired.

Change-Id: I1af11cf22c145bb96e93485460cca277287c88ca
2017-07-05 18:09:44 +02:00
Sławek Kapłoński fc5475b5e9 Add Neutron fullstack python35 tests
This tests job is added as non voting experimental job.

Change-Id: I9b261f0812e609752ea4db44c99fb8bb7fb79e39
2017-06-28 11:54:41 +00:00
Jakub Libosvar 0ce278420b neutron: Pass python version to gate hook
Gate hook sets up configuration for rootwrap which depends on VENV. In
case of python3 job flavor, rootwrap is configured to wrong venv and
rootwrap doesn't work in tests.

Change-Id: I49b66d6151efab2f1ecea35b0dc72ae02c9c02f8
Depends-On: I7fea6e9aa09550e00edf6ce2d7301312307df5fd
2017-06-15 15:58:51 +02:00
Ihar Hrachyshka f7e5ac1d77 neutron: don't unstack services for functional and fullstack jobs
We want to run dstat during test runs [1], and unstacking just kills the
service.

[1] I73857f63f512e26d595c61a20ec5bf22d2fb0da7

Change-Id: I7916c629f267de88725284f2cfc696c22e88d150
2017-06-01 15:00:11 -07:00
Ihar Hrachyshka 0301c16f48 neutron: don't override projects to clone for functional job
We plan to use devstack-gate for the job (to inherit its setting
required for successful gate pass, like IPV4_ADDRS_SAFE_TO_USE). This
override makes it so that devstack-gate is not cloned, and hence an
attempt to trigger gate.sh script fails.

An alternative would be to add devstack-gate to the list, but Clark
Boylan told me we slowly move to removing all those overrides and just
trimming the default list of cloned projects, so it seems better to
align with infra ways, especially since we were bitten by the override
already.

Partial-Bug: #1693689
Needed-By: Iee7cc4c129e6e9eab91107fda92f66c5379d6f95
Change-Id: Ic874a08ce41dbfb2c7e43f61c92f1c7f13de16ea
2017-05-31 14:36:53 -07:00
Kenneth Giusti 6ff4ce6a3c Enable hybrid and dual amqp1 tests in oslo.messaging
The AMQP 1.0 devstack plugin support a couple of different message bus
configurations.  This patch adds support for these additional
configurations to the dsvm-full and tempest-neutron-dsvm
oslo.messaging tests.

This patch also removes all the oslo.messaging mitaka/trusty tests as
mitaka is EOL.

Change-Id: Iccc60b634b81b9761c0ec564c5aa263582f13ebf
2017-05-15 16:22:34 -04:00
Andreas Jaeger 43c71fa427 Cleanup PROJECTS and DEVSTACK_PROJECT_FROM_GIT
Change Id2caf9561b361c1d4950856423282535d067e015 for devstack adds all
repositories in DEVSTACK_PROJECT_FROM_GIT to PROJECTS, so no need to add
repos in jobs to PROJECTS if there are in DEVSTACK_PROJECT_FROM_GIT.

This change went through all of jenkins/jobs and removed PROJECTS where
there is direct 1:1 correspondence. For a few files, especially ironic
and freezer, this was not doable.

Change-Id: I4b51e33b9bc0f1cb7948b69abf104e0b57b9ff52
2017-05-01 19:07:06 +02:00
fumihiko kakuma 0755ce8aef Add neutron job with ryu master
ryu is often released(basically every month). And the new release
may affect the behavior of ovs agent. This adds job to check neutron
with the ryu master to avoid a trouble with the new ryu release.

It is added as an experimental job firstly and if it is stable
we make it a periodic job.

Change-Id: I82f404a04a1082140208546fad28ca369d210d5a
2017-04-13 10:49:13 +09:00
Jens Rosenboom c10f9589f6 Fix VNC setup in neutron DVR multinode jobs
In [1] the VNC related errors for
gate-tempest-dsvm-multinode-full-ubuntu-xenial-nv were fixed, but we are
still seeing them in
gate-tempest-dsvm-neutron-dvr-*multinode-full-ubuntu-xenial-nv jobs, so
add the same local_conf settings there.

[1] https://review.openstack.org/444164

Change-Id: I9d78e7f96af09a1983b90eb5f7fa721d42c3605b
2017-03-23 18:08:56 +00:00
Ihar Hrachyshka cb514aaf05 Allow gate hook to distinguish between ovs and lb scenario jobs
This is needed so that we can choose a custom firewall driver (ovsfw)
for openvswitch job flavour. This is needed because one of tests target
connectivity for trunk ports, and this works only when using the new
ovsfw driver.

The gate hook already matches the argument against 'dsvm-scenario'
pattern and doesn't require equality, so this change should not break
existing jobs.

This change relies on I5a36fa3a44e9de4225a00c854a95ad7b5d8987f7.

Depends-On: I5a36fa3a44e9de4225a00c854a95ad7b5d8987f7
Change-Id: Ie3261f528ccedb5fc2b1597c84cf998e82ede2cd
2017-03-07 19:55:16 +00:00
Andreas Jaeger 9fc2f0eda8 Remove final db setup
The trove repo now uses tools/test-setup.sh we do not need the db jobs
anymore, change to the standard python unit jobs.

Also use standard pylint job-template which does the same as the tox
template.

Remove all templates and job-groups for the db-jobs since it's last user
has been removed.

Only leave mysql setup jobs for bifrost in.

Change-Id: I92e6e6502c2c516babf2bf66f3514875f77c460e
Depends-On: I3463e75057d0d4544f6a0212da888759ab5e171b
2017-02-28 09:09:08 +01:00
Sean Dague ba1e73675e convert dvr-ovs-native job to local_conf stanza
This is one of the projects that used an inline pre_test_hook to set
local.conf. Move it over to the new stanza to test this all works. The
only use of this in the gate is non voting, so we should be able to
land and iterate to make sure that this is really working.

Change-Id: I64f610e963192be48166e8ef638fee85075dcae0
2017-02-24 08:51:04 -05:00
Jakub Libosvar acb970a8f8 neutron: Run in-tree Neutron tempest tests with concurrency 2
These tests use Ubuntu image for instances which makes it longer to
boot. On certain gate resources it takes sometimes longer than 6
minutes to succesfully start sshd on instances.

This patch sets the tempest concurrency run to 2 to avoid
overloading the environment.

Change-Id: I197ac2764cf9b87e0544b5655fb5db8a1dcba555
2017-02-17 10:48:18 +01:00
Ihar Hrachyshka 54f8094a83 neutron: disable dvr tests for linuxbridge-scenario job
Linuxbridge so far does not support DVR. Use the new gate_hook 2nd
argument to disable tests for the feature.

Depends-On: I05233e69801be27cc35211148a53af02af29c8a5
Change-Id: I0e94c5d7f65bbb1d803df0d2f99389ae19556480
2017-01-07 22:54:59 +00:00
Jenkins 15bb9abe23 Merge "neutron: kill non-dvr OVS scenario" 2017-01-10 09:33:25 +00:00
Ihar Hrachyshka de69513769 neutron: kill non-dvr OVS scenario
The project is moving into DVR+HA direction for all gate jobs. At this
point, adding jobs that are not DVR+HA is counterproductive.

Of course, since Linuxbridge does not work with DVR yet, we keep that
other scenario job flavour as-is. But there is no excuse to care about
that non-dvr OVS job.

Change-Id: I7b029acd19d8705882792a0aa6ae4aac68a4253e
2016-12-17 10:35:18 +00:00
Ihar Hrachyshka a2ed24904f neutron: trigger gate hooks for dvr scenario job
Note: the job will pass the same first argument into the gate hook as
non-DVR job. We will use DEVSTACK_GATE_NEUTRON_DVR to distinguish the
flavour if needed.

Change-Id: I1fa3eaa3788a844f662adc98de1ec8d11f221d6b
2016-12-16 11:45:50 +00:00
Clark Boylan b0e9c09117 Liberty spring cleaning
Liberty is EOL, start cleaning up all of the special things we have in
place for handling libertyisms. Note that this doesn't touch the configs
for deployment projects as they may still attempt to support liberty via
distro packages.

Change-Id: I7faa16c1d6038204a4b42167ed91b73175abe58c
2016-12-14 11:19:13 -08: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
Clark Boylan ea44f6f4cd Move straggler neutron jobs to Xenial
This moves the ipv6 related neutron jobs ahead to xenial as well as an
experimental pecan job.

In addition to this the configuration was modified to be simpler to read
(which aided in determining what work was leftover to Xenailify
neutron).

Change-Id: Ia4102a25dda79b2edad583867c929dcb7500a1b4
2016-12-08 19:14:26 +01:00
Andreas Jaeger eabf94cab1 Switch to Xenial: oslo.messaging (part3)
Convert further jobs to xenial so that stable/newton and newer runs on
xenial.

Node that the non-voting xenial job previously run on mitaka as well, I
removed it since a xenial job on mitaka does not make sense - there's no
trusty job added instead.

Change-Id: Ic1dd413f25bac74bb9eb24d65c075e6116a2c7df
2016-12-08 16:43:17 +01:00
Clark Boylan 2650b95e69 Run neutron scenario jobs on Xenial
Stop running these jobs on trusty as they are restricted to >= newton
already. Run them on Xenial as >= newton should run on Xenial.

Change-Id: I5ac6c2709dc15f36105bd3f0a1f14c860d04783e
2016-12-05 18:02:56 -08:00
Clark Boylan 5e986ee2c7 Run neutron ovs native jobs on Trusty
Make these two jobs explicitly Trusty since they only run against
liberty and mitaka. We should consider just deleting them entirely since
they are non voting experimental jobs against older stable branches, eg
their situation is never going to change.

Change-Id: I070749d563652930c40a7058d4656917c9c5fc57
2016-12-05 17:51:05 -08:00
venkata anil d6556852ae Create experimental Neutron DVR+HA multinode job
Adding a three node label to nodepool as we need a three node
setup to test DVR+HA with tempest.
Existing Devstack gate will set agent_mode to 'dvr' in both compute
nodes. So it is still a DVR only multinode setup with 3 nodes.
Change[1] in devstack gate submitted to change one compute node's
agent_mode to dvr_snat, to make it DVR+HA.

[1] https://review.openstack.org/#/c/383827/

Change-Id: I370643277a3b23e7f47e413cf880daa9af1eb831
2016-11-29 16:20:26 +00:00
Armando Migliaccio 66999961de Switch neutronclient functional jobs to xenial
Let the default branch regex apply for the jobs. Also, go
straight to xenial bypassing the non-voting purgatory as
there is nothing specific about the jobs that is affected
by the node switch.

Change-Id: Idea274792b6f38f4a43737910c6a0372834e8846
2016-11-28 17:27:06 -08:00
Jenkins 43a34c612f Merge "Add scenarios from Neutron to multinode dvr full job" 2016-10-13 10:04:19 +00:00
Clark Boylan ddcb7b77ec Enable TLS in more neutron integration jobs
This enables TLS in the neutron linuxbridge, dvr, and non dvr multinode
jobs. They pass with tls-enabled, see
https://review.openstack.org/#/c/382564/ for the results.

Change-Id: I68aee8069919851a0d63fc4710ee2b4080e52fb8
Depends-On: I5f603b22c0e4f1e9c9a984c215680aec3a146703
2016-10-05 11:48:46 -07:00
Jenkins 1a04e21e64 Merge "Update the gate-tempest-neutron-dsvm-src-oslo.messaging test" 2016-10-04 09:20:24 +00:00
Andrew Smith 5358817cca Update the gate-tempest-neutron-dsvm-src-oslo.messaging test
* Use the '-nv' job suffix for non-voting job
* Enable gate-tempest-neutron test of AMQP 1.0 driver
* To run on mitaka, newton and master

Change-Id: I8f96e9ad51440ff014ed8375492c6b49b7cd22c7
2016-10-03 15:27:33 -04:00
Jakub Libosvar 54fb706ec8 Add scenarios from Neutron to multinode dvr full job
Currently we don't have any job that triggers dvr multinode scenario
tests from Neutron tree. This patch adds introduces such a job for
Neutron experimental queue.

Change-Id: If5e3722c62b470c62b547444c9a1f5938f1c0667
2016-10-03 10:42:33 -04:00
Andreas Jaeger baa5e292dc Move periodic-python-jobs-with-neutron-lib-master to xenial
Use xenial as node - and py35 as environment - for these jobs that run
on master. We have switched the py34 job already to py35 with xenial.

Update grafana for the change.

Update tox environment to use a variable.

Change-Id: Iadc4e03a4176a83e97c3b166c6043516ac57bcd8
2016-09-27 19:09:07 +02:00
Armando Migliaccio 7f2f4379be Remove hardcoding to eth0 in LinuxBridge job configuration
The switch to xenial has revelead that hardcoding eth0 is
a bad idea and we should fall back to using the interface
for the default route [1].

[1] https://review.openstack.org/#/c/367699/

Depends-On: I7859437f97e6cab929e90208fe56f7efd62dfe01
Change-Id: Ib63268becee986a0a11e8ecbdb517b9d1e681583
2016-09-09 12:37:24 -07:00
Clark Boylan 25aded8568 Add neutron api test on xenial to experimental
This job isn't currently passing on xenial instances. Continue to run
the existing job on trusty for check and gate against all branches but
add a xenial job that can be run in experimental so that this can be
corrected.

Change-Id: I454b21ed81de57c392575e6a5b3cf731500c6138
2016-09-08 09:00:46 -07:00
Clark Boylan 7ee6e0a20e Run neutron linuxbridge and dvr jobs on xenial
Continue the trusty/xenial split by running the linuxbridge and dvr
neutron tempest jobs on xenial for branches >= newton. This has been
tested on xenial instances booted off of the infra images then running
the reproduce.sh scripst for each of these jobs on them. The
reproduce.sh scripts came from the gate jobs for change 358866. These
seem to run happily on xenial just like the normal tempest full job.

Change-Id: I0845b408bae6f463b957ac3bc705048ea4005fee
2016-09-08 08:59:50 -07:00
Jakub Libosvar 7874eace27 Introduce functional/fullstack Neutron Xenial jobs
These jobs are part of experimental queue for now, until we are confident
enough to switch check queue for using Xenial as well.

Change-Id: Ice5a6561fe4fee9f98a6a92307f9392b37e28497
2016-08-30 19:35:05 +00:00
Armando Migliaccio 2189601cbf Add Neutron experimental job for scenario tests running on LinuxBridge
This is something interesting we'd like to gather data points on.

Change-Id: I47110b30f3463d3acc08e1d278e10bc1f08d10fc
2016-08-18 19:42:39 -07:00
Henry Gessau a38df7e140 Add DB backends to neutron-lib periodic jobs
Some neutron stadium repos don't have a functional test job and
instead have their "models-migrations sync test" in the python
unit test job. This test requires mysql & postgresql DB backends.

Change-Id: I165fea6ac6ca16f23f74485a7f97d1526a56b036
2016-07-22 19:10:31 -04:00
Armando Migliaccio f4b4706d83 Add job configuration for unit testing against neutron-lib source
Testing neutron-lib periodically with unit test jobs from  Neutron stadium
projects can help prevent breakages detected at the time of a neutron-lib
release and it will speed development and maturity of the library.

This patch introduces the configuration necessary for running unit
tests against the master version of neutron-lib. The support is limited
to py34, as that would suffice to ensure coverage.

Change-Id: Ib1e4dbf92aab4ec09ad3ce54255ca729941784fa
2016-07-07 12:16:46 -07:00
Armando Migliaccio ed15c57b92 Remove ovs-native period jobs from Neutron periodic pipeline
The OVS native configuration is going to be on by default since
Newton. Add a reminder that at some point in the future it is ok
to drop job configurations and clean up the experimental pipeline.

Change-Id: Iaa98116b7c721c5c8ae83df8d6ac02445172a841
Depends-on: If3b27a623da762989980157a29376f8fa9bc991e
2016-06-30 16:59:02 +00:00
Andreas Jaeger 37870449b2 Jenkins/jobs: Kilo cleanup
Since kilo is EOL, remove now obsolete special handling for kilo.

Change-Id: I25fc335be91331b4ff283ceae6e16b9d79fbc1db
2016-06-24 17:58:56 +00:00
Armando Migliaccio ebcf86e069 Enhance Neutron OVS native jobs
In order to consider switching to native interfaces to
OVS (i.e. using Ryu/OVS Python IDL libraries rather than
shelling out with rootwrap), we need to start watching
these jobs to see how they perform. Before doing that,
we need both native interfaces to be enabled.

Change-Id: I252902d0a0debe6fae4d023cd118ef20f15b47d9
2016-04-29 17:56:33 -07:00
Armando Migliaccio ea807d2045 Switch gate-neutron-dsvm-scenario job to be invoked via tempest plugin framework
Similarly to what was done in [1], this is about scenario tests.

The job did not take off in Mitaka, so add the release to the list of skipped branches.

Drop the s suffix for consistency.

[1] If5f7ea82c45494953452f728fabb7403d0b6e14e

Change-Id: I77827d2e6e07fbfb39727d823628094d730fcdd8
2016-04-15 16:24:48 -07:00
Armando Migliaccio 75ed3f55ee Switch gate-neutron-dsvm-api to be invoked via tempest plugin framework
Neutron was amongst one of the earliest projects that promoted the
idea of colocating more advanced tests within the project's source
repo itself. The job gate-neutron-dsvm-api was created out of the
tempest backbone when no plugin/tempest-lib were a thing. Things
have matured since, therefore it is time to update some of the
plumbing underpinning this job so that we can start using some of
the latest cool stuff that Tempest has to offer.

The switch must be made conditional to branches since the it only
makes sense from Newton onward.

Depends-on: Ia233aa162746845f6ae08a8157dcd242dcd58eab
Change-Id: If5f7ea82c45494953452f728fabb7403d0b6e14e
2016-04-14 17:06:10 +00:00
Armando Migliaccio 1b3fa59dcc Make tweaks to neutron-plus job
This change moves the job definition closer to the other
job definitions available in the neutron.yaml file.

It also replaces the suffix with 'scenarios', which is more
intuitive than 'plus', and better reflects the nature of testing
that this job is going to carry out.

Finally, it adds a post hook, and tune some configuration knobs
to allow for finer control of its execution.

Change-Id: I24be6ddc14a40950bb9ffc2c91e6150a6a74d266
2016-02-25 21:32:57 -08:00
dukhlov 562cf5059b Fixes neutron template for oslo.messaging drivers test
Adds devstack pluging to $PROJECTS

Change-Id: I4171ad3cf87788864a4c862e8fdf5520f3561448
2016-02-18 12:16:06 +00:00
Dmitriy Ukhlov d0255bc02f Adds neutron tempest tests for oslo.messaging drivers
Change-Id: Icb6869dcd46d8f286d4b7be1349ae86ea882d00f
2016-02-12 14:16:37 +02:00