Thursday, 2019-04-04

*** markvoelker has joined #refstack02:29
*** markvoelker has quit IRC02:59
*** samueldmq has quit IRC03:16
*** markvoelker has joined #refstack03:57
*** markvoelker has quit IRC04:29
*** markvoelker has joined #refstack05:27
*** markvoelker has quit IRC06:00
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: DNM heat plugin tests  https://review.openstack.org/64524006:11
*** kopecmartin|off is now known as kopecmartin06:14
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: DNM heat plugin tests  https://review.openstack.org/64524006:55
*** markvoelker has joined #refstack06:57
*** tosky has joined #refstack07:26
*** markvoelker has quit IRC07:30
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: DNM heat plugin tests  https://review.openstack.org/64524007:43
toskykopecmartin: no need for a separate playbook07:48
toskykopecmartin: uh, but we don't use lib/tempest - grrr07:48
toskyor do we?07:49
toskybut still, I'd suggest to use the same pattern07:52
kopecmartintosky, 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 tox08:00
kopecmartinand for installing the plugin i need to add one pretask08:00
kopecmartinthat's the new playbook08:00
toskykopecmartin: but the current pattern is hardcoded for the heat plugin08:04
kopecmartintosky, for now .. but if this works as i expect, i'd rather use that https://review.openstack.org/#/c/639374/08:05
kopecmartinthe plugin defined by TEMPEST_PLUGINS will be installed globally or in a venv ?08:06
kopecmartinhow exactly can i use it?08:06
toskykopecmartin: 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/tempest08:07
toskywhich I think we don't use08:07
kopecmartinah08:07
toskybut I was suggesting that we allow people to define the list of plugins using tempest_plugins: and then magically read that list08:08
kopecmartinok, 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#L3808:09
kopecmartinto install the plugins?08:09
toskyit can't be done by that role08:10
kopecmartinbut then it's getting complicated08:11
toskyit could be done by a role instead of a new playbook08:12
toskya role that should be called before run-tempest08:12
toskyand then install the plugins in the same venv used by tempest (do we use a separate venv for tempest? Maybe not)08:14
kopecmartinwe don't , everything is set by tempest's tox currently08:15
kopecmartinand 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
toskyno, the role should be parametrized08:16
kopecmartinok, in that case the role is fine08:16
kopecmartingood, I'll try to create a new role08:17
toskybut 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 dependencies08:17
kopecmartinhm, 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 later08:19
kopecmartini need to run now, thanks for brainstorming :)08:19
kopecmartinbbl08:19
*** markvoelker has joined #refstack08:28
*** markvoelker has quit IRC09:01
*** markvoelker has joined #refstack09:58
*** markvoelker has quit IRC10:31
*** markvoelker has joined #refstack11:28
*** samueldmq has joined #refstack11:40
*** markvoelker has quit IRC12:02
*** altlogbot_1 has quit IRC13:54
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: Add a job for tempest plugins  https://review.openstack.org/64524015:17
*** kopecmartin is now known as kopecmartin|off15:41
*** tosky has quit IRC16:43
*** tosky has joined #refstack19:33
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: Add a job for tempest plugins  https://review.openstack.org/64524022:23
*** mrhillsman_bbiab is now known as mrhillsman22:40
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: Add a job for tempest plugins  https://review.openstack.org/64524023:32
*** tosky has quit IRC23:43

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!