Commit Graph

724 Commits

Author SHA1 Message Date
Zuul 5a484926ad Merge "Bump hacking" 2024-01-22 07:51:51 +00:00
Zuul 89497983ad Merge "Update stable branch jobs" 2024-01-20 13:06:28 +00:00
Takashi Kajinami 70e516a9e4 Bump hacking
hacking 3.0.x is too old.

Also fix a failure detected by the new hacking version.

./heat_tempest_plugin/common/test.py:171:80: E501 line too long
(80 > 79 characters)

Change-Id: Ic05437780b451928b14f79b004586e0b627ce119
2024-01-20 18:56:44 +09:00
Zuul 6a491bded3 Merge "Execute volume tests only when cinder is available" 2024-01-09 02:24:53 +00:00
Takashi Kajinami 3943da9157 Update stable branch jobs
The stable/2023.2 branch was cut off a while ago. Also the stable/yoga
already entered the EM phase so does not require testing.

Change-Id: I959aded71235ca8577733696f25ec8b891d925e0
2024-01-07 14:12:49 +09:00
Zuul a6b818bce9 Merge "Remove six" 2023-12-20 14:21:30 +00:00
Takashi Kajinami 3dbadbc62b Remove unnecessary setup_hook
This is no longer needed.

Also, the options in egg_info section are not necessary and can be
removed. Especially, tag_svn_revision was already removed[1].

[1] https://github.com/pypa/setuptools/issues/619

Change-Id: I0c96e634debe66eec858b0efb9c40c0360366c44
2023-12-20 11:36:15 +09:00
Takashi Kajinami 0f0f893339 Remove note about old pip's behavior
We remove the one from requirements.txt but left the other in
test-requirements.txt .

Change-Id: Idedda1bab2497f30d719c5eb291e3b8993849f08
2023-12-19 22:30:23 +09:00
Zuul 87eb0e9d79 Merge "Remove tests requiring Neutron LBaaS" 2023-12-16 17:58:01 +00:00
Zuul c0005a3048 Merge "Ensure required flavor and image are configured" 2023-09-23 06:31:35 +00:00
Zuul 1406936165 Merge "Use minimal image and flavor for base scenario test" 2023-09-23 06:11:39 +00:00
Takashi Kajinami 5047e210dc Remove tests requiring Neutron LBaaS
Neutron LBaaS was retired during train cycle and was replaced by
octavia. Because we no longer support train, it does not make any
sense to maintain tests requiring that removed component.

Change-Id: I9cf7532d51843698b63bae2ee825f683f07e2df8
2023-09-22 15:07:17 +09:00
Takashi Kajinami 6b9023fa2c Ensure required flavor and image are configured
Change-Id: I2a2f3fbf0c523e294dd52024a2f55c0ad158b15b
2023-09-22 06:06:09 +00:00
Takashi Kajinami 449bc1029e Use minimal image and flavor for base scenario test
This test case can use cirros, and does not require additional
features.

Change-Id: I2eb569fc2b4a9ff01b979cd631ec58d2ac6e72ad
2023-09-22 14:33:12 +09:00
Takashi Kajinami 99ada15be3 Update supported python versions
- Python 3.5 support was already removed from Tempest[1] so we can
  remove it.
- Add Python 3.8, 3.9 and 3.10 ecause these have been part of tested
  runtimes for a few cycles and are actually used in testing.

[1] b0a8057fbbf08ff072bfb6e836535f090fd6efc7

Change-Id: I39b822ef294f673adfb35e5d45672ad1f9347944
2023-09-19 09:06:24 +00:00
Zuul 26f59bd29a Merge "Remove some notes no longer valid" 2023-09-19 05:17:11 +00:00
Takashi Kajinami e945e18710 Remove some notes no longer valid
setup.py is no longer maintained by the global sync. Also the note
in requirements.txt does not apply since pip 20.3. This also removes
workaround for old python which we no longer support.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2023-June/034073.html

Change-Id: If0ea61f0b13f2a76720f30236aae57045cfc48a6
2023-06-14 04:12:18 +09:00
Ghanshyam Mann 861283a98f Add stable/2023.1 jobs on master gate
As 2023.1 is released, we should add its job on master
gate to keep branchless tempest plugins compatible
to stable branch.

Also removing EM stable/xena|wallaby job

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

Change-Id: I80213eb072281ec0a71fa068f9d8f25d0feffe27
2023-06-09 06:49:47 +00:00
Ghanshyam Mann a3719a852c 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: I10bbcdf711ede18496545e6a4b1fd1098388e891
2022-10-15 22:32:57 -05:00
Ghanshyam Mann ea738c4f48 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: I5f4f1338a60634af8ae062475e314feb55c4a26d
2022-10-15 20:51:26 -05:00
Zuul 4196ac5992 Merge "Skip tests when heat is unavailable" 2022-08-30 07:52:09 +00:00
Takashi Kajinami 1e6b38807e Execute volume tests only when cinder is available
This change makes sure that the scenario tests which require cinder are
skipped when the [service_available] cinder option is False.

Change-Id: I94c48ecd28acadda39abf4ef794434a72e9a7002
2022-08-22 11:46:37 +09:00
Zuul a1844e7212 Merge "setup.cfg: Replace dashes with underscores" 2022-08-02 07:45:32 +00:00
Zuul 6c2f353add Merge "Update stable branches jobs on master gate" 2022-08-02 06:32:30 +00:00
Zuul f681257211 Merge "zuul: Declare queue at top level" 2022-08-02 06:32:29 +00:00
Zuul 5d3d66b5ee Merge "Use LOG.warning instead of deprecated LOG.warn" 2022-08-02 06:18:17 +00:00
Takashi Kajinami c4b871a79e Skip tests when heat is unavailable
Currently the [service_available] heat parameter is not actually used
and the plugin tests are always executed regardless of availability
of Heat service.

This change ensures that the parameter is honored so that users can
disable plugin tests even if the plugin package is enabled.

Change-Id: I148d7a9c92f210d4584798131a1b23f648f6e5e3
2022-08-01 14:23:18 +00:00
Takashi Kajinami ce99ab5de6 zuul: Declare queue at top level
Zuul deprecated declaring shared queues at a pipeline level with
release 4.1.0[1]. This updates the job definition to use the top level
declaration instead.

See [2] for details.

[1] https://zuul-ci.org/docs/zuul/latest/releasenotes.html#relnotes-4-1-0-deprecation-notes
[2] http://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html

Change-Id: I46522cb94072d3c5d6f137187a7769ce05430c29
2022-08-01 14:22:39 +00:00
Takashi Kajinami 111afa34bd Make master jobs voting again
... because the broken integration job in master has been fixed.

Depends-on: https://review.opendev.org/851670
Change-Id: I9a83d4d7c906e89be93d441a44cd159aa6d694a3
2022-07-31 04:20:58 +00:00
Takashi Kajinami cd0ba393cf Create a keypair with public_key
Nova requires the public_key element when creating a keypair since api
version 2.92. This change ensures the element is passed when creating
a OS::Nova::KeyPair resource.

The master jobs are temporally made non-voting because one integration
test is failing now. These jobs are made voting again once the test is
fixed in the heat repo.

Story: 2010201
Task: 45921
Change-Id: Icdc25a7a79f02ccc5eadcfa5dee99ce5f4d3b00e
2022-07-31 03:12:09 +00:00
Ghanshyam Mann f1fb7f2beb Update stable branches jobs on master gate
we have stable/xena and stable/yoga also present
and supported so we should add their job on master
gate to keep branchless tempest plugins compatible
to stable branch.

This also removes the old EM stable branches which are
train, ussuri, and victoria jobs.

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

Change-Id: I56aaabe6d4a228dfc9434e9d0c163251ff64c279
2022-05-31 18:55:04 -05:00
Takashi Kajinami dfb9739a8d Remove six
Python 2 is no longer supported, thus usage of six can be removed.

Change-Id: I1a44b65768cb862e10d013801dd47cb0510b2d07
2022-05-10 00:53:21 +09:00
Takashi Kajinami e44722f005 Use LOG.warning instead of deprecated LOG.warn
The LOG.warn method is deprecated[1] and the LOG.warning method should
be used instead.

[1] https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: I5211a236492910d759f3c4beb04d9ffa156007ae
2022-01-19 13:31:55 +09:00
Zuul ba43685c13 Merge "Revert "Make all functional jobs non-voting"" 2021-10-12 09:02:03 +00:00
Takashi Kajinami ddfdfe57bf Revert "Make all functional jobs non-voting"
This reverts commit fcdf286acd.

Reason for revert:
All jobs are supposed to be fixed now.

Change-Id: Id3e97ea3ef8e1da8bd74685596f7d09fca019d77
2021-10-12 06:47:00 +00:00
Zuul adb8ba7dea Merge "Migrate from testr to stestr" 2021-08-31 16:29:40 +00:00
Takashi Kajinami 335c11b3e7 Use Block Storage API v3 instead of API v2
Block Storage API v2 was deprecated during Pike cycle and is being
removed during Xena cycle, and current v3 API should be used instead.

Change-Id: Ic15f4aff72661ae5a50dbb14840ba0277a578173
2021-08-02 14:38:28 +09:00
Takashi Kajinami fcdf286acd Make all functional jobs non-voting
Currently functional jobs are all broken because of recent bump of
cinder client. Since we need fix for both heat and heat-tempest-plugin
repo this change first make all functional jobs non-voting to unblock
any change in heat-tempest-plugin repo until the fix is merged in heat.

Change-Id: Icf20b3c07588ee287b106a924580fd6aead4d4e4
2021-08-02 14:37:54 +09:00
Ghanshyam Mann 5c548478b5 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38524
Change-Id: I778f87085370bd82684f418f259f877743c5085c
2021-06-01 02:07:10 +00:00
HeroicHitesh 67f98f8666 Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore and test-requirements.txt files accordingly
* Use py3 as the default runtime for tox and 3.18.0 as the
  minversion for tox

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: If2662e223ad52c8cae965eb6bdf880c1dce962f2
2021-05-21 11:25:10 +05:30
liyou01 c28006b301 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

Change-Id: Ib3752e0165c296d7e052ebe02381c448a233c628
2021-05-18 09:48:38 +08:00
Ghanshyam Mann 00a904e14e Add stable/wallaby jobs on master gate
We have stable/wallaby released so we should add
their job on master gate to keep branchless tempest
plugins compatible to stable 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: I9c36e08e8d8e27a97605466953fa79b799fae341
2021-04-29 18:38:13 -05:00
Zuul c5e1603fb6 Merge "Update hacking for Python3" 2020-11-17 13:40:37 +00:00
Andreas Jaeger d74b4383d8 Update hacking for Python3
The repo is Python 3 now but still tests some older
branches, so update hacking to version 2.0 which
supports Python 2 and 3.

Fix problems found.

Change-Id: I54f1fa0ee72499a740e630bbd3478427babc2ec2
2020-11-17 08:19:10 +00:00
Bence Romsics 407840581e Functional tests for OS::Neutron::ExtraRouteSet
Change-Id: Iff352cd2c62824ddcadfdbb9d345849dab101a31
Depends-On: https://review.opendev.org/675913
Story: #2005522
Task: #36484
2020-11-17 07:54:41 +00:00
Zuul c0d63792c3 Merge "Add heat-functional-victoria job to check" 2020-11-17 07:48:02 +00:00
Zuul cd48c29d49 Merge "Allow retry when wc_notify not successed" 2020-11-16 08:39:15 +00:00
ricolin b8f784a236 Add heat-functional-victoria job to check
Change-Id: Ibbda19c7d939e4afd46a45b76865231587751476
2020-11-16 14:28:06 +08:00
Ghanshyam Mann fa9f6ccd34 [goal] Migrate tox based testing to Focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing pep8 job.

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

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

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

Change-Id: I6cc893ee3cb24afbdc73144213f9d059cec54df3
Story: #2007865
Task: #40186
2020-09-08 23:20:40 +00:00
Oleh Hryhorov 9f622d86d4 Fixing typo for cert_validate
Due to this typo cert_validate had been recognized as tuple but
not boolean.

Change-Id: I379ddaf644d199e3c1b609d31e28942fb1a1f12f
2020-06-09 20:53:41 +03:00