*** markvoelker has joined #refstack | 02:29 | |
*** markvoelker has quit IRC | 02:59 | |
*** samueldmq has quit IRC | 03:16 | |
*** markvoelker has joined #refstack | 03:57 | |
*** markvoelker has quit IRC | 04:29 | |
*** markvoelker has joined #refstack | 05:27 | |
*** markvoelker has quit IRC | 06:00 | |
openstackgerrit | Martin Kopec proposed openstack/python-tempestconf master: DNM heat plugin tests https://review.openstack.org/645240 | 06:11 |
---|---|---|
*** kopecmartin|off is now known as kopecmartin | 06:14 | |
openstackgerrit | Martin Kopec proposed openstack/python-tempestconf master: DNM heat plugin tests https://review.openstack.org/645240 | 06:55 |
*** markvoelker has joined #refstack | 06:57 | |
*** tosky has joined #refstack | 07:26 | |
*** markvoelker has quit IRC | 07:30 | |
openstackgerrit | Martin Kopec proposed openstack/python-tempestconf master: DNM heat plugin tests https://review.openstack.org/645240 | 07:43 |
tosky | kopecmartin: no need for a separate playbook | 07:48 |
tosky | kopecmartin: uh, but we don't use lib/tempest - grrr | 07:48 |
tosky | or do we? | 07:49 |
tosky | but still, I'd suggest to use the same pattern | 07:52 |
kopecmartin | tosky, i'd like to use the same playbook we have, but i don't know how to tell tempest to install the plugin .. tempest uses tox to run tests, so figured out that i can install the plugin globally and then use all-site-packages env in tox | 08:00 |
kopecmartin | and for installing the plugin i need to add one pretask | 08:00 |
kopecmartin | that's the new playbook | 08:00 |
tosky | kopecmartin: but the current pattern is hardcoded for the heat plugin | 08:04 |
kopecmartin | tosky, for now .. but if this works as i expect, i'd rather use that https://review.openstack.org/#/c/639374/ | 08:05 |
kopecmartin | the plugin defined by TEMPEST_PLUGINS will be installed globally or in a venv ? | 08:06 |
kopecmartin | how exactly can i use it? | 08:06 |
tosky | kopecmartin: thinking more, you can't use that code: the code simply relies on write-devstack-local-conf, which then writes TEMPEST_PLUGINS, which is used by lib/tempest | 08:07 |
tosky | which I think we don't use | 08:07 |
kopecmartin | ah | 08:07 |
tosky | but I was suggesting that we allow people to define the list of plugins using tempest_plugins: and then magically read that list | 08:08 |
kopecmartin | ok, read the list and then? .. how to make tempest at this point https://github.com/openstack/tempest/blob/master/roles/run-tempest/tasks/main.yaml#L38 | 08:09 |
kopecmartin | to install the plugins? | 08:09 |
tosky | it can't be done by that role | 08:10 |
kopecmartin | but then it's getting complicated | 08:11 |
tosky | it could be done by a role instead of a new playbook | 08:12 |
tosky | a role that should be called before run-tempest | 08:12 |
tosky | and then install the plugins in the same venv used by tempest (do we use a separate venv for tempest? Maybe not) | 08:14 |
kopecmartin | we don't , everything is set by tempest's tox currently | 08:15 |
kopecmartin | and if i use a new role, the plugin will be installed in all our jobs, i was thinking about adding a new one, for running just plugins (a plugin now) | 08:15 |
tosky | no, the role should be parametrized | 08:16 |
kopecmartin | ok, in that case the role is fine | 08:16 |
kopecmartin | good, I'll try to create a new role | 08:17 |
tosky | but apart from that , we should really install tempest in its venv; especially when running against older openstack branches (which we don't test right now directly) there could be incompatibilities with dependencies | 08:17 |
kopecmartin | hm, one step at a time, I'll create a new role which installs tempest in its venv and run tests from there and I will keep in mind that we would like to reuse that logic later | 08:19 |
kopecmartin | i need to run now, thanks for brainstorming :) | 08:19 |
kopecmartin | bbl | 08:19 |
*** markvoelker has joined #refstack | 08:28 | |
*** markvoelker has quit IRC | 09:01 | |
*** markvoelker has joined #refstack | 09:58 | |
*** markvoelker has quit IRC | 10:31 | |
*** markvoelker has joined #refstack | 11:28 | |
*** samueldmq has joined #refstack | 11:40 | |
*** markvoelker has quit IRC | 12:02 | |
*** altlogbot_1 has quit IRC | 13:54 | |
openstackgerrit | Martin Kopec proposed openstack/python-tempestconf master: Add a job for tempest plugins https://review.openstack.org/645240 | 15:17 |
*** kopecmartin is now known as kopecmartin|off | 15:41 | |
*** tosky has quit IRC | 16:43 | |
*** tosky has joined #refstack | 19:33 | |
openstackgerrit | Martin Kopec proposed openstack/python-tempestconf master: Add a job for tempest plugins https://review.openstack.org/645240 | 22:23 |
*** mrhillsman_bbiab is now known as mrhillsman | 22:40 | |
openstackgerrit | Martin Kopec proposed openstack/python-tempestconf master: Add a job for tempest plugins https://review.openstack.org/645240 | 23:32 |
*** tosky has quit IRC | 23:43 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!