* Update heat-tempest-plugin from branch 'master'
to 448a6686b5e012ed74af9d8cda076c1d190ac32c
- Depend on corresponding server in WaitCondition
most of the templates used in scenario tests already do this
to exclude unpredictable (especially in virtualized cloud CI environments)
server boot from the wait condition timeout, however 3 templates
(used in 3 tests) are missing this at the moment.
This patch adds an explicit depends_on on the server that the
WaitCondition is waiting for in all scanario templates that use
WaitConditions.
Change-Id: I43d5b3862970db5217651b570525f696910bf320
* Update heat-tempest-plugin from branch 'master'
to 5a484926adedcb4676617b5bc4e3ca7acac7428d
- Merge "Bump hacking"
- 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
* Update heat-tempest-plugin from branch 'master'
to 89497983ad4c15ab014998b10ae20231d552fd31
- Merge "Update stable branch jobs"
- 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
* Update heat-tempest-plugin from branch 'master'
to 6a491bded3b5a94d9ba986b07639ba155b632542
- Merge "Execute volume tests only when cinder is available"
- 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
* Update heat-tempest-plugin from branch 'master'
to a6b818bce9c003e51c3e59c6bbad0cddcd6f4a2b
- Merge "Remove six"
- Remove six
Python 2 is no longer supported, thus usage of six can be removed.
Change-Id: I1a44b65768cb862e10d013801dd47cb0510b2d07
* Update heat-tempest-plugin from branch 'master'
to 3dbadbc62bd3dd568a2ec14a96557f69294891af
- 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
* Update heat-tempest-plugin from branch 'master'
to 0f0f89333956b3539945785a17823caf6abe884d
- 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
* Update heat-tempest-plugin from branch 'master'
to 87eb0e9d79c88d3ccca526466228ce9b273a95be
- Merge "Remove tests requiring Neutron LBaaS"
- 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
* Update heat-tempest-plugin from branch 'master'
to c0005a3048106d619fa58e471576fd1d606b86f4
- Merge "Ensure required flavor and image are configured"
- Ensure required flavor and image are configured
Change-Id: I2a2f3fbf0c523e294dd52024a2f55c0ad158b15b
* Update heat-tempest-plugin from branch 'master'
to 1406936165b106894533ecddb5bd01747a96015f
- Merge "Use minimal image and flavor for base scenario test"
- Use minimal image and flavor for base scenario test
This test case can use cirros, and does not require additional
features.
Change-Id: I2eb569fc2b4a9ff01b979cd631ec58d2ac6e72ad
* Update heat-tempest-plugin from branch 'master'
to 99ada15be3ac57847e9fd1d5309035548ad8fb3a
- 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
* Update heat-tempest-plugin from branch 'master'
to 26f59bd29a217f2b64f7a5b295eabc86db79ac46
- Merge "Remove some notes no longer valid"
- 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
* Update heat-tempest-plugin from branch 'master'
to 861283a98f5d5c3b0252ef52db3cbd64cd3cc3a6
- 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
* Update heat-tempest-plugin from branch 'master'
to a3719a852c4485ec4a1269f6b4acf7e18432365a
- 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
* Update heat-tempest-plugin from branch 'master'
to ea738c4f48b43b7238239ce2f4f9e900cc401ab1
- 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
* Update heat-tempest-plugin from branch 'master'
to 4196ac5992b5e63ac97dd0f990278c37b17d6c6e
- Merge "Skip tests when heat is unavailable"
- 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
* Update heat-tempest-plugin from branch 'master'
to a1844e721236ea095ea9841a268a92e52c0da712
- Merge "setup.cfg: Replace dashes with underscores"
- 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
* Update heat-tempest-plugin from branch 'master'
to 6c2f353add88321a556b1a0251e96855104fb972
- Merge "Update stable branches jobs on master gate"
- 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
* Update heat-tempest-plugin from branch 'master'
to 5d3d66b5ee05d7658db59ee54eb1384a980a1d7e
- Merge "Use LOG.warning instead of deprecated LOG.warn"
- 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
* Update heat-tempest-plugin from branch 'master'
to 111afa34bdb13e382b12d0ed2dd0751675315dc9
- 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
* Update heat-tempest-plugin from branch 'master'
to cd0ba393cfaa5945603a088a14b33ef0666e0013
- 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
* Update heat-tempest-plugin from branch 'master'
to ba43685c131d6387779ed35f5bf61fc86667a728
- Merge "Revert "Make all functional jobs non-voting""
- Revert "Make all functional jobs non-voting"
This reverts commit fcdf286acd7cd24065d0e0ba562fe82f5f84d8e9.
Reason for revert:
All jobs are supposed to be fixed now.
Change-Id: Id3e97ea3ef8e1da8bd74685596f7d09fca019d77
* Update heat-tempest-plugin from branch 'master'
to adb8ba7dea4e93414957b72ea9ff5423ba39cb56
- Merge "Migrate from testr to stestr"
- 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
* Update heat-tempest-plugin from branch 'master'
to 335c11b3e7af0f7518a79beb10415059e2a657a5
- 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
* Update heat-tempest-plugin from branch 'master'
to fcdf286acd7cd24065d0e0ba562fe82f5f84d8e9
- 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
* Update heat-tempest-plugin from branch 'master'
to 5c548478b5f3c6dc1323272f99422fd80fd1c19c
- [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
* Update heat-tempest-plugin from branch 'master'
to 00a904e14e11de743ce119f70b37b3940b4b77e4
- 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
* Update heat-tempest-plugin from branch 'master'
- Merge "Update hacking for Python3"
- 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
* Update heat-tempest-plugin from branch 'master'
- Fixing typo for cert_validate
Due to this typo cert_validate had been recognized as tuple but
not boolean.
Change-Id: I379ddaf644d199e3c1b609d31e28942fb1a1f12f
* Update heat-tempest-plugin from branch 'master'
- Merge "Allow empty list of tags instead of None"
- Allow empty list of tags instead of None
If a stack has no tags we want to be able to return an empty list []
instead of None.
Change-Id: I2f31e6b1f59149370e57e5cb43984476e4a1902c
Task: 37005
* Update heat-tempest-plugin from branch 'master'
- Merge "Add stable ussuri job on master gate"
- Add stable ussuri job on master gate
stable/ussuri branch is setup now
- https://review.opendev.org/#/q/topic:qa-ussuri-release+status:merged+projects:openstack/devstack
and Tempest and plugins master version is used to test the stable/ussuri.
Adding a stable job for ussuri on master so that any new tests
or changes does not break the stable ussuri testing.
Tempest already added the stable/ussuri job on master gate so adding it
for plugins is safe now.
- https://review.opendev.org/#/c/723620/
Change-Id: If8afdbd9b933bf1b07bef1dec54f54a46917d9fd
* Update heat-tempest-plugin from branch 'master'
- Merge "Add tls support for tests"
- Add tls support for tests
Change-Id: I811c3d21c360fe03270ec251744916f3f85a22f4
* Update heat-tempest-plugin from branch 'master'
- Remove Extended maintainance stable branch job from master gate
stable/queens and stable/rocky are in extended maintainance state
and devtack use the older Tempest version to tests them not the master.
Testing them on master gate is not needed as heat-tempest-plugin master
cannot support testing them due to python required version for plugin
and Tempest. Even we test them on master gate, they run with older Tempest
so they are not actually testing the master code against those stable.
We can continue testing the supported stable branch where master Tempest and
plugins are used.
Same is done Tempest and other plugins side:
- https://review.opendev.org/#/c/722183/
- https://review.opendev.org/#/c/707111/
Change-Id: I3dd3c354947461ba65906251fb42897b0b8ce6f5
* Update heat-tempest-plugin from branch 'master'
- Use Bionic node for stable stein or train jobs
We have migrated our testing from Xenial to Bionic
since stein. Xenial node is not supported on stein onwards.
Any job running on stein onwards should use the bionic nodeset.
Change-Id: If8a018465f6ed3ec5c35c0934370c1107f4b9969
* Update heat-tempest-plugin from branch 'master'
- [stable gate fix] Check if cert_validate is supported
Also check if `cert_validate` is supported in building API tests.
Needed-By: https://review.opendev.org/707663
Needed-By: https://review.opendev.org/707760
Change-Id: Ic96f7becff2753ff72d5dd75bea75fadf21a036e
* Update heat-tempest-plugin from branch 'master'
- Merge "Rectify volumes tests"
- Rectify volumes tests
* pass updated stack parameters directly to keep the original value
* volume property of display_description ain't available
in cinder api version 2+
Change-Id: I346b4da7d002e86f39280ef6caf141a18b0404e3
Story: 2007217
Task: 38468
* Update heat-tempest-plugin from branch 'master'
- Merge "Add poll interval for gabbi api tests"
- Add poll interval for gabbi api tests
Increase the delay interval from 1 sec to 2 secs.
This will make the total waiting period twice longer without generate more
queries.
Depends-On: https://review.opendev.org/#/c/700512/
Change-Id: I7dd23f85c9f58ca42d7607a2a472af7afbe69e55
Story: #2006674
Task: #37833
* Update heat-tempest-plugin from branch 'master'
- Use nodeset legacy-ubuntu-xenial for stable branch
Change-Id: I0876d562792e3a903c3472aeb3be41d34e25d607
* Update heat-tempest-plugin from branch 'master'
- Merge "Allow to pass --insecure options into VMs"
- Allow to pass --insecure options into VMs
currently Heat tests have troubles running when self-signed SSL CA is
used on public Heat API and standard upstream images (Cirros, Ubuntu)
are used as those lack trust to those CA - example is DevStack
with tls-proxy service enabled.
A workaround is to set [clients_heat]insecure=True, but that is
not really a production-ready setting, and does not work for CFN-style
signaling, only for WaitConditions.
Instead, this patch adds an extra config option
`vm_to_heat_api_insecure` (defaults to False), and when enabled tests will
pass the correct option to the curl or cfn-signal commands running from
instance's user data via new parameters that test templates are now
accepting.
Change-Id: I94a82caf1fcb6999151ff1e6fbbe1e2ba211bbb9
* Update heat-tempest-plugin from branch 'master'
- Merge "Remove handling for client status races"
- Remove handling for client status races
Now that we guarantee that resources are UPDATE_IN_PROGRESS before the
stack update call returns for legacy stacks (this was already true for
convergence stacks), there is no need to have special handling to check the
updated_time in functional tests.
Change-Id: I1ebf38285746a090660044ffdb854e98b5f0dba0
Depends-On: https://review.openstack.org/589172
Story: #1669608
Task: 23349