azvyagintsev | f19ddc8 | 2018-02-20 18:39:32 +0200 | [diff] [blame] | 1 | |
| 2 | ========================================== |
| 3 | Tempest with plugins environment container |
| 4 | ========================================== |
| 5 | |
| 6 | |
| 7 | Tempest with plugins environment container. |
| 8 | Those container supposed to have any needed set of tempest tests |
| 9 | for running on any custom cloud. |
| 10 | |
| 11 | Container statements: |
| 12 | ===================== |
| 13 | |
| 14 | * Downstream tempest with set of downstream plugins |
| 15 | * Align to upstream openstack upper-constraints.txt |
| 16 | * No-auto-magic things, by default. |
| 17 | * All configs should be **connected** as volumes to container. |
| 18 | * All preconfigured things, like: |
| 19 | -create networks |
| 20 | -create tempest conf |
| 21 | -add\patch plugin |
| 22 | should be done in separate steps. |
| 23 | * Open entrypoint - any customization allowed and could be passed: |
| 24 | - via cmdline for docker run |
| 25 | - via SWITCH env variables + new func in entrypoint |
| 26 | * If needed, any custom scripts could be added, but should be disable by default. |
| 27 | |
| 28 | |
| 29 | |
| 30 | Example run: |
| 31 | ============ |
| 32 | |
| 33 | Example for custom tempest run: |
| 34 | |
| 35 | .. caution:: |
| 36 | |
Oleksii Butenko | f6a686d | 2018-05-10 16:00:36 +0000 | [diff] [blame] | 37 | **tempest_generated.conf** should be previously generated, along with all needed resources in cloud. |
azvyagintsev | f19ddc8 | 2018-02-20 18:39:32 +0200 | [diff] [blame] | 38 | |
| 39 | ``log_dir`` variable in conf, should be pointed to ``/temepest_reports`` - otherwise, you need to |
| 40 | change cmdline accordingly. |
| 41 | |
| 42 | |
| 43 | |
| 44 | .. code-block:: bash |
| 45 | |
| 46 | mkdir -p /root/test_example/; cd /root/test_example/ ; |
| 47 | mkdir -p temepest_reports/ # create local folder, to save results |
| 48 | rm -rf temepest_reports/test1 # remove old results, ff was |
| 49 | docker run -v $(pwd)/tempest_generated.conf:/etc/tempest/tempest.conf -v $(pwd)/temepest_reports:/temepest_reports --rm -it 858b99100d04 /bin/bash -c "cd /temepest_reports; tempest init test1 ; cd test1; tempest run --debug -r heat_tempest_plugin.tests.api.test_heat_api.stacks_patch_update_stack.test_request |
| 50 | |
| 51 | |
| 52 | |
Oleksii Butenko | 3f955d3 | 2018-05-25 13:24:40 +0300 | [diff] [blame] | 53 | Skip lists: |
| 54 | =========== |
| 55 | |
| 56 | ceph_rgw.list |
| 57 | https://mirantis.jira.com/browse/PROD-18961 |
| 58 | |
azvyagintsev | f19ddc8 | 2018-02-20 18:39:32 +0200 | [diff] [blame] | 59 | |