Commit Graph

36 Commits (master)

Author SHA1 Message Date
Julia Kreger 01dab25c4c [CI] Explicitly disable port security
By default tempest disables port_security, but devstack
turns it on by default. Because we're using specific modules,
we don't get port security.

Since we don't really need it for this testing,
we can safely just disable it.

Change-Id: I530c1a8c89ad8e9772955d27dcc49c1a54eb48d4
2023-02-23 09:10:28 -08:00
OpenStack Release Bot 0314baf5c6 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].


Change-Id: Iaf1bc823b7a110da7ed0180986a6f39baeef79c5
2022-09-13 09:07:33 +00:00
Ghanshyam Mann 107a5a7a76 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.


Change-Id: I751a1ccdefd64493869d3397b0b45e1b65af9226
2022-04-30 17:57:49 -05:00
Zuul f30f96c805 Merge "Add Python3 zed unit tests" 2022-03-11 01:09:15 +00:00
Harald Jensås 3f25f63578 Set agent_type in tests
Networking-Baremetal is already hard-coding the agent
type. The issue was that tests don't set agent type in
the Fake Port Context.

Also removes an override of force_config_drive to false
which is causing failures in jobs designed around use
of configuration drives.

Change-Id: I171845e556a45746d9435a11390e510c731f6d5c
Story: 2009898
Task: 44696
2022-03-09 13:10:46 -08:00
OpenStack Release Bot 912b742b40 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].


Change-Id: I1bb060a9ea044fcf31bd16f7fd6be9dee5c2260c
2022-03-08 12:05:49 +00:00
OpenStack Release Bot 2cbc686352 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].


Change-Id: I0c2edc0b2a98de2418c98491cdd35dff6e93dfb0
2021-09-17 13:29:29 +00:00
Riccardo Pittau cd69016601 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.

Adjust minimum requirements and test-requirements as consequence of
compatibility tetst.

Change-Id: I26d6dceeda4983c988b56be70b4bae4cc2c7dc85
2021-08-10 10:17:16 +02:00
OpenStack Release Bot a0bd483b6f 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].


Change-Id: I9bd71349b3fef5becb6ba2adf3c7857140977acd
2021-03-26 18:35:05 +00:00
Riccardo Pittau 5792f32e15 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: I29932a6030874ea77b3be3944edec15551bf7d5f
2020-12-15 18:39:46 +01:00
OpenStack Release Bot 9ad8497d57 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].


Change-Id: I52391427e80ce20b232661e24be7192fdb3b0ead
2020-09-23 18:34:06 +00:00
Riccardo Pittau 873511fdd4 Convert networking-baremetal job to dib
Reintroducing BUILD_TIMEOUT to increase waiting time for other
services since the job is failing on server create that is
related to nova.

Change-Id: I38d4d94160d167af311b47fb2c4f4cc29010680e
2020-05-19 16:15:49 +02:00
Zuul 7e050db9cc Merge "BUILD_TIMEOUT is not needed" 2020-05-07 12:36:26 +00:00
OpenStack Release Bot 1927e44a93 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].


Change-Id: I15ba7295d3f35feb546e4d8658fd89c0ed6c34f5
2020-04-22 13:10:37 +00:00
Riccardo Pittau 6aa850fa4e BUILD_TIMEOUT is not needed
The option BUILD_TIMEOUT has been deprecated in Pike and renamed to
IRONIC_TEMPEST_BUILD_TIMEOUT, only not ironic services use it, so
it can be removed in this case.

Change-Id: I7caf35f67fe5c93b0d35bd227a418cfadd0f3f20
2020-04-15 09:56:04 +02:00
Riccardo Pittau a503e2d578 Explicitly set ramdisk type
The networking-baremetal-multitenant-vlans job is based on
ironic-base job which will default to dib.
To prevent breaking the networking-baremetal CI we set the ramdisk
type to tinyipa for now and we'll convert the jobs here later.

Also using default timeout value from ironic-base job.

Change-Id: I28b1f088f67b3bf795d6cd4e67ef593eacaca186
2020-04-03 16:28:39 +02:00
Iury Gregory Melo Ferreira d6cb9c299b Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Networking Baremetal is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in

Ussuri Communtiy-wide goal -

Change-Id: I7f08a871ba82081f6164f84f05f50eb61cfd7541
2019-11-21 14:17:51 +01:00
Iury Gregory Melo Ferreira 385cbfbd7d Drop py2 job
The py2 job is only used in this project

Change-Id: Iced7f2aa95f9a4bc7ba74824955745f68f40b87e
2019-10-29 08:40:17 +01:00
Zuul 87163432be Merge "Switch jobs to python3" 2019-10-28 17:15:43 +00:00
Iury Gregory Melo Ferreira 9385ef2931 Switch jobs to python3
- ironic-base is python3 by default, we don't need `USE_PYTHON3`

Change-Id: I919d1bdabf2194be5756dfbb5c283039b340f82e
2019-10-24 12:07:47 +02:00
pengyuesheng 0443bc7570 Switch to Ussuri jobs
Change-Id: Ib41dc92ab99f6c0c2c4ce7565697805097d8e9e2
2019-10-24 14:10:01 +08:00
Zuul a84ef7ea44 Merge "Update Python 3 test runtimes for Train" 2019-08-28 16:17:21 +00:00
Julia Kreger 98f07c14a1 Fix networking-baremetal CI
Force the use of the legacy neutron devstack plugin.

Change the devstack job to use a provider network for
the public network and set bridge mapping for the
public network to fix tempest jobs that fail to
connect to instances via floating IP.

Additionally, devstack changes have resulted in
our authentication configuration setup being
incorrect. This patch calls the correct method.

Also bump the number of test VMs to 4, as more tests
have been added and slightly greater concurrency is

And disable cleaning to save time in CI. While cleaning
is a separate network and series of attach/detaches for
for the underlying ports, we already perform the same
actions with deployment.

Change-Id: I4ae6eb6345ff45b91f63f1687d1c640f9bf25e54
Related-Bug: 1821058
2019-08-27 14:36:04 +00:00
Julia Kreger a1cf173ebd Fix unit tests for networking-baremetal
Removes a check from vif_details which is pointless
as we do not utilize that field from neutron. The field's
contents changed in neutron during the train cycle, and now
have contents, but because this ML2 plugin is post-execution
we don't need to worry about it.

Change-Id: I81852801955e5617b6ad6cbb396a194f258e39b3
2019-08-26 19:51:07 +00:00
Kaifeng Wang 10e069a1db Update Python 3 test runtimes for Train
One of train goals to have consistent python3 jobs.

Change-Id: Ie8a6abd19e44c5381a6064c66004e0e38c719abf
2019-06-13 14:14:44 +08:00
OpenDev Sysadmins b1deef6f0b 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:

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 with any
questions you may have.
2019-04-19 19:34:31 +00:00
Ian Wienand 012706b040 Replace git:// URLs with https://
This is a mechanically generated change to replace
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 (,
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

Change-Id: Iacd6b9e27f685b265d23e8f30a15cc275e78991c
2019-03-24 20:34:21 +00:00
Zuul 8fdef956cb Merge "Zuulv3 - Use ironic-base job" 2019-03-06 19:13:39 +00:00
Riccardo Pittau d594603ab3 Supporting all py3 environments with tox
Converting environment py35 to py3 in tox.ini to show support
for all Python 3.x versions.

Also reordering list of template jobs.

Change-Id: Ic0da34ca8281a5634b9e224da4b16984bb76d18c
2019-03-05 14:27:46 +01:00
Iury Gregory Melo Ferreira 2b0408c531 Zuulv3 - Use ironic-base job
Change-Id: I1564788a2ec7a6bb00b74a7e17db5ba00f91aa28
2019-02-22 13:36:22 +01:00
Julia Kreger efaf71d5c2 Change networking-baremetal to zuulv3/python3
Also set networking-baremetal and networking-generic-switch
to be installed as python3 packages.


Change-Id: I5685a835f4f6dd6c899cc7e2e70bbdef39e47636
2019-01-09 13:39:11 +01:00
Doug Hellmann 3d7aee1fb8 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:

Change-Id: I6d96c70e3f062cb34199ed41c609e61ac648e1c0
Story: #2002586
Task: #24302
2018-08-20 16:36:06 +02:00
Doug Hellmann c844284712 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

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

See the python3-first goal document for details:

Note: this patch was manually modified to remove duplication.

Change-Id: I64ff4b851e74d6b665af4f9a6ef249575a2ea9b3
Story: #2002586
Task: #24302
2018-08-20 16:26:05 +02:00
Julia Kreger 387d951a9c Changing CI job templates for python3-first
Changing jobs based upon the TC published python3
first goal[1].


Change-Id: Ie2e52013be0e90b75e89031ebb148b17a518472c
2018-08-09 07:35:18 -07:00
Doug Hellmann a2eed7a823 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.

for more details.

Change-Id: I67c51b5241f25b3f01c212f5245a3a248eaaf8b8
Signed-off-by: Doug Hellmann <>
2018-05-28 14:15:12 +02:00
Harald Jensas 60a03e8742 Add dsvm job
Add a single node dsvm job with neutron segments enabled on
the ironic-provisioning network.

networking_baremetal mech driver and ironic-neutron-agent

Related-Bug: #1658964
Depends-On: I041761dd896c9d89dc6cf7bafc991a0697ded05b
Change-Id: Ib4d93937c3985e51e2c10ded26af96d47b747f00
2018-02-01 19:33:56 +00:00