Commit Graph

445 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov c5f782b670 Replace etcd with memcached for coordination in tempest jobs
This also removes job for old branches keeping only current master

Depends-On: https://review.opendev.org/c/openstack/vitrage/+/905598
Change-Id: Icdbe494f398420faa36cfcca3e50233b805ad45d
2024-01-15 18:36:08 +00:00
Ghanshyam Mann 816b2350a1 Add stable/zed jobs on master gate
As zed is released, we should add its job on master
gate to keep branchless tempest plugins compatible
to stable branch.

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

Change-Id: I2f81f1801f8f7a049a6fc012c8e9455adceeb9ec
2023-01-26 19:49:43 -06:00
Ghanshyam Mann 3c22c44518 Pin stable branch jobs nodeset to Ubuntu Focal (20.04)
In 2023.1 cycle. we are moving the default distro
version of Ubuntu to Jammy (22.04)[1] so we need to pin
the nodeset for stable branch job in master gate so that
they continue run on their supporting distro version which is
Ubuntu Focal since stable/victoria.

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

Change-Id: If2608dfec183f97727972348b72b0f72a3535b21
2022-10-20 11:50:54 +00:00
Zuul 6fc2b826f5 Merge "Remove leftover of ceilometer-api support" 2022-08-27 12:59:45 +00:00
Eyal 48d4517cec add yoga remove victoria
Change-Id: I24c17d67169972e3b135b80f56a404954521d965
2022-08-24 11:00:35 +03:00
Takashi Kajinami 26451bdbf6 Remove leftover of ceilometer-api support
Change-Id: I844c630235b76e6e1c6de20bf0ccfd2d3148f994
2022-08-21 02:52:10 +09:00
Eyal 69a89b53a6 move queue to project level
Change-Id: I585bd52180720d1e64509a08237ee826cbce24f2
2022-05-19 20:32:34 +03:00
Zuul dcdb623687 Merge "make it voting again" 2022-01-05 20:07:25 +00:00
Zuul 8df92806b2 Merge "Updating python testing classifier as per Yoga testing runtime" 2022-01-05 17:21:07 +00:00
Eyal 251bb6d4d4 make it voting again
Change-Id: Ica73bd4bd26ade3b36aca086368e624092390339
2022-01-05 17:04:31 +02:00
Eyal 89790c28fa ignore a gnocchi test that sometime fails
Change-Id: I287572e604fe86ea8a78f37a2c1b1c158d3bf8b0
2022-01-05 14:31:46 +02:00
Eyal 74b71d8be2 Remove ceilometer client, not used anymore
update jobs also

Change-Id: I504922ade2897e6066c4bcdaf2a2a521c1fd4ef3
2022-01-05 09:51:13 +00:00
wu.shiming 49f63d2e37 Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

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

Change-Id: I4973c2560e1f826765d4db3af3e61a30dbdf3fb7
2021-12-22 11:11:00 +08:00
Zuul 69acc7f3ea Merge "recreate the assertItemsEqual" 2021-09-18 15:58:25 +00:00
Eyal bca12d383f recreate the assertItemsEqual
Since it was removed we should use assertCountEqual, but it must have a hashable elements
since it uses Counter currently we have dict which are not hashable, So we use the old version

Change-Id: Idaf0cf38ef56dfceaca6fd9f8f5ab52c27ffaf2f
2021-09-18 15:26:02 +03:00
wu.shiming 5e60fc794f Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Ida8f5339d8525bca66cb7a505fee45fc0bc39b7c
2021-09-18 11:51:58 +08:00
XinxinShen a99b1497f5 Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is old name and deprecated

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: Ib0faeee98c348eb83354994aee9cff62e839eb3e
2021-05-28 17:31:04 +08:00
maaoyu 683e72f745 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I543595c0e3145495923517101ffa057fd7bccb4c
2021-04-27 15:13:14 +08:00
zhangboye 50b34efa11 Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update
this at each new cycle.

Change-Id: I38a488598b9ecbeb2dfae42cb7279c7f4710bb31
2021-04-20 10:48:06 +08:00
Eyal 09cb732532 Switch to new rolevar for run-temepst role
Tempest replaced the below rolevar for run-tempest role
- tempest_test_blacklist is replaced by tempest_test_exclude_list
- tempest_black_regex is replaced by tempest_exclude_regex

old name are still supported for compatibility but we recommend
to switch to new one.

Change-Id: I73c5f0df0854a502e06e7c45f8b4d215a0832bdf
2021-03-20 12:32:19 +02:00
Eyal 4abe14c3e9 Run the tests on stable/victoria as well, remove stein
So that changes to this plugin (at least, most of them) don't break
victoria.

As stein moved to EM, remove its job according the common guidelines.

Change-Id: Ic9c4bd70a1071fccb8b71f0c9a97e0d2bfbc12a2
2021-03-16 10:18:23 +02:00
Eyal 329e227d93 Skip mistral tests for now
for some reason mistral api stoppped working in gate
need to investigate

Change-Id: Ic0793b518cb8545d8aed6af15dc721f141cfce49
2021-03-15 17:58:42 +02:00
Eyal 35d27c8157 make ussri voting again
heat fixed the image name

Change-Id: Idb16a1d7dd5c093f074fb6668f67205bb4068e99
2021-01-19 10:12:29 +02:00
wangzihao 3d6c65f663 Revert "remove py37"
This reverts commit 021dab3382.

Reason for revert:Python 3.7 *is* supported because it falls
in the range of supported Python versions (3.6-3.8) [1].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019648.html

Change-Id: I4ebd30942c35dc10222c17525fbd80285fe29278
2021-01-14 14:06:28 +08:00
Eyal 8bb21d3abb gnocchi was fixed install ceilometer again
Change-Id: I61e1f44aa786b99a46e480cbbfd518a503a3baa0
2021-01-12 09:18:39 +02:00
Zuul e74df2a103 Merge "Add doc/requirements" 2021-01-08 18:40:16 +00:00
Eyal 41c2fd2380 skip template add fails sporadically need to investigate
Change-Id: I68dab875e88b6dbdeb9ff453e60035137df7dfbd
2021-01-08 14:27:04 +00:00
Hervé Beraud b28edadb24 Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removing specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug.

Also removing useless requirements, and pulling them from the right
place.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Depends-On: https://review.opendev.org/c/openstack/vitrage-tempest-plugin/+/769917
Change-Id: Ia841a2d4198b43bac46a5b5af01f52e1354eea4a
2021-01-08 13:08:17 +00:00
Zuul 47cc20ea3e Merge "Remove unicode from tempest" 2021-01-05 07:05:28 +00:00
XinxinShen 021dab3382 remove py37
Remove python3.7 from setup.cfg, since Wallaby's python
supported runtimes are python 3.6 and python 3.8[1]:

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

Change-Id: I90f65e3b76332803f2f9b0367b1c77d5c677159f
2021-01-05 09:17:03 +08:00
Eyal 1583bdaf7b add requirements to doc
Change-Id: I3320623bce9a3351cac91d5b4c1d30fbb999e5b1
2021-01-04 17:51:16 +02:00
Q.hongtao 6f1f921662 Remove unicode from tempest
Change-Id: I5995ba0dc020fa40ddf66b7ac9f36220967b670e
2021-01-03 15:57:36 +08:00
Eyal 0ee1f9431f drop testing for gnocchi until they fix the dependency problem
Change-Id: Idcd726767060197f44311b605a9b28a0d6e736f0
2020-12-22 17:07:07 +02:00
Zuul 02114b2485 Merge "Add idea into .gitignore" 2020-09-22 09:53:22 +00:00
Zuul 994857f65e Merge "fix swap size" 2020-09-21 15:21:59 +00:00
Eyal 6a6573af44 fix swap size
swap size was reduced to all nodes this created oom when running ceilometer
increase the size to what it was before

Change-Id: I8b86ba958bab07589abf6570f2242f7fc29bdb78
2020-09-21 11:33:18 +03:00
Q.hongtao 1203b762fa Remove six
Replace the following items with Python 3 style code.
- six.moves.BaseHttpServer
- six.moves.zip
- six.PY2
- six.viewitems

Change-Id: If68cc2778bfccc56248ab8fba3de764044a707e9
2020-09-21 09:10:44 +08:00
Q.hongtao 97f439c88e Add idea into .gitignore
Change-Id: I82bd58c804c7f8b2dd2f77954489cfa3f2c42060
2020-09-21 08:49:54 +08:00
Zuul 1c8905a717 Merge "Do not check created_at attribute in test_service_list test" 2020-09-17 11:07:25 +00:00
Eyal 6376e327e0 Don't use test gnocchi its not stable
for some strange reason when installing ceilometer and gnocchi
the mysqld process is killed by the oom killer of the operating system
this happens only in the gate and not localy on my devstack.

for now we won't enable the ceilometer plugin (which installs gnocchi)

Change-Id: If870b80456d8ebd4877253d977b5c59a11ad1c16
2020-09-17 10:35:57 +03:00
Ivan Kolodyazhny fa2642a289 Do not check created_at attribute in test_service_list test
Tempest could be used not only after initial deployment but for
cloud verification during operations or after update. We don't
need to check that services are created today.

Depends-On: https://review.opendev.org/#/c/751657/
Change-Id: Ifc3cb1933a591ce1fe05fe11d5e07b78a0e61375
2020-09-16 18:27:55 +00:00
Ghanshyam Mann c410a047fb [goal] migrate the stable jobs to Bionic and master one to Focal
WHile moving the jobs to zuulv3 native, Focal migration work
got reverted- https://review.opendev.org/#/c/747109/

This commit makes stable jobs to keep running in Bionic and
master IPv6 on Focal.

Change-Id: Ibc82fbe95f6eca6f660596cf9da8c5c2e03c6fe2
2020-09-06 09:03:42 -05:00
Eyal 1d65be0e4f remove settings don't need it
Change-Id: I3b658f82217a7bdea4849fee2e075258c4c47538
2020-08-25 14:11:08 +03:00
Idan Hefetz d79c372076 Native Zuul v3
Change-Id: I938cb7d5f820a761fc65ac82d137f83a2188faed
2020-08-20 14:09:32 +00:00
Ghanshyam Mann 375af0391e [goal] Migrate vitrage-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.


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

Change-Id: Ia69f906364d6fe5a31b14dc8ec9cd37e18bdf27d
Story: #2007865
Task: #40226
2020-07-31 17:27:41 +00:00
Eyal 161a59e274 Use vars() more readable then __dict__
Change-Id: Ibf32b59f078c4258d01c298068507d7fa22a9715
2020-06-28 15:24:35 +03:00
Andreas Jaeger 27feeadf4b Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: If0c72f4b5df2ac8983401a91e468d4e3863b2ba5
2020-06-02 14:06:03 +02:00
inspurericzhang e2d1364353 Add py38 package metadata
Change-Id: I1fd34bf4c8c6ed0993ac9a402decb78313f298e2
2020-05-28 11:57:47 +08:00
Ghanshyam Mann ddd3fb1741 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Id1bdef61cbca373e70d34cb45287a09ecc3776bb
2020-05-12 21:32:32 -05:00
Eyal 7d6fe51878 add tests in gate in for datasources
Change-Id: I98c20bfb8cf366dd9a6f8d70b9de1d6c1de9ef50
2020-05-11 14:35:48 +03:00