Commit Graph

140 Commits

Author SHA1 Message Date
Matthias Runge 7a994d0719 Update requirements and lower_constraints
Also add the lower-constraints test to a more prominent place
in tox.

Change-Id: Ida5a27ef2af8536b91df23eb9af9ed4bdedcce4b
2021-10-12 10:20:19 +02:00
Matthias Runge c6f04f772c Fix lower-constraints job
Change-Id: I5a7c087b29f3b0d7d9f63c2a774b8f2aff35b7a3
2020-12-14 16:02:30 +01:00
Ghanshyam Mann c11bf9136d [goal] Migrate tox based testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.

Story: #2007865
Task: #40223

Change-Id: I1f8577e560fd3ffad0c3b6edfc4c74dddedfa719
2020-09-10 22:54:46 +00:00
Sean McGinnis 56012eaa5c
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ia8fea320d8b09a89c999ace06769436a5335bcc6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-20 15:30:23 -05:00
zhurong 4274f13932 Add lower-constraints job
Change-Id: Ib2524bbdcba4a50b3119a59e0879636399c5c89f
2019-04-25 10:09:04 +08:00
Elod Illes 87611fe375 Use kafka extras for oslo.messaging
oslo.messaging replaced kafka-python to confluent-kafka [1], so instead of
adding the kafka-python to test-requirements the oslo-messaging[kafka]
should be used.

[1] https://github.com/openstack/oslo.messaging/blob/master/releasenotes/notes/kafka-client-library-change-fe16d5a34550db7f.yaml#L11

Closes-Bug: #1808350

Change-Id: If56890b35bbe40141c01467e47bccdf4d5584e86
2018-12-13 15:35:30 +01:00
Nguyen Van Trung 5aae14a9c8 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Ibdd264f0ef0c27762d47a70da192a858e62074a9
2018-09-06 13:07:06 +07:00
Witold Bedyk 9586972ddd Migrate to stestr for running tests
stestr is recommended by OpenStack Project Testing Interface for running tests
[1]. This change migrates to stestr for running unit tests and coverage
job. Modified `cover` env allows running it as Zuul job and visualising
its results in Gerrit.

[1] https://governance.openstack.org/tc/reference/pti/python.html#python-test-running

Change-Id: I9e8b79d7a18cd36946daff10abb1a2f43b1aa3a1
2018-07-30 10:37:34 +02:00
Chandan Kumar bb28c46d2c Remove bundled intree ceileometer tempest plugin
* All the telemetry related projects intree tempest plugins
  are now moved to telemetry-tempest-plugin

Change-Id: I57738964f65495364dcc74821634d54aea1769fd
2018-01-15 15:54:49 +01:00
gord chung a7253a8387 remove kafka and keystonemiddleware reqs
- no more api
- no more kafka publisher (use oslo.messaging)

Change-Id: I21794db25b624049df21d076ebe3be88fcd9d95a
2017-10-30 19:06:38 +00:00
Julien Danjou 9323f07f97 Remove deprecated storage drivers
Change-Id: I6b262dd440a72f25662b64d938ab9e5328709a97
2017-10-26 09:35:14 +02:00
Julien Danjou d881dd5228 Remove Ceilometer API
This removes the deprecated Ceilometer API.

Change-Id: I752b36b3dfe8f935b68c4d3d59ccb5b8b60c582f
2017-10-25 14:38:43 +02:00
Julien Danjou 5a6250c6a7 Move oslo.cache to gnocchi flavor
oslo.cache is only used in the Gnocchi dispatcher, and not at all in tests.
Therefore it seems wrong to list it in tests.
Rather than always depending on it, let's just put it in the gnocchi flavor.

Change-Id: I8990ba139bba0d573ecd4d8567a88d92acb29605
2017-10-18 09:31:36 +02:00
Nam Nguyen Hoai faa626223f Cleanup test-requirements
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr.

Change-Id: I8e07f5d657696d850d04c7a6b65ae11c4030f836
2017-10-07 16:39:47 +07:00
Hanxi Liu 62eaf9d4f5 Docs: switch to openstackdocstheme
Project documents are being reprocessed due to document migration[1].
Update the docs theme to openstackdocstheme instead of oslosphinx.

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

Change-Id: I505d837cc4e60356497cd37a8c9a12f846ffdf0d
2017-07-17 15:48:44 +08:00
Hanxi Liu 4ab6da294f Deprecate olsotest.mockpatch in favor of native fixtures
olso.mockpatch has been deprecated since I3efb3c64ebce396e756a47d110a74fe8604b6b72.
We now remove it in favor of native fixtures.

Change-Id: I28ebf3f672f736c15d8df035179fec80581e937f
2017-05-04 23:29:22 +08:00
Thomas Herve c1c56d6aae Adds a Zaqar publisher
This adds a new publisher supporting samples and events which can be
used in the pipelines.

Change-Id: I5f95228c38656522a14b20370e2cfd67cb911f80
2017-05-02 15:59:33 +02:00
Mehdi Abaakouk 66179f89a0 libvirt: rewrite the error handling
Error handling of libvirt driver work 'sometimes'.
Some error are catched only with we lookup for a instance
uuid, but not for other libvirt operation.

This change rewrites the logic to catch libvirt error on
each inpector method. This ensures we catch all errors whatever
which libvirt method raises it.

We also leverage tenacity instead of the custom retry code.

Change-Id: Idd54c18ece42c2dce3baf82626d30d5c2e5a49d6
2017-03-16 17:54:25 +01:00
Jenkins 09aa7ef3c9 Merge "gabbi: use history" 2017-02-10 04:04:00 +00:00
Ken'ichi Ohmichi d46c28b30c Switch to use test_utils.call_until_true
test.call_until_true has been deprecated since Newton on Tempest side,
and now Tempest provides test_utils.call_until_true as the stable
library method. So this patch switches to use the stable method before
removing old test.call_until_true on Tempest side.

Change-Id: If8985f511d434af0449992b2bc3540da9b3a0591
2017-02-09 12:12:27 -08:00
gord chung 6f5e5817aa gabbi: use history
gabbi supports grabbing historical queries. leverage that so we
don't need to make redundant requests to grab same data.

Change-Id: If89f864e995bcba41dc45e57f5dcc73f30cc4120
2017-02-09 19:08:23 +00:00
Julien Danjou 8d23f431ab Remove events storage and API
This now has been moved to Panko.

Change-Id: I179eb0d436752e3bb8abaed714664cf74f5615e6
2017-01-06 16:33:53 +01:00
obutenko d46376c31e Add pyOpenSSL to test-requirements
Add pyOpenSSL to test-requirements.txt
Closes-bug: #1641156

Change-Id: I3c6f2568d7b02b8ae2b8bdfc953b1f1e6f9b4ec2
2016-11-11 18:28:33 +02:00
fengchaoyang d93b492670 Add package "pifpaf" license description
Change-Id: If4a006574fddd307ce97bcc0b9bf4c01d3dc1c0e
2016-10-27 15:00:28 +08:00
Mehdi Abaakouk 3e013ff8f4 Use deps extra for optional requirements
Related-Bug: #1621384
Change-Id: I227c121b69ac1f51ed922e0b11bec005928aacab
2016-09-14 10:04:46 +02:00
Julien Danjou 2b6fb87180 Limit Happybase to < 1.0.0
The API changed and the Ceilometer driver does not work anymore with it.

Change-Id: I246658ce0db0168df54e21c1671d1cadfd8d6b03
Related-Bug: #1613419
2016-08-16 10:54:09 +02:00
Jenkins 30af17ae3c Merge "Do not limit elasticsearch to 2.0" 2016-08-09 19:50:50 +00:00
Jenkins ff6b4d7782 Merge "This adds migrated API reference files" 2016-08-03 13:50:22 +00:00
Julien Danjou 408f574cac Do not limit elasticsearch to 2.0
Change-Id: If08b7732176034fb313820845f3b3a1c93f03036
2016-07-28 16:13:05 +02:00
khushbuparakh 8837801ba6 This adds migrated API reference files
This brings in RST plus YAML files, migrated from the source for [0].

The migration explanation is found on the openstack-dev mailing list [1].

Project instruction is in the OpenStack Documentation Contributor Guide [2].

[0]https://github.com/openstack/api-site/tree/master/api-ref/source/telemetry/v2
[1]http://lists.openstack.org/pipermail/openstack-dev/2016-May/093765.html
[2]http://docs.openstack.org/contributor-guide/api-guides.html

Change-Id: I21d559f3abea502a0ed237d693ab24a5110d42c5
2016-07-22 03:20:51 +00:00
Jenkins 097be4c967 Merge "Add install-guide for ceilometer" 2016-06-27 13:44:16 +00:00
Ildiko Vancsa b33f32b714 Add install-guide for ceilometer
This adds ceilometer-specific contents of the OpenStack Installation Guide
in the ceilometer repo per [1]. A separate change will remove the
ceilometer contents from the OpenStack Installation Guide for Newton per [2].

The ceilometer install-guide structure is based on Install Guide
Cookiecutter [3].

Also adds tox.ini environment for install-guide and adds
openstackdocs-theme to test-requirements.txt.

[1] http://specs.openstack.org/openstack/docs-specs/specs/newton/project-specific-installguides.html
[2] http://specs.openstack.org/openstack/docs-specs/specs/newton/installguide.html
[3] https://review.openstack.org/#/c/314229/

Partially-Implements: blueprint projectspecificinstallguide
Change-Id: Iffc5d7243e9eeb74c9dd7b559ef3de7123269293
2016-06-24 15:34:51 +02:00
Jenkins 11f77dfef2 Merge "add tempest to test-requirements.txt" 2016-06-23 16:07:32 +00:00
Julien Danjou 15a424c2e9 tests: replace overtest by pifpaf
Change-Id: Ib26c9c674d438bcbabea9c09cfdab97516e0e227
2016-05-09 16:01:58 +02:00
Jenkins 14ecb3b2a7 Merge "Remove unused pylintrc" 2016-05-06 08:17:28 +00:00
Julien Danjou 72cc3185b0 tox: only install hacking in pep8 target
Change-Id: Ie8605df90652d04483e8184cd3bc1dabd24ceb63
2016-05-03 00:17:24 +02:00
Julien Danjou 25cd1d2385 Remove unused pylintrc
We never used that in the gate and it's unmaintained. Clean that.

Change-Id: I421c5b3084d7ff4d2bd6ab43a7a8a477d4a2c560
2016-05-03 00:05:46 +02:00
ZhiQiang Fan be8c615bb0 add tempest to test-requirements.txt
Change-Id: I5c3527c2ea28efd5ed21d9626115b43fadc1baa3
Closes-Bug: #1573654
2016-04-23 10:03:02 +08:00
ZhiQiang Fan 394f4e2e4b Remove direct dependency on babel
The dependency on oslo.i18n already forces this requirement.

Change-Id: I45037ce829340e9128cadd23c65ad3f069312c89
ref: http://lists.openstack.org/pipermail/openstack-dev/2016-April/092510.html
2016-04-22 05:01:51 +08:00
OpenStack Proposal Bot 0b65c21337 Updated from global requirements
Change-Id: If1ea74d33bf9987c82ce7b263af1e4bef767fd9d
2016-04-19 12:22:24 +00:00
Jenkins 9bbb9f4589 Merge "Replace tempest-lib by os-testr" 2016-04-19 07:07:42 +00:00
OpenStack Proposal Bot 1ec0b61407 Updated from global requirements
Change-Id: If9cb3c0960fb996f3bcb524fabe17702bae32a59
2016-04-13 12:41:38 +00:00
Julien Danjou 6df47f7a98 Replace tempest-lib by os-testr
It seems it's only used for subunit-trace

Change-Id: Ibd196c9c6c19169c877d1a4dcf1c75f190fbb32e
2016-04-12 19:30:33 +02:00
OpenStack Proposal Bot 123fa26585 Updated from global requirements
Change-Id: Id18aaa8f0363723719bf7f2b3fb6b1ba651ea5c2
2016-04-08 15:43:59 +00:00
Mehdi Abaakouk 4a451fac0e gnocchi: batch measurements
This change leverages the Gnocchi Batch API by using it
in the Ceilometer dispatcher for measurements.

It introduces a small behavior change in the dispatcher.
The resource metadata update is now decorrelated from measures posting.
So, even if posting measurements fail, the resource metadata will
be updated.

Change-Id: I140e7301a31bbee50c2c8bc3ff2d78925680a573
2016-04-07 14:52:15 +02:00
Julien Danjou edff3fca0a tests: remove ceilometer-api bin test cases
This removes these tests because they:

1. Depends on httplib2 which is being deprecated
2. Test running of `ceilometer-api' which is anyhow tested in the
   devstack functional testing.

Closes-Bug: #1556985
Change-Id: Ic5fd445c651e28a37ee3ec72fbb0894486af6be6
2016-03-14 17:00:28 +01:00
OpenStack Proposal Bot 2a2223968e Updated from global requirements
Change-Id: I510ac0556b2b53846b24c6b39174efbec63cdfc1
2016-03-09 16:45:41 +00:00
Jenkins c8dd0947f1 Merge "Use overtest to setup functional backends" 2016-03-07 15:02:44 +00:00
OpenStack Proposal Bot 7a144db2cc Updated from global requirements
Change-Id: I7ccc6eec3a7845a9078c0caa6926cc87f989b58f
2016-03-05 15:30:54 +00:00
Claudiu Belu 235556a5b2 Hyper-V: replaces in-tree hyper-v utils usage with os_win
os-win is a library containing Windows / Hyper-V related code.
It contains utils modules that are used by nova, cinder,
networking_hyperv, os-brick. It also contains Hyper-V metrics
related utils, which can be used in ceilometer.

Adds os-win to requirements.txt.
Replaces the current usage of *Utils classes in the
Hyper-V Inspector with the equivalent *Utils classes
from os-win.

Adds decorators to the HyperVInspector methods that prevent
os-win specific exceptions to leak outside the inspector.

Depends-On: Ia937399c999d7293799a864a322323e3d2efc123
Depends-On: I1256b632be7aa90561338b595b9406c30f406c7c

Change-Id: Ic637e2a9c929cac88b1cb99f5b55dd70c4f84c47
2016-02-23 02:04:13 +02:00