34 Commits

Author SHA1 Message Date
Mark Goddard
cf2c0a0022 Add python3 unit test with drivers installed
Adds unit-with-driver-libs-python3 tox environment, and corresponding
ironic-with-driver-libs-python3 Zuul job.

The lack of this job was highlighted by
https://review.openstack.org/#/c/641972 which marks UcsSdk as supported
in python 2 only.

Change-Id: Ibc0f9a8fddd8f6b358efed1c4c93b95d4e01bc13
2019-03-11 11:22:49 +00:00
Riccardo Pittau
c8ece0c625 Add option to set python interpreter for ansible
This patch adds the option to configure the python interpreter
that is used when deploying machines using the ansible deploy
interface.

Also set the default interpreter for tinyipa image with
ansible deploy interface to /usr/bin/python3 on devstack
and marks ironic-standalone job as voting again.

Change-Id: I8eb58fb00980c9e8946e3b3ef77611a9f5212668
Story: #2005159
Task: #29877
2019-03-07 18:40:06 +01:00
Riccardo Pittau
790530f337 Temporary marking ironic-standalone non-voting
The ironic-standalone job is failing because the most recent IPA
image has only python3 and ansible uses python 2 as default
interpreter, resulting in a /usr/bin/python not found error.
Marking ironic-standalone non voting and removing it from the
gate until we can run ansible with python3 on remote machines.

Change-Id: I56768d7c8a577f267172de02d77e2cc2ead785ad
2019-03-06 17:00:11 +01:00
Riccardo Pittau
578805b34b [trivial] Removing python 3.5 template jobs
Also correcting docs as we don't have a py35 environment

Change-Id: I409db4b73a2dedf283107708e7eea105549da867
2019-02-22 12:21:25 +01:00
Dmitry Tantsur
15fafe686c Add a voting CI job running unit tests with driver-requirements
This seems to get broken quite often (RDO runs something similar).

Change-Id: I53fd5f86dfcee5b14318d4324c43d5f02b86702c
2019-02-06 19:14:53 +01:00
Iury Gregory Melo Ferreira
3ad700acae Remove dsvm from zuulv3 jobs
According to [1] the dsvm should be removed from zuulv3 jobs

[1] https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3

Duplicate jobs to avoid break the gate in other projects like:
- ironic-tempest-plugin, ironic-inspector, nova, neutron, devstack

Change-Id: I96a96a9d6f23f02f9f49c962f183e8c5ca78e048
2019-01-10 10:49:50 +01:00
Zuul
080ee978c8 Merge "Switch ironic-tempest-...-tinyipa-multinode to zuulv3" 2018-11-29 22:36:30 +00:00
Derek Higgins
c67b46e350 Switch ironic-tempest-...-tinyipa-multinode to zuulv3
And rename to ironic-tempest-dsvm-ipa-wholedisk-direct-tinyipa-multinode

Change-Id: I6ab7bfa0343e0c8df5814d26e62864f3c66cf7b1
2018-11-19 16:30:45 +00:00
Dmitry Tantsur
440f53fa3f Add a non-voting bifrost job to ironic
We already broke openstacksdk CI with our changes once, and now we
broke it again with an ironic-inspector change. Let us add a job
to add coverage for bifrost and openstacksdk code paths.

Start non-voting since our CI is already a bit unstable.

Change-Id: I1277b52067efbfcc4119b60678f356397a82166c
Depends-On: https://review.openstack.org/618726
2018-11-19 11:59:49 +01:00
Julia Kreger
84b94ee2d1 Change BFV job to use ipxe interface
As Nova's CI jobs can call the ironic-tempest-dsvm-bfv job,
it seemed to only make sense to keep that job name and have it
leverage the ipxe boot interface instead.

The newer named job, ironic-tempest-dsvm-ipxe-bfv only exists
in the ironic repository according to codesearch.openstack.org.

This removes one un-necessary check in the ironic check gate.

Change-Id: I55bd2e7e5fa5d10ca6ed3093ebabf7dc3be07fb9
2018-10-31 07:51:00 -07:00
Julia Kreger
c787f6806f ipxe boot interface
A long time ago, in a galaxy not so far away,
the ironic comunity reached consensus that we
should refactor the PXE interface such that we
had separate PXE and iPXE interfaces.

In looking at what it would take for something like
a standalone deployment to have multiarchitecture
support in their environment, it seems even more
urgent and necessary that we begin to make this
delineation. This is because while some ARM iPXE
support exists, the binary is not a commonly
shipped artifiact, so operators are largely
only left with grubaa64.efi as their bootloader.

A similar issue exists with ppc64le deployments
where they must disable iPXE, as the ppc64le
hardware expects reading a syslinux compatible
file, similarlly no iPXE loader exists.

To start this effort, we need to promote iPXE
functionality to a dedicated interface,
and remove the necessity of setting the
[pxe]ipxe_enabled setting.

Next steps, beyond this patch, would be to
begin to tease out the common private method
code in the underlying PXE interface that both
the iPXE and PXE interfaces use, and appropriately
relocate and refactor that code as necesary.

During this process, we can create an [ipxe]
configuration section, and migrate settings.

Finally, once the deprecation cycle is complete,
we will be able to remove the ipxe logic with-in
the PXE interface.

Change-Id: I392616417c48986e84e50a3ddc7567344bfe3571
Story: #1628069
Task: #10516
2018-10-16 13:19:04 +00:00
Derek Higgins
e63360caf2 Remove ironic experimental jobs
These have existed since the jobs were migrated into
this repository (almost a year). They don't currently
work and I don't think they are being worked on, so
remove them to avoind trying to port them to zuulv3
native jobs.

Change-Id: Ied056b91d78b5644ac5d87020325b65af1d86ff4
2018-09-24 12:12:52 +01:00
Andreas Jaeger
788690decb Use templates for cover and lower-constraints
Small cleanups:

* Use openstack-tox-cover template, this runs the cover job
  in the check queue only. Remove individual cover jobs.
* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: I36081bfcc9e4cd393110c3fb6027048d57f925ad
2018-09-22 17:50:20 +02:00
Andreas Jaeger
816ff1dda9 Remove wrong install-guide-jobs in zuul setup
This template is only used on older branches and should not have been
imported, remove it again. It should stay in project-config.

Change-Id: Icdaa0f7102074be97e73d4361387084ec4bf5ae1
2018-09-22 17:49:13 +02:00
Zuul
36e87dc5b4 Merge "Direct deploy serve HTTP images from conductor" 2018-09-07 14:56:07 +00:00
Sam Betts
bd82ead580 Direct deploy serve HTTP images from conductor
Currently direct deploy only works if temp urls are enabled or if a
HTTP image URL is given. This patch enables Ironic to serve images
directly from the conductor's HTTP server to the agent so that we can
enable agent deploy with out temp urls.

This also has the added benefit for standalone that the conductors will
cache the HTTP URL images and serve them into the provisioning network
meaning the provisioning network has no need for connectivity to the
outside world.

Story: #1598852
Task: #24639
Co-Authored-By: Kaifeng Wang <kaifeng.w@gmail.com>
Change-Id: Iae6798616f29d876b274d9e0b44a1eb0f24e1747
2018-09-07 17:06:35 +08:00
Doug Hellmann
dffb38c25c add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

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

Change-Id: Ic027e74b5bac1df7b9e8c6bb2ad41f220428e026
Story: #2002586
Task: #24302
2018-08-16 09:44:52 -04:00
Doug Hellmann
938a1972ac switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

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

Change-Id: Ie32ae736784a1f2617cbe4a31f8131d2f5e34a60
Story: #2002586
Task: #24302
2018-08-16 09:44:46 -04:00
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
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
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
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
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
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
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