Commit Graph

40 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
Jenkins d5b216dcc0 Merge "Enable neutron segment feature in OSC jobs" 2017-07-27 09:13:08 +00:00
Dean Troyer 80e7ae1aca Disable swift in OSC py3 job
Change-Id: Ib6c680d04a6cec2be94d880916e523e4f169874d
2017-07-25 15:50:58 -05:00
Akihiro Motoki e061804645 Enable neutron segment feature in OSC jobs
OSC supports network segment feature in neutron.
This needs to be enabled for OSC functional testing.
The segment feature needs to be enabled via neutron devstack plugin.

Change-Id: I4c9fbf3da0f74a09f1a1312ea0538243802d0542
2017-07-25 10:41:23 +00:00
Dean Troyer 9481d22078 Re-enable Volume API v1
OSC needs to continue to test Volume v1 API as long as it is present
in a supported release, and then some.

Change-Id: I490900d6249f01654d4cba43bddd3e7af7928a84
2017-07-18 14:21:58 -05:00
Andreas Jaeger 2ec2c7ee1a Use xenial for check-osc-plugin
There's no specific reason to run this on trusty, use the newer xenial
instead.

Change-Id: I808b72be2e24d84eee4acc5ce4a58bda62050aad
2017-07-06 19:49:30 +02:00
Dean Troyer b850a06c85 Run Swift under py2 for py3 jobs
Change-Id: I066f04b6877809229fbbca6a24a13a1665c61439
2017-05-31 10:21:20 -05:00
Dean Troyer 5687b8b983 Switch osc functional-tips job to py35
Change-Id: I25d88fcbdd697d0db56476f4e58616ae92456511
2017-05-19 13:51:32 -05: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
Rui Chen 00ab75e5db Add nova-network functional job for openstackclient
We decide to support nova-network related commands in
python-openstackclient for stable openstack deployments,
sadly nova team mark nova-network as deprecated feature and
remove the support in novaclient 8.0.0. We rework to talk with
nova API directly bypass novaclient, now we need a job to verify
the changes, enable both n-net and n-cell, because n-net only can
be used in nova cell v1, and this is a non-voting job, because
some features are missing in cell v1, like: security group.

Change-Id: If4ef17b16f2fcf4698c035402b894ea660eaf976
2017-04-19 16:02:39 +08:00
Jenkins 430b2065fe Merge "Add libs to OSC tips job" 2017-04-07 09:12:50 +00:00
Dean Troyer 92010311e7 Add libs to OSC tips job
Add the libs we want to install from source for this job.

Change-Id: I19745c07955c48a8d2ab37dee49ee762689ce151
2017-04-05 22:45:51 -05:00
Andreas Jaeger acf7572d10 s/gerrit-git-prep/zuul-git-prep/g
We do not need gerrit-git-prep anymore, zuul-git-prep works on all our
slaves and has the advantage of using zuul-cloner so that the local
cache is used and Depends-On works.

Remove gerrit-git-prep and use zuul-git-prep instead everywhere.

Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
2017-04-03 19:36:51 +02:00
Jens Rosenboom fc6a3b362d Fix OSC jobs local config
- Switch to new local_conf style configuration
- Make sure all settings targeted to devstack are placed properly

Change-Id: I7547d559609459a92614109d377605fc275b91ab
2017-03-16 13:04:45 +01:00
Jens Rosenboom 6d5b8c50f1 Really do enable glance v1 for osc jobs
I messed up the quoting in [1], sorry. Should've compared with prior
art.

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

Change-Id: I1ac6a4a6e2b955eef2e433b9f39baa4fde2722fc
2017-03-15 19:24:03 +01:00
Jens Rosenboom cd01cd7a89 Fix enabling glance v1 for OSC
In [1] the variable GLANCE_V1_ENABLED was set at the devstack-gate
level, but it is needed in DEVSTACK_LOCAL_CONFIG instead.

[1] Icff8686b9ca68b2d2b0d78b12c4e6a4237a94bb5

Change-Id: I59cc890ae03351a2d9c62ab4c78bc854f2271963
2017-03-15 13:04:57 +01:00
Dean Troyer 2198278554 Re-enable Image v1 for OSC functional jobs
OSC needs to keep working with old API versions for a while,
let's keep testing it as long as we can.

Change-Id: Icff8686b9ca68b2d2b0d78b12c4e6a4237a94bb5
2017-03-14 11:04:09 -05:00
Dean Troyer cc830d2ba4 Bump the volume backing file size for functional tests
Change-Id: Iae28d35c6fb0c3c427a082183c8246e1cf057710
2017-02-21 16:45:34 -06:00
Jenkins 01f8e5fdac Merge "add functional test for osc that uses master libraries" 2017-01-13 12:09:02 +00:00
Steve Martinelli cfffce262e add functional test for osc that uses master libraries
OpenStackClient uses a lot of other openstack libraries, we need
a job that installs these from master and is non-voting so we
can catch failures before they are out in the wild.

Related Patch: Ib6391893b2302bdc514525d5ddda886fe8c60100

The related patch is for adding the underlying structure to
openstackclient, I did not add a Depends-On since the job is
non-voting.

Change-Id: I557955621a66a4746a5923915d13f5d8078bd0e6
2017-01-13 11:02:38 +00:00
Steve Martinelli 6426b75513 fix the location for the OSC post test hook script
the stable/mitaka and stable/newton locations actually had the
hook at the top level, see [1] and [2].

[1] https://github.com/openstack/python-openstackclient/blob/stable/mitaka/post_test_hook.sh
[2] https://github.com/openstack/python-openstackclient/blob/stable/newton/post_test_hook.sh

Change-Id: Ibe91ac58ea26ed74b267ef2e3790719376970deb
2017-01-12 23:22:49 -05:00
Dean Troyer e172a5e410 Locate post_test_hook.sh
Change-Id: I3edaab0c4b6458701f4a1988d25bf400e8f18729
2016-12-23 14:55:08 -06: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
Andreas Jaeger 830fb54872 Switch to xenial: python-openstackclient
Switch master and newton jobs to run on xenial, older branches test on
trusty.

Change-Id: I37eb7a9d6d2a1d10a089a78158fbf65636156585
2016-12-05 20:44:10 +01:00
Steve Martinelli 0bfa5bd446 check file exists before running osc functional tests
the stable/newton gate no longer works, and probably the
stable/mitaka and stable/liberty gates too.

see commit 1c1175af3e for
details about when the file was moved.

Change-Id: I780864751369c5d0a24a09b4c6a93a5af062fd62
2016-09-12 20:55:52 -04:00
Steve Martinelli abef9823f0 fix osc gate: post_test_hook.sh not found
commit I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3 incorrectly
referenced the new location.

the gate is currently broken with the error:
:post_test_hook:L0:   bash -xe /opt/stack/new/python-openstackclient/tests/functional/post_test_hook.sh
bash: /opt/stack/new/python-openstackclient/tests/functional/post_test_hook.sh: No such file or directory

for the actual location [1]

[1] https://github.com/openstack/python-openstackclient/blob/master/openstackclient/tests/functional/post_test_hook.sh

Change-Id: I3efe71c76409af95a6f48259e4a6dd34857e2ef0
2016-09-09 19:01:24 -04:00
Jenkins 745d6cea9a Merge "change post_test_hook location for osc functional tests" 2016-09-09 19:48:52 +00:00
Rodolfo Alonso Hernandez c3cb862988 Enable QoS on neutron for python-openstackclient.
Testing the sdk & client integration to neutron we need to enable
the qos service and extension.

This patch enables this by importing the on-tree neutron plugin
and enabling the q-qos service.

Neutron plugin is imported because 'q-qos' is only on the Neutron
in-tree plugin; otherwise 'q-qos' won't work.

Change-Id: I8db441111ec4fb0498bee83971caa37a4438d763
Related-bug: 1609472
2016-09-08 12:07:14 +00:00
Rodolfo Alonso Hernandez ccfb0e5811 Enable QoS on neutron for python-openstackclient functional tests
The openstackclient projects will be adding qos support for it's neutron
commands, functional tests will be added. This patch enables the neutron
qos service for the functional tests.

Change-Id: Ife549ff6499217ca65e2554be8ef86ea7866b2d8
Related-bug: 1609472
2016-09-07 18:47:31 +00:00
Steve Martinelli 1c1175af3e change post_test_hook location for osc functional tests
the file has been copied to a new location, will remove the old
reference once this change has merged.

Depends-On: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede

Change-Id: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3
2016-09-06 05:24:16 +00:00
Andreas Jaeger ebc180f912 Use ubuntu-trusty for check-osc-plugins
Convert job to use ubuntu-trusty instead of bare-trusty.

Change-Id: I462b7f5ea078976695cbd17fe769a3a8adc5184a
2016-03-08 10:48:53 +00:00
Andreas Jaeger 065a80d9c2 Remove DEVSTACK_GATE_TIMEOUT [part 4]
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/[n-z]*.yaml

Increase timeout for all non-grenade jobs by 5 mins since
Iea866e4cc40e149e598f35e010ec855937bdf9ae will use a 10 minute buffer
and the internal timeout should stay the same. The grenade jobs already
have 10 mins of buffer, so no need adjust the timeout.

Adjust timeout for gate-rally-dsvm-cue-{broker},
the removed variable in builder devstack-cue-rally-gate was 100,
so set timeout to 110.

Change-Id: I623fff029fb2e0acdbe2bf93a13af02547062a71
2016-02-07 10:45:25 +01:00
Steve Martinelli 7159126bcd check that osc plugins do not break openstackclient
Several openstack projects are now using openstackclient for their
shell. As a result, there have been bugs raised where different
projects will use the same command, which, when released, causes
the unified command line to be broken.

This patch attempts to solve this issue before it occurs by
checking that the proposed change does not break the command line.

See mailing list post:
http://lists.openstack.org/pipermail/openstack-dev/2015-October/076272.html

Change-Id: I41b99e2ab7614ff0f49dc120e2b13751275337de
Related-Bug: 1503512
2015-12-31 20:05:32 +01:00
Steve Martinelli 48296a1f76 modify openstackclient functional tests to use neutron dsvm
OSC is finally getting ramped up to create neutron support, to do
so effectively, we want to create functional tests, so switch our
functional test job to use neutron.

I opted to directly change the job and avoid adding a second experimental
job. The chances of this breaking OSC is very low, and affects only
functional test code. If the gate does break we can simply skip the
tests that are affected so the gate is passing again.

Change-Id: I88972f535d3b10326c3e848d569d2e93564898f0
2015-11-24 20:49:18 +00:00
Andreas Jaeger bd882cdd7a s/branch-designator/job-suffix/g
As clarkb suggested on #openstack-infra at 17:46 2015-10-22:
"maybe we should s/branch-designator/job-suffix/g in all those files
 as job-suffix makes more sense considering how branch-designator has been
 used".

The rename should make it easier for newcomers to understand
these jobs.

This renames branch-designator everywhere in jenkins/jobs/*.

Change-Id: Icb11271b958d92957fb9907ff03c0b898d7b76fc
2015-10-28 07:50:13 +01:00
Clark Boylan 515d2adaf9 Be explicit when installing clients from src
Most jobs installing client libs from pypi now, this means that we don't
need set up the client lib git repos by default in devstack-gate. But
before we can clean up devstack-gate the jobs that do need the clients
need to explicitly state that.

Note that this also setups up ironic and related things because of how
the ironic jobs work they all share a common macro.

Change-Id: I97cc3758d5c97494704406d779a7326420940427
2015-10-13 18:27:23 -07:00
Steve Martinelli a109f61f79 remove keystone extensions from openstackclient functional job
the extensions are enabled by default now, so we no longer need
to specify them in the functional job.

Change-Id: Iec52acddf8ffee7edd70ef7aa7cf3922b0df17e3
2015-08-11 11:24:40 -07:00
James E. Blair 52051c9d67 Rename functional files to projects.
Generally this area of the repo is organized by project, so rename
the *-functional.yaml files to avoid the suggestion that each job
needs its own file.  Instead, name them for their projects to suggest
that you can look in each project file to see the jobs that apply
specifically to that project.

Change-Id: I31e95a405c03c207e26f9a63403e1b7205595b7f
2015-02-24 10:17:03 -08:00