Commit Graph

51 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
Ghanshyam Mann 38a0bc4cda Moving IRC network reference to OFTC
Change-Id: I0a35182f72eaef02bad22e6fb702af3651092c28
2021-07-08 14:44:17 +00:00
Ronelle Landy b3bb7c5120 Remove old address from validate-tempest config
This contact info is no longer needed.

Change-Id: I23831ed5d3666e4d0a8669f8ee7a714cf83362ec
2021-06-08 11:49:29 -04:00
Zuul a3e82dd2cb Merge "Don't create redundant heat_stack_owner role" 2021-02-08 11:28:26 +00:00
Zuul cbdad01278 Merge "Use unittest.mock instead of mock" 2020-12-28 11:08:16 +00:00
ramishra 4cbe54933d Don't create redundant heat_stack_owner role
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
2020-12-22 11:08:55 +05:30
Sorin Sbarnea 28b62e71f9 Bump linters
Change-Id: I33d1ed7941b5c56475bf8fcf678acdf6f11a7b6f
2020-11-09 14:41:17 +00:00
Hervé Beraud 508446450d Use unittest.mock instead of mock
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
2020-06-09 12:18:07 +02:00
Zuul d23136331b Merge "Fix a typo for error message" 2020-01-21 06:31:18 +00:00
Zuul 5fe81f9816 Merge "The file option should not require environment variable." 2020-01-13 17:15:15 +00:00
Sorin Sbarnea fce23f7646 lint: enabled whitespace fixes
Adds two checks that were used in order repos (liketq)but not on this
one.

Change-Id: I4ccaf3dc78777b4b661fa17382f2feef8eb0d03e
2020-01-05 14:07:37 +00:00
Daniel Bengtsson c0fbe50583 The file option should not require environment variable.
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
2020-01-02 11:07:06 +01:00
ShangXiao bf9143af0c Fix a typo for error message
Change-Id: I0fd4526d667622064438095bd8991964b386ae43
2019-12-25 17:28:22 +08:00
Natal Ngétal 235b73aea9 [Core] Improve the try part.
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
2019-07-10 10:58:48 +02:00
Zuul bde91cc779 Merge "[Core] Improve the readability of the get_console method." 2019-04-23 22:50:15 +00:00
Wes Hayutin bf138f2ec1 update tqe openstack -> opendev
Change-Id: I14443c5d5e8cddde01373ce6408ced47a7dc1403
2019-04-22 13:17:19 -06:00
Natal Ngétal e18fb9170d [Core] Improve the readability of the get_console method.
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
2019-04-22 14:57:15 +02:00
Arx Cruz c0ec7f6d92 Script to identify tests passing on FS021 but still on skip list
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
2019-03-07 01:18:49 +00:00
Zuul 6805c3f9f4 Merge "Prefer to use yaml safe_load instead load" 2019-01-11 06:37:06 +00:00
Luigi Toscano 08b8a191d9 tempestmail: few updates to Storage-related notifications
- 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
2018-12-10 11:04:04 +00:00
Sorin Sbarnea 72141b7fab Adopt yamllint strict linting
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
2018-11-26 12:37:21 +00:00
Sorin Sbarnea cf56a554db Migrate flake8 to pre-commit
* 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
2018-11-20 15:38:35 +00:00
Arx Cruz 9db2de54ff Fix stackviz and subunit2html report generation
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
2018-10-12 17:02:00 +00:00
Hervé Beraud 97fc73a256 Prefer to use yaml safe_load instead load
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
2018-10-10 18:29:04 +02:00
Wes Hayutin e644ad63cc remove names from tempest mail
This patch removes myoung and whayutin
from tempest email notifications

Change-Id: I70e43833905cf9dfcf107a7b4152cdd68586f690
2018-10-04 12:24:19 -06:00
Arx Cruz 8968a530f5 Fix tempestmail regex
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
2018-07-11 08:39:32 -03:00
Arx Cruz c1c82f063f Fix generation of docs
Docs for tempest are not being generated properly

Depends-On: https://review.openstack.org/#/c/566527/

Change-Id: I0cc8d0487b144026a6dadd4345bcc97800fbdcfc
2018-06-04 15:50:01 +00:00
Rafael Folco 677a3803fe [tempestmail] Add instruction to run unit tests
Updated README.md with unit test discover command.

Change-Id: Ie78e2c9c04c5b8aa98187956343e1cc78077bcb6
2018-03-28 11:14:24 +00:00
Chandan Kumar 2591c56f07 Updated telemetry tempest regex in sendmail config
*  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
2018-01-19 10:31:56 +05:30
Rafael Folco 18a3287dac [tempestmail] Custom email for different matchers
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
2018-01-07 19:47:54 +00:00
Arx Cruz f31bedca94 Fix unittest in tempest sendmail tool
This patch adds the missing fixtures files and fix the
test_get_console test.

Change-Id: Iaa457da7072bca7bcf9f45958126ade8b3904b91
Closes-Bug: 1739419
Closes-Bug: 1739420
2018-01-07 19:47:46 +00:00
Arx Cruz 905d904447 Do not send email when logs are not available
As per request, do not send email when there's no logs available,
since it's useless.

Change-Id: I709c3a11928dc8469e02eade4c6af4842e6d6b12
Closes-Bug: #1736273
2017-12-06 14:43:14 +01:00
Arx Cruz 00f5c97bd9 Adding the possibility to pass the log url to tempestmail
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
2017-11-21 11:06:06 +01:00
Luigi Toscano 562348bfa7 Tempest notifications for Storage components
Send all of them to a specific address for the internal group.
Distinguish them only using the From: field for now.

Change-Id: I5f73ebcf68093e644a2ed0bb5e56b4f313bd87dc
2017-10-20 14:55:29 +02:00
Arie Bregman f7d387b724 Add abregman to tempest notifications
This will send email to abregman whenever one of the networking
tests failed in periodic featureset020 job.

Change-Id: Iddfaea7cc3af6096722638593c106d0dffd04795
2017-10-18 19:47:24 +00:00
Jenkins 4696005eeb Merge "Adding rhos telemetry to the list of mail users" 2017-09-21 17:21:40 +00:00
Jenkins 4b7b467beb Merge "Add the possibility to send email only when job fail" 2017-09-20 14:14:40 +00:00
Arx Cruz 0a9ce505a5 Adding rhos telemetry to the list of mail users
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
2017-09-18 04:10:43 +00:00
Jenkins 10c1683242 Merge "Updating tempestmail README.md" 2017-09-16 16:02:42 +00:00
Arx Cruz a83e9bc9dd Updating tempestmail README.md
Adding more examples of use in the config.yaml

Change-Id: I06b3e399ac699956febc83d74c5aca0abee7e4bf
2017-09-15 16:56:49 +02:00
Arx Cruz 460b4afc97 Change api server for sendmail
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
2017-09-12 19:01:11 +02:00
Arx Cruz 86279de3da Add the possibility to send email only when job fail
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
2017-09-11 22:43:41 +02:00
Arx Cruz 3992ef3569 Updating tempestmail template mail
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
2017-07-27 11:43:23 +02:00
Arx Cruz 9ced8ecd72 Adding real time bug verification
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
2017-07-24 07:46:41 +00:00
Jenkins b4a4c5f9cf Merge "Adding link to stackviz results" 2017-07-04 23:32:18 +00:00
Arx Cruz a0c9b35cf9 Adding unit tests for tempest sendmail tool
This adds the unit tests related to tempest sendmail tool

Change-Id: Iea95fa796cfb523b4f774781257cfdbbe6150118
2017-06-26 14:24:24 +02:00
Matt Young 7330880d36 Add myoung to email list for tempest
Change-Id: I015e269a96ffbd54702cea4d90f0927c97e6d6c7
2017-06-12 16:06:20 -04:00
Arx Cruz 720a7adab4 Adding link to stackviz results
Parsing stackviz link to mail sent by send mail tool

Change-Id: I32132fe4f7db61c58c88c5afb0b0a5f0a7fb8137
2017-06-09 16:17:18 +02:00
Arx Cruz a0ded5ef54 Send mail tool
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
2017-06-06 14:41:28 +00:00
Arx Cruz 7e246e4cec Create tasks to install, run stackviz and collect logs
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
2017-01-04 15:59:37 +01:00