This is not required as all the roles of the user are
delegated by default to the trustee. Also removes the
tempest configuration related to that.
Change-Id: Id57ecea69a3568767f5b4bea101c14ad1335d286
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: Ia06fa93973b153a265ddd0cb2538f5bdabf764aa
The file option should not require log_url or LOG_PATH. Actually the
link variable can be an empty string.
Change-Id: I33439eb4748ef892fcf132d7cab766bc03dff038
Closes-Bug: #1742139
Improve the readability of the block try. It's more easy to maintain the
block when this contain only the line can be raise.
Change-Id: I5024aecec41955b7cd5e0fe48ea4c6a0a7d6e293
Reduce the with and try keep only the statement to read the file.
Refactoring, use getattr instead a condition. Remove the useless else,
the value of log_path is already none by the get.
Change-Id: I112409f248f0c4ae93b2469b12b740148d225542
This script checks a console log from a tempest run against a skip
list file in order to identify which tests are still in the skip list,
but it's already passing on featureset 021 (which run's full tempest
without skiping tests)
Usage:
check_skip.py --log-url http://log.o.o/tempest.log --skip-file
path/to/skip/list
Taiga task: https://tree.taiga.io/project/tripleo-ci-board/task/718?kanban-status=1447276
Change-Id: Ibd03cb2f7e4d2ca6301cad04e100be05fe7bfffb
- add topics to Storage-related notifications
- update the notification list for cinder: include
another relevant test and also all the tests
from the separate cinder tempest plugin.
Change-Id: Iddce576e2595b806310b34a135acbed25c6a05fa
Upgrades yamllint to latest version and adots use of its strict
checking.
Fix all known problems reported by yamllint so we don't have to do
that while touching these files.
Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
* Start running flake8 and ansible-lint via pre-commit
* Bumped hacking version to last release and fixed new errors
Change-Id: Iefe8794abba70660559fcb8cba12dc0b41737882
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
This is a better way to install and run stackviz, also removing some
tasks that's no longer necessary:
* Remove stackviz static files from the repo, since it's already in the
tarball
* Remove stackviz cloning, and using tarball
* Install stackviz directly from pip module
* Removing tempest-status.yml since we don't use to anything
* Move tempest-results.yml to run before stackviz, so we can take
advantage of the testrepository.subunit file to generate stackviz data
* Use testrepository.subunit to generate subunit2html report instead
of stestr/testr stream
Closes-Bug: 1779562
Change-Id: I918e5401b4f46e947bbaca99a48c2b21bce9a4bd
It is not safe to call yaml.load. yaml.load is as powerful
as pickle.load and so may call any Python function and introduce
a CVE.
Change-Id: I45bc62d890795656c6ed4d5fd1aff9c4cd094412
Before, all the tests were in tempest, and so the patch were always
tempest.x.y.tests, now that each project has their own tempest tests,
the regex needs to be updated, since we can have now
project_tempest_tests.x.y.tests.
Change-Id: If1df89e577b93267905f6ca9ca9bd4aab647c8a1
Closes-Bug: 1772522
* https://review.openstack.org/#/c/532773/ moves telemetry projects
tests under telemetry-tempest-plugin. so the test names path
also changed. This patch updates the same.
Change-Id: I00b20ded021ce31ac6d57582a54623e501108d34
Define a set of custom tags for each filter block to be added to
the email subject. A separate email will be sent to each email
address that matches the criteria.
Change-Id: I6be404c8b25eeefc1f9574c8a26a5b320d62d2c6
Closes-Bug: #1730409
This patch adds the missing fixtures files and fix the
test_get_console test.
Change-Id: Iaa457da7072bca7bcf9f45958126ade8b3904b91
Closes-Bug: 1739419
Closes-Bug: 1739420
As per request, do not send email when there's no logs available,
since it's useless.
Change-Id: I709c3a11928dc8469e02eade4c6af4842e6d6b12
Closes-Bug: #1736273
Tempestmail is being used in other CI that don't work like the
openstack upstream ci, and logs are stored somewhere else.
This patch allows the possibility to pass --log-url option
to tempestmail script override the default log path.
Change-Id: Iab9b448551d1a2ed59b47f91d5a9bcc204e0a703
Send all of them to a specific address for the internal group.
Distinguish them only using the From: field for now.
Change-Id: I5f73ebcf68093e644a2ed0bb5e56b4f313bd87dc
This will send email to abregman whenever one of the networking
tests failed in periodic featureset020 job.
Change-Id: Iddfaea7cc3af6096722638593c106d0dffd04795
This will send an email to rhos telemetry every time the scenario001 job
fail on ceilometer integration test.
It also set other users to only receive email when tests fails.
Change-Id: Ic2e49fd857648dd4368abd789370fce6b5f41222
Depends-On: Ib1fb285e8e93c8059c0f9241a748491b54d51047
We are chanting the tempest-sendmail api server to another place, since
openshift v2 will be deprecated, and we can't no longer use it.
Change-Id: I6aa266cf462ac4a5d36fb25fa5825f66467e731c
So far, everytime a job finishes run, we send an email.
Since we will start to send email to mailing lists, in order to not
polute the mailing list with several emails, we can set to send email
only when the job fail.
Change-Id: Ib1fb285e8e93c8059c0f9241a748491b54d51047
This patch updates the template used by tempestmail with more informations:
* Information about stackviz
* Fix stackviz link for upstream jobs
* Information in case the log url can't be found and how to fix it
* New filter for parse data in format dd-mm-yyyy hh:mm
* Adding the number of failures and known failures on the particular job
Change-Id: I69936795e2fbd631b556db0058d6827d35c6548d
This patch adds a script that will check all the bugs in the
yaml skip list file which has a bugzilla or launchpad attached
and verify if the bug still open or closed. If closed, it will
remove from the skip list.
This also can generate a report showing what is still open and
what was already closed, as well as generate the skiplist in
tempest/testr format.
Change-Id: Iadd508184c350d074600316ad15f5274df87f01b
This is the script that will send an email to a list of
user stored in the config file with information regarding the
results of a tempest run, together with the ansible task that
will execute it when tempest finishes run.
Change-Id: I57f5f0928e5efec106c793b71e335af1ac77fa91
Implements: blueprint send-mail-tool
This patch add to tempest role, the generation of the report created by
stackviz from tempest results. Basically, what it does is:
- Download stackviz from git repository
- Copy static html and javascript stackviz files so we don't need
to install npm, download the dependences, and build the static html
(which would save some minutes)
- Install stackviz (only the processor)
- Run stackviz-export on tempest to collect the results
Also, add the code needed in the collect logs role to collect these
static files generated by stackviz.
Change-Id: Ia5ee717eaa9777bad265ecc338154e131021283f