73 Commits

Author SHA1 Message Date
Derek Higgins
1effd562ed Switch to cirros 0.4.0
This supports ext4 partitions with metadata_csum(as created
by ubuntu bionic by default).

Also Using it with the e1000 virt driver cirros sees the nics.

This allows us to remove 2 of the special cases we had inserted
when the CI jobs were switched to bionic.

Change-Id: I68165110dd57ed314cbc29430f84ff5092065d38
Story: #2004604
Task: #28570
Task: #28499
2018-12-18 16:52:44 +00:00
Derek Higgins
71f0256b1d Disable metadata_csum when creating ext4 filesystems
Cirros can't mount a ephemeral partition if its enabled.

Change-Id: I7b56fcd0be1cd48a6b72a0c156d37b3f279a8da9
Story: #2004604
Task: #28499
2018-12-14 14:34:38 +00:00
Derek Higgins
053965c6db Switch the default NIC driver to e1000
The version if qemu-ipxe on bionic doesn't attempt
to network boot when using virtio-net.

Change-Id: I335a2a0a8a82bb43a06202f96e629aa72d10cfac
Story: #2004604
Task: #28498
2018-12-14 14:34:33 +00:00
Derek Higgins
c5a4ad8006 Switch CI back to xenial
Switch back from bionic to xenial while we sort
out the various priblems in CI

Change-Id: Ie7341654077273f0dd3a682449c3c61fcffee5c8
Story: #2004604
Task: #28497
2018-12-13 13:56:12 +00:00
Julia Kreger
2f991522e7 Change multinode jobs to default to local boot
When validations occur, we raise an exception internally
which can lead to confusing and misleading log messages
when whole disk images are utilized with the standing
default of network booting on neutron.

We've long discussed changing it, so why not start.

Change-Id: I68bb1b9bf8c14ba686eb1c9d2755badf84481f91
2018-12-05 10:21:38 -08:00
Zuul
6fe3b66796 Merge "Extend job build timeout" 2018-12-04 17:41:58 +00:00
Zuul
83f7edf485 Merge "Mark several tests to not test cleaning" 2018-12-04 13:20:38 +00:00
Zuul
080ee978c8 Merge "Switch ironic-tempest-...-tinyipa-multinode to zuulv3" 2018-11-29 22:36:30 +00:00
Julia Kreger
a90bdb1c96 Extend job build timeout
On slower nodes, sometimes Ironic can take up to ten
minutes for the deployment to complete. The downside is
that the tempest build timout is set to ten minutes.

In order to reduce the number of erronious failures
and rechecks, extending the timer to 12 minutes which
should provide enough time for the deployment to complete
to tempest's satistfaction.

Change-Id: Ie883d641d0951cb148e8cfb812b9607fa77ddb4b
2018-11-29 18:21:33 +00:00
Julia Kreger
eace34ab49 Mark several tests to not test cleaning
We don't need to test cleaning with some of the integration tests
where ultimately we are only testing a slightly different scenario
with an unrelated code path.

Change-Id: Ic7825a12763c07956e812fe509c455989868590d
2018-11-29 10:11:32 -08: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
Derek Higgins
6389ad2829 Increase RAM for the ironic node in UEFI job
This now appears to need more then the bios jobs. A recent
update to one of the components of the tiny IPA image appears
to have increased the requirements.

Change-Id: Ia38ab45d0b1d7f7c57a2be71cf290de02ab86e6f
Story: 2004355
Task: 27954
2018-11-15 22:17:53 +00: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
Matt Riedemann
a77abba198 Revert "Add openstack/placement as a required project for ironic-grenade*"
This reverts commit e1272cb19b2d8d5fc660f3f81de72058c1b96e13.

This is handled generically now with this change and its dependency:

  https://review.openstack.org/#/c/606853/

Change-Id: I8fff93c920bc39202fa12cbff612005cf1339865
2018-10-24 08:47:51 -04:00
Zuul
ab1b117ee4 Merge "ipxe boot interface" 2018-10-21 06:48:38 +00: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
Zuul
d2c9bba6f9 Merge "Switch ironic-tempest-dsvm-functional-python3 to zuulv3" 2018-10-04 17:02:02 +00:00
Zuul
f60de6433e Merge "Switch ironic-tempest-dsvm-functional-python2 to zuulv3" 2018-10-01 15:20:52 +00:00
Matt Riedemann
e1272cb19b Add openstack/placement as a required project for ironic-grenade*
In order to get openstack/placement installed as part of the
ironic grenade jobs, we have to list it as a required project.

Needed by https://review.openstack.org/604454/

Change-Id: I3922ef15ef8b4517f653a37ca137ba30c8ca5643
2018-09-30 11:48:17 -04:00
Derek Higgins
f34799b3fa Switch ironic-tempest-dsvm-functional-python3 to zuulv3
Change-Id: Ib9d79e4b9ce770b1eb7e572dffe704e4f3568611
2018-09-25 10:54:09 +01:00
Derek Higgins
86e9c7e0f9 Switch ironic-tempest-dsvm-functional-python2 to zuulv3
Change-Id: I01fadd61b0469512f512026c81f5ce782a3c6dd5
2018-09-25 10:54:05 +01: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
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