Confluent Kafka client throws the KafkaError._PARTITION_EOF exception
when no new messages are available in a given partitiion. We should
catch this case and continue consuming after a short sleep.
Story: 2003705
Task: 30116
Change-Id: I44add24df764bbc4e718358a8af75903e035f3f0
Duplicate targets in the README cause validation failures that would
cause pypi uploads to fail. This removes a defined target that
conflicted with one of the title implicit targets and was not referred
to.
Change-Id: Ife742651b68cd94d67d5af6f9d13d236c032e46e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This change provides a wrapper around a high-level Kafka consumer which
can be used in all Monasca components, in particular in
monasca-persister and monasca-notification.
Story: 2003705
Task: 29711
Change-Id: Iee317c3016f9868616022389209e36994cf185cf
In the general validate_metric case, when possible add the metric
name to the exception message. This makes it much easier to
track down what metric failed.
Also, fixing code where an exception could be thrown but then
immediately ignored and another exception fo the same type
with a different message would be thrown.
Change-Id: I8b8f04bb98a65b6904894dc00af88ea367a350f8
Story: 2004185
Task: 27675
We want to have one flow for building Docker images of all Monasca
components. Every component should have `docker` folder and in this
folder file with name `build_image.sh` should be placed. By having one
global Zuul we could force this convention. Also this is good for
avoiding code duplication. Remove timeouts. They was unnecessary big.
Story: 2001694
Task: 28994
Change-Id: Iee7de1d8e873817a3b6f72e7ecc815bd8d6eb705
Small cleanups:
* Use openstack-lower-constraints-jobs template, remove individual
jobs.
* Sort list of templates
Change-Id: I08349e13587b16f91f0433c6f559bd7089517784
Needed-By: https://review.openstack.org/623229
This change allows to pass `test-release-openstack` Zuul job and
effectively create a delivery.
Change-Id: I7c8ce92901ba851b59aa763ae5634cb8c3f5840e
Story: 2004559
Task: 28319
pyca/cryptography was updated to version supporting LibreSSL 2.7
in upper constrains.
Also bump Python to next minor release (3.5.6).
Change-Id: Ic3d7c2b75e2439813c2b9e02b11514ccee112624
Remove docker `files` check.
This check works only in `check` and `gate` steps, but is not
functioning properly in `post` step and always fail resulting
in not pushed images of monasca/base.
Change-Id: Id960e831948ee87e078688e43b864b22a6ee11ae
Using "python setup.py check -r -s" method of checking the package has
been deprecated with the new recommendation to build the sdist and
wheel, then running "twine check" against the output.
Luckily, there is already a job that covers this that only runs when the
README, setup.py, or setup.cfg files change, making running this in the
pep8 job redundant. This covered by the test-release-openstack-python3
that is defined in the publish-to-pypi-python3 template.
More details can be found in this mailing list post:
http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html
Change-Id: I7a3555dd0f0c4bcd1969ca7d3669369d7517a6be
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Depends-On: https://review.openstack.org/615557
* do not use system classloader
* upgrade maven-surefire-plugin to ver. 2.22.1
Change-Id: I8bc83a59164c4a79bae036600cacb450cdc8feb9
Story: 2004256
Task: 27792
monasca-common is used also by monasca-log-api. Therefore each change in
the library should be also tested with integration tests for logs
pipeline.
Change-Id: I50737e658507f7ec320d7a30c9996a2c6b020baa
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I068ac92a340a5a31af53f77b69a702c5c138b4c8