Commit Graph

103 Commits

Author SHA1 Message Date
Takashi Kajinami 7c6ea6c157 Remove SQLAlchemy tips jobs
The most recent SQLAlchemy and Alembic versions are now in
upper-constraints. As a result, this job has served its purpose and can
be removed. For more information, see [1].

[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/RBHXHTO3GUOOXVSZXD4C2O3TKDOH2QSC/

Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
Depends-on: https://review.opendev.org/c/openstack/ironic/+/915789
Change-Id: Ia256e9ba5a7751ca24277bbb7aabef3833dbe83e
2024-04-15 15:54:09 +00:00
Zuul e40d344d1e Merge "[codespell] Adding CI target for Tox Codespell" 2024-01-29 14:11:17 +00:00
Julia Kreger fff80086d6 Change policy to enforce only new policy
Change's inspector's default policy to align with the 2023.2
release goal.

Depends-On: https://review.opendev.org/c/openstack/ironic/+/902009
Change-Id: Iaa271bd13e3a62c4a3b35b6e6b556984f7b1d09c
2024-01-26 01:01:11 +00:00
Sharpz7 c08ab06691 [codespell] Adding CI target for Tox Codespell
Third in a series of commits to add Codespell to Ironic Repos. This commit adds the Tox Target to CI

A future commit could potentially add a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: I43818291edfde18c217ab4acb4d951b8a85f6fcd
2024-01-25 21:22:28 +00:00
Julia Kreger da6a4460a6 [CI] Add sqlalchemy 2.0 unit testing
Change-Id: I9a6ea8e18152ab9e2c26bfd68fa4129c01bc312f
2023-11-08 18:58:05 +00:00
Julia Kreger a696dbee1f CI: re-add genade job to normal CI queues
We fixed the grenade job, it works now. Moving it back to the standard
check and gate queue.

Change-Id: Ie0e810c4eec1322180c024703b90a584f1161672
2023-09-19 14:36:58 -07:00
Dmitry Tantsur be3d3772de Update the project status and move broken jobs to experimental
Since ironic-inspector is pending deprecation and does not see a lot of
changes, simply disable the jobs that do not pass. A release note is
issued about the status of the project.

Also: Re-adjust the memory footprint of the VMs since we use
tinycore linux on this job, *and* we were previously introsepcting
4 VMs at 1GB each. The count has been changed to two.

Change-Id: I11d10a9f83552b5875812fa65d87cc5c72081537
2023-09-19 08:03:43 -07:00
Stephen Finucane f853061fe4 setup.py: Remove 'py_modules'
This was merely obscuring a bug in pbr. setuptools doesn't do the
auto-discovery when pbr is in use. Remove it.

Also fixes the environments list where it is now validated for what is
installed by removing functional-py38, and fixing the job to just be
"functional".

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-on: https://review.opendev.org/c/openstack/pbr/+/869082
Change-Id: Ife999840777f3c553f569d81cd826ef9d5a6765d
2023-01-11 08:22:52 -08:00
Julia Kreger 75e8c2ac50 [grenade] Explicitly enable Neutron ML2/OVS services in the CI job
As with [1] basic grenade job will be switched to run with OVN as
Neutron backend, which is default in Devstack, we need to explicitly
disable ML2/OVN neutron services in the grenade job and use
ML2/OVS related services in that job.

Related: https://review.opendev.org/c/openstack/ironic/+/866993

[1] https://review.opendev.org/c/openstack/grenade/+/862475

Change-Id: Ifc9923236c5971e1b63b15fb62506821c178926c
2022-12-13 13:38:48 -08:00
OpenStack Release Bot af007c3b5f 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: I49f40f464b9b029927d2fc7ec33de5e554661d9e
2022-09-22 08:52:04 +00:00
Dmitry Tantsur a09d70780e Switch the grenade job away from netboot
Since we're forced to use BIOS, default to whole disk images.

Change-Id: I5f1cfdae24ce0a01f61648e470d61b336431611e
2022-09-06 17:57:49 +02:00
Julia Kreger 1a1812cfd1 CI: Removing ironic job queue
Please see:
https://zuul-ci.org/docs/zuul/latest/releasenotes.html#relnotes-4-1-0-deprecation-notes

Change-Id: Ibd63ddc8578e784f24d78d80a5bbfdb47df9967d
2022-05-19 11:14:24 -07:00
Riccardo Pittau 6513d3db37 Fix CI
Sync with ironic configuration to fix grenade job
Drop lower-constraints.txt and its testing (was [1])
Fix ironic-inspector-tempest-managed-non-standalone sine we're here

[1] https://review.opendev.org/c/openstack/ironic-inspector/+/840075

Change-Id: I9b08c6e61c39a0e5616e51256f76a19dc5fd00c0
2022-05-09 09:31:55 +02:00
OpenStack Release Bot bcb6ee3cd0 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: Iabeaa140bf7bb0321a5e1f2936ff184941549394
2022-03-18 17:15:15 +00:00
OpenStack Release Bot b14be6a0b1 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: I6617d6025be66cd7d99c05dd5c0542acf6790dbc
2021-09-22 18:40:55 +00:00
Iury Gregory Melo Ferreira 62f79a1129 Include ironic/tests in irrelevant-files
Since we run inspector jobs in ironic gate, we need to
include `ironic/tests` in the irrelevant-files so
we don't run the jobs when there is only changes in unit tests.

Change-Id: I98757ab78716689355f70c7735480d4dc8e04320
2021-09-03 21:12:16 +02:00
Riccardo Pittau 424b53e55d 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: I2e247ff2d68705d04d40c7ea653a8d3e0daf17d8
2021-08-05 12:20:59 +02:00
Dmitry Tantsur 08b6c892d7 Trivial: remove an ancient option from the CI
Change-Id: Ic50cede81c6ec0d0c49c622535503722701e1d1d
2021-04-30 17:19:05 +02:00
OpenStack Release Bot faafa91f72 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: I083379934e699f23997237c9b5ee369f60399d4e
2021-03-30 18:43:49 +00:00
Riccardo Pittau 565c82b154 Increase memory of ironic vm in grenade
This is to be able to run jobs with tinycore 12.x based tinyipa images.

Change-Id: I48c7b9ee1eda7366ecbf496d5ee297063f3ba789
2021-03-23 09:17:37 +01:00
Dmitry Tantsur 223cfbdbbc Enable tempurls for Swift in grenade
Change-Id: Icd752783ff6df0e06f04e03b374af4862c91ec7f
2021-02-25 12:06:15 +01:00
Moisés Guimarães de Medeiros 86b974b75c Fix memcached host address.
Since pymemcache 3.4.0, localhost will first translate to ipv6 ([::1])
if possible instead of ipv4 (127.0.0.1). Since memcached is running in
the ipv4 interface, we need to point tooz to the right endpoint.

Depends-On: https://review.opendev.org/c/openstack/requirements/+/772684
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
Change-Id: Iddf558cd598e41ffead11e164ce2fb1720d15f34
2021-01-28 16:44:08 +01:00
Riccardo Pittau c6fdf25116 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: I943b63b9c6a980011b35bb028c64bee18d772750
2020-12-15 18:43:48 +01:00
Riccardo Pittau cecf00ee83 Re-enable ironic-inspector-tempest-managed-non-standalone job
The pymemcache lib was updated recently in upper-constraints to 3.4.0
and since then the ironic-inspector-tempest-managed-non-standalone job
has been broken.
There seems to be an issue between tooz memcache driver and pymemcache,
the change in upper-constraints has been reverted [1] and the failing
version blacklisted in global-requirements.
Re-enabling ironic-inspector-tempest-managed-non-standalone as it
will now pass correctly.

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

Change-Id: I4944860c265f9e5060c8ab276e7962a93a27da88
2020-10-29 10:40:31 +01:00
Riccardo Pittau f3f91b4562 Run bifrost integration job on focal
Part of the migration from bionic to focal as community goal.

Change-Id: I18503a789950ff3b07c41708262dbacdefb2593b
2020-10-26 22:05:54 +00:00
Dmitry Tantsur 5678f219cd Fix database migrations and disable the non-standalone job
The pattern of adding a column and then reading a table with it
no longer works in SQLAlchemy 1.3.20. This has been reported
upstream [1] and apparently we're doing the wrong thing by reusing
a column object twice.

We need to disable the non-standalone job since it's really broken
now, and this fix is blocking bifrost.

[1] https://github.com/sqlalchemy/sqlalchemy/issues/5669

Change-Id: I2fb07413e8f421f39b24acf1272771ee2097b195
2020-10-26 14:16:34 +01:00
Zuul 4467362948 Merge "use py38 for functional tests" 2020-10-15 13:41:16 +00:00
likui 8e9adf1293 use py38 for functional tests
we should test py38 by default.

[1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html

Change-Id: Ib10a065105a740450e2c486a88b773b803847bd7
2020-10-15 18:14:30 +08:00
Riccardo Pittau ee1849dd40 Use direct as IRONIC_DEFAULT_DEPLOY_INTERFACE for grenade
The iscsi interface has been deprecated.

Change-Id: I8e899a69314a0215c3399173c4828dab60794bd8
2020-10-09 10:27:58 +02:00
OpenStack Release Bot 4e5529ecf3 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: I254b880e98550431ca14e55871b3069c99717bde
2020-10-01 18:42:22 +00:00
Dmitry Tantsur 2f6df39e02 Limit inspector jobs to 1 testing VM
Currently ironic-base defaults to 2 and our tests try to introspect
all of them. This puts unnecessary strain on the CI systems, return
the number back to 1.

Change-Id: I178190ee1e9d99e60994a307044105f306d4cab3
2020-09-21 17:55:03 +02:00
Julia Kreger 039844a0a5 Make inspector base CI job use 2 CPUs
Uncompressing the ramdisk on a single core CPU can take a
substantial amount of time and elongate the overall initial
period between VM start and OS becoming operational.

Additionally, multiple CPUs allows for the software with-in
the job to execute more quickly with multiple running processes.

Change-Id: I814b12cbc05c6a110dc5593113b948e3f89e80c1
2020-07-13 18:49:45 +00:00
Zuul e1cc969a8c Merge "Remove introspection timeout option" 2020-06-30 08:51:43 +00:00
Iury Gregory Melo Ferreira f416673374 Merge jobs
- Removed ironic-inspector-non-standalone-tempest
- add the non-standalone case to ironic-inspector-tempest-managed and
  make voting in check and gate.
- Renamed ironic-inspector-tempest-managed to match the new scenario.
- Keep a copy of ironic-inspector-tempest-managed

Change-Id: Icf9406c2b9e2829a36fa37e49b2692a76d67bdb6
2020-06-18 19:01:42 +02:00
Riccardo Pittau 7470320272 Remove introspection timeout option
The default value is inherited from ironic-base.

Depends-On: I8496ccc32c633e167be2083448d4f267865f07fa
Change-Id: Ib1985274bbc679a621d5a68f9bcf5491512913cd
2020-06-02 18:20:20 +02:00
Riccardo Pittau 542db84113 Set default timeouts for ironic inspector base job
The same timeout values are shared between different jobs and
they should just be the default for the base job.

Change-Id: Ic41fe7ade21ece2d1110ef8a6ccb74df6ddd2b6f
2020-05-27 14:19:57 +02:00
Iury Gregory Melo Ferreira 06ee50077c Set tempest_test_timeout for managed job
Most of the failures in this job is because tempest couldn't
finish the test on a given time, we increased the introspection
timeout but we forgot to allow tempest to run for more than
20 min (default)

Change-Id: I25435fe93f2f6d6cd50befe9cdf6bb1e548cef88
2020-05-21 16:36:39 +02:00
Riccardo Pittau 0a037c5ffa Increase timeout for introspection in ironic-inspector-tempest-managed
The job is often failing during introspection because of a timeout error,
so increasing the timeout value to prevent multiple rechecks.

Change-Id: I4da76ec3cf7b82f7aed30c087bbfe31cbea91f45
2020-05-19 15:23:28 +02:00
Zuul a2018dabd9 Merge "Add Python3 victoria unit tests" 2020-05-19 12:01:30 +00:00
Riccardo Pittau b5d3214eb4 Convert jobs to dib
Remove the value of IRONIC_RAMDISK_TYPE when present to make
the base job and all children take the type from ironic-base
which now is set to use the dib image.

Change-Id: I59f00c0b135f209ca6258efe9c3e3eb722fff4cb
2020-05-11 08:54:31 +00:00
Riccardo Pittau a7ef7166df Revert disabling the grenade job
Change-Id: I901d509c40d6947a13f604c0dabbcd58545d3076
2020-05-08 10:52:58 +00:00
Zuul 80e0be64ee Merge "Temporary disbling grenade and non-standalone-tempest" 2020-05-07 19:28:03 +00:00
Riccardo Pittau edfec4c6e2 Temporary disbling grenade and non-standalone-tempest
We need to disable those jobs to be able to merge some patches to
fix inspector behavior.

Change-Id: Id79c482df6c76d97de883b41f8e85724b91f5307
2020-05-07 18:33:36 +02:00
Iury Gregory Melo Ferreira bb71167cdb Fix grenade job
- Add ipa-builder to grenade
- Disabled smoke tests since they are not lightweight when
using Ironic.
- Using test_baremetal_introspection for the tempest run
pos-upgrade.
- added LIBVIRT_STORAGE_POOL_PATH since some cloud providers
may not have enough disk space.
- lowered the number of VMs to 3 (we don't have many tests)

Change-Id: Ifee10541f369d5bc850ce3d92305810cd3eedd34
2020-05-06 15:58:18 +02:00
OpenStack Release Bot a5a81cfdf3 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: I9ae479b7ee77dbc4335d41daa93dd0e2730ebbf8
2020-04-27 14:34:47 +00:00
Iury Gregory Melo Ferreira 02c6c92c50 Native zuulv3 grenade job for inspector
Based on the native 'grenade' job

Depends-On: https://review.opendev.org/548936
Change-Id: I606f8ffed0defe4ebc7fc2ceda1f6853c36a1b05
2020-04-26 11:56:14 +02:00
Iury Gregory Melo Ferreira 1ebba53081 Change default ram for tinyipa jobs
Change-Id: I74666983a1d4122d27a14557ba45e88418e24986
2020-04-09 10:12:59 +02:00
Julia Kreger fed2cbfa9d Set default boot option to netboot for jobs using cirros
An upcoming ironic change changes the default boot option for nodes
to local booting as opposed to the long standing default netboot.

Some jobs still use cirros, which cannot be local booted from a
partition image as it is designed to write the ramdisk contents
to the partition upon the initial network boot.

Change-Id: I0d0c043de449048c3cc38ed7d7dac3e9e85974ef
2020-04-08 10:49:04 +02:00
Riccardo Pittau 351347ad14 Explicitly set ramdisk type
The ironic-inspector-base job is based on ironic-base job which
will default to dib.
To prevent breaking the ironic-inspector CI we set the ramdisk
type to tinyipa for now and we'll convert the jobs here later.

Change-Id: If2be23d4e59f4c4821005b037a6002428b2e7eb4
2020-03-13 12:23:55 +01:00
Dmitry Tantsur 3d473dc2ea Replace references to the deprecated ironic-agent element
Change-Id: I0f473a0d59de50261880c4e1331c1861e8c745df
2020-02-11 17:30:13 +01:00