Commit Graph

28 Commits

Author SHA1 Message Date
Ghanshyam Mann 7af11718f3 Remove stable/victoria job from master gate
stable/victoria is in EM state and Tempest is pinned
there so we do not need to test the stable/victoria
jobs on master gate.

Change-Id: I5acf940826d481c380bb24d429ffd24a73b28004
2022-05-31 16:11:05 -05:00
Ghanshyam Mann 9d4e173fe0 Add stable/yoga jobs on master gate
We have stable/yoga released so we should add
their job on master gate to keep branchless tempest
plugins compatible to stable branch.

This also removes the stable/ussuri job as that is in EM
state now.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: Icf87c821f1dcccf301cc1f68024b3bde2621a46b
2022-04-14 21:00:08 -05:00
Ghanshyam Mann dad84aa468 Remove stable/train jobs on master gate
We have stable/ussuri to stavle/xena stable branch jobs
are running in master gate. This removes the stable/train
job as that is in EM state now.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: Ia53eab84be9a000a843370551ce1bee1778e5b27
2022-01-18 18:48:41 -06:00
Carl caihui daa7c54182 Add stable/xena ci job
Add freezer-tempest-basic-xena ci job

Change-Id: Ic47b54ba66448b00e174dd62b0a0d0460e04d701
2021-11-04 05:15:55 +00:00
Zuul de9f456c00 Merge "Enable tls-proxy support for test job" 2021-07-17 07:14:22 +00:00
Zuul cccf158daa Merge "Add victoria/wallaby stable branch jobs on master gate" 2021-06-24 23:27:19 +00:00
ricolin 1c5a831a44 Enable tls-proxy support for test job
Change-Id: I4ccb99acfb9ecc9a91fa94d9470488b367fe6b78
2021-06-17 16:15:19 +08:00
caihui 9cff1a7a1a Remove to support ElasticSearch backend in tempest
Remove to support ElasticSearch backend in tempest.

Change-Id: I359551b1af5959f4505a03937e0186017bbbf2f5
2021-06-09 15:55:37 +08:00
caihui aaf0e2c3d4 Remove the below nodeset setting to Bionic
The bug https://bugs.launchpad.net/freezer/+bug/1896648 is fixed.
Once nodeset is removed form here then devstack-tempest job
will automatically run this job on Ubuntu Focal nodeset from
Victoria gate onwards.

Change-Id: I1df7562dd0ffcd8570b51ca238559ee9e2a2e654
2021-06-05 10:36:45 +08:00
Ghanshyam Mann 900356a192 Add victoria/wallaby stable branch jobs on master gate
We have stable/victoria and stable/wallaby released so we
should add their job on master gate to keep branchless
tempest plugins compatible to those branch.

This also removes the stable/stein job as that is in EM
state now.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: I315dc315049583e7f3bb4c8716f59b57a3229b52
2021-04-29 18:42:20 -05:00
Zuul 1428ab3a13 Merge "[goal] Migrate freezer-tempest-plugin jobs to focal" 2020-09-29 05:56:02 +00:00
Ghanshyam Mann e804615148 [goal] Migrate freezer-tempest-plugin jobs to focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Most of the Tempest jobs will be migrate automatically once devstack
base job start running on Focal(Depends-On).

Stable jobs testing stable branch needs to keep running on their supported
distro version which is bionic from stein till ussuri.

keeping failing jobs running on bionic nodeset till
https://bugs.launchpad.net/freezer/+bug/1896648 is fixed

Depends-On: https://review.opendev.org/#/c/731207/

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html

Change-Id: If15af5cccfbc2d1e6e229909f8c1792ddbd7a3c3
Story: #2007865
Task: #40184
2020-09-22 18:05:20 +00:00
Luigi Toscano 36d588ab90 zuul: cleanup the jobs a bit
- use tempest_plugins to define the list of plugins;
- remove devstack-gate, not needed;
- do not set PYTHONUNBUFFERED, a leftover from the old jenkins days;
- make freezer-tempest-basic-sql inherit from freezer-tempest-basic -
  they are basically the same, apart from an additional definition
  and the removal of the explicit swift from freezer-tempest-basic-sql,
  which is inherited from devstack-tempest anyway.

Change-Id: I6bafe75e602c76037d3859c8c7829773740199c6
2020-08-07 15:51:28 +02:00
Ghanshyam Mann 3300282acd Add stable branch jobs on the plugins master gate
Supported stable branches in maintenance state
(stein, train, ussuri) use the Tempest and plugins master
version for their testing. To make sure master version (new
tests or any changes) is compatible with stable branch testing,
we need to add the stable branches job on the plugins master gate.
Tempest and many other plugins are already testing the stable
branches in same way[1].

Ussuri onwards, Tempest or plugins are py3 only, so we are
running only python3 version of stable jobs

Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

[1] e8f1876aa6/.zuul.yaml (L646)

Change-Id: I7d1db17f492d873ee7408286f8b83c325576012f
2020-05-06 00:17:44 +00:00
caihui 3daaebe4f8 Update freezer-tempest-agent job to voting job
Update freezer-tempets-agent job to voting job

Change-Id: Ia76bae610434c49a164b30c5c66cbd62accdb9c5
2020-01-15 20:55:58 -08:00
caihui b7a7423305 Fix some Python3 compatibility issues
1.TypeError: a bytes-like object is required, not 'str'

 Python3.X need use decode() to  change  "bytes" -> "str"

ft1.2: freezer_tempest_plugin.tests.freezerclient.test_freezer_cmd_action.TestFreezerCmdAction.test_freezer_cmd_actiondelete[gate]testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/freezer_tempest_plugin/tests/freezerclient/test_freezer_cmd_action.py", line 79, in test_freezer_cmd_actiondelete
    action_id = err.split(' ')[1]
TypeError: a bytes-like object is required, not 'str'

2.AttributeError: module 'urllib' has no attribute 'urlencode'
ft1.2: freezer_tempest_plugin.tests.freezer_api.api.test_api_actions.TestFreezerApiActions.test_api_actions_get_limit[gate]testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/freezer_tempest_plugin/tests/freezer_api/api/test_api_actions.py", line 46, in test_api_actions_get_limit
    resp, body = self.freezer_api_client.get_actions(limit=valid_limit)
  File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/freezer_tempest_plugin/services/freezer_api_client.py", line 136, in get_actions
    uri += '?%s' % urllib.urlencode(params)
AttributeError: module 'urllib' has no attribute 'urlencode'

Change-Id: Ice774245605fe3549c7dacb9a2891d8177777f66
2020-01-07 16:53:49 -08:00
Cai Hui 41acbd8ed7 Restore tempest ci gate test
The Falcon2.0 issues are fixed. Restore tempest ci gate test.

Change-Id: I7bb637a09d5e6ce11b605333e043591876d3b566
2019-06-01 02:03:27 -04:00
Cai Hui b27219b4b9 Change jobs to no-voting
Falcon 2.0.0 has an issue [0] with parsing request query parameters that
is causing several blocking tempest jobs  failures for the freezer project.

[0] https://github.com/falconry/falcon/issues/1547

Change-Id: I9b06824371c17efee0095a1d329f7d9da6c06903
2019-05-30 04:43:30 -04:00
OpenDev Sysadmins 31d7d45846 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:31:02 +00:00
ghanshyam 0f2b0e9a84 Migrate the xenial gate jobs to bionic
We have migrated the zuulv3 job to Bionic during Dec/Jan month.
 - http://lists.openstack.org/pipermail/openstack-discuss/2018-December/000837.html
 - https://etherpad.openstack.org/p/devstack-bionic
But that effort does not move all gate job to Bionic as there are
large amount of jobs are still legacy jobs. All the legacy jobs still
use Xenial as nodeset.

As per the decided runtime for Stein, we need to test everything on openstack
CI/CD on Bionic - https://governance.openstack.org/tc/reference/runtimes/stein.html

Below patch move the legacy base jobs to bionic which will move the derived jobs
automatically to bionic. These jobs are modified with branch variant so that they will use
Bionic node from stein onwards and xenial for all other stable branches
until stable/rocky.
- https://review.openstack.org/#/c/639096

This commit migrate the ubuntu based gate job to bionic by removing the
overridden nodeset. parent job nodeset will work here.

More Details: 
- https://etherpad.openstack.org/p/legacy-job-bionic
- http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003614.html
Depends-On: https://review.openstack.org/#/c/639096
Change-Id: I8ed1d446c17d086a491681c5f3da4a3dbaba7ee4
2019-03-14 15:38:00 +00:00
zhurong cd8a7bd9e6 change nodeset to openstack-single-node-xenial
Change-Id: Iaf1fec7152b6c02b403ce0aec58dac48aab645a8
2018-12-19 08:03:26 +00:00
zhurong 0cb1972001 Fix gate failed by changing parent to devstack-xenial
Change-Id: I8b2c34e797de738a59b2453857de4c5224edd94a
2018-12-19 04:44:23 +00:00
Cai Hui d3ede433bb Update zuul jobs: add freezer-tempest-basic-sql job
Add feezer-tempest-basic-sql job as a check/gate test in
freezer-tempest-plugin project.
The freezer-tempest-basic-sql job will use sqlalchemy as
db backend in freezer-api.

Change-Id: I3c7f729d112b2a66442454c794e54011bbab3243
2018-11-09 21:43:23 -05:00
Cai Hui cccbde6712 Add zuul job: freezer-tempest-agent
Add zuul job 'freezer-tempest-agent' as a check/gate job
to test  'freezer-agent' module

Change-Id: I7e06baf8e064f0bc51160c6df16284bdeeafe0b8
2018-11-08 06:00:37 -05:00
Cai Hui 8c03fcbcbc Add freezer_tempest_scheduler job
Add freezer_tempest_scheduler job to test freezer_scheduler.

Change-Id: I77e3e18439bbc89b4088081a35261547075d9aa9
2018-11-01 08:14:04 -04:00
Cai Hui 9acb56eefb Add freezer-tempest-client job
Add freezer-tempest-client job and some freezerclient test cases.
This job is a check/gate test job for python-freezerclinet project.

Change-Id: I929290a42d40bdc51fc5063739df6b28b86159bb
2018-10-20 03:32:50 -04:00
Cai Hui 39df366399 Set up a basic tempest testing job for Freezer
1.Verfiy test cases for  freezer-tempest-plugin
2.Ready to use this job as the check/gate test for Freezer.

Change-Id: I8a160b07eed96c3885ef330db403f7c296e3fcb9
2018-10-19 02:53:20 -04:00
qingszhao 3dbb03489f 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: I91a606d98b128eb980ea0e5ea53a2f0446ae77f7
Story: #2002586
Task: #24296
2018-08-22 01:23:14 +00:00