Commit Graph

71 Commits (master)

Author SHA1 Message Date
OpenStack Release Bot 43748af791 Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I91232b32f26842802fc42c1d9e28a6ea791ecb7b
8 months ago
likui 73b23f2597 add openstack-python3-zed-jobs-arm64 job
This is a non-voting job to validate py3 unittests on ARM64

Change-Id: I608d2e4e9e378b1f6e33a7e1a2cdc1c0bab7ec5c
9 months ago
Zuul 0bd39c41cf Merge "CI: Removing ironic job queue" 11 months ago
Riccardo Pittau b8d01d31a2 Add ipa-tox-examples job to gate
The ipa-tox-examples job is voting but it's missing from gate

Change-Id: Ie47066084172d8e06eb1f6f097b0354b3b800612
1 year ago
Zuul 9dca97736f Merge "Add a metalsmith job with legacy boot" 1 year ago
Julia Kreger be5d1463bb CI: Removing ironic job queue
Please see:
https://zuul-ci.org/docs/zuul/latest/releasenotes.html#relnotes-4-1-0-deprecation-notes

Change-Id: I341b8a2220a49c5a7c3f78fed3a1baa0f0638cde
1 year ago
Zuul 2c22e60b45 Merge "Remove support for distributions with Python 3.6" 1 year ago
Dmitry Tantsur 21b075cd3f Add a metalsmith job with legacy boot
With netboot removal, this will be the only job that tests local legacy
boot with partition images.

Depends-On: https://review.opendev.org/c/openstack/metalsmith/+/841911
Change-Id: Id3f165286cfc47dcf45c042115a63804a0c671e8
1 year ago
Dmitry Tantsur 5916e7af21 Remove support for distributions with Python 3.6
IPA can no longer be installed on them, other projects will follow.

Change-Id: I945520d912564be610cee3990bad827549747904
Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/841562
1 year ago
Riccardo Pittau f1d45a60e7 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I16ea0a61c018d03d6c23e0b0736295a36b6dd367
1 year ago
OpenStack Release Bot f9a7871ea0 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I25719dcd3035816d934b806ae129051df322bf9c
1 year ago
Riccardo Pittau 96673b1829 Add non-voting dib CentOS Stream 9 job
We recently enabled voting CS9 jobs in ipa-builder, let's also add the
same check job here.

Change-Id: Iaf2e56e0a1f6ca35272bcaedf3cb73273080b7ef
1 year ago
Dmitry Tantsur b921b76167 Make the standalone job voting again
We forgot to revert it. This job covers software RAID and manual
cleaning, so it's very important to avoid regressions, even if it costs
us some rechecks from time to time.

Change-Id: I2446afeaca866ffc3131b5e9f266526f35fc5ed7
1 year ago
Riccardo Pittau c31835e248 Use only Yoga tests
TC has decided to keep support for Python 3.6 during the Yoga cycle.
For more info see [1]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-December/026164.html

Change-Id: Icfe518fafa2b012e034a2e8ff18c242843df0086
2 years ago
Riccardo Pittau 87a42cc887 Test python 3.6 for distributions compatibility
As discussed during the ironic meeting on 29/11/2021, the community has
decided to continue testing the code against Python 3.6 to keep
compatibility with distributions that have native support for it, such
as CentOS Stream 8, Ubuntu Bionic, Debian 10, and openSuse Leap, at
least until it's possible and reasonable considering the support granted
from other dependencies and libraries, and not beyond the Yoga cycle.

Change-Id: I97ad7c4acdb278e2849a598c5a02a71fc67cc81a
2 years ago
Dmitry Tantsur abe38a6a5f Fix compatibility with disk_utils.find_efi_partition
This function returns the complete block device record, not just number.
Fixes regression in 89bc73aa01.

Also fix the incorrect job in the gate queue, which prevented us from
catching this issue on merging.

Change-Id: I4cbc359ceabfc193ce18fed14a1952359460e7d9
2 years ago
Julia Kreger ce296a43d6 Remove metalsmith centos7 job
Change-Id: I523382b5b06b479ba34dce5a1dc7262076122514
2 years ago
OpenStack Release Bot 8d901ff0dc Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ia08ee369e2925b2c313dcfaa8975fe023ec1c07a
2 years ago
Riccardo Pittau 22b538d61c Add lower-constraints job to current development branch
The lower-constraints test was removed because of an issue where pip
could not correctly determine the required packages versions to install,
ending in an almost infinite loop that would end up in timeout, failure,
and general mayhem.
Recently the issue has been fixed and, if properly configured, the
lower-constraints test can provide good indication of which minimum
versions are required to support the current code.
This patch adds the test back to the current development branch, and it
runs only on master.
The lower-constraints file will stay in the future stable branches.

Change-Id: Ic9cef3e56266c6e9de0936b5f113e8b38d705a9b
2 years ago
Dmitry Tantsur 764e29729d Stop testing the iscsi deploy interface
Remove the jobs that are now redundant.

Depends-On: https://review.opendev.org/c/openstack/diskimage-builder/+/788972
Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/788971
Change-Id: Ic0b7bc509652c23cec85e685d66de368fdc4761d
2 years ago
OpenStack Release Bot fcb65cae18 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ib3d406de284d5b2211eebb03e71ca92ce93bc01f
2 years ago
Dmitry Tantsur 993f9a0ceb Make the virtual media job voting
Depends-On: https://review.opendev.org/c/openstack/ironic/+/783722
Change-Id: I4905c17d2e78ed02e9005ffbd93b036674e6ff51
2 years ago
Dmitry Tantsur afcc5d392c Fix incorrect lsblk tag and add a virtual media job
Follow-up to 8dd6589e66d03e45e1d510601da9531a30842cff: PATH is not a
valid lsblk tag, we need to use KNAME with -p flag.

Also add a vmedia job to avoid breakages in the future. It's added
non-voting because we have a deadlock with this change:
https://review.opendev.org/c/openstack/ironic/+/783722

Change-Id: Ifffeac9c1c4d394526d655eaa14c9fe7bd3a1e5e
2 years ago
Riccardo Pittau 78b356cd44 Remove lower-constraints job
As discussed during the upstream ironic community meeting on
Monday Dec 14 2020, the lower-constraints job is being removed.

Change-Id: Ide0f6c38a59ae6486fa33cfb19b383d022e57d5a
2 years ago
Zuul d84e88769e Merge "Don't run os-prober from grub2-mkconfig" 3 years ago
Riccardo Pittau 1f15a10c6a Run dib ipa src jobs on ubuntu focal
Also disabling dstat in all focal based jobs because of
https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/1866619
Plus including increase of alloc memory to increase job
success rate, original change from [1]
And re-enabling ipa-tempest-bios-ipmi-direct-src and
ipa-tempest-bios-ipmi-iscsi-src

[1] https://review.opendev.org/759765

Co-authored-by: Julia Kreger <juliaashleykreger@gmail.com>

Change-Id: Ia154745b71c17063eeaaabeb56950ab1cc9ce927
3 years ago
Julia Kreger a67807b9b6 Mark standalone job non-voting/remove from gate
The standalone job at present has a high chance of failure
due to two separate things occuring:

1) The deployed nodes from raid tests can be left in a dirty state
   as the raid configuration remains and is chosen as the root
   device for the next deployment. IF this is chosen by any job,
   such as rescue or a deployment test that attempts to login,
   then the job fails with unable to ssh. The fix for this is
   in the ironic-tempest-plugin but we need to get other fixes
   into stablilize the gate first.
   https://review.opendev.org/#/c/757141/
2) Long running scenarios run in cleaning such as deployment with
   RAID in the standalone suite can encounter conditions where
   the conductor tries to send the next command along before the
   present configuration command has completed. An example is
   downloading the image is still running, while a heartbeat
   has occured in the background and the conductor then seeks
   to perform a second action. This then causes the entire
   deployment to fail, even though it was transitory.
   This should be a relatively easy fix.
   https://review.opendev.org/759906

Also disabling ipa-tempest-bios-ipmi-direct-src and
ipa-tempest-bios-ipmi-iscsi-src for the time being, will revert
in https://review.opendev.org/757812

Change-Id: I08c8c258587dd3786dfa92e7879a80c80971d7df
3 years ago
Julia Kreger 6542a9cb04 Don't run os-prober from grub2-mkconfig
By default, grub2-mkconfig scans everything to look for other
environments and then load those into the grub configuration.

It makes sense, but on newer versions of grub2 in distribution
images, os-prober is taking an exceptionally long time in some
cases where more than one storage device exists with other
filesystems.

As a result, of the os-prober execution by grub2-mkconfig, the
bootloader installation can completely time out and fail the
deployment. This is presently experienced with metalsmith on
centos8.

There are numerous sporatic reports of issues like this issue
where grub2-mkconfig hangs for some period of time, and this is
observable on Centos8.2 in our CI. While one report[0] mentions
this issue, Another bug [1] has the dialog that actually helps us
frame the context as to what we likely should do.

Also, fixes the unit testing so we actually test if we're running
with grub2. :\

[0]: https://bugzilla.redhat.com/show_bug.cgi?id=1744693
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1709682

Depends-On: https://review.opendev.org/#/c/748315
Change-Id: I14bf299afef3a1ddb2006fe5f182d7f0d249e734
3 years ago
OpenStack Release Bot 3ddca46131 Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ib5cfc3be530851be8e426693c668f3ebcab2ecb3
3 years ago
Dmitry Tantsur 9b75453339 Fix and run the correct functional tests job
Apparently, functional-py36 just runs unit tests.

Fix the test that has regressed in the meantime and make it voting
so that we don't regress again.

Change-Id: Id5efe89a12a00c27e6299380a51cdb840285d691
3 years ago
Riccardo Pittau 82c7043f1a Remove experimental jobs
They're not really useful anymore.

Change-Id: I89acdaa38a5c02a1d87e65e4d4e8d0fb5281772f
3 years ago
Julia Kreger d415287af3 Revert "Temporary disable multiple jobs to land CI fixes."
This reverts commit 9ebab1bd34 
as it was only to enable several cross-dependent CI fixes to merge.

Change-Id: If90777d214fe235c89d4a33b649d0722999ef291
3 years ago
Julia Kreger 9ebab1bd34 Temporary disable multiple jobs to land CI fixes.
Due to the chicken and egg dependency issues between

https://review.opendev.org/#/c/747355/
and
https://review.opendev.org/#/c/747198/

We need to drop testing for some jobs for a little bit.
This change will be reverted as soon as one the IPA fix merges.

Change-Id: I9fe66ce174b8c8418a9065558e2d12ac54857eb2
3 years ago
Dmitry Tantsur 7fb098aa0b Import example hardware managers from ipa-example-hardware-managers
They're not easily discoverable there, let's keep them in tree.

The examples have been restructured to have two different projects
ready to be copied and adjusted. PEP8 failures have been fixed.

Change-Id: I2af04f4b7f9a2109fe83ec517e716159331a48bb
Co-Authored-By: Jay Faulkner <jay@jvf.cc>
3 years ago
Riccardo Pittau 52cc87e788 Revert jobs to dib
We need to be sure that the issue with the EPEL repo is fixed
before reverting to dib.

Change-Id: Ib0a80a35dcfc9d51009cc1a6816b191c6926cfdb
3 years ago
Iury Gregory Melo Ferreira 6bde89e4dd Update jobs
- Increase the number of VM's since we are running two tests.
- Do no run ipa-tempest-wholedisk-* (the partition jobs are covering
this since tempest runs wholedisk and partition tests)
- Remove `partition` from the job names

Change-Id: Ic82fc9dc7b658dab52c06b3619a0118acd111bc5
3 years ago
Riccardo Pittau 4e0981e386 Temporary switch to tinyipa jobs
To unlock the CI until the issue with the EPEL repo is fixed.

Change-Id: Ia939df9354ddcbb11852d99b672443d37b87a0fd
3 years ago
Riccardo Pittau 437a8c61d1 Convert jobs to dib
This patch converts the main jobs to dib images.
The discrepancy in the names is due to the fact that some other
projects, like diskimage-builder and ironic-python-agent-builder,
use those jobs, so we leave them for the time being.
The same thing happen for the tinyipa jobs, we create some ad-hoc
jobs until we convert the jobs in the other projects.

Depends-On: https://review.opendev.org/718607

Change-Id: If12a6152015ad00145002f0e5cc2bb948ea6457a
3 years ago
OpenStack Release Bot 318828ce10 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ib5e28a43be2514a25c033c74250a875af0a3363f
3 years ago
Dmitry Tantsur 84f7a2dce0 CI: add a non-voting partition-iscsi DIB job
Change-Id: I1569c58006b9f411b54d32a92651812253a8c164
3 years ago
Dmitry Tantsur 38eda4f857 CI: make the metalsmith job voting and gating
This job is the only job that is currently testing partition images
with local boot. Due to its usage of a custom centos instance image,
there is some potential instability, but recent runs [1] have been
reasonably green.

While on this code, change the lower-constraints jobs to a template.

[1] https://zuul.opendev.org/t/openstack/builds?job_name=metalsmith-integration-ipa-src

Change-Id: I84be013ebee3cb8f0b8f28415463e176f893c9ce
3 years ago
Dmitry Tantsur 4cfd449a47 Run publishing jobs with CentOS 8 instead of 7
CentOS 7 is broken after dropping support for Python 2.

Change-Id: Ie4b1789e07025565a2930780774112cd50e29562
3 years ago
Madhuri Kumari cdee7bb6e1 Rename job to mention python3
Follow-up on patch https://review.opendev.org/#/c/695652

Change-Id: I0237c3b73c5e52f1d990f7a3f9d70e24f7d24768
4 years ago
Madhuri Kumari 18862bb5fa Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ironic-python-agent is ready with python 3 and ok to drop
the python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: Ifd0e0b99bb82a7d7e82d6c14309468196f5734fc
4 years ago
Iury Gregory Melo Ferreira 68fb8006e0 Switch jobs to py3
- removed `USE_PYTHON3` from ironic-ipa-base since ironic-base
already has this configuration

- Enabled python3 for ipa-tempest-wholedisk-bios-ipmi-direct-tinyipa-src
and ipa-tempest-partition-bios-ipmi-direct-tinyipa-src

- Renamed ipa-tempest-dsvm-partition-ipmi-iscsi-tinyipa-python3 to
ipa-tempest-dsvm-partition-ipmi-iscsi-tinyipa

Change-Id: Ib955e93c19182dd6f16e00c8e8e92523d7b2e22b
4 years ago
Iury Gregory Melo Ferreira 16f3598da4 Switch to Ussuri job
Change-Id: I4fd830fbafa92a0835e5588747424abf1b75286c
4 years ago
Zuul 381d7ba349 Merge "Switch to image building jobs from ironic-python-agent-builder" 4 years ago
nishagbkar 5b19cee48e Adds CI job that uses DIB build images
Change-Id: I333627a8fb9e5a5d4e53f19e8b2e15d80938d90a
Task: 36272
Story: 2005114
4 years ago
Dmitry Tantsur e73786af90 Switch to image building jobs from ironic-python-agent-builder
Depends-On: https://review.opendev.org/678884
Change-Id: I50a9f9dc15f3a782aaf4b8c4096a418136f4ebd4
4 years ago
Dmitry Tantsur e446a5e6c4 Remove support for CoreOS images
Change-Id: Id9737067c678d4d01b20eae0b4a681c6cf9171a8
4 years ago