Commit Graph

102 Commits

Author SHA1 Message Date
Zuul 5eb7e702ad Merge "update gitignore file" 2024-02-26 03:29:23 +00:00
wu.chunyang 7f39f4fa6b update gitignore file
trivial fix

Change-Id: I9bbd44231a1cc545cdb30cfdae49a287123ef5cc
2024-02-26 11:14:00 +08:00
Ghanshyam Mann 3472aafff0 Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I6150a8bbdd1c3ab29ad7ea65e78ae759aeb58c48
2024-01-04 01:10:05 -08:00
wu.chunyang a2f5604c6a Remove unnecessary ceilometer service overrides
as per: https://review.opendev.org/c/openstack/trove/+/902555

Change-Id: Ibd6d01ec06119a2f9b9a8fc9d908424f0d564010
2023-12-27 11:48:41 +08:00
wu.chunyang e8e89be424 Add mariadb backup and replication tests
Change-Id: Iea620b256dfa037ea9780273e654850cd0a6f124
2023-11-13 10:41:09 +08:00
wu.chunyang 711b04f792 Don't create replicas2 vm in zuul
Zuul is not capable of creating 3 VM due to the lack of memory.

Change-Id: I180e7f8e4ab07998b3c0fc66fe2e316dd8d42aba
2023-11-01 11:16:41 +08:00
Katarina Strenkova d63e17a1c0 Replace deprecated terms
Following up on	the usage of inclusive jargon [1] and to ensure
consistency in code, there is a need to replace deprecated term
tempest_test_blacklist with a new term tempest_test_exclude_list.

Additionally, the file tempest_blacklist.txt was renamed to
tempest_exclude_list.txt for the same reason.

[1] https://review.opendev.org/c/openstack/tempest/+/768583

Change-Id: I68cc25b9126115171f10637b742fa3d503394ad5
2023-08-01 13:26:36 +02:00
wu.chunyang 9122baa272 Add expect_op_status for wait_for_instance_status function.
We should wait until the instance’s status becomes healthy before
sending api requests.

Change-Id: I8f818b6278499ef420588b6bdcfd1734c5cf41d6
2023-07-24 17:29:47 +08:00
wu.chunyang 826cd69b85 Add python 3.10 to setup.cfg metadata
Add python 3.10 to setup.cfg
refer to: https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I897e64a5667449d91ed8f6e628cc22afb71cdac8
2023-06-21 17:07:31 +08:00
wu.chunyang 089f238cb1 remove trove-tempest-ipv6-only to experimental pipline
Change-Id: Ide34b9384503aa5a37f3b9ffecf71bc359036ce3
2023-06-15 10:44:06 +08:00
wu.chunyang 35906b205c enable trove backup tests
enable trove tests that related to backup logic

Depends-On: https://review.opendev.org/c/openstack/trove/+/885452

Change-Id: Ib9d4070c6309f9fad3626248281b197d7f47c2d0
2023-06-11 23:41:37 +08:00
wu.chunyang 1300140f76 Ignore files for trove-tempest-ipv6 job
Change-Id: Ifd1763751e5509e09ef15bb1676da1db3a11e215
2023-03-28 19:33:00 +08:00
wu.chunyang 00b4ef0991 Fixing tests with tox 4.2.6
Remove basepython from testenv
Remove pypy testenv

Change-Id: Iea25327386a3c4e91ebe98aa8954b6353a51c4c6
2023-01-29 10:29:19 +08:00
wu.chunyang fe377e0784 Add python3.9 support
Add python3.9 support and set the default test env to py39

Change-Id: Ia87bcc7e63ecebbfe92662431f0a81508034e18e
2022-11-28 22:57:51 +08:00
likui 4cd62b2a3d 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: Ie929cf7fc728e108c17561976b62094f24676193
2022-08-27 10:06:40 +08:00
Lingxian Kong 5de39645ed Show trove guest agent log when instance creation failed
Change-Id: I8fc3b5fe5bdbbe1a9fac7c45d79d844dfde9c5b5
2021-10-11 21:32:14 +13:00
Lingxian Kong 4922ec75db Improve rebuild test
Change-Id: I8addc9eb5a6109116ff0d088c0b69d6865856970
2021-07-12 20:04:33 +12:00
Lingxian Kong 23ac0ee82b Show instance fault message when ERROR
Change-Id: Iafc98a55865a1c19464dce6fbbd683263b121186
2021-07-12 20:03:41 +12:00
Lingxian Kong 355a351fcc Move updating access test case to a separate test class
Updating access will change the instance public address, which affects other
test cases in the same test class.

Enable more tests in this patch.

Added some test cases which always failed in CI in tempest blacklist file.

Story: 2008410
Task: 41351

Change-Id: I09b4f00da941b7ead5a93c4c41b196cbe9934bbe
2020-12-07 10:14:32 +13:00
Lingxian Kong 2581bc079a Update access test
Change-Id: Ie9ff65a67bbc77c2313f3d25d9521f60286c6f96
2020-09-23 11:02:17 +12:00
Lingxian Kong fa57416207 Support PostgreSQL
Change-Id: I7b2870fb93025d9de3dad18d14fa27d6da53c6f0
2020-09-13 10:52:25 +12:00
Lingxian Kong 4624bc56c8 Disable upgrade test if not configured
Change-Id: Idf171390675f54d313306f6ad19e21f51c9c685f
2020-08-17 09:15:46 +12:00
Lingxian Kong 4e10f9e399 Add rebuild test
Change-Id: I0d59d8f8ed87867d3ba3de441132d1d19cb2bbe2
2020-08-07 10:27:50 +12:00
Lingxian Kong 5371dbbd92 Add volume resize functional test for replication
Change-Id: Id08df79f064ddf9a31247853fb19625e695f7bd0
2020-07-28 08:41:54 +12:00
Lingxian Kong 177648d906 Add config database_restore_timeout
Change-Id: I0da6b5376b4dd97606bfb75dae0fe0791cf8c47e
2020-07-16 10:57:26 +12:00
Lingxian Kong 96c552f557 Clean up object storage for test user
Change-Id: I9d7632575cabd64c69ee5511a6e38e2921e95118
2020-06-20 00:32:13 +12:00
Lingxian Kong 2970fb81dc Fix configuration test
Change-Id: I58328ebfe4932c904d6190868c4017edfb214220
2020-06-18 10:53:12 +12:00
Lingxian Kong 34e4d77b36 Move replication test to separate file
Change-Id: I78a512af4a41952a002167ef0eee5496fbd8b577
2020-06-17 22:32:49 +12:00
Lingxian Kong 00ddc03c54 Add tests: resize
Change-Id: I126c83d249f7f79b5983380b793ea85af9cf2409
2020-06-17 20:40:10 +12:00
Lingxian Kong fb79b00193 Add tests: replication
Change-Id: Ie0b6a3508043c9562ae0d4e7312402385657ec92
2020-06-17 18:16:13 +12:00
Lingxian Kong f0caa530ab Add tests: configuration
Change-Id: Id39d14c19538429a15461504c0d789269112cc22
2020-06-17 18:16:03 +12:00
Lingxian Kong 8d0e7345f9 Add tests: user management
Change-Id: Iea8d73af802de3b35cbd6e14eed7e5c12280974c
2020-06-17 18:15:51 +12:00
Lingxian Kong 6186071009 Add tests: datastore upgrade
Change-Id: Idd42169182df809232b1f2ab3bdc8e6d4289c798
2020-06-17 18:15:40 +12:00
Lingxian Kong 76a3612853 Add tests: Backup and restore
Change-Id: I52510306901157a5a87d08e845b87d5e4fce504a
2020-06-17 18:15:13 +12:00
Zuul 8458a64489 Merge "Fix upgrade instance test" 2020-06-05 02:57:09 +00:00
Zuul 4a523aeb78 Merge "Add py38 package metadata" 2020-06-05 02:50:35 +00:00
inspurericzhang 4863257b6c Add py38 package metadata
Change-Id: I0628b7885f84ebc6c041baec2d557feccb03d128
2020-06-04 22:59:19 +00:00
Lingxian Kong 8f00607c97 Fix upgrade instance test
Change-Id: I20c79347cd45a2911c72a9f4361a58c419d723bb
2020-06-05 10:58:54 +12:00
Andreas Jaeger 0b78b7be34 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: Ifc60ddf5a5696f250a01761bc1a3d7f73df8ed63
2020-06-05 10:58:20 +12:00
Zuul 31894c68e4 Merge "Cleanup cruft" 2020-06-04 22:30:36 +00:00
Lingxian Kong d584c23352 Fix getting database address
Depends-On: https://review.opendev.org/729075
Change-Id: I9cf566796882f6d20bef212cf23b024ff5b73e5e
2020-05-24 21:50:19 +12:00
Andreas Jaeger c91fbd13b8 Cleanup cruft
Let's make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine;
  move constraints into deps
- Remove Babel from requirements, it's not needed for running;
  remove babel.cfg
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete
- update to hacking 3.0

Change-Id: Ic8426d14ba489a88ab73d7dd02e6dfd71b312ca3
2020-05-10 14:37:51 +02:00
Ghanshyam Mann 702d4a9dd4 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

trove-tempest-plugin is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: Id689113d1cca11f27cee7598b841e365225b50df
2020-03-09 22:54:58 +00:00
Lingxian Kong f5a0e84a59 Add instance upgrade API test
Change-Id: Ibf713328d5495dda5bbadc10592cd11a84834647
2019-12-27 18:31:25 +13:00
Lingxian Kong a5183e9312 Support HEALTHY status
Change-Id: Idb14339f8c84b45fa7ee47d95b41b4790ef5f564
2019-12-14 12:55:33 +13:00
Lingxian Kong 18e399b9e0 Improve the basic test case for mysql
Change-Id: I9202d1eaae517afc181973344b14903879fac24e
2019-12-09 16:22:22 +13:00
Lingxian Kong 605a0d3a51 Refactor trove-tempest-plugin
Depends-On: https://review.opendev.org/#/c/697870/
Story: 2006554
Task: 36639
Change-Id: I6251f070f330ee886e6436d92c20d78e0401d59e
2019-12-08 23:39:40 +13:00
Ghanshyam Mann eda92dae2d [train][goal] Define new 'trove-tempest-ipv6-only' job
As part of Train community goal 'Support IPv6-Only Deployments and Testing'[1],
Tempest has defined the base job 'devstack-tempest-ipv6' which will
deploy services on IPv6.

This commit adds the new job 'trove-tempest-ipv6-only'
run on gate which is derived from 'devstack-tempest-ipv6'.

Verification structure will be:
- 'devstack-IPv6' deploy the service on IPv6
- 'devstack-tempest-ipv6' run will verify the IPv6-only setting and listen address
- 'trove-tempest-ipv6-only' will run the tests.

Story: #2005477
Task: #35937

[1] https://governance.openstack.org/tc/goals/train/ipv6-support-and-testing.html

Change-Id: Ia247e3f22d1791c1b910f702781e7c5968c925db
2019-08-16 18:34:58 +00:00
OpenDev Sysadmins eb18d48c50 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:44:25 +00:00
Ian Wienand 3d795cb10b Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
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 (https://gitea.io),
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

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I2f726f59b401309334de342455ccdd6cfad68095
2019-03-24 20:36:22 +00:00