| Andrea Frittoli (andreaf) | 7d5445d | 2017-10-03 18:43:05 +0100 | [diff] [blame] | 1 | Run Tempest | 
|  | 2 |  | 
|  | 3 | **Role Variables** | 
|  | 4 |  | 
|  | 5 | .. zuul:rolevar:: devstack_base_dir | 
|  | 6 | :default: /opt/stack | 
|  | 7 |  | 
|  | 8 | The devstack base directory. | 
|  | 9 |  | 
|  | 10 | .. zuul:rolevar:: tempest_concurrency | 
|  | 11 | :default: 0 | 
|  | 12 |  | 
|  | 13 | The number of parallel test processes. | 
|  | 14 |  | 
| Luigi Toscano | e8a1f53 | 2017-11-16 15:22:07 +0100 | [diff] [blame] | 15 | .. zuul:rolevar:: tempest_test_regex | 
|  | 16 | :default: '' | 
|  | 17 |  | 
|  | 18 | A regular expression used to select the tests. | 
| Michel Peterson | 515edd4 | 2017-12-21 17:22:49 +0200 | [diff] [blame] | 19 |  | 
| Luigi Toscano | e8a1f53 | 2017-11-16 15:22:07 +0100 | [diff] [blame] | 20 | It works only when used with some specific tox environments | 
|  | 21 | ('all', 'all-plugin'.) | 
|  | 22 |  | 
| Michel Peterson | 515edd4 | 2017-12-21 17:22:49 +0200 | [diff] [blame] | 23 | Multi-line and commented regexs can be achieved by doing this: | 
|  | 24 |  | 
|  | 25 | :: | 
|  | 26 | vars: | 
|  | 27 | tempest_test_regex: | | 
|  | 28 | (?x)    # Ignore comments and whitespaces | 
|  | 29 | # Line with only a comment. | 
|  | 30 | (tempest\.(api|scenario|thirdparty)).*$    # Run only api scenario and third party | 
|  | 31 |  | 
| Michel Peterson | ef1a16d | 2018-02-23 20:20:22 +0200 | [diff] [blame] | 32 | .. zuul:rolevar:: tempest_test_blacklist | 
|  | 33 |  | 
|  | 34 | Specifies a blacklist file to skip tests that are not needed. | 
|  | 35 |  | 
|  | 36 | Pass a full path to the file. | 
|  | 37 |  | 
| Andreas Jaeger | ba2f479 | 2018-01-12 16:48:52 +0100 | [diff] [blame] | 38 | .. zuul:rolevar:: tox_envlist | 
| Andrea Frittoli (andreaf) | 7d5445d | 2017-10-03 18:43:05 +0100 | [diff] [blame] | 39 | :default: smoke | 
|  | 40 |  | 
|  | 41 | The Tempest tox environment to run. | 
| Chandan Kumar | a944504 | 2018-02-26 10:22:29 +0000 | [diff] [blame] | 42 |  | 
|  | 43 | .. zuul:rolevar:: tempest_black_regex | 
|  | 44 | :default: '' | 
|  | 45 |  | 
|  | 46 | A regular expression used to skip the tests. | 
|  | 47 |  | 
|  | 48 | It works only when used with some specific tox environments | 
|  | 49 | ('all', 'all-plugin'.) | 
|  | 50 |  | 
|  | 51 | Multi-line and commented regexs can be achieved by doing this: | 
|  | 52 |  | 
|  | 53 | :: | 
|  | 54 | vars: | 
|  | 55 | tempest_black_regex: | | 
|  | 56 | (?x)    # Ignore comments and whitespaces | 
|  | 57 | # Line with only a comment. | 
|  | 58 | (tempest.api.identity).*$ | 
| Sergey Vilgelm | 2979bff | 2018-11-06 10:34:03 -0600 | [diff] [blame] | 59 |  | 
|  | 60 | .. zuul:rolevar:: tox_extra_args | 
|  | 61 | :default: '' | 
|  | 62 |  | 
|  | 63 | String of extra command line options to pass to tox. | 
|  | 64 |  | 
|  | 65 | Here is an example of running tox with --sitepackages option: | 
|  | 66 |  | 
|  | 67 | :: | 
|  | 68 | vars: | 
|  | 69 | tox_extra_args: --sitepackages | 
| Dmitry Tantsur | 5952f85 | 2019-08-29 14:06:12 +0200 | [diff] [blame] | 70 |  | 
|  | 71 | .. zuul:rolevar:: tempest_test_timeout | 
|  | 72 | :default: '' | 
|  | 73 |  | 
|  | 74 | The timeout (in seconds) for each test. |