Commit Graph

42 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
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
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
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
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
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
Dmitry Tantsur 08b6c892d7 Trivial: remove an ancient option from the CI
Change-Id: Ic50cede81c6ec0d0c49c622535503722701e1d1d
2021-04-30 17:19:05 +02: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 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
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
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
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
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
Dmitry Tantsur d1ab0a6b71 Create a job with boot and networking managed by ironic
The devstack plugin is updated to skip configuring PXE environment
if managed mode is requested, so that only ironic's PXE environment
is usable.

Change-Id: Ib7b83210a02b727d94dfa15bde43e7fee2e51531
Story: #1528920
Task: #37254
2019-12-02 12:08:19 +01:00
Iury Gregory Melo Ferreira f462237d81 Switch Integration Jobs to Python3
- Switching the `ironic-inspector-base` to be Python3 default.

- Removing `ironic-inspector-tempest-python3` since
`ironic-inspector-tempest` will become python3.

Depends-On: https://review.opendev.org/#/c/687521
Change-Id: Id32f041c7fe35ab686b8a1f81d1f9d355baff4be
2019-10-25 13:45:11 +02:00
Kaifeng Wang 9b92204ef1 Adds job to run inspector in non-standalone mode
The job uses memcached for coordination backend, etcd3gw still has issue
on retrieving members.

Story: 2001842
Task: 30376

Change-Id: I76c359d6835e435968cbfb1a3f4318e73f0203ec
2019-08-22 11:27:45 +08:00
Kaifeng Wang 30a4e0981f Adds bandit template and exclude some of tests
Adds bandit configuration template and exclude some of
tests that we don't want to fix for the moment.

Keeping job unvoted so that we can keep an eye on possible
issues while not breaking gate.

Change-Id: Icc055980c13696b29c512edf8c48abba924aa244
Story: 2005791
Task: 33563
2019-06-20 14:35:43 +08:00
Kaifeng Wang 52349c6c0a Incorporate bandit support in CI
Change-Id: I1beded7e0198a5b5b43df00a355cf1c59cf2dc27
Story: 2005791
Task: 33563
2019-06-05 08:44:38 +08:00
Dongcan Ye b8d1bda4c6 Add storing introspection data in database option
Ironic-inspector database is a default config for
our devstack deploy. Sometimes we won't to use Swift,
and directly use database for store data.

This patch adds a variable for introspection
store_data.

Depends-On: https://review.opendev.org/#/c/658238/
Change-Id: I6a8888b778f517bee49705ee74463ae39b2b9163
2019-05-10 02:49:23 +00:00
OpenDev Sysadmins 72bd8cec3b OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:36:56 +00:00
Ian Wienand 7222802c77 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I2b98df417a982d0169be63630cab29607274324c
2019-03-24 20:33:53 +00:00
Kaifeng Wang 7beacd98fc Exclude unrelevant files from tempest job
Depends-On: https://review.openstack.org/640910/

Change-Id: Ia51c7b6ba8aeedd9b92dc624e4397c240192ea5d
2019-03-05 13:02:21 +08:00
Iury Gregory Melo Ferreira d22cfbace7 Zuulv3 - Use ironic-base job
Change-Id: I6acc8beaf4432112647651005fed04c630cc69c2
2019-02-14 11:29:44 +01:00
Iury Gregory Melo Ferreira 9a8cb3a49c Remove dsvm from zuulv3 job names
According to [1] the dsvm should be removed from zuulv3 jobs

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

Change-Id: I5d470b5048e8d474c4c3271fcba85a0dc781827a
2019-01-07 17:23:51 +01:00
Kaifeng Wang 3247cb51e6 Zuul migration
This patch migrates legacy dsvm-discovery and dsvm-python3 jobs
to zuulv3.

Change-Id: I0f6000247a970ea2ccaff4757f7677de2dcd1593
2018-10-30 09:37:44 +08:00