Commit Graph

57 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
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
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
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
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
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 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
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
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
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
Zuul a2018dabd9 Merge "Add Python3 victoria unit tests" 2020-05-19 12:01:30 +00:00
Riccardo Pittau a7ef7166df Revert disabling the grenade job
Change-Id: I901d509c40d6947a13f604c0dabbcd58545d3076
2020-05-08 10:52:58 +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
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
Riccardo Pittau fbc773f460 Use bionic job for bifrost integration
The bifrost bionic job is alive again so we can change it here.

Change-Id: I3976e520b46a8eb21041a1f8810d6b7aa84c7ddf
2020-01-21 19:46:10 +01:00
Zuul 2da963519d Merge "Create a job with boot and networking managed by ironic" 2019-12-03 13:07:40 +00: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
Kaifeng Wang 0e3cd671da Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ironic-inspector 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: Ifae00adf782b6a7d71c4dc45a69a9638b8514d30
2019-11-22 11:17:34 +08:00
Zuul a583260861 Merge "Make the bifrost job non-voting" 2019-10-29 10:41:14 +00:00
Dmitry Tantsur 96387de2f4 Make the bifrost job non-voting
It's not voting on ironic, so probably shouldn't vote here.

Change-Id: Ib6f59129b1c2a95e77d4bb153decb29755806059
2019-10-28 11:13:00 +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
Iury Gregory Melo Ferreira 9568b7c132 Switch to Ussri job
Change-Id: If88f534a1ed5960cdbd9ee6cea3dc928dc5c73c9
2019-10-21 16:25:43 +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
Julia Kreger a6509bad53 Revert "Lets temporarily disable broken templates so we can fix gate"
This reverts commit 497db8479b.

Change-Id: Ida731235367ea9931e9e6b2bd848f1c7ca657075
2019-07-02 13:30:37 -07:00
Julia Kreger da7d3bb806 Lets temporarily disable broken templates so we can fix gate
Change-Id: Id180deced7a1d199bc7c8c1f086df9158b6c5007
2019-07-02 13:29:35 -07:00
Zuul e6ef34c0aa Merge "Incorporate bandit support in CI" 2019-06-13 10:40:37 +00:00
Kaifeng Wang 686a64b08e Update Python 3 test runtimes for Train
One of train goals to have consistent python3 jobs.

https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Iad68769d4ebed4a8e2dcb4eb0317bad40e6a27f2
2019-06-13 11:18:49 +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
Riccardo Pittau ba545df90a Removing python 3.5 testing in favor of 3.6
This patch removes the python 3.5 tests in favor of python 3.6
tests.

Change-Id: I455782a1c1ae5ca351aa90a4f67e4a0525a43e36
2019-02-22 11:49:52 +01:00
Corey Bryant c98f387126 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I3f3c475d75c0706ac954c2b8b354c437ee1dd5a6
Story: #2004073
Task: #27420
2019-02-15 13:58:38 -05:00
Iury Gregory Melo Ferreira fefc7e10a9 Follow-up Zuulv3 (Ironic jobs rename)
Depends-On: https://review.openstack.org/#/c/629173/
Change-Id: Iab84dc23bbc137bf960e1fdbaf924ea38aecc4b3
2019-01-16 10:56:49 +08: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
Dmitry Tantsur f15e4704c0 Add a voting bifrost job to ironic-inspector
We broke bifrost (and thus openstacksdk) CI with our recent AMQP
change. Let us add a job to not let this happen again.

Change-Id: I7756f1526fca9c54c431c9e5e21a43c40cdfa1e8
Depends-On: https://review.openstack.org/618726
2018-11-19 11:57:14 +01:00
Andreas Jaeger 4261218dd5 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: Ib53ff2b1d336b86eb71b2d30b2ae48bbb59764b9
2018-09-22 17:45:30 +02:00
Doug Hellmann 574af47cbb 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: Ib6558debddc442121f2a757208e72359b33dfdae
Story: #2002586
Task: #24302
2018-08-16 09:44:52 -04:00
Doug Hellmann 744138a7f5 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: Ice764be668803ca882bf4fd4a0043391bd27c651
Story: #2002586
Task: #24302
2018-08-16 09:44:46 -04:00
Doug Hellmann 320cc228e8 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: I3ef55b8b75cc3f69b4e87be5382ac4b4633b28d5
Story: #2002586
Task: #24302
2018-08-16 09:42:08 -04:00
Doug Hellmann 5113ef51c5 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: I8a5c47cb8e4d623776cd4335754184f6f7f0d398
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 13:44:49 -04:00
Zuul 39c2e992fd Merge "Zuul: Remove project name" 2018-01-31 04:30:33 +00:00