Commit Graph

65 Commits

Author SHA1 Message Date
Dr. Jens Harbott 1421da749b Update invalid zuul syntax
Queues are now declared at the project level

https: //lists.openstack.org/pipermail/openstack-discuss/2021-November/025797.html
Change-Id: I6cfa0f392b10edf5e086b130606ba079a651c2a1
2023-06-01 17:57:49 +02:00
Ghanshyam Mann 658c68b593 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: Ibd8664001aa3960f3994340cfd31683d8514a280
2022-04-30 19:22:11 -05:00
Zuul 738437fd3d Merge "Add Python3 zed unit tests" 2022-04-04 11:27:34 +00:00
Martin Chacon Piza 192e850d95 Enable again monasca-tempest-log-python3-influxdb check
Change-Id: I0dc0493074a9f3e4dc3020a66f03ea2251f2972c
2022-04-03 12:01:23 +02:00
Martin Chacon Piza 18ba158e5a Rename the deprecated argument tenant with project
Since oslo.context=4.0.0 Feb 3, 2022  the deprecated argument
tenant was removed [1]

- Remove temporarily monasca-tempest-log-python3-influxdb check
- Remove permanently monasca-tempest-python3-cassandra check

[1] f4cbe4c296

Change-Id: I38dc75df3e7a7575be37dbfa3714e694a19f35c4
2022-03-18 12:19:29 +01:00
OpenStack Release Bot 758da905b5 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: I86aba5d3de43dc21626a25f423c18868d99aa6b1
2022-03-10 17:06:34 +00:00
OpenStack Release Bot a5af839d72 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: Iaa9459934981bbff2f1e5cf1bc976c3087453482
2021-09-30 11:05:32 +00:00
Pierre Riteau 5b2af7db13 Fix Docker build
The default nodeset was just changed to focal [1], which in the absence
of the python-is-python3 package doesn't provide a python binary.

Enable again the docker-build and docker-publish Zuul jobs.

[1] https://review.opendev.org/c/opendev/base-jobs/+/789098

Change-Id: Ic78169052517701b235e906852923388d93776e8
2021-06-07 13:12:36 +02:00
Martin Chacon Piza a6e56ab63c Add Support for Falcon 3.0.0, 3.0.1
- Support to new Falcon 3.0.0 and 3.0.1 keeping compatibility
for version 2.0.0

- Remove Falcon's class OptionalRepresentation
Starting from Falcon 3.0.0 version the class OptionalRepresentation
was removed. [1]

- Remove unnecessary URL slashes which are not compatible
with Falcon >= 3.0.0

- Keep facon.API instead of new falcon.App to keep support for
version 2.0.0

- Disable temporary docker-build and docker-publish Zuul jobs.

[1] https://falcon.readthedocs.io/en/stable/changes/3.0.0.html#breaking-changes

Change-Id: Ifb067429dd66fd350110187ac3a8b6a9977bad90
2021-06-06 21:29:22 +02:00
OpenStack Release Bot 545c7a08a5 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: I6dd719aa67e20ad49c3540f8c36398379e15449e
2021-03-31 22:51:04 +00:00
OpenStack Release Bot 1491ed9a43 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: I0d77098119818d1bee64e138bd7dd0556484eae4
2020-10-13 17:25:03 +00:00
Adrian Czarnecki afc0de2f63 Fix incorrect old log-api tempest test configuration
Change-Id: I357a4984cbd30b5d0a4b9376e683b234d812e05a
2020-05-18 15:41:06 +00:00
OpenStack Release Bot 90854deb15 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: Ibea78981c82a07e33ad1f190d5e2c7d3dd972bbc
2020-04-27 14:59:45 +00:00
arseni.lipinski@ts.fujitsu.com aeed1c63dc Add build and installation for monasca-kibana-plugin in new API
Story: 2006376
Task: 38335

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

Change-Id: I5887c75dbf499027b21b86c2850370f6729fb451
2020-04-27 10:43:39 +02:00
Zuul a067ba118a Merge "Reenable building and publishing Docker images" 2020-04-22 15:40:23 +00:00
Witek Bedyk 00b70ab3b0 Reenable building and publishing Docker images
Following jobs get enabled again:
* build-monasca-docker-image
* publish-monasca-api-docker-image

Change-Id: I3118dbb24748d20321eeb551ec68bdc65602550d
2020-04-22 12:34:05 +02:00
Witek Bedyk dc32ef4f63 Enable monasca-tempest-python3-influxdb as voting
Change-Id: I056dd76fe343b4402301f8c23512f01bd20b735e
2020-04-18 12:30:45 +02:00
Martin Chacon Piza 0b7dc58296 Migrate from ujson to simplejson
The change updates the imports to use simplejson library and
monasca_api.common.rest instead of monasca_common.rest, since
it was moved to this project during the API's merge.

Temporarily set following jobs as non-voting:

* monasca-tempest-python3-influxdb
* build-monasca-docker-image
* publish-monasca-api-docker-image

Change-Id: Ife3d2c9795a9dc406c2927cc9a077dda01c183c6
Story: 2007549
Task: 39389
2020-04-18 10:28:24 +02:00
Witek Bedyk c3993bf48a Disable not needed services in CI job
To improve reliability of logs tempests tests we deploy only necessary
services in CI environment. This should save a lot of resources.

Change-Id: Id5b8ddc0700b2b7bc100f1eefbe891d9016e918c
2020-01-24 10:01:30 +00:00
Ghanshyam Mann e2789e8a9d [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-api 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

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I5daa9bb079d0373d0e1379d20e98dd5c0880d312
2019-12-10 13:58:58 +01:00
Adrian Czarnecki 5609a28830 Correct log tempest name
Change-Id: I88afecce2d7bd6534e9bee17b754fbcbe399610d
2019-12-09 14:56:56 +00:00
Adrian Czarnecki 1e3e1173ad Update devstack plugin to support new api
Merge log-api and api

Story: 2003881
Task: 36195

Depends-On: https://review.opendev.org/681419/
Change-Id: Idb2361e5ab701cd3dee4eabb4b43116f6e1205c4
2019-12-04 13:52:57 +01:00
Zuul b2c9e1551f Merge "Support time range to query dimension names/values" 2019-09-27 10:48:51 +00:00
Bharat Kunwar 233ea9c51b Support time range to query dimension names/values
At present, dimensions are not scoped by time window, which makes
dimension related queries to large databases timeout because it searches
all of time instead of a time window specified on the grafana app.

This commit implements the server side changes required to scope the
search query by the time window specified on the app.

Change-Id: Ia760c6789ac0063b8a25e52c9e0c3cc3b790ad2d
Story: 2005204
Task: 35790
2019-09-26 15:11:19 +00:00
Witek Bedyk f503babd58 Set job with Java persister non-voting
Java implementation of persister has been deprecated and will not be
further developed. This change sets the CI job testing the Java
persister as non-voting to avoid blocking merging new Python code.

The job is still been run for support legacy deployments.

Change-Id: I39fefaf4eb8cb1310d574e2aa805ac618e700541
Story: 2005628
Task: 36761
2019-09-23 12:18:56 +02:00
Shubham82 6cc6c9ba4f Switch python3 versions of test jobs to match Train PTI
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit also adds python 3.7.
In Python3.7 async is a reserved keyword so replacing it with is_async.

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

Change-Id: I05f40c4a9304cad551cefd4f10c3ba9a72d69a6f
2019-07-26 14:31:42 +05:30
Adrian Czarnecki 1629b13ac2 Make python3 default for devstack
Change-Id: I6f5fe641b1a9a98cc73b44477680f6363ddd2e84
2019-07-18 13:56:55 +02:00
Witek Bedyk e3e3d386ca Remove failing non-voting CI jobs
To save CI resources we're disabling the jobs which were failing for a
long time.

Change-Id: I14f441f5fee46fa273bc4ea1d57662c2e4ac60c2
2019-07-10 18:15:57 +02:00
Zuul 85244866b8 Merge "Use monasca-notification.conf during devstack runs" 2019-07-04 17:54:12 +00:00
Thomas Bechtold 2bf341c6dd Use monasca-notification.conf during devstack runs
Since [1], monasca-notification supports the standard oslo.config
based configuration style (ini file instead of yaml). The old
notification.yaml file still works but is deprecated.
So switching to use the new oslo.config based file is the way to go
forward.
Also adjust the zuul job to copy /var/log/monasca/notification and
/etc/monasca/notification.conf so debugging will be a bit easier.

[1] https://review.openstack.org/#/c/464768/

Story: 2004862
Task: 35646

Depends-On: https://review.opendev.org/668508
Depends-On: https://review.opendev.org/663960
Change-Id: I489d66d623c3e27ca28ba87ebde32264b13ac0f3
2019-07-02 12:21:52 +02:00
Doug Szumski 7ce0d8e26e Make monascalog-python3-tempest a gating test
In change I03bc8d502a333a7a71d9c12b8ddc7c5dc0a4f588 this
test was made non-gating due to release of Falcon 2.0. Now
that the Log API also supports Falcon 2.0, we can mark
this as gating again.

Change-Id: Ie7dbf4077fb1937f6cc77d1b05b70bc5c7e6643c
2019-06-17 09:50:21 +01:00
Doug Szumski a9cc4bb482 Add support for using Falcon 2.0.0
Falcon 2.0.0 introduces some breaking changes. The relevant ones here are:

- falcon.testing.TestCase.api property was removed
- falcon.testing.TestBase class was removed

Additionally, the default behaviour for handling trailing slashes on
URIs also changed:

https://falcon.readthedocs.io/en/latest/user/faq.html#how-does-falcon-
handle-a-trailing-slash-in-the-request-path

This commit adds support for using the new release. It currently makes
no effort to be backwards compatible with older releases.

The change also updates the requirements for influxdb and sphinx
libraries to match global requirements.

Until monasca-log-api implementation is not updated to support the new
version of Falcon, `monascalog-python3-tempest` is marked to be
non-voting as agreed in the team meeting.

Story: 2005695
Task: 31015
Change-Id: I03bc8d502a333a7a71d9c12b8ddc7c5dc0a4f588
2019-05-29 16:10:53 +02:00
OpenDev Sysadmins 26133aefe4 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:29:15 +00:00
Ghanshyam Mann b33c46baac 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: If4c9008f126d30c4aed72aa752a07de17dc6a6b4
2019-04-14 23:40:30 +00:00
Dobroslaw Zybort a6e3121d13 Use proper naming for docker service image zuul job
https://docs.openstack.org/infra/manual/drivers.html#consistent-naming-for-jobs-with-zuul-v3

Change-Id: I389146040c9216d9123499574c1971bf56cc2cff
Depends-On: https://review.openstack.org/#/c/650011
2019-04-09 10:52:08 +02:00
Ian Wienand a936c123aa 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: I06373169d986628c7403d226b7f91a065dc320fb
2019-03-24 20:34:14 +00:00
Witek Bedyk 7ebd8a9090 Remove Java build job
Java implementation of monasca-api has been deprecated in Queens cycle
and is not maintained anymore. This change removes the CI job for
building Java artifact.

Change-Id: I5d31b46bc91c7ba270aeb28760996866081c7e07
2019-03-15 16:12:56 +01:00
Dobroslaw Zybort cf7ca7ae77 Push Docker images to Docker Hub
Change-Id: I91908231f00e3587985cea87ef11abc12e91d03f
Story: 2001694
Task: 29513
2019-02-15 15:50:10 +01:00
Dobroslaw Zybort e6b9af00ac Use global job for building docker image
Story: 2001694
Task: 24234

Change-Id: Ic84c66f239ae09e84eb76fb6a9385b7713876989
Depends-On: https://review.openstack.org/#/c/632087/
2019-02-11 15:54:51 +01:00
Witek Bedyk cde6b1c680 Add monascalog-python3-tempest
monasca-log-api DevStack plugin depends on monasca-api DevStack plugin,
so it should also be tested here.

Change-Id: I75dd8d491e1c26e5883992fadec49772ced19012
2019-01-31 18:46:38 +01:00
Thomas Bechtold c89669d61e zuul: Also kafka logs and some configs during CI run
This is useful when investigating failures in the CI which are kafka
related.

Change-Id: I9aca8a37ed9fc6011c8fc14fa77420aaaf905a51
2019-01-11 09:47:04 +01:00
Zuul 02b92c942a Merge "Add python3 tempest tests" 2018-12-18 12:39:46 +00:00
Zuul e67a21a53d Merge "Migrate DevStack plugin to Ubuntu Bionic" 2018-12-18 09:17:53 +00:00
Adrian Czarnecki 1732c17574 Add python3 tempest tests
Change-Id: Iaac097199e1accbc3b23fad5382b00281b4e7927
2018-12-05 12:39:20 +01:00
Witold Bedyk 35fc6cf70a Migrate DevStack plugin to Ubuntu Bionic
We want to migrate to the latest Ubuntu LTS release 18.04 aka Bionic.
See [0] for the big picture.

This change:
* installs Node.js from Ubuntu packages,
* removes apt-get `-y` option which is included in devstack's wrapper
function.

[0] https://etherpad.openstack.org/p/devstack-bionic

Story: 2004474
Task: 28174
Change-Id: I7ed847ee5f4f203f112dd051f0fb157a11907a75
Depends-On: https://review.openstack.org/618169
2018-12-03 13:59:42 +01:00
Adrian Czarnecki d4a8e2ed82 Disable unnecessary service in tempest test
Story: 2004419
Task: 28067
Change-Id: Iba4110f2002f3579eafe688fa1055cb07a5e5c1f
2018-11-23 10:48:57 +01:00
Adrian Czarnecki ed71d7681d Switch tempest test to zuul3 native
Change temepst-java-influxdb test to no voting.
Java-persister fully support only casanda db.

Story: 2004175
Task: 27657
Change-Id: Iedb3844fa455fd186d6c36f0bbb69a3aa313984a
2018-11-20 07:45:28 +00:00
Witold Bedyk 7f0a05a549 Disable building Java package
Maven build job fails due to bugs in openjdk-8 and surefire plugin.
Known workarounds seem not to work for monasca-api.

This change disables building Java package in OpenStack CI.

Java API was deprecated in Queens release.

Story: 2004256
Task: 27808
Change-Id: Ibd48eb58dfff667e9234783807dd070dff7e72b8
2018-11-06 16:04:15 +01:00
Andreas Jaeger 834c8fca87 Use templates for cover, docs, and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template.

Use publish-openstack-docs-pti template.

Remove jobs that are part of the templates.

Change-Id: I083626e0a3733f18cd09116fb01b1ea84c889883
2018-09-08 16:14:04 +02:00
Doug Hellmann 713901a28f add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I81c0e926f3d1d86e245dda950a016a788b2d9a3a
Story: #2002586
Task: #24312
2018-08-27 11:49:23 -04:00