Wednesday, 2020-05-13

openstackgerritGhanshyam Mann proposed openstack/horizon master: Fix hacking min version to 3.0.1  https://review.opendev.org/72749700:25
openstackgerritGhanshyam Mann proposed openstack/tempest-horizon master: Fix hacking min version to 3.0.1  https://review.opendev.org/72754000:33
*** awalende has joined #openstack-horizon02:07
*** awalende has quit IRC02:12
*** gyee has quit IRC03:18
*** dklyle has quit IRC05:01
*** awalende has joined #openstack-horizon06:00
*** awalende has quit IRC06:04
openstackgerritGayathri Devi proposed openstack/horizon master: Fix "Edit Port Security" tab on Horizon  https://review.opendev.org/72728407:02
*** vishalmanchanda has joined #openstack-horizon07:02
openstackgerritVishal Manchanda proposed openstack/horizon master: [DNM] Testing CI  https://review.opendev.org/72764007:14
*** rpittau|afk is now known as rpittau07:29
*** tosky has joined #openstack-horizon07:35
*** awalende has joined #openstack-horizon07:39
*** e0ne has joined #openstack-horizon08:05
*** ChanServ sets mode: +o e0ne08:05
*** AJaeger has joined #openstack-horizon09:07
AJaegerSorry for breaking the npm-run-test job, it's fixed now by https://review.opendev.org/72767009:20
AJaegervishalmanchanda, amotoki, FYI ^09:21
* AJaeger rechecked https://review.opendev.org/#/c/726698, you can +A again09:21
vishalmanchandaAJaeger: thanks for fixing it.09:22
*** btully has joined #openstack-horizon10:17
*** btully has quit IRC10:22
amotokiAJaeger: thanks. you are faster :)10:39
AJaeger;)10:47
amotokiAJaeger: it is a part of zuul-jobs. I wonder zuul-jobs test coverage is not good....10:58
e0neamotoki, AJaeger: do we want to merge https://review.opendev.org/#/c/726698/ and https://review.opendev.org/#/c/727202/ into the one patch to make CI happy?10:58
amotokie0ne: https://review.opendev.org/#/c/726698/fixes the failure in the master branch10:59
amotokie0ne: https://review.opendev.org/#/c/727202/ is to catch up the recent useful change in zuul-jobs11:00
amotokie0ne: the latter should fix the gate failure in stable branches rocky and older.11:00
amotokie0ne: so I think we can do them separately.11:00
e0neamotoki: ok, let's wait for CI after recheck11:01
amotokiAJaeger: is my understanding above right?11:01
*** rpittau is now known as rpittau|bbl11:04
AJaegeramotoki: yes, test coverage is not good enough. We're working on that but it takes time...11:26
AJaegeragreed, CI should be fine and we don't need to merge those two11:26
AJaegerlet me rebase the two on top of each other11:28
openstackgerritAndreas Jaeger proposed openstack/horizon master: Switch to new javascript jobs  https://review.opendev.org/72720211:28
AJaegeramotoki, e0ne, please backport 727202 as needed yourself11:28
AJaegerif you there're questions or you want me to review, feel free to ask11:29
AJaegerhttps://zuul.opendev.org/t/openstack/status/change/726698,2 is passing - the npm-run-test job is green now.11:35
amotokiAJaeger: thanks!11:36
e0neAJaeger: thanks a lot for the help12:04
AJaegeryou're welcome!12:04
*** rpittau|bbl is now known as rpittau12:19
*** tkajinam has quit IRC12:24
*** ianychoi has quit IRC12:55
*** gshippey has joined #openstack-horizon13:03
AJaegerso, 726698 is in the gate now and https://review.opendev.org/727202 passed, ready for review13:09
openstackgerritZara proposed openstack/horizon stable/pike: Allow OVA upload for images  https://review.opendev.org/72578513:32
NizarsHello13:52
NizarsI need some help running tests for a Horizon plugin that I am working on13:52
e0neNizars: hi. what actually help do you need?13:53
NizarsThank you eOne! So I have created a spec file for an angularjs controller and wanted to run the test and see how it works. I installed Karma, and the plugins listed in karma.conf.js in the plugin's directory. But when I execute the command to run the test I get an error that I can not solve. The error says: xStatic libraries not found, please set up venv.13:56
NizarsNow I suspect that The configuration in the karma.conf.js file is faulty. I have looked around for an existing .venv file in horizon but I couldn't find any.13:57
e0nedid you run tests via tox?13:57
e0nehttps://docs.openstack.org/horizon/latest/contributor/testing.html#npm13:57
NizarsHere is what the karma.conf.js file contains:13:58
Nizarshttps://gist.github.com/nizos/471219bd396f7bbd9f3faaf1f70f619c13:58
NizarsI will have a look at the link you just posted13:58
amotokiFYI: ussuri community meeting will start in one min :)13:59
NizarsAwesome!14:00
openstackgerritMerged openstack/horizon master: Fix tempest and pep8 tests  https://review.opendev.org/72669814:02
NizarsI am not having much success getting the tests to run. I think a have a lot of things misconfigured and it will take a while to figure everything out.14:24
Nizarse0ne do you think you can help me with it by having a look?14:24
e0neNizars: how do you run tests?14:25
NizarsI am new to testing but I was hoping to follow this guide: https://www.credera.com/blog/technology-insights/open-source-technology-insights/testing-angularjs-part-1-setting-unit-testing-karma/14:26
NizarsThis is the code repository for our plugin:14:26
Nizarshttps://github.com/nizos/horizon-policies-plugin14:26
NizarsI think the tox.ini file is not properly configured. It specifies python 2.7 when we are using python 3.6.14:28
NizarsRunning tox -e karma gives the following output:14:29
Nizarshttps://www.irccloud.com/pastebin/TUcH5fG9/14:30
NizarsFollowed by:14:30
Nizarshttps://www.irccloud.com/pastebin/Q5bM1S9u/14:30
amotokiNizars: while I didn't check the detail you posted, did you check what other horizon plugins with npm tests do?14:34
NizarsI will have a look now :)14:35
amotokiNizars: I think it would be helpful to check other plugins14:35
*** dklyle has joined #openstack-horizon14:42
*** ChanServ sets mode: +o dklyle14:42
*** dklyle sets mode: -o dklyle14:42
e0nedo we want to have a horizon meeting today or everybody is listening  Ussuri Community Meeting?14:54
NizarsI have a request to have a look at our blueprint and have it accepted but otherwise it's all good here.14:55
e0neNizars: which blueprint?14:57
Nizarshttps://blueprints.launchpad.net/horizon/+spec/policies-plugin14:57
e0nehm.. I'm not sure that we need a blueprint for this14:59
vishalmanchandae0ne: we can do it after it finish.15:01
NizarsOk, the goal of our project was to create a plugin and work with the upstream community and have it approved or something like that.15:01
Nizarsvishalmanchanda: when do you think it will end?15:01
*** priteau has joined #openstack-horizon15:01
vishalmanchandavishalmanchanda: it's already ended.15:02
amotokie0ne: the community meeting was just over :)15:02
e0neyep. just started a meeting15:03
*** gyee has joined #openstack-horizon15:43
*** btully has joined #openstack-horizon15:44
*** btully has quit IRC15:49
openstackgerritVishal Manchanda proposed openstack/horizon master: Fix hacking min version to 3.0.1  https://review.opendev.org/72749715:51
amotokiNizars: hi, have you checked what is policy-in-code effort in OpenStack?16:03
amotokiNizars: it happened a couple of years ago16:04
amotokiNizars: after that, the default policies are defined in python codes and policy files are used to override the default policies.16:04
*** rpittau is now known as rpittau|afk16:21
openstackgerritZara proposed openstack/horizon stable/pike: Allow OVA upload for images  https://review.opendev.org/72578516:35
*** btully has joined #openstack-horizon17:33
*** btully has quit IRC17:37
*** priteau has quit IRC17:38
openstackgerritMerged openstack/horizon master: Switch to new javascript jobs  https://review.opendev.org/72720217:40
*** e0ne has quit IRC17:55
*** dklyle has quit IRC19:38
*** dklyle has joined #openstack-horizon19:46
*** ChanServ sets mode: +o dklyle19:46
*** dklyle sets mode: -o dklyle19:46
*** gshippey has quit IRC20:24
*** vishalmanchanda has quit IRC20:31
*** btully has joined #openstack-horizon21:10
*** btully has quit IRC21:15
*** awalende has quit IRC21:38
*** awalende has joined #openstack-horizon21:39
*** awalende has quit IRC21:43
*** spatel has joined #openstack-horizon22:08
*** spatel has quit IRC22:12
*** spatel has joined #openstack-horizon22:20
*** spatel has quit IRC22:45
*** tkajinam has joined #openstack-horizon22:46
*** tosky has quit IRC23:06
*** threestrands has joined #openstack-horizon23:29
*** rcernin has quit IRC23:31
*** rcernin has joined #openstack-horizon23:32
*** early has quit IRC23:38

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