Commit Graph

66 Commits

Author SHA1 Message Date
wu.chunyang c0ad3f8c64 WIP: add guest image build check
This PR adds trove-guest-image-build check in ci.

Change-Id: If512cb7c094d14850555215d412b8e7b418c35ce
2022-04-13 22:51:20 +08:00
OpenStack Release Bot f9a81fb657 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I9a0c555f94f97c5d6bfee7e9dde0c96930b2c27b
2022-03-10 08:20:52 +00:00
OpenStack Release Bot c2f1e8bdb6 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I83cdddcccd1340de950e4dd3a5ab374553cecad1
2021-09-15 02:34:44 +00:00
Lingxian Kong 036948c516 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: Iac35c8a580b0e15c397cb5e78bb228fea9730f06
Ref: https://review.opendev.org/c/openstack/requirements/+/801759
2021-08-02 12:22:30 +12:00
ricolin 2114e8a775 Enable tls-proxy support in test jobs
Change-Id: If9fd7d01f210b317efa2a20113918362186a2402
2021-06-17 16:04:16 +08:00
Lingxian Kong fa658e0901 Fix CI for trove Xena
* use ubuntu-focal for devstack
* use the legacy openvswitch neutron agent

Change-Id: I8da867d56deca12d32bfd13e8d54e500da544902
2021-05-31 21:28:13 +12:00
Lingxian Kong 1fd6e5f800 Fix periodic public image job
Change-Id: I2f6acb879004feb4d935ba81e3dabf6e54ec2ab4
2021-05-04 08:28:35 +12:00
Lingxian Kong db30031cec Fix typo in zuul config
Change-Id: I1f6ba130f12fa346e6eb3a8b3301ae99491753b9
2021-05-03 08:53:42 +12:00
Lingxian Kong 1f1a1e4ee4 Add CI job trove-tempest-postgres
Change-Id: Iafe870e32a1b870e4025e08760c8c3ebeb67dab5
2021-03-30 14:30:54 +13:00
OpenStack Release Bot b057b6ecdd Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ic4bed95dafa6e185a9167c0570695c2b06eb3970
2021-03-22 10:27:09 +00:00
likui 537a2859f6 update ci job description
update publish-trove-guest-image-ubuntu-bionic-dev description

Change-Id: Ic5a977cf629ddc8ac53734881b8d14f732c5b954
2021-01-19 19:48:11 +08:00
Lingxian Kong 517a814ea9 Disable some tempest tests that always failed in CI
The same with trove-tempest-plugin CI settings:
355a351fcc/.zuul.yaml (L102)

Change-Id: I971c50007c580a077e5e7e0c7fc5086492f3b883
2020-12-09 04:57:42 +00:00
Lingxian Kong 9ea87ccf43 Disable openstack-lower-constraints-jobs
The community doesn't have a final solution, the following are what we found:

* virtualenv 20.2.2 released recently with pip bumped to 20.3.1
* pip before 20.3 is not actually satisfying the full dependency set and those
  issues were uncovered by the newer version.
* Disable this job for now until the community has a decent solution.

Change-Id: I8cd4554a20f89df92dbad4961d5a07a21f26fae8
2020-12-09 09:28:31 +13:00
Sam Morrison 25abf125ef Fixup zuul nodetype for nested
Need tempest group to get tempest jobs to work

Change-Id: I3d8cfd57278ba426067f0631d63c02f2b73dcbf4
2020-12-02 12:11:36 +11:00
Lingxian Kong cc57e32c48 Use nested virt node for trove functional test
Enable the jobs trove-functional-mysql and trove-tempest.

Change-Id: I930a1468fec5922916af0819698fceb94bddb2f3
2020-11-30 09:48:09 +13:00
OpenStack Release Bot 957e0c1adf Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I08c930a5ac071890aa208926573cf24e405eed5c
2020-09-24 09:14:11 +00:00
Luigi Toscano ca4e029f2a Remove the definition of trove-grenade
(and of its now unused parent trove-legacy-dsvm-base)

The job is not used in this repository anymore (since
I49bd6c824b837d22d9f3945a3e8c2343c831b352).
It was only used by grenade.git, but that usage has been removed
by I8f976041e98502de4770ece8cb7f04a928e8f3d9.

Moreover, it is a legacy job and it should be ported to a native
Zuul v3 job, and more important it doesn't really test the upgrade,
because there are no grenade plugins for trove.

An upgrade job is useful, but a grenade trove plugin should be written
first and a new native job should be created instead of restoring
the legacy one.

Depends-On: https://review.opendev.org/749212
Change-Id: Ib5ecc496aee28a6a2bbb01138e1f511bfc179302
2020-09-01 12:08:46 +02:00
Lingxian Kong 828e873846 Support backup strategy API
Change-Id: I0ddd7214dae6e29ddfaf045fdb282f4980a8afff
2020-07-17 11:35:53 +12:00
Zuul 3202b321b3 Merge "Set status to ERROR if heartbeat expires" 2020-06-04 02:57:23 +00:00
Lingxian Kong dc117d8dd8 Set status to ERROR if heartbeat expires
Change-Id: Ib8f5062094c0ec7766d4c6c6e7c3c8168e15ebd6
2020-06-04 10:12:04 +12:00
Lingxian Kong 761fa7f819 Fix job publish-trove-guest-image-ubuntu-bionic-dev
Change-Id: Ibc3d6198e366cc3832639eae8e4e0de69e58056f
2020-05-29 22:06:11 +12:00
Lingxian Kong e2b26fdd7d Trove doc and CI
Change-Id: I49bd6c824b837d22d9f3945a3e8c2343c831b352
2020-05-28 22:53:17 +12:00
Lingxian Kong aa1d4d2246 Datastore containerization
Significant changes:

* Using docker image to install datastore.
* Datastore image is common to different datastores.
* Using backup docker image to do backup and restore.
* Support MariaDB replication
* Set most of the functional jobs as non-voting as nested
  virtualization is not supported in CI.

Change-Id: Ia9c97a63a961eebc336b70d28dc77638144c1834
2020-05-27 10:31:50 +12:00
Lingxian Kong 523d66e8fd Fix CI job
* Fix pep8: ambiguous variable name
* Install Python 3.7 for trove guest image. oslo.concurrency requires
  python 3.6 or newer. See
  https://bugs.launchpad.net/tripleo/+bug/1861803
* Mark tempest job non-voting temporarily because of some tempest bugs.

Change-Id: I6d316779cc7220a855ce187437056b667bbe1f75
2020-05-25 17:37:38 +12:00
OpenStack Release Bot f32c4c8ff1 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I21aa4561556571b5b6ac2790b954e8696abad20e
2020-04-24 08:49:06 +00:00
Lingxian Kong c952838a9b Support to test non-dev guest image in CI
Make the job non-voting because it may fail when the guest agent code
changes.

Change-Id: Ibd595b5b5c02cf72f1e5f05c79469cd4cb15a3ca
2020-03-16 11:10:05 +13:00
Lingxian Kong 7d78c74158 Add python-troveclient in requirements.txt
Change-Id: I2bd0d81171df85c05423e19ab2e4afa82fcf880e
2020-03-15 20:57:39 +13:00
Lingxian Kong 602c4d42de Improve the function tests
- Execute test groups in serial to make sure no more than 2 database
  instance are created at the same time.
- Remove some unneccesary tests
- Remove unneeded datastore, e.g. 'Test_Datastore_1'
- Remove unsupported trovestack subcommands
- Move unsupported DIB elements to the 'deprecated-elements' folder
- Decrease default value of 'agent_call_high_timeout' to 5min
- Add initial_deplay for pooling task
- Use socket file to connect with database instead of using localhost
  IP

Change-Id: Ie5030a671fbeb453eafa6cbe04e08da7b52e33c9
2020-01-28 14:27:52 +13:00
Lingxian Kong dacb400e0b Improve API doc
Change-Id: If48ef016c6fb7a875ceabc9f106e4cd85858d147
2019-12-24 22:15:09 +13:00
Lingxian Kong a0a10f0b94 Support HEALTHY status for db instance
- 'HEALTHY' means the db service is responsive, 'ACTIVE' means the db
  service is alive.
- Remove the CI job fakemodetests, but will add similar testing task in
  the future.
- Fix the periodic CI job
- Remove MongoDB and  related jobs

Change-Id: I5abe9091ba203297dc87db5fba139179166321f7
2019-12-14 12:55:56 +13:00
Lingxian Kong 5a149be4eb Add trove-tempest CI job
Change-Id: I87f3eba550326abcef1985a001a358125b6820a8
2019-12-09 19:38:11 +13:00
Zuul e226ba68ab Merge "[ussuri][goal] Drop python 2.7 support and testing" 2019-12-06 10:06:41 +00:00
Lingxian Kong 637c900b87 Mark CI job trove-scenario-mariadb-single voting
Fix the current CI issue as well.

Change-Id: I7daafa68a03a3bf88c3651b6cab8c58cf5256b29
2019-12-06 11:21:45 +13:00
Ghanshyam Mann e6f55c57d5 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Trove 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://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I6b448747c873bfc9c0138c0f7e3ca67ddce02dee
2019-12-05 22:38:19 +13:00
Lingxian Kong 52bfbd641d Add CI job to build Ubuntu Xenial based Trove guest image for dev
Change-Id: I7beb6849abbfc889bae29668deb4ba7ae93df91d
2019-12-05 07:47:41 +13:00
Lingxian Kong fc0c4fff4c Rename devstack variable TROVE_DISABLE_IMAGE_SETUP
Rename TROVE_DISABLE_IMAGE_SETUP to TROVE_ENABLE_IMAGE_BUILD to avoid
double negative definition.

Change-Id: Iede80c39bb2a7aaf3c0453bd67f85375fa5ee76c
2019-10-11 14:35:12 +13:00
Lingxian Kong 062871b7ed Add branch param for image building
Change-Id: I7874d498eb80c0b5cda802acb76e5fe399770e6a
2019-09-26 14:32:39 +12:00
Lingxian Kong 59be66ceaa Change imag build job to the periodic pipeline
Change-Id: I2628d924245e267ac950876be9ec34110db15e20
2019-09-20 22:49:33 +12:00
Lingxian Kong 757a873963 Some clean up
- Remove the unused variables in trovestack.rc which leads to
  module not found error.
- Remove non-voting gate job

Change-Id: I583945addb6cb0aa442db1c9d9c6ce3cb57793f7
2019-09-20 08:51:21 +12:00
Lingxian Kong 0cdf8b20b6 Add image build experimental CI job
Story: 2006553
Task: 36637
Change-Id: I3d909082fb887b24ed25c93e11792031d5053b1e
2019-09-17 22:23:43 +12:00
Ghanshyam Mann 86299525fb [train][goal] Run '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.

Depends on commit has added the new job 'trove-tempest-ipv6-only'
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.

Run the ipv6 job on trove gate also.

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

Story: #2005477
Task: #35937

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

Change-Id: I2ecfcef4a03ccc574d4fd3b026183342cb1fa242
2019-08-16 18:39:53 +00:00
Lingxian Kong 37e8dedac2 Remove the trove-tox-apiexamples CI job
- The job relies on python-troveclient, sometimes python-troveclient
  only changes the URL sending to Trove but neither request nor
  response.
- The job is hard to maintain, especially when there are changes
  relating the API. The recommended way is to manually update the API
  doc and add tests in trove-tox-fakemodetests job.
- Remove that trovestack subcommand as well.

Change-Id: I108203915ef79ef93bbfbb15acdb7480854878e0
2019-06-06 15:57:26 +12:00
ZhongShengping b51f371d97 Update Python 3 test runtimes for Train
This goal is to implement the process set out in the 2018-10-24 Python
Update Process TC resolution[1], for the Train cycle to ensure unit
testing is in place for all of the Tested Runtimes for Train[2].
In practice, this generally means adding unit tests for Python 3.7 and dropping
unit tests for Python 3.5. Using the Zuul template for Train will ensure that
all projects that support Python3 will be tested against the agreed runtime
versions, and make it easier to update them in future.

[1]https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html
[2]https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I018f79c6819ead9ffee777addb7ba6b369304962
Depends-On: https://review.opendev.org/#/c/641878/
2019-05-09 17:34:56 +08:00
Zuul f56329a4aa Merge "Skip image building in DevStack for functional tests" 2019-05-08 14:57:44 +00:00
ZhongShengping 4e63540245 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I0d0a3f62d652853963dc4fe204a413eec2bc1830
2019-04-28 15:36:48 +08:00
Lingxian Kong aa836df310 Skip image building in DevStack for functional tests
DevStack builds a mysql guest image by default, but trovestack is used
heavily in Trove functional test and image building is also part of the
script.

This patch disables the image building in devstack for all functional
CI jobs except the mysql ones so we could save some time for those jobs.

Change-Id: Iefef03066c1a054bf760f83a66ce7795ad92c44a
Story: #2005490
Task: #30590
2019-04-26 10:30:36 +12:00
OpenDev Sysadmins 13711bd589 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:26:15 +00:00
Zuul e7ef1dd722 Merge "Disable devstack image building for trove-scenario-mariadb-single CI job" 2019-04-11 00:12:37 +00:00
Ian Wienand 4367dd5e7a Merge "Replace openstack.org git:// URLs with https://" 2019-04-10 00:52:15 +00:00
Lingxian Kong 4fe95fbaf3 Disable devstack image building for trove-scenario-mariadb-single CI job
Trove mainly uses trovestack script to trigger the CI tests, including
the guest agent image building, so the image building in devstack could
be skipped to decrease the testing duration.

Change-Id: I26fa0adc1a5e39612be15b75d37d22ea1cca3be1
Story: #2005391
Task: #30380
2019-04-09 09:20:22 +12:00