blob: 3bea6a6b435314de97e465c1ea56ca911e373cc6 [file] [log] [blame]
azvyagintsevf19ddc82018-02-20 18:39:32 +02001
2==========================================
3Tempest with plugins environment container
4==========================================
5
6
7Tempest with plugins environment container.
8Those container supposed to have any needed set of tempest tests
9for running on any custom cloud.
10
11Container 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
30Example run:
31============
32
33Example for custom tempest run:
34
35.. caution::
36
Oleksii Butenkof6a686d2018-05-10 16:00:36 +000037 **tempest_generated.conf** should be previously generated, along with all needed resources in cloud.
azvyagintsevf19ddc82018-02-20 18:39:32 +020038
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 Butenko3f955d32018-05-25 13:24:40 +030053Skip lists:
54===========
55
56ceph_rgw.list
57https://mirantis.jira.com/browse/PROD-18961
58
azvyagintsevf19ddc82018-02-20 18:39:32 +020059