9e9334fa009525beced643f7ea658f51cf4c3bc4
Commit Graph

134 Commits

Author SHA1 Message Date
Julia Kreger
883e3cf057 Remove unused tinyipa CI job
The use of job ipa-tempest-bios-ipmi-direct-tinyipa-src was
already removed in https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/950235
Change-Id: Ib67d8d502fbc0f77282ea0e01a68334ec464acb3
Signed-off-by: Julia Kreger <juliaashleykreger@gmail.com>
2025年06月02日 12:30:42 -07:00
Julia Kreger
2e35dfc7bc Remove TinyIPA jobs
Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/950235
Change-Id: I44fd4cd6e9cc52f884d14a5c8d0478d02d5b57ee
2025年05月16日 13:36:06 -07:00
Jay Faulkner
a709e6fbb5 Base standalone job on redfish standalone
The non-redfish standalone job is pending removal from Ironic.
Change-Id: I2b6d542ce7af3eeeff23f06e43e82de5d7b09701
2025年04月07日 21:11:14 +00:00
cid
ced6f3a02a Trivial:Remove codespell job (moved to pre-commit)
Change-Id: I938eaaf29e3bc803155baa11b450d4d92e349d58
2025年02月12日 15:59:59 +01:00
Julia Kreger
a81fd068a8 CI: Remove metalsmith legacy jobs
Change-Id: Ia299f19f6348c35f6052efc78c7cb6b3093703ba
2024年10月23日 13:51:42 -07:00
Jay Faulkner
ba5c1bfe2a Remove and disable examples job
It is not a valid check to import the hwm without it being loaded into
IPA first, as objects such as the configuration object won't be loaded
yet.
Change-Id: Icf20e71e8061bb886885c1b2e29bd13ccac37ade
2024年09月04日 09:11:28 -07:00
Jay Faulkner
a1773199b7 Follow up to broken Zuul config
Change-Id: I64909aa932635b729cc85717dc241ae31798b558
2024年06月14日 18:28:50 +00:00
Zuul
1893c77918 Merge "Enable voting for codespell CI" 2024年06月10日 15:28:32 +00:00
cid
2c68770182 Fix negative lookahead assertion syntax error
Python regexes are deprecated in Zuul, so this commit updates the
configuration to use RE2-compatible syntax.
Change-Id: I19b81e4999f9c130e18872593df9dccb416e9e6a
2024年05月23日 14:20:50 +01:00
Jay Faulkner
30cb2d7432 Enable voting for codespell CI
We've proven the concept, it's a good check, let's enforce it!
Change-Id: Ie3a5410066ef628949146f825303934110b19134
Depends-On: https://review.opendev.org/c/openstack/ironic-python-agent/+/920153 
2024年05月22日 16:03:59 +00:00
Riccardo Pittau
95b3ed3fed Fix unit tests after ironic-lib changes
Updating tests after change [1] and [2] in ironic-lib.
[1] ae53e8e4b3
[2] 7644196e7d
Change-Id: I880b4f82beb117d8812e60c13040e19476cec32b
2024年03月12日 09:13:14 +01:00
Sharpz7
b928b6601c [Codespell] Adding tox target to CI (Non-Voting)
Adding CI for previous codespell tox change
Related Bug: https://bugs.launchpad.net/ironic-python-agent/+bug/2047654
Change-Id: I02f7973c0e6799f7d7b44978009dfebbce3877a4
2024年01月17日 17:15:33 +00:00
Riccardo Pittau
51f2115c56 Use sparkingly new metalsmith cs9 job
Instead of the old dusty cs8 one.
Depends-On: I56a0473ecbff8ab8fc143954d3c493037765cdf1
Change-Id: I7bf9cbff9d10299c1a6b9b19fddd8124c1b185ba
2023年08月24日 16:29:50 +02:00
Julia Kreger
78c1343a54 Fix Bandit errors
Bandit 1.7.5 released with a timeout check for all requests and
urllib calls.
Fixed those.
In the process, then exposed a bandit b310 issue, which was already
covered by the code, but explicitly marked it as such.
Also, enables bandit checks to be voting for CI..
Change-Id: If0e87790191f5f3648366d571e1d85dd7393a548
2023年06月06日 08:34:55 -07:00
Riccardo Pittau
39b6553161 Fix for tox4 and setuptools
- Disable auto discovery in setuptools
This is to avoid issues with latest setuptools after version 61.0
For more info see [1]
- add bash script to allowlist in tox.ini
- use default size for vm memory
[1] https://github.com/pypa/setuptools/issues/3197
Change-Id: Iae24917add1aae6b1ed46dba0d2c270b39c5698c
2023年01月02日 14:40:35 +01:00
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
2022年09月23日 08:41:54 +00:00
likui
73b23f2597 add openstack-python3-zed-jobs-arm64 job
This is a non-voting job to validate py3 unittests on ARM64
Change-Id: I608d2e4e9e378b1f6e33a7e1a2cdc1c0bab7ec5c
2022年08月29日 11:42:01 +08:00
Dmitry Tantsur
6a1334a068 Drop support for instance netboot
Change-Id: I2b4c543537dac8904028fdcdb590c1c214238e10
2022年07月07日 16:38:22 +02:00
Zuul
0bd39c41cf Merge "CI: Removing ironic job queue" 2022年07月05日 18:10:42 +00:00
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
2022年05月31日 09:41:41 +02:00
Zuul
9dca97736f Merge "Add a metalsmith job with legacy boot" 2022年05月30日 13:05:45 +00:00
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
2022年05月19日 11:20:23 -07:00
Zuul
2c22e60b45 Merge "Remove support for distributions with Python 3.6" 2022年05月17日 12:01:51 +00:00
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
2022年05月17日 12:51:43 +02:00
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 
2022年05月12日 11:55:28 +02:00
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
2022年05月10日 09:46:19 +02:00
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
2022年03月23日 14:34:08 +00:00
Zuul
db981d07a4 Merge "CI: be explicit that the jobs are using the DIB ramdisk" 2022年03月12日 04:12:04 +00:00
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
2022年03月10日 09:09:32 +01:00
Dmitry Tantsur
48f30ab528 Stop defaulting the standalone job to netboot; use the correct boot mode
Its configuration must match one in Ironic, and netboot does not work
with whole disk images under UEFI.
Fix the boot mode of the BIOS job: it was running in UEFI.
Change-Id: Ia207e80bbfc30f8d2891e11bbeda7b2ab0d617c0
2022年02月21日 18:55:41 +01:00
Dmitry Tantsur
56c20a7e57 CI: be explicit that the jobs are using the DIB ramdisk
Currently it requires tracing the jobs up to the ironic's devstack
plugin. Be explicit.
Change-Id: I19d0e680b0025bda22709c5a4fff9eacb5b4b1d0
2022年02月03日 18:40:56 +01:00
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
2022年02月01日 10:14:48 +01:00
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
2021年12月03日 08:56:39 +01:00
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
2021年11月30日 10:52:59 +01:00
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
2021年11月19日 14:51:27 +01:00
Julia Kreger
ce296a43d6 Remove metalsmith centos7 job
Change-Id: I523382b5b06b479ba34dce5a1dc7262076122514
2021年11月10日 11:30:03 -08:00
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
2021年09月22日 18:38:17 +00:00
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
2021年08月04日 11:35:51 +02:00
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
2021年04月30日 17:16:59 +02:00
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
2021年03月31日 16:54:01 +00:00
Dmitry Tantsur
993f9a0ceb Make the virtual media job voting
Depends-On: https://review.opendev.org/c/openstack/ironic/+/783722
Change-Id: I4905c17d2e78ed02e9005ffbd93b036674e6ff51
2021年03月30日 12:26:46 +02:00
Dmitry Tantsur
afcc5d392c Fix incorrect lsblk tag and add a virtual media job
Follow-up to 8dd6589e66: 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
2021年03月30日 12:25:14 +02:00
Riccardo Pittau
45371bfb9e Prepare to use tinycore 12
Tinycore 12 requires some more RAM than its predecessor.
Change-Id: I642ccdcef43361b5648a9652d041ebb6dfe6a0e9
2021年03月04日 13:52:09 +01:00
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
2020年12月15日 18:41:36 +01:00
Zuul
d84e88769e Merge "Don't run os-prober from grub2-mkconfig" 2020年11月01日 12:27:07 +00:00
Riccardo Pittau
c3ab4a7ca7 Remove nodeset option
The ironic-ipa-base is based on ironic-base that is already running
on ubuntu focal, non need to specify nodeset for those jobs that
are based on it.
Change-Id: I7ffb920442d5e33ef5014152b72b9ac32e367047
2020年10月29日 15:39:19 +01:00
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
2020年10月27日 21:31:05 +01:00
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
2020年10月27日 21:28:08 +01:00
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
2020年10月22日 22:28:07 +00:00
Riccardo Pittau
5c99f60083 Use focal for tinyipa src jobs used by ipa-builder
We can use focal here but we need to disable dstat because of
https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/1866619
Change-Id: I2c013e871fc56aa0077656dfc76de9aad6bed83f
2020年10月06日 17:43:03 +02:00