Wednesday, 2026-07-01

opendevreviewAlfredo Moralejo proposed openstack/watcher-specs master: Add spec for Action Plan Transformers Framework  https://review.opendev.org/c/openstack/watcher-specs/+/99460710:44
opendevreviewWinicius Allan Bezerra da Silva proposed openstack/watcher-specs master: Add spec for Preemptible Instances feature  https://review.opendev.org/c/openstack/watcher-specs/+/98717112:18
opendevreviewDouglas Viroel proposed openstack/watcher master: Add default_parameters support to Audit Templates  https://review.opendev.org/c/openstack/watcher/+/99345313:26
opendevreviewDouglas Viroel proposed openstack/watcher master: Add metric cache to DataSourceBase  https://review.opendev.org/c/openstack/watcher/+/99511913:26
dviroelsean-k-mooney: amoralej: chandankumar - so, about "Add Playwright-based E2E testing framework  https://review.opendev.org/c/openstack/watcher-dashboard/+/970353"13:27
dviroelthe main point in the discussion is about not installing browser using npx13:28
dviroelchandankumar: have you tried the approach pointed by sean?13:28
dviroelif not, can you test on your side and provide a feedback, before pushing a new ps?13:29
sean-k-mooneytox shoudl not install things as a sideffect in general13:30
sean-k-mooneythe only exception to tha tbeing the venv depencies13:30
sean-k-mooneyand ocne the venv is created we shoudl not need to redownload them i.e. you shoudl be ableo to ideally run offlien13:31
sean-k-mooneythere are flag for tox to disabel that13:31
sean-k-mooneyi.e. skip the depency installtion and jsut move to runing the test commands13:32
sean-k-mooneyso ya we need node because playwrite is a node applcaiton13:32
sean-k-mooneybut the depencies shoudl for it like a browser should really be installed seperatly once outside of tox13:33
sean-k-mooneyif its done via tox it shoudl be optional and off by default13:33
chandankumarI am trying with python -m pip install playwright and then python -m playwrihjt install-deps webkit13:33
sean-k-mooneyi dont know if that actully works by the way i think it will but it may not.13:34
chandankumarSince I was using npm, it will installing different version of webkit , they why I moved the webkit installtion in tox.ini13:34
chandankumarupdating the cr13:34
sean-k-mooneywell its not that your using npm13:34
sean-k-mooneyits that your not translating the upper-constrait13:34
sean-k-mooneywhen using npm13:35
sean-k-mooneyso the version of playwritng your using with npx and the version of playwright used by tox are diffenrent13:35
sean-k-mooneyyou coudl also do `tox -e venv -- python -m playwright install ...` in theory13:36
sean-k-mooneyin the ci job 13:36
sean-k-mooneythat will avoid you having to manulaly install the correct version of playwright13:37
amoralejthat should work, 1st run with --notest to create the venv, then execute playwright install manually in the venv and finally run tox -eintegration-playwright13:46
chandankumarworkong on updting the pre-playbook13:46
opendevreviewchandan kumar proposed openstack/watcher-dashboard master: Add Playwright-based E2E testing framework  https://review.opendev.org/c/openstack/watcher-dashboard/+/97035313:48
amoraleji test the solution proposed by sean-k-mooney and we could create two tox envs integration-playwright and integration-playwright_with_deps or whatever and do the installation only in one of them if preferred13:48
sean-k-mooneyintegration and integration-playwright13:49
sean-k-mooneydid you see my comment about the missing ,13:49
amoralejnop13:49
sean-k-mooneyintegration should just run the tests13:49
amoralejlemme try it13:49
sean-k-mooneyya so in the {}13:49
sean-k-mooneyit shoudl have been {,-playwright}13:49
sean-k-mooneyso concatination the empty stric or -playwright13:50
sean-k-mooney*empty string13:50
amoralejahhh, that may be it13:50
amoralejyep, works like a charm13:51
sean-k-mooneycool we use that for thing like `py3{,11,12,13,14}`13:53
sean-k-mooneyto supprot py311 or py313:53
sean-k-mooneythat not the most compellign exampel since py3 is oen fo the defautl ones that "just works" without you having to do that manually13:54
sean-k-mooneybut if you wnat to have unit{-windows,mac} to supprot linux windows and mac}13:54
sean-k-mooneythen you do it that way....13:54
sean-k-mooneyforgot the first , again :)13:55
sean-k-mooney`unit{,-windows,-mac}` works as `unit` `unit-windows` and `unit-mac`13:55
opendevreviewchandan kumar proposed openstack/watcher-dashboard master: Add Playwright-based E2E testing framework  https://review.opendev.org/c/openstack/watcher-dashboard/+/97035314:34
opendevreviewchandan kumar proposed openstack/watcher-dashboard master: Add Playwright-based E2E testing framework  https://review.opendev.org/c/openstack/watcher-dashboard/+/97035315:10
chandankumarsean-k-mooney: I am hitting https://paste.openstack.org/raw/bFFH2Mg6eRxFFF5dxKH7/ while using python -m pip install playwright, that's why I think I went with nodejs15:51
chandankumarAny pointers to overcome this issue15:53
chandankumargoing with tox vnev way16:02
chandankumarof this one fails, will dig tomorrow16:07
opendevreviewchandan kumar proposed openstack/watcher-dashboard master: Add Playwright-based E2E testing framework  https://review.opendev.org/c/openstack/watcher-dashboard/+/97035316:07
sean-k-mooneythats because you globally installing instead of in va vnev16:52
opendevreviewWinicius Allan Bezerra da Silva proposed openstack/watcher-specs master: Add spec for Preemptible Instances feature  https://review.opendev.org/c/openstack/watcher-specs/+/98717118:13
winiciusallan[m]sean-k-mooney dviroel amoralej: I left a few comments in the spec regarding your comments. Just a few questions but I think we can decide them timely18:14
winiciusallan[m]thanks for taking time to review it :)18:14
sean-k-mooneysure. i will be going back to review it again shortly then calling it a day in then next hour or so18:18
sean-k-mooneywiniciusallan[m]: ill finish the commit im creating quickly adn then rely in the review18:24
winiciusallan[m]sean-k-mooney: alright. no rush18:25
dviroelreviewing it now 18:50
opendevreviewWinicius Allan Bezerra da Silva proposed openstack/watcher-specs master: Add spec for Preemptible Instances feature  https://review.opendev.org/c/openstack/watcher-specs/+/98717122:35

Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!