44 Commits

Author SHA1 Message Date
Doug Hellmann
2731d47ebc import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I66427df9182973328fa13b29dd580b67814baf8b
Story: #2002586
Task: #24302
2018-08-16 09:41:58 -04:00
Derek Higgins
9a01311944 Switch ironic-tempest-dsvm-ironic-inspector too zuulv3
Change-Id: I666407340eae5396069697ef026b66c43dc54ec9
2018-08-10 13:02:37 +01:00
Derek Higgins
e1ab512274 Switch ironic-tempest-dsvm-bfv too zuulv3
Change-Id: I6a70780f77a4c6a806b81deea600ac4b551a1bd2
2018-08-10 13:02:37 +01:00
Derek Higgins
065a10c429 Remove redundant swift vars
These are defined further up.

Change-Id: I0ceea38a782798e87ad003eefbeec5995c16753c
2018-07-31 10:44:33 +01:00
Derek Higgins
253ce25ef2 Switch ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
Switch ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
to zuulv3 native.

Also ensure phygmi and virtualbmc are always installed with python2
as pyghmi is still not compatible with python3.

Depends-On: I413ea7ec5db3316f985c38900aa46b8cdfd5d138
Change-Id: I11ad26c354bcbc2a0ed8e2bc78c9403dbcf85326
2018-07-31 09:20:35 +01:00
Derek Higgins
90f7a89016 Switch ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
Switch ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
to zuulv3 native

Change-Id: I5235edb4e0e98d255fa4787493c96ffcf7c8b33a
2018-07-26 10:35:41 +01:00
Derek Higgins
7ea0ff45bd Switch ironic-tempest-dsvm-ipa-wholedisk-bios-pxe_snmp-tinyipa
Switch ironic-tempest-dsvm-ipa-wholedisk-bios-pxe_snmp-tinyipa
to zuulv3 native.

Change-Id: I0daef9b62cedc5de50d5b51d6ae79046160750d1
2018-07-26 10:35:30 +01:00
Derek Higgins
d11700c3e9 Switch ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa
Switch ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa to zuulv3 native

Change-Id: I343c05727dbd1fd06f3a2c2beb1b7d6fe8d218bf
2018-07-26 10:35:20 +01:00
Derek Higgins
0b87e6140b Switch ironic-tempest-dsvm-pxe_ipmitool-postgres
Switch ironic-tempest-dsvm-pxe_ipmitool-postgres to zuulv3 native

Change-Id: I618f11871258b9052eea725325656a05b2cb7478
2018-07-26 10:35:01 +01:00
Derek Higgins
efeba984a3 Fix the list of irrelevant-files
These lists are not merged with their parent, so need to
be complete. The list for the legacy standalone job was
slightly different to the others.

Change-Id: I15ada31e78697f6f4403fef09d5d261fd9fd337f
2018-07-24 14:47:15 +01:00
Zuul
05bc054834 Merge "Update CI jobs for rescue mode" 2018-07-16 10:51:01 +00:00
Julia Kreger
745268d0ae Add notes for future job migrations
We will need to ensure we capture appropriate timeouts
else we will be sad due to gae failures.

Change-Id: I7ee3b540a55b52aaefcdc49d33c1e7c8825919bd
2018-07-13 14:23:37 +00:00
Julia Kreger
863fe1e85a Assert a build timeout for zuul templated CI jobs
The new CI DSVM wrappers with zuul lack passing
a BUILD_TIMEOUT, thus the default value of 196
seconds is taking effect in devstack.

Explicitly setting to 600 should improve CI reliability.

Change-Id: If39f33d4f5e8e649729ecc9e5be33f9529d7b488
2018-07-13 06:08:33 -07:00
Dao Cong Tien
dd4a4d4111 Update CI jobs for rescue mode
Sets rescue interface to 'agent' for testing rescue mode in most jobs.
The rescue mode is tested in test_baremetal_server_ops.

Also adds support for the new config option in ironic tempest plugin
default_rescue_interface.

Story: #1526449
Depends-On: I6b62724711ddbe17b59dad30283e544272d9c1f3
Change-Id: Ica26aa96978d22a681d69e7e1e4acd72182a4981
2018-07-12 16:13:02 -07:00
Derek Higgins
b61ebd4015 Switch ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
Switch ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
to zuulv3 native

Change-Id: I3f993e7e872b4b57556413c94502ce7df235b0e2
2018-06-29 15:56:38 +01:00
Derek Higgins
f8163fab38 Switch ironic-dsvm-standalone to zuulv3 native
Move ironic-dsvm-standalone away from using the legacy
format converted fromt the project-config repository.

Also enables 3 more tempest jobs(BaremetalAgentIpmitool*)
that were being skipped as agent_ipmitool wasn't configured.

Change-Id: Ic01bf1849620c6d095f130e445c92888548d00c5
2018-06-29 15:56:35 +01:00
Derek Higgins
a64e119d1f Remove dulicate uses for zuul-cloner
No need to have this code duplicated in each job.

Change-Id: I5dae53962c0ab6ff1e4fa8c6d800abd12b293940
2018-06-07 10:23:02 +01:00
Dmitry Tantsur
ee04f565f1 Move API (functional) tests to separate jobs
It becomes increasingly harder to maintain functional tests using the fake
hardware type and integration tests in the same jobs. This change creates
two new jobs (for Python 2 and Python 3) and makes API tests run only in them.

Change-Id: I3570323b22d8d4f19635f26733b3ae92bd0c661d
2018-04-27 18:12:14 +02:00
Ruby Loo
75b654c5bd Run jobs if requirements change
The dsvm jobs were not being run if only test-requirements.txt was
modified. However, devstack installs test-requirements so we should
run those jobs if that file changes.

The grenade multinode jobs were not being run if requirements.txt
was modified -- this was due to an extra '|' which caused it to be
considered an irrelevant file :-(

Change-Id: I1a49915ca52a93e77849dc5ead655656ad1bb34e
2018-04-13 12:44:47 -04:00
Zuul
f85eb9ab05 Merge "Test driver-requirements changes on standalone job" 2018-03-28 12:28:38 +00:00
Doug Hellmann
9143ec7baf add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I50af6344c8de6fae3602e6d0f5267623ce492dc9
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-26 11:56:56 +00:00
Jim Rollenhagen
052782c325 Test driver-requirements changes on standalone job
This job installs ansible from the driver-requirements.txt file, but we
aren't running the job on changes to this file. Override
irrelevant-files for this job to ensure updates to the ansible
dependency are tested.

Change-Id: I7fca8123ecffe24087db25aff4cd9c41560cf2be
2018-03-26 07:42:08 -04:00
Ruby Loo
c6694b7776 multinode, multitenant grenade votes in gate
The multinode, multitenant grenade job seems healthy again, lets
have it vote in gate as well as in check.

This is a follow up to Iab5fc999fcfa427549192ec73bd076a588f37e20.

Change-Id: Ib3d8c3cf1c906c6e958650ad7b1a1942e5d9a9c3
2018-03-12 10:47:59 -04:00
Zuul
c68fa3cfde Merge "Make grenade-mulinode voting again" 2018-03-09 02:30:07 +00:00
Vasyl Saienko
92f5dadd0f Make grenade-mulinode voting again
Change-Id: Iab5fc999fcfa427549192ec73bd076a588f37e20
Depends-On: I3b1429d6561431a82edda04a0e574cac38771837
2018-02-28 21:42:21 +00:00
Zuul
03cd5ab5b6 Merge "Clean up CI playbooks" 2018-02-22 21:14:25 +00:00
Paul Belanger
fddd58f10e
Stop running non-voting jobs in gate
There isn't a need to run non-voting jobs in gate, as it ends up just
wasting CI resources.  Results can be obtained from the check pipeline
results.

Comment out job, over running as non-voting.

Change-Id: I02e9dcafdb6e91451f630bb78be702009726a1ea
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-12 15:15:06 -05:00
Dmitry Tantsur
5233ef0f96 Clean up CI playbooks
The job scripts are purged of shell conditions that are never true
and variables that no longer have effect.

The resourceclasses job is removed completely, as all jobs now run
with resource classes.

Change-Id: I66a5e4f5f7214bcf9aeab8ee8d46a323610ff333
2018-02-12 14:07:00 +01:00
Hoang Trung Hieu
f5b52696fb Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Iff03f999769671adafdb46b22c64e80708d62d0e
2018-01-29 12:55:35 +07:00
Julia Kreger
e4925352a4 Mark multinode job as non-voting
As the mutlinode job is failing and is failing
in ways that cannot currently be easily and cleanly
rectified, we should disable voting for the job until
we are able to fully identify the cause and proper
solution in order to allow the project contributors
to continue to land code and have it reviewed while
we work to resolve the multinode grenade job issues.

Change-Id: If204c7b979baa71b3b9bbb7e79d13741f580ba8b
Related-Bug: #1744139
2018-01-18 20:02:19 -08:00
Dmitry Tantsur
5e373e6c42 Make the Python 3 job voting
This seems to run quite reliably, and making it voting is required
for the openstack-wide python 3 goal.

Change-Id: If885612c4c07c06c9e7846536c55e8c92fca50eb
2018-01-15 17:49:25 +00:00
John L. Villalovos
27e44605a4 zuul: Remove some redundancy by consolidating the 'post.yaml' files
All the 'post.yaml' files are identical. Put them in the two parent
jobs so we only have two copies instead of ~14 copies.

Change-Id: Ic8e519d597ec8423ad1040b4f4671fae0662f2db
2017-12-20 14:12:53 -08:00
John L. Villalovos
cf8b62e86b Use the tempest plugin from openstack/ironic-tempest-plugin
Follow-on patch will delete the
openstack/ironic/ironic_tempest_plugin/ directory. But this will need
to be done after this patch has been backported to the stable
branches, otherwise the stable branches will break.

Change-Id: I31bb088679ea122efaa91d362e613edb74c14254
2017-12-14 15:40:02 +00:00
John L. Villalovos
618a4b37db zuul.d: Remove unneeded required-projects
We inherit from legacy-dsvm-base. Remove projects that have already
been required by legacy-dsvm-base.

Also sort the list of required projects.

Change-Id: I4c0b88858ce620dd46c83f40d8623eb3d46bb908
2017-11-16 14:39:27 -08:00
John L. Villalovos
c53c4fef51 Don't run multinode jobs for changes to driver-requirements.txt
Like we do for single node jobs, also skip tempest multi-node tests
for changes to driver-requirements.txt.

Change-Id: Ib839ab29b6f73baf788ad50b06c5f791188197e0
2017-11-09 12:34:16 -08:00
Zuul
281355ae5b Merge "zuul.d/projects.yaml: Sort the job list" 2017-11-08 04:14:07 +00:00
Zuul
e7605d307c Merge "project.yaml: Remove 'branches:' & jobs that don't run on master" 2017-11-07 03:38:44 +00:00
John L. Villalovos
e7ac19cf3f zuul.d/projects.yaml: Sort the job list
Sort the job list to make it easier to compare the 'check' jobs and
the 'gate' jobs.

Put the non-voting jobs in their own section.

Remove the 'voting: false' part from the experimental jobs as it is
unneeded.  Experimental jobs do not have any voting powers. So it is
redundant to mark them as 'voting: false'

Change-Id: I6ad8797c6973e04ec6835cfbab7b74eb0bd85220
2017-11-06 23:34:24 +00:00
John L. Villalovos
20d5141cd4 project.yaml: Remove 'branches:' & jobs that don't run on master
Remove jobs which are not running on master based on their 'branches:'
specification.

Remove the 'branches:' specification on all jobs.

Also remove the jobs from zuul.d/legacy-ironic-jobs.yaml and
corresponding files in playbooks/legacy/

Change-Id: I8e068fa30feb98c32a8caa6b106a02cf3280b195
2017-11-06 23:28:59 +00:00
Zuul
a3be2ddbc7 Merge "Update Zuul 'gate' job" 2017-11-06 23:04:03 +00:00
John L. Villalovos
7be96bb4e9 Update Zuul 'gate' job
Have the Zuul 'gate' job
'ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa' run on
master. This job runs in the Zuul 'check' job for master, so it should
also run in the 'gate' job. Although there are other jobs in 'check'
that aren't in 'gate', the others are non-voting. This one was in gate
prior to the migration to zuul v3. This fixes it so it is in gate again.

Change-Id: I9120dcf0b910759f60a4915c84388653922292e8
2017-11-06 17:49:34 +00:00
Vasyl Saienko
4754e82f3f Run tempest jobs when update requirements
After migration to zuulv3 we no longer run tempest jobs when touching
requirements.txt. This patch fixes it. Multinode jobs are still skipped
Also skip tempest tests when test- or driver- requirements are touched.

Change-Id: Ida42c056206bbf563f377029e572946afe056190
2017-11-03 16:49:08 +02:00
James E. Blair
9ec369b04c Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: I9760e93bfcd8a175bb97a8ee55ce9ff19d8d3923
2017-10-29 15:04:25 -07:00
Sam Betts
4b37c29b5e Move ironic legacy jobs into the ironic tree
This patch moves the legacy ironic CI jobs into the ironic tree instead
of storing them in openstack-infra/openstack-zuul-jobs to give us
control as we migrate the legacy jobs to the new ansible roles.

Change-Id: Ib728fadbdab2eb9f1ba5112297a32dbdbfd1d5fd
2017-10-18 16:52:46 +01:00