Wednesday, 2015-06-03

*** lhcheng has joined #openstack-horizon00:02
openstackgerritCindy Lu proposed openstack/horizon: JSCS cleanup - Angular services  https://review.openstack.org/18615400:03
openstackgerritDiana Whitten proposed openstack/horizon: Create a Bootstrap Theme Preview Page with HTML Hints  https://review.openstack.org/18781800:04
*** sjmc7 has quit IRC00:11
*** hurglebu_ has quit IRC00:14
*** hurgleburgler has joined #openstack-horizon00:14
*** hurgleburgler has quit IRC00:17
*** hurgleburgler has joined #openstack-horizon00:18
*** tqtran has quit IRC00:18
*** oro has quit IRC00:19
*** hurgleburgler has quit IRC00:21
*** hurglebu_ has joined #openstack-horizon00:21
*** garthb has quit IRC00:23
*** garthb_ has quit IRC00:23
*** hurglebu_ has quit IRC00:24
openstackgerritMerged openstack/horizon: added description column in vpn tables  https://review.openstack.org/18751700:25
*** hurgleburgler has joined #openstack-horizon00:25
*** zhenguo has joined #openstack-horizon00:33
*** hurgleburgler1 has joined #openstack-horizon00:34
*** hurgleburgler has quit IRC00:34
*** Sukhdev has quit IRC00:35
*** eroussel has joined #openstack-horizon00:41
*** meagleso has quit IRC00:42
*** nlahouti has quit IRC00:49
*** yingjun has joined #openstack-horizon00:53
*** gokrokve has quit IRC00:54
*** gokrokve has joined #openstack-horizon00:55
openstackgerritDiana Whitten proposed openstack/horizon: Create a Bootstrap Theme Preview Page with HTML Hints  https://review.openstack.org/18781800:56
*** jingjing_ren has quit IRC00:59
*** gokrokve has quit IRC00:59
*** KunalGan_ has quit IRC01:01
*** Raildo_ has joined #openstack-horizon01:02
*** Raildo has quit IRC01:04
*** jrist has quit IRC01:08
*** ybathia has quit IRC01:08
openstackgerritDan Nguyen proposed openstack/horizon: Retrieve domain scoped token  https://review.openstack.org/14808201:09
openstackgerritCindy Lu proposed openstack/horizon: JSCS cleanup - Angular services  https://review.openstack.org/18615401:09
espongk ^01:09
*** bpokorny has quit IRC01:12
*** gokrokve has joined #openstack-horizon01:14
*** jbell8 has joined #openstack-horizon01:16
*** jwy has quit IRC01:17
*** clu_ has quit IRC01:18
*** Raildo_ has quit IRC01:18
*** jrist has joined #openstack-horizon01:20
*** amotoki has quit IRC01:21
*** hurgleburgler1 has quit IRC01:21
*** hurgleburgler has joined #openstack-horizon01:22
openstackgerritKahou Lei proposed openstack/horizon: Port should not be detached when changing name  https://review.openstack.org/18579601:24
*** alexvictorchan has joined #openstack-horizon01:29
*** jingjing_ren has joined #openstack-horizon01:29
*** alanf-mc has quit IRC01:31
*** jingjing_ren has quit IRC01:34
*** amotoki has joined #openstack-horizon01:41
*** jwy has joined #openstack-horizon01:42
*** amotoki has quit IRC01:45
*** sjmc7 has joined #openstack-horizon02:00
*** drupalmonkey has quit IRC02:02
*** amotoki has joined #openstack-horizon02:04
*** sjmc7 has quit IRC02:04
*** hurgleburgler has quit IRC02:06
*** hurgleburgler has joined #openstack-horizon02:08
*** rushiagr_away is now known as rushiagr02:09
*** nlahouti has joined #openstack-horizon02:15
*** clu_ has joined #openstack-horizon02:17
*** clu_ has quit IRC02:19
*** yingjun has quit IRC02:26
*** yingjun has joined #openstack-horizon02:29
*** rushiagr is now known as rushiagr_away02:40
*** nlahouti has quit IRC02:44
*** lhcheng_ has joined #openstack-horizon02:47
*** lhcheng has quit IRC02:47
*** jwy has quit IRC02:54
*** jingliuqing has joined #openstack-horizon02:55
*** jingliuqing_ has joined #openstack-horizon02:57
*** jingliuqing has quit IRC02:59
*** gyee is now known as operator9903:00
*** eroussel has quit IRC03:09
*** gokrokve_ has joined #openstack-horizon03:17
*** alanf-mc has joined #openstack-horizon03:21
*** gokrokve has quit IRC03:21
*** gokrokve_ has quit IRC03:21
*** dboik has joined #openstack-horizon03:23
*** alanf-mc has quit IRC03:25
*** dboik has quit IRC03:27
*** alexvictorchan has quit IRC03:32
*** yingjun has quit IRC03:34
*** hurgleburgler1 has joined #openstack-horizon03:37
*** hurgleburgler has quit IRC03:37
*** kiran-r has joined #openstack-horizon03:38
*** iamjarvo has joined #openstack-horizon03:49
*** Longgeek_ has quit IRC03:53
*** Longgeek has joined #openstack-horizon03:54
*** alexpilotti has joined #openstack-horizon03:54
*** Longgeek_ has joined #openstack-horizon03:57
*** fedexo has joined #openstack-horizon03:58
*** notmars has joined #openstack-horizon03:59
*** Longgeek has quit IRC04:00
*** Longgeek has joined #openstack-horizon04:02
*** hurgleburgler1 has quit IRC04:02
*** Longgeek_ has quit IRC04:04
*** clu_ has joined #openstack-horizon04:06
*** Longgeek_ has joined #openstack-horizon04:08
*** clu_ has quit IRC04:08
*** Longgeek has quit IRC04:10
*** Longgeek_ has quit IRC04:12
*** neelabh has joined #openstack-horizon04:14
*** Longgeek has joined #openstack-horizon04:18
*** Longgeek has quit IRC04:18
*** Longgeek has joined #openstack-horizon04:19
*** masco has joined #openstack-horizon04:20
*** Longgeek has quit IRC04:20
*** Longgeek has joined #openstack-horizon04:20
*** jbell8 has quit IRC04:21
*** Longgeek_ has joined #openstack-horizon04:23
*** Longgee__ has joined #openstack-horizon04:25
*** Longgeek has quit IRC04:25
*** Longgeek_ has quit IRC04:26
*** Longgeek has joined #openstack-horizon04:26
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move utils from dashboad-app  https://review.openstack.org/18514004:27
*** Longgeek_ has joined #openstack-horizon04:28
*** alexvictorchan has joined #openstack-horizon04:29
*** Longge___ has joined #openstack-horizon04:29
*** Longgee__ has quit IRC04:30
*** Longgeek has quit IRC04:32
*** Longgeek_ has quit IRC04:32
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move utils from dashboad-app  https://review.openstack.org/18514004:35
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move dashboard-app/login out  https://review.openstack.org/18513304:36
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move dashboard-app/login out  https://review.openstack.org/18513304:39
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move dashboard controllers from horizon  https://review.openstack.org/18513204:42
*** sqchen has quit IRC04:45
*** lhcheng_ has quit IRC04:54
*** jbell8 has joined #openstack-horizon04:56
*** stevemar has quit IRC04:58
*** kiran-r has quit IRC04:59
*** notmars has quit IRC05:07
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move dashboard controllers from horizon  https://review.openstack.org/18513205:08
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move core HTML from framework to dashboard  https://review.openstack.org/18629505:09
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move dashboard-app to dashboard  https://review.openstack.org/18519105:10
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move dashboard-app to dashboard  https://review.openstack.org/18519105:12
r1chardj0n3sthat's the karma failures taken care of05:17
*** sqchen has joined #openstack-horizon05:17
r1chardj0n3s(well for now, I await the further breakages introduced by the additional tests which won't be configured for this directory reorg :/ )05:17
*** sqchen has quit IRC05:32
*** notmars has joined #openstack-horizon05:32
*** notmars has quit IRC05:32
*** sjmc7 has joined #openstack-horizon05:37
*** sjmc7 has quit IRC05:42
*** fedexo has quit IRC05:42
*** yingjun has joined #openstack-horizon05:43
*** lhcheng has joined #openstack-horizon05:46
*** ankit_ag has joined #openstack-horizon05:52
*** sqchen has joined #openstack-horizon05:52
*** clu_ has joined #openstack-horizon05:55
*** dguerri`away has quit IRC05:55
*** mrunge has joined #openstack-horizon05:56
*** clu_ has quit IRC05:56
*** dguerri`away has joined #openstack-horizon05:57
*** dguerri`away is now known as dguerri05:57
*** iamjarvo has quit IRC05:58
*** josecastroleon has joined #openstack-horizon05:59
*** kiran-r has joined #openstack-horizon06:10
*** romainh has joined #openstack-horizon06:11
*** yamamoto has joined #openstack-horizon06:17
*** smallbig has quit IRC06:19
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/18787606:23
*** jingliuqing_ has quit IRC06:23
*** belmoreira has joined #openstack-horizon06:26
*** smallbig has joined #openstack-horizon06:30
*** Longgeek has joined #openstack-horizon06:35
*** jtomasek has joined #openstack-horizon06:37
*** Longge___ has quit IRC06:37
*** oro_ has joined #openstack-horizon06:38
*** sqchen has quit IRC06:58
*** jingjing_ren has joined #openstack-horizon07:02
openstackgerrittinytmy proposed openstack/horizon: Hidden HOST in instance overview page for normal user  https://review.openstack.org/15276307:05
*** jingjing_ren has quit IRC07:06
*** bradjones has quit IRC07:20
*** bradjones has joined #openstack-horizon07:22
*** sjmc7 has joined #openstack-horizon07:26
openstackgerrittinytmy proposed openstack/horizon: Unified the position of modal's buttons  https://review.openstack.org/18133507:28
*** smallbig has quit IRC07:28
*** mpavlase has joined #openstack-horizon07:29
*** neelabh has quit IRC07:30
*** sjmc7 has quit IRC07:31
*** zz_ttrifonov is now known as ttrifonov07:35
*** chlong has quit IRC07:37
*** belmoreira has quit IRC07:42
*** clu_ has joined #openstack-horizon07:43
*** jcoufal has joined #openstack-horizon07:45
*** markus_z has joined #openstack-horizon07:45
*** clu_ has quit IRC07:45
*** belmoreira has joined #openstack-horizon07:46
mrungetsufiev, morning!07:46
mrungetsufiev, you guys had a fix for integration tests. did you submit that patch upstream yet?07:47
openstackgerritJiri Tomasek proposed openstack/tuskar-ui: Add Roles rest api  https://review.openstack.org/14886507:50
openstackgerritJiri Tomasek proposed openstack/tuskar-ui: WIP Angular roles list  https://review.openstack.org/15002307:50
*** bluex-pl has joined #openstack-horizon07:51
*** ygbo has joined #openstack-horizon07:56
*** akrivoka has joined #openstack-horizon08:02
*** rushiagr_away is now known as rushiagr08:02
*** jingliuqing has joined #openstack-horizon08:04
*** JeanBriceCombebi has joined #openstack-horizon08:05
*** mpavlase has quit IRC08:06
*** JeanBriceCombebi has quit IRC08:12
*** yingjun has quit IRC08:14
*** oro_ has quit IRC08:15
*** JeanBriceCombebi has joined #openstack-horizon08:16
*** yingjun has joined #openstack-horizon08:19
*** jbell8 has quit IRC08:27
mfloboMorning guys08:28
*** ZZelle has quit IRC08:28
*** ZZelle has joined #openstack-horizon08:28
mfloboAny of you have the DEMO of HotBuilder that we saw in the Design Session in Vancouver?08:28
mfloboI mean, the video..08:29
*** jingliuqing has quit IRC08:29
*** JeanBriceCombebi has quit IRC08:35
*** mpavlase has joined #openstack-horizon08:35
*** unixlike has quit IRC08:42
*** unixlike has joined #openstack-horizon08:42
openstackgerritMerged openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/18787608:43
*** clu_ has joined #openstack-horizon08:44
*** clu_ has quit IRC08:46
*** e0ne has joined #openstack-horizon08:46
openstackgerritMerged openstack/horizon: filter the subnets which already in the router  https://review.openstack.org/15476608:47
openstackgerritMerged openstack/horizon: Don't pass read only attributes on neutron update  https://review.openstack.org/18621108:47
openstackgerritMerged openstack/horizon: Adds floatingip allocate,release integration tests  https://review.openstack.org/15866308:47
*** JeanBriceCombebi has joined #openstack-horizon08:51
*** e0ne is now known as e0ne_09:01
*** e0ne_ is now known as e0ne09:01
*** JeanBriceCombebi has quit IRC09:07
*** JeanBriceCombebi has joined #openstack-horizon09:08
*** tosky_ has joined #openstack-horizon09:09
mark-osmflobo: what's this HotBuilder you're talking about?09:10
tsufievmrunge, hello! Pinging our QA guy about that...09:14
mrungetsufiev, thank you!09:14
mrungetsufiev, the later this gets merged, the harder it'll get...09:14
tsufievmflobo, AFAIK, it wasn't recorded at summit09:15
*** sjmc7 has joined #openstack-horizon09:15
tsufievmflobo, presuming you mean the demo shown at horizon design session09:15
tsufievmrunge, sure, I'll try to hurry him up09:18
mrungetsufiev, awesome! It shouldn't be too hard for him, as he already had the patch, didn't he?09:20
*** sjmc7 has quit IRC09:20
*** oro_ has joined #openstack-horizon09:21
*** JeanBriceCombebi has quit IRC09:22
mflobotsufiev, yes09:24
mflobotsufiev, is it online some how?09:25
tsufievmflobo, Drago is going to record another video - for sharing it online09:25
tsufievmflobo, besides that, you might be interested in Merlin project which is currently about porting HotBuilder onto Horizon :)09:26
*** yamamoto has quit IRC09:29
*** yingjun has quit IRC09:36
*** jonaspf has joined #openstack-horizon09:40
*** pkarikh has joined #openstack-horizon09:47
*** e0ne is now known as e0ne_09:55
*** e0ne_ is now known as e0ne09:57
openstackgerritMerged openstack/horizon: I/O error uploading image  https://review.openstack.org/18493510:06
*** lhcheng has quit IRC10:07
mflobotsufiev, my understanding was that HotBuilder is integrated in Horizon and Merlin was not. Please, correct me if I'm wrong10:13
tsufievmflobo, I'd say that opposite is true10:14
*** JeanBriceCombebi has joined #openstack-horizon10:14
*** jonaspf has quit IRC10:19
*** jonaspf has joined #openstack-horizon10:20
*** cardeois_______ has quit IRC10:21
*** cardeois_______ has joined #openstack-horizon10:22
tsufievmflobo, more precisely, HotBuilder was originally an internal product at Rackspace, while Merlin was originally developed as an opensource project. Also, HotBuilder uses Knockout.js framework for 2-way binding, while Merlin uses Angular.js (aligned with Horizon)10:23
*** jonaspf has quit IRC10:24
*** jonaspf has joined #openstack-horizon10:24
mfloboI remember the Merlin and Hotbuilder demo in the design session, and the drag-and-drop thing for Heat templates in Hotbuilder was very cool. Do you think Merlin will get something like that drag-and-drop?10:26
tsufievmflobo, yes, definitely, that's not as hard as it seems to be :)10:26
mflobotsufiev, ok, that's interesting10:27
tsufievmflobo, there is a mail in openstack-dev http://lists.openstack.org/pipermail/openstack-dev/2015-May/065045.html10:27
tsufievkind of formal announcement of our further collaboration with Drago (author of HotBuilder)10:27
tsufiev*collaboration plans10:27
*** t4nk162 has joined #openstack-horizon10:29
*** clu_ has joined #openstack-horizon10:33
*** clu_ has quit IRC10:35
t4nk162hi I receive errors when I run python manage.py migrate on openstack10:36
t4nk162am pretty new to django and openstack am i missing out something10:36
*** amotoki has quit IRC10:40
*** amotoki has joined #openstack-horizon10:44
*** svasheka has joined #openstack-horizon10:46
*** amotoki has quit IRC10:48
*** dsneddon has quit IRC10:57
*** sjmc7 has joined #openstack-horizon11:04
*** julim has joined #openstack-horizon11:06
*** sjmc7 has quit IRC11:09
*** JeanBriceCombebi has quit IRC11:12
svasheka@mpavlase: hi, I have some questions about horizon integration tests, or even better it would be great if you'll tell me in what state they  currently, what are main problems and how exactly are they ran at gate.11:15
mrungesvasheka, look at ./run_tests.sh and at logs11:17
mrungesvasheka, if you need a failed log: http://logs.openstack.org/35/184935/3/check/gate-horizon-dsvm-integration/8e1e5d2/console.html11:17
svasheka@mrunge thank you I'm much more interested in specifics of how it is setuped in the gate, but I will also look through logs.11:18
*** zul has quit IRC11:22
*** aix has quit IRC11:25
*** rushiagr is now known as rushiagr_away11:25
mpavlasesvasheka: Hi11:26
svasheka@mpavlase: hi11:27
svasheka@mpavlase can you tell me how integration tests are setuped on the gate?11:27
mpavlasesvasheka: I've heard that QA people from some company (I couldn't recall the name) already have solved issues of upstream gate, but they didn't propose patches yet...11:28
*** zul has joined #openstack-horizon11:28
mpavlasesvasheka: let me find the jenkins job, mmt..11:28
mpavlasesvasheka: here is job definition https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/horizon.yaml11:30
mpavlasesvasheka: basically tests are executed via tox -e py27integration11:32
*** e0ne is now known as e0ne_11:32
mpavlasesvasheka: from cloned horizon repo11:32
*** yamamoto has joined #openstack-horizon11:32
svasheka@mpavlase: thank you. About someone solving upstream issues I believe you've been misinformed. I'm from Mirantis and been working only on applying them on Mirantis openstack (which is little behind from upstream)11:32
svasheka@mpavlase: I also intend to work on upstream version though11:33
svasheka@mpavlase: and What I've known yet is that test are more green being ran locally than they are on the gate11:33
svasheka@mpavlase: but will look into that in following weeks. And also I have interest in some infrastructure mechanism which would allow to run integration test on different releases/versions of horizon11:34
svasheka@mpavlase: but it is also possible, that some one else solved upstream gate issues)11:35
mpavlasesvasheka: you mean different versions of upstream horizon?11:35
svashekayes11:35
svasheka@mpavlase: how I see it is that we would be able to change navigation and locators in correspondence to version. that should be enough11:37
mpavlasesvasheka: I don't think so.. :-( there are just a few people interested in this (at least according to review process)..11:37
svasheka@mpavlase: then it's probably me you heard of)11:37
svasheka@mpavlase: mirantis have interest in this atm. So me and couple my colleagues will spend some time on upstream integration tests.11:38
mpavlasesvasheka: I'm working for RedHat and working on the same idea. We also support several versions and our openstack also changes between releases. In the most cases it's "just" question of CSS locators11:39
mpavlasesvasheka: such great news :-)11:40
svashekayes, but I've encountered a case where navigation flow little bit changed through the version11:40
svasheka@mpavlase: but yes, most of the cases locators are the key11:41
mpavlasesvasheka: (I'm not aware about how Mirantis openstack looks like)11:41
*** e0ne_ has quit IRC11:42
svasheka@mpavlase: same as upstream looked like about half a year or maybe a year ago)11:43
*** yamamoto_ has joined #openstack-horizon11:50
mpavlasesvasheka: upstream gate supposed to work with bleeding edge and verify new patches. In downstream, we have separate branch for each release. I've picked upstream, once, and started adjusting CSS locators to fit each release to corresponding branch.11:52
*** yamamoto has quit IRC11:53
svasheka@mpavlase: I thing its a bit timeconsuming to have multiple branches. Maybe would be better just to have multiple locators in the same branch. or even have possibiities to have locators passed as argument or from other means. I have no exact implementation thoug or evene plan)11:55
*** Raildo has joined #openstack-horizon11:56
mpavlasesvasheka: I like idea have separated locators apart from tests itself. How do you imagine the "multiple locators"?11:57
mpavlasesvasheka: and yes, it's time consuming..11:58
*** e0ne has joined #openstack-horizon11:58
*** aix has joined #openstack-horizon12:00
*** mark-os has quit IRC12:00
openstackgerritRob Cresswell proposed openstack/horizon: JSCS Cleanup - o_d/static/  https://review.openstack.org/18797112:03
*** jingliuqing has joined #openstack-horizon12:04
*** t4nk162 has quit IRC12:07
*** yamamoto_ has quit IRC12:09
*** yamamoto has joined #openstack-horizon12:13
*** amotoki has joined #openstack-horizon12:18
*** lblanchard has joined #openstack-horizon12:18
*** clu_ has joined #openstack-horizon12:22
*** JeanBriceCombebi has joined #openstack-horizon12:23
*** clu_ has quit IRC12:23
*** yamamoto has quit IRC12:23
*** JeanBriceCombebi has quit IRC12:28
*** JeanBriceCombebi has joined #openstack-horizon12:28
*** jingliuqing has quit IRC12:29
*** unixlike has quit IRC12:31
*** unixlike has joined #openstack-horizon12:31
*** kiranr has joined #openstack-horizon12:34
*** kiran-r has quit IRC12:34
*** yamamoto has joined #openstack-horizon12:34
*** kiranr has quit IRC12:39
*** iamjarvo has joined #openstack-horizon12:41
svasheka@mpavlase: by multiple locators I ment to have separate classes for different versions and pass argument of which version to use. Sort of12:42
*** JeanBriceCombebi has quit IRC12:42
*** masco has quit IRC12:44
mpavlasesvasheka: can be.. but I like idea to have separated locators completely more..12:45
*** JeanBriceCombebi has joined #openstack-horizon12:45
svashekampavlase, agree. I was just thinking out loud12:46
mpavlasesvasheka: sure12:47
*** jcoufal has quit IRC12:52
*** sjmc7 has joined #openstack-horizon12:53
*** ankit_ag has quit IRC12:53
*** _crobertsrh is now known as crobertsrh12:54
*** rwsu has joined #openstack-horizon12:54
*** notmars has joined #openstack-horizon12:54
*** Drago has joined #openstack-horizon12:56
*** Drago has quit IRC12:56
*** Drago has joined #openstack-horizon12:57
*** sjmc7 has quit IRC12:58
mfloboI want to propose a new feature for Image List web page in Horizon. Should I send a blueprint or just put the patch in launchpad/gerrit?12:59
*** yamamoto has quit IRC13:01
*** mattfarina has joined #openstack-horizon13:04
*** Raildo_ has joined #openstack-horizon13:04
*** yamamoto has joined #openstack-horizon13:05
*** Raildo has quit IRC13:07
*** jingliuqing has joined #openstack-horizon13:10
*** Raildo__ has joined #openstack-horizon13:12
*** Raildo_ has quit IRC13:15
*** stevemar has joined #openstack-horizon13:17
*** Raildo__ has quit IRC13:21
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822713:23
*** peristeri has joined #openstack-horizon13:23
*** petertr7_away is now known as petertr713:25
*** jrist has quit IRC13:26
*** yamamoto has quit IRC13:27
*** yamamoto has joined #openstack-horizon13:29
*** matt-borland has joined #openstack-horizon13:29
*** neelabh has joined #openstack-horizon13:30
*** jcoufal has joined #openstack-horizon13:33
neelabhGuys could you tell me why "resource usage for running instance in not showing anything in stats tab"13:34
amotokidavid-lyle: ping13:37
*** iamjarvo has quit IRC13:38
*** jrist has joined #openstack-horizon13:39
*** ongk has joined #openstack-horizon13:40
*** gokrokve has joined #openstack-horizon13:41
*** e0ne is now known as e0ne_13:41
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822713:41
*** e0ne_ is now known as e0ne13:41
*** Drago has quit IRC13:47
neelabhamotoki: Could you tell me why "resource usage for running instance in not showing anything in stats tab"13:49
*** cardeois________ has joined #openstack-horizon13:50
*** cardeois_______ has quit IRC13:50
*** jprovazn has joined #openstack-horizon13:52
*** oro_ has quit IRC13:54
*** yamamoto has quit IRC13:54
amotokineelabh: are you talking about Ceilometer panel? It is a quite mysterious world to me :-)13:55
neelabhCould You tell me who can help me on this. This very argent to me..13:56
*** Piet has quit IRC13:56
jingliuqingmaybe i can13:56
jingliuqingneelabh:13:56
neelabhthanks jingliuqing:13:57
*** gokrokve has quit IRC13:57
*** gokrokve has joined #openstack-horizon13:58
jingliuqingfirstly, you can try ceilometer api or cli for resource usage?13:59
jingliuqingone question, what's uptime of your openstack envirment?13:59
neelabhjingliuqing:  Plz see this question posted  by http://stackoverflow.com/questions/30612445/stats-tab-on-resource-usage-is-not-populated-through-ceilometer14:01
*** Swaroop has joined #openstack-horizon14:01
neelabhyes I am able to try ceilometer api through source openrc admin admin14:01
*** dboik has joined #openstack-horizon14:02
neelabhjingliuqing: I didn't get this question "What's uptime of your openstack envirment?"14:02
jingliuqingso, can you retrieve the samples for instance?14:02
jingliuqingforget that14:03
openstackgerritMatt Borland proposed openstack/horizon: [Launch Instance Fix] Add Flavor Step Unit Tests  https://review.openstack.org/16732614:03
*** yamamoto has joined #openstack-horizon14:04
neelabhjingliuqing: I am running two instances, Which I have created 3 hour before..14:04
jingliuqingok, gotcha14:05
jingliuqingthe default period is ``Last Week``14:05
neelabhK14:05
jingliuqingtry `Last Day`14:05
*** vijendar has joined #openstack-horizon14:06
*** yamamoto has quit IRC14:07
neelabhjingliuqing: still not showing..14:07
jingliuqingIMHO, you can see the line chart while you can retrieve sample from cli or api..14:07
neelabhmatrix is instance, group by:Project,value=Ave, perid: last adate14:08
jingliuqingif you can't retrieve sample from cli, you should debug ceilometer service firstly14:08
*** sjmc7 has joined #openstack-horizon14:09
neelabhK, what are the commend to check the through cli or api,14:09
*** JeanBriceCombebi has quit IRC14:09
neelabhI login through source openrc admin admin14:09
*** JeanBriceCombebi has joined #openstack-horizon14:09
jingliuqingcheck this: https://www.rdoproject.org/CeilometerQuickStart14:10
neelabhjingliuqing: But I don't know How to see through Cli or API, Could you tell me command14:10
jingliuqingceilometer meter-list14:11
pauloewertonhi everyone. is there still some space available for adding a new topic in the agenda for today's meeting?14:11
jingliuqingceilometer sample-list --meter cpu14:12
*** Drago has joined #openstack-horizon14:12
jingliuqingpauloewerton: +114:13
neelabhjingliuqing: I am getting the lots of data for "ceilometer meter-list"14:13
robcresswellpauloewerton: Sure, just drop something in the wiki14:13
jingliuqing ceilometer sample-list --meter cpu14:13
neelabhand same for ceilometer sample-list --meter cpu14:13
neelabhLots of data for ceilometer sample-list --meter cpu14:14
jingliuqingceilometer sample-list --meter cpu -q 'resource_id=INSTANCE_ID_1'14:14
pauloewertonrobcresswell, thanks14:14
*** Drago has quit IRC14:14
neelabhAnd More more thing I want to tell that today itself I start instance and take virtual box from other colleages14:15
*** Drago has joined #openstack-horizon14:15
*** petertr7 is now known as petertr7_away14:15
*** petertr7_away is now known as petertr714:16
neelabhjingliuqing: "ceilometer sample-list --meter cpu -q 'resource_id=INSTANCE_ID_1' . It is empty table14:16
neelabhThe above command is giving empty table14:17
neelabhand some fields are there like | Resource ID | Name | Type | Volume | Unit | Timestamp14:17
*** mwhagedorn has quit IRC14:18
ongkrobcresswell: https://review.openstack.org/#/c/187818/ <- could be used to show examples of Angular widgets?14:18
jingliuqingshould check why the ceilometer can not write sample into meters.14:19
neelabhwas Last command for meters ? How I will check ceilometer  cann't write sample into meters. Could you give some help?14:21
openstackgerritMatt Borland proposed openstack/horizon: [Launch Instance Fix] Add Model Unit Tests  https://review.openstack.org/16773814:23
SwaroopHi All14:24
Swaroopcan I know please who is working on the HOT builder14:24
jingliuqinguhm, check service and logs needed14:25
*** david-lyle has quit IRC14:25
*** mwhagedorn has joined #openstack-horizon14:25
jingliuqinghad wrote some HOT based on official WordPress HOT14:26
*** doug-fish has joined #openstack-horizon14:27
jingliuqingneelabh: check the ceilometer compute agent log14:28
*** petertr7 is now known as petertr7_away14:30
*** petertr7_away is now known as petertr714:31
neelabhjingliuqing: I just check in ./rejoin-stack.sh,  In  "ceilometer-acompute" It is giving some output14:31
*** rwsu has quit IRC14:31
neelabh2015-06-03 15:28:01.306 3905 DEBUG ceilometer.transformer.conversions [-] handling sample (<name: network.incoming.bytes, volume: 4089, resource_id: nova-instance-instance-00000002-fa163e9f98d1, timestamp: 2015-06-03T14:28:01Z>,) handle_sample /opt/stack/ceilometer/ceilometer/transformer/conversions.py:11414:31
neelabh2015-06-03 15:28:01.308 3905 DEBUG ceilometer.transformer.conversions [-] converted to: (<name: network.incoming.bytes.rate, volume: 0.0, resource_id: nova-instance-instance-00000002-fa163e9f98d1, timestamp: 2015-06-03T14:28:01Z>,) handle_sample /opt/stack/ceilometer/ceilometer/transformer/conversions.py:13514:31
neelabh2015-06-03 15:28:01.309 3905 DEBUG oslo_messaging._drivers.amqp [-] UNIQUE_ID is 48126a39f6e5432faeef6d9ed54f4618. _add_unique_id /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqp.py:25814:31
*** iamjarvo has joined #openstack-horizon14:32
*** iamjarvo has quit IRC14:32
*** iamjarvo has joined #openstack-horizon14:33
jingliuqingnow you can check network chat in Admin > Resource Usage > Stat14:33
robcresswellongk: Sorry, I'm confused :s14:33
ongkrobcresswell: I think you were interested in documenting examples of the Angular widgets (at the summit)?14:34
ongkI may have been confused though :)14:35
neelabhjingliuqing: It still showing nothing but just give time instance when I hover mouse on top-left14:35
openstackgerritMatt Borland proposed openstack/horizon: [Launch Instance Fix] Tests for Base Controllers  https://review.openstack.org/17205714:36
*** mwhagedorn has quit IRC14:36
neelabhlike 2015-6-30 14:28:00 GMT14:36
robcresswellongk: Absolutely, just not sure why the bootstrap example is a widget?14:36
*** ducttape_ has joined #openstack-horizon14:37
ongkOh ha, no - not that as a widget14:37
ongkbut we can maybe add examples of the widgets on that page14:37
*** mwhagedorn has joined #openstack-horizon14:37
robcresswellongk: Ohh, I see14:37
robcresswellongk: Potentially. It might be a little odd to demo code like that in tree14:39
*** raildo has joined #openstack-horizon14:39
*** Drago has quit IRC14:39
*** Drago has joined #openstack-horizon14:39
robcresswellAlthough I guess we'd just do it like this bootstra ppatch, with debug on14:40
robcresswellThat could be neat14:40
ongkEspecially if that page is autogenerated from the comments :)14:40
ongkcomments in the JS files (i.e. ngdoc)14:41
robcresswellyeah14:42
robcresswellThat would be cool later down the line14:44
*** jingliuqing has quit IRC14:44
robcresswellId settle for a little file tree stability and some basics docs first though :p14:44
robcresswellongk: Which reminds me, I have another jscs patch up, and another in the next 10/15 mins14:45
*** yamamoto has joined #openstack-horizon14:45
*** yamamoto has quit IRC14:46
*** hurgleburgler has joined #openstack-horizon14:46
ongkrobcresswell: yay, complete the set!14:46
openstackgerritMatt Borland proposed openstack/horizon: Improving filter and existing API service tests  https://review.openstack.org/17653214:48
openstackgerritMatt Borland proposed openstack/horizon: Adding tests for button-tooltip.js  https://review.openstack.org/17843414:51
*** JeanBriceCombebi has quit IRC14:53
*** JeanBriceCombebi has joined #openstack-horizon14:53
*** petertr7 is now known as petertr7_away14:55
matt-borlanddoes anyone here know the status of the false-passes of --only-selenium at the gate?14:58
*** Swaroop has quit IRC14:58
matt-borlandWe have qunit and selenium failures and the gate isn't catching them.14:59
*** dsneddon has joined #openstack-horizon14:59
*** neelabh has quit IRC15:01
*** kiran-r has joined #openstack-horizon15:05
*** mwhagedorn has quit IRC15:07
*** jtriley has joined #openstack-horizon15:08
*** mwhagedorn has joined #openstack-horizon15:08
*** iamjarvo has quit IRC15:10
*** asahlin_afk is now known as asahlina15:10
*** asahlina is now known as asahlin15:10
*** kiran-r has quit IRC15:13
*** iamjarvo has joined #openstack-horizon15:14
*** rwsu has joined #openstack-horizon15:19
*** alexpilotti has quit IRC15:24
*** petertr7_away is now known as petertr715:26
*** jcoufal has quit IRC15:27
*** e0ne is now known as e0ne_15:32
*** notmars has quit IRC15:32
*** alexvictorchan has quit IRC15:34
*** kiran-r has joined #openstack-horizon15:35
*** e0ne_ is now known as e0ne15:35
*** notmars has joined #openstack-horizon15:38
*** david-lyle has joined #openstack-horizon15:39
*** ChanServ sets mode: +o david-lyle15:39
*** Sukhdev has joined #openstack-horizon15:39
*** romainh has left #openstack-horizon15:40
davidmichaelkarrSo I discovered that my "run_tests.sh" problem is due to my using CentOS 6.6.  It requires at least 7.0. I briefly looked in the doc tree, but I didn't notice a page that lists minimum or maximum version requirements for OSes or other artifacts. Would this be a reasonable thing to be available?15:40
*** matt-borland has quit IRC15:41
*** bpokorny has joined #openstack-horizon15:42
*** notmars has quit IRC15:43
*** yamamoto has joined #openstack-horizon15:46
*** lblanchard has quit IRC15:46
*** david-lyle has quit IRC15:47
*** alexpilotti has joined #openstack-horizon15:48
*** jbell8 has joined #openstack-horizon15:51
*** yamamoto has quit IRC15:52
*** david-lyle has joined #openstack-horizon15:53
*** ChanServ sets mode: +o david-lyle15:53
*** JeanBriceCombebi has quit IRC15:55
*** jbell8 has quit IRC15:55
*** notmars has joined #openstack-horizon15:55
openstackgerritVlad Okhrimenko proposed openstack/horizon: Logout user if he has no valid tokens  https://review.openstack.org/14248115:56
*** clu_ has joined #openstack-horizon15:56
*** nlahouti has joined #openstack-horizon15:57
*** clu_ has quit IRC15:58
*** radez_g0n3 is now known as radez16:01
*** oro_ has joined #openstack-horizon16:02
*** rushiagr_away is now known as rushiagr16:03
*** belmoreira has quit IRC16:07
openstackgerritAaron Sahlin proposed openstack/horizon: JSCS cleanup - Angular framework widgets (partial2)  https://review.openstack.org/18775816:11
*** alexvictorchan has joined #openstack-horizon16:12
*** gokrokve_ has joined #openstack-horizon16:12
*** hurgleburgler1 has joined #openstack-horizon16:13
*** hurgleburgler has quit IRC16:13
*** kiranr has joined #openstack-horizon16:14
*** kiran-r has quit IRC16:14
*** gokrokve has quit IRC16:14
openstackgerritAaron Sahlin proposed openstack/horizon: JSCS cleanup - Angular framework widgets (partial2)  https://review.openstack.org/18775816:16
*** sqchen has joined #openstack-horizon16:16
*** sqchen has quit IRC16:17
openstackgerritKelly Domico proposed openstack/horizon: Updated UX for project and region selector  https://review.openstack.org/18619316:18
*** jamielennox is now known as jamielennox|away16:21
*** david-lyle has quit IRC16:22
*** matt-borland has joined #openstack-horizon16:22
*** gyee has joined #openstack-horizon16:23
*** alanf-mc has joined #openstack-horizon16:24
openstackgerritTyr Johanson proposed openstack/horizon: Co-locate common test infrastructure  https://review.openstack.org/18806716:24
*** sqchen has joined #openstack-horizon16:28
*** ygbo has quit IRC16:29
*** lhcheng has joined #openstack-horizon16:32
*** kiranr has quit IRC16:36
*** _kiran_ has joined #openstack-horizon16:36
*** petertr7 is now known as petertr7_away16:38
*** _kiran_ has quit IRC16:41
*** jbell8 has joined #openstack-horizon16:42
*** lucas___ has joined #openstack-horizon16:42
*** ttrifonov is now known as zz_ttrifonov16:44
*** bluex-pl has quit IRC16:46
*** gokrokve has joined #openstack-horizon16:46
*** lucas___ has quit IRC16:47
*** lblanchard has joined #openstack-horizon16:47
*** gokrokve_ has quit IRC16:49
*** gokrokve has quit IRC16:51
*** jingjing_ren has joined #openstack-horizon16:51
*** dscottsf has joined #openstack-horizon16:54
*** lucas___ has joined #openstack-horizon16:54
*** dscottsf has quit IRC16:55
*** Longgeek has quit IRC16:55
*** belmoreira has joined #openstack-horizon16:58
*** KunalGandhi has joined #openstack-horizon16:58
*** lucas___ has quit IRC16:59
*** markus_z has quit IRC17:01
*** lucas___ has joined #openstack-horizon17:08
*** amotoki has quit IRC17:09
*** mpavlase has quit IRC17:09
*** clu_ has joined #openstack-horizon17:10
*** radez is now known as radez_g0n317:11
*** david-lyle has joined #openstack-horizon17:13
*** ChanServ sets mode: +o david-lyle17:13
*** david-lyle has quit IRC17:13
*** josecastroleon has quit IRC17:14
*** david-lyle has joined #openstack-horizon17:15
*** ChanServ sets mode: +o david-lyle17:15
*** dguerri is now known as dguerri`away17:15
*** rushiagr is now known as rushiagr_away17:15
*** e0ne has quit IRC17:17
*** notmars has quit IRC17:20
*** svasheka has quit IRC17:22
*** akrivoka has quit IRC17:22
*** jbell8 has quit IRC17:22
*** iamjarvo has quit IRC17:24
*** dboik has quit IRC17:26
*** iamjarvo has joined #openstack-horizon17:26
*** reed_ has joined #openstack-horizon17:27
*** dboik has joined #openstack-horizon17:27
*** david-lyle has quit IRC17:28
*** petertr7_away is now known as petertr717:29
*** ongk has quit IRC17:31
*** ongk has joined #openstack-horizon17:31
*** jbell8 has joined #openstack-horizon17:34
*** Sukhdev has quit IRC17:34
openstackgerritKelly Domico proposed openstack/horizon: Fix project name error when creating project (Keystone v3)  https://review.openstack.org/18811617:39
*** iamjarvo has quit IRC17:39
*** kiran-r has joined #openstack-horizon17:41
*** ybathia has joined #openstack-horizon17:42
openstackgerritOpenStack Proposal Bot proposed openstack/django_openstack_auth: Updated from global requirements  https://review.openstack.org/18812017:42
openstackgerritKahou Lei proposed openstack/horizon: Port should not be detached when changing name  https://review.openstack.org/18579617:46
openstackgerritDuk Loi proposed openstack/horizon: Add support for root enable and show  https://review.openstack.org/18319617:46
*** radez_g0n3 is now known as radez17:46
*** sjmc7 has quit IRC17:47
*** notmars has joined #openstack-horizon17:50
*** sjmc7 has joined #openstack-horizon17:51
*** reed_ has quit IRC17:52
*** iamjarvo has joined #openstack-horizon17:52
*** dguerri`away is now known as dguerri17:59
*** nlahouti has quit IRC17:59
*** jingjing_ren has quit IRC18:00
*** kiran-r has quit IRC18:02
*** belmoreira has quit IRC18:02
*** jbell8 has quit IRC18:02
*** nlahouti has joined #openstack-horizon18:03
*** lucasXu has joined #openstack-horizon18:04
*** tqtran has joined #openstack-horizon18:04
tqtrandoug-fish: https://plus.google.com/hangouts/_/g6t6yr3nrzgr7so3majq3m6cuia?hl=en18:05
tqtranshow off the translation work that i did, if you're interested, welcome to join18:05
*** dboik has quit IRC18:07
*** dboik has joined #openstack-horizon18:07
*** lucas___ has quit IRC18:10
TravTtqtran: is this different from what you showed before?18:13
tqtransame18:13
tqtranjust wanted to keep doug-fish  up to date18:13
TravTok, then i'll eat lunch.18:13
TravT:)18:13
*** svasheka has joined #openstack-horizon18:17
openstackgerritRyan Peters proposed openstack/horizon: ngReorg - Move API files to openstack_dashboard  https://review.openstack.org/18454318:19
openstackgerritGeorge Peristerakis proposed openstack/horizon: [WIP] Display event stream in the instance audit tab  https://review.openstack.org/18813418:20
*** SimonChung has joined #openstack-horizon18:21
*** elmiko has joined #openstack-horizon18:24
elmikoclu_: hey, do you have a minute to chat about the api working group?18:24
clu_hi elmiko18:24
clu_sure18:24
elmikocool, i just wanted to say hi, my name is michael mccune and i'm doing some outreach to the listed liaisons18:26
clu_Hello Michael18:26
elmikoalso, i wanted to bring up 2 docs that we are working on just to get the word out18:26
elmikoone, is the merge guidelines that etoews has put together, https://review.openstack.org/#/c/186836/18:27
elmikoand two is a set of guides that the nova folks have put together about liaison responsibilities that they are experimenting with, https://wiki.openstack.org/wiki/Nova/APIWGLiaisons18:27
elmikoi expect that in the next few weeks we will start to post on the ml about guidelines that working their way through the merge process18:28
elmikopart of this is engaging the liaisons to get their opinions before we do final merges18:28
*** jingjing_ren has joined #openstack-horizon18:28
elmikoso, i'm just reaching out to all the liaisons =)18:28
*** notmars has quit IRC18:29
clu_Thanks elmiko, I will keep my eyes peeled :)18:29
elmikoif you have any questions or comments, we usually hang out in openstack-api, and i'm usually around for pinging18:29
elmikoclu_: cool, thanks for your time =)18:29
clu_np, elmiko18:30
*** david-lyle has joined #openstack-horizon18:33
*** ChanServ sets mode: +o david-lyle18:33
*** jingjing_ren has quit IRC18:34
*** notmars has joined #openstack-horizon18:36
*** jprovazn has quit IRC18:38
*** jwy has joined #openstack-horizon18:38
*** gokrokve has joined #openstack-horizon18:39
*** notmars has quit IRC18:39
*** aix has quit IRC18:39
*** notmars has joined #openstack-horizon18:40
*** notmars has quit IRC18:40
tqtrandavid-lyle: is meeting in 20m or 1hr 20m?18:41
david-lyle1hr 20 minutes!!!!18:41
tqtranok thanks :D18:42
*** vkmc has quit IRC18:42
doug-fishtqtran: http://www.worldtimeserver.com/current_time_in_UTC.aspx18:42
*** jtriley has quit IRC18:43
david-lylethe big hand is on the ...18:44
*** elmiko has left #openstack-horizon18:48
peristeridavid-lyle, I wanted to present a blueprint at the meeting, but I will not be able to make the meeting.18:49
peristerishould I still add it to the wiki?18:49
david-lyleperisteri: which one?18:49
david-lylesure18:49
peristerihttps://blueprints.launchpad.net/horizon/+spec/instance-events18:50
david-lylewe can still raise it even in you're not present18:50
peristerigreat, I'll add that to the wiki18:51
openstackgerritMatt Borland proposed openstack/horizon: Adding tests for button-tooltip.js  https://review.openstack.org/17843418:51
matt-borlandtqtran: is that Flavors test patch good except for your notes?  FYI I had run our jscs config against this code this morning and cleaned up its complaints.18:54
*** nlahouti has quit IRC18:54
*** jtriley has joined #openstack-horizon18:54
*** mordred has quit IRC18:55
*** mordred has joined #openstack-horizon18:55
*** lucas___ has joined #openstack-horizon18:56
*** lucas___ has quit IRC18:58
*** lucas___ has joined #openstack-horizon18:58
openstackgerritMatt Borland proposed openstack/horizon: [Launch Instance Fix] Add Flavor Step Unit Tests  https://review.openstack.org/16732618:59
*** alanf-mc has quit IRC19:03
*** nlahouti has joined #openstack-horizon19:06
*** alanf-mc has joined #openstack-horizon19:07
*** e0ne has joined #openstack-horizon19:13
matt-borlandtqtran: I addressed both of your comments, fixed a jscs issue and put those changes up for review.19:15
matt-borlandfor https://review.openstack.org/#/c/167326/ that is19:15
*** lucas___ has quit IRC19:18
*** lucas___ has joined #openstack-horizon19:19
openstackgerritMatt Borland proposed openstack/horizon: [Launch Instance Fix] Add Flavor Step Unit Tests  https://review.openstack.org/16732619:21
*** lucas___ has quit IRC19:21
openstackgerritMatt Borland proposed openstack/horizon: [Launch Instance Fix] Add Flavor Step Unit Tests  https://review.openstack.org/16732619:23
*** jbell8 has joined #openstack-horizon19:23
*** cardeois________ has quit IRC19:27
*** cardeois________ has joined #openstack-horizon19:27
*** vkmc has joined #openstack-horizon19:28
*** jtriley has quit IRC19:29
*** svasheka has quit IRC19:30
matt-borlandtqtran: I'd love it if you let your .jscsrc patch be ready for review--it doesn't hurt anything to have those rules in there.  Makes checking/fixing patches easier since we're -1ing things on the uncommitted JSCS patch.19:36
matt-borlands/review/approval19:37
*** jtriley has joined #openstack-horizon19:38
*** woodm19791 has joined #openstack-horizon19:38
*** iamjarvo has quit IRC19:39
*** svasheka has joined #openstack-horizon19:39
*** nlahouti has quit IRC19:47
*** mrunge has quit IRC19:49
*** petertr7 is now known as petertr7_away19:49
*** petertr7_away is now known as petertr719:50
*** mrunge has joined #openstack-horizon19:52
*** vkmc has quit IRC19:53
*** alanf-mc has quit IRC19:55
openstackgerritDiana Whitten proposed openstack/horizon: Horizon Themes should support and house easy Template Overrides  https://review.openstack.org/18816219:56
*** lucas___ has joined #openstack-horizon19:58
r1chardj0n3smorning19:59
woodm19791It certainly is.  somewhere…19:59
neillcright here :)19:59
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109520:00
*** iamjarvo has joined #openstack-horizon20:00
*** tqtran has quit IRC20:02
*** tqtran has joined #openstack-horizon20:03
*** lucas___ has quit IRC20:03
*** alanf-mc has joined #openstack-horizon20:03
*** e0ne is now known as e0ne_20:09
*** alanf-mc has quit IRC20:13
*** e0ne_ is now known as e0ne20:14
*** alanf-mc has joined #openstack-horizon20:14
*** e0ne has quit IRC20:14
*** alanf-mc has quit IRC20:16
*** hurgleburgler1 is now known as hurgleburgler20:16
*** alexpilotti has quit IRC20:17
*** gokrokve has quit IRC20:18
*** svasheka has quit IRC20:19
*** vkmc has joined #openstack-horizon20:20
*** vkmc has quit IRC20:21
*** vkmc has joined #openstack-horizon20:21
*** svasheka has joined #openstack-horizon20:22
*** Sukhdev has joined #openstack-horizon20:29
*** jbell8 has quit IRC20:31
*** alanf-mc has joined #openstack-horizon20:33
openstackgerritMatt Borland proposed openstack/horizon: [Launch Instance Fix] Add Flavor Step Unit Tests  https://review.openstack.org/16732620:34
*** stevemar has quit IRC20:51
*** nlahouti has joined #openstack-horizon20:51
*** lucas___ has joined #openstack-horizon20:54
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822720:54
*** lblanchard has quit IRC20:58
*** mattfarina has quit IRC20:59
*** lucas___ has quit IRC21:00
*** jingjing_ren has joined #openstack-horizon21:00
tqtranhurgleburgler: so question, you mentioned in the bp about customization for markup as well21:02
tqtranhow do you envision that working?21:03
*** unixlike has quit IRC21:03
hurgleburglerI already pushed the code that would enable it  â€¦ just for django template to start with … I'll look at angular next21:04
hurgleburglerand in the code21:04
hurgleburglerI added an example21:04
hurgleburglerinside of the Blue theme21:04
hurgleburglerthere is an entirely custom navbar, that is bootstrap compliant and responsive21:04
*** clu_ has quit IRC21:04
*** pauloewerton has quit IRC21:05
*** pauloewerton has joined #openstack-horizon21:06
*** jtriley has quit IRC21:06
*** petertr7 is now known as petertr7_away21:09
*** mrunge has quit IRC21:10
openstackgerritDiana Whitten proposed openstack/horizon: Horizon Themes should support and house easy Template Overrides  https://review.openstack.org/18816221:12
*** sqchen has quit IRC21:13
*** woodm19791 has quit IRC21:13
*** jtriley has joined #openstack-horizon21:14
*** iamjarvo has quit IRC21:14
*** mpavlase has joined #openstack-horizon21:15
*** dboik_ has joined #openstack-horizon21:17
*** matt-borland has quit IRC21:18
*** pauloewerton has quit IRC21:19
*** dboik has quit IRC21:20
*** sqchen has joined #openstack-horizon21:20
tqtranhurgleburgler: oh cool, thanks!21:21
hurgleburglernp!21:21
*** dboik_ has quit IRC21:21
hurgleburglerif you pull the review to see what it looks like21:21
hurgleburglermake sure to set the CUSTOM_THEME_PATH to blue21:22
hurgleburglerin local_settings.py21:22
tqtranok21:22
openstackgerritTyr Johanson proposed openstack/horizon: Co-locate common test infrastructure  https://review.openstack.org/18806721:23
david-lyleblue: best theme ever21:24
*** iamjarvo has joined #openstack-horizon21:25
*** hurgleburgler1 has joined #openstack-horizon21:27
*** hurgleburgler has quit IRC21:28
TravThurgleburger: you had done an internal presentation on theming.21:30
TravTi think that would be useful for the whole community.  mentioned to robcresswell this morning and he liked it21:30
TravTi be others in here would be interested21:30
hurgleburgler1Cool21:30
TravTyour nick is really hard to spell btw21:30
hurgleburgler1lol, but its always available!21:31
*** hurgleburgler1 is now known as hurgleburgler21:31
TravTrobcresswell is trying to see if he can get webex working.21:31
hurgleburglerk, let me update a few things on the presentation21:31
TravTbut otherwise, maybe a hangout (even better hangout on air would be good) so it is recorded on you tube.21:31
hurgleburglero_O recorded??21:32
hurgleburglerhehehe21:32
tqtranyou will be famous21:32
TravTwe (david-lyle tqtran) had talked a bit about making a openstack horizon account on youtube so people could post videos.21:32
tqtranthat would be cool21:34
*** jingjing_ren has quit IRC21:35
TravTnot sure how to deal with the password issue...21:35
hurgleburglerlastpass?21:35
hurgleburglerlets you share secure passwords21:35
TravTwe would just need to make sure tqtran doesn't have it.21:35
hurgleburglerlolz21:36
openstackgerritWonChon proposed openstack/horizon: Support flavor-id uuid format at trove.  https://review.openstack.org/18818221:36
TravT:p21:36
*** peristeri has quit IRC21:38
tqtranhow about: horizon4life?21:38
*** jtriley has quit IRC21:38
*** dontalton has joined #openstack-horizon21:38
TravThmmm....21:40
TravTsome security bot combing the IRC logs is already preparing an attack21:41
*** sjmc7 has quit IRC21:41
doug-fishThat is nonsense. Please continue your secret human discussion.21:41
*** jingjing_ren has joined #openstack-horizon21:42
*** bpokorny has quit IRC21:45
*** alexpilotti has joined #openstack-horizon21:45
openstackgerritTyr Johanson proposed openstack/horizon: Improve unittests for angular charts  https://review.openstack.org/17925121:47
*** iamjarvo has quit IRC21:49
*** iamjarvo has joined #openstack-horizon21:49
*** iamjarvo has quit IRC21:50
*** ducttape_ has quit IRC21:53
*** bpokorny has joined #openstack-horizon21:55
TravTtqtran: david-lyle: doug-fish: clu: r1chardj0n3s: there is a proposal up to get karma testing as a non-voting job by krotscheck.  seems like a good idea to me.  i'm not entirely sure how to test it though.21:58
TravThttps://review.openstack.org/#/c/188107/21:58
*** svasheka has quit IRC21:59
krotscheckTravT: Well, the build will do a bunch of install and xvfb things, and then run `npm install; npm run test`22:01
doug-fishTravT: I don't know either - but I'm happy to go into #openstack-infra and see what I can find out22:01
krotscheckTravT: So as long as those can be executed from project root, you'll get your results :)22:01
TravTkrotscheck: is there any way to get a test run of that against a horizon patch?22:02
TravTi guess it is non-voting, so it isn't very dangerous?22:02
TravTlhcheng: ^22:02
krotscheckTravT: Yep, that's basically what non-voting is there for.22:03
david-lylekrotscheck: which venv:env is it using?22:03
krotscheckdavid-lyle: It's not.22:03
david-lyleso tox is not triggering?22:03
krotscheckNope.22:04
krotscheckIt's JS tooling only22:04
*** jingjing_ren has quit IRC22:04
david-lylehave to look at it again22:04
krotscheckdavid-lyle: git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/javascript.yaml22:04
david-lyleso this just uses the /opt/stack/horizon delivered by devstack?22:06
*** hurgleburgler1 has joined #openstack-horizon22:08
*** hurgleburgler has quit IRC22:08
david-lyleactually no22:08
david-lyleno devstack checkout22:08
*** hurgleburgler1 is now known as hurgleburgler22:09
*** vijendar has quit IRC22:11
david-lylegerrit-git-prep22:14
*** Drago has quit IRC22:16
krotscheckdavid-lyle: The npm jobs were designed as minimalist as possible, allowing whoever's in control of the package.json file to invoke whatever they see fit.22:16
davidmichaelkarrHow can I diagnose a "run-tests.sh" failure?  I cloned the distro on centos 7 and did the installation steps, but it fails repeatedly (ok, twice in a row) on "flake8".22:16
krotscheckHonestly, I don't know enough about horizon's test environment dependencies to know whether it's a good fit.22:17
david-lyledavidmichaelkarr:  you should be getting console output detailing the errors22:17
david-lylekrotscheck: just wondering how the dependent packages are getting pulled down22:17
david-lylethat's typically what tox does22:17
davidmichaelkarrdavid-lyle: Yes, it's very informative:22:18
davidmichaelkarrhttps://www.irccloud.com/pastebin/BpWAfFno/22:18
david-lyledavidmichaelkarr: flake8 is not the problem there22:18
david-lylethe abort before is22:18
krotscheckdavid-lyle: you could invoke tox as a pretest hook.22:19
krotscheckOr as a postinstall hook22:19
davidmichaelkarrdavid-lyle: Here are the lines before that:22:19
davidmichaelkarrhttps://www.irccloud.com/pastebin/o72Pax6r/22:19
*** tqtran has quit IRC22:20
r1chardj0n3sTravT: krotscheck: does the karma runner need to run in other than phantomjs?22:20
*** jamielennox|away is now known as jamielennox22:20
r1chardj0n3sit's not testing browser behaviour22:20
davidmichaelkarrr1chardj0n3s: Actually, phantomjs is run by karma, not the other way around. Karma can also run other browsers.22:21
david-lylekrotscheck: maybe karma.conf.js pulls in enough?22:22
r1chardj0n3sdavidmichaelkarr: yes, I believe my point remains22:22
krotscheckdavid-lyle: Doesn'ts eem to.22:23
krotscheckr1chardj0n3s: are you concerned with the chromium and firefox installs in the javascript jobs?22:23
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109522:23
david-lyledavidmichaelkarr: there's > 1300 tests that should run in the openstack_dashboard suite22:23
krotscheckdavid-lyle: If I were to pick a venv to invoke to resolve the remaining dependencies, which should I go for?22:23
david-lylepy2722:24
david-lylekrotscheck: ^^22:24
davidmichaelkarrdavid-lyle: So how do I figure out what happened?22:24
krotscheckkk, just a sec, testing22:24
r1chardj0n3skrotscheck: yeah, why do those installs for the karma run if they're not needed?22:24
r1chardj0n3skrotscheck: unless it's a one-size-fits-all environment and it's easier to leave it alone22:24
krotscheckr1chardj0n3s: Because the npm-run job isn't just used by horizon?22:24
r1chardj0n3skrotscheck: yup22:24
r1chardj0n3sso I'm not sure why that aspect of the run is up for discussion previously?22:25
krotscheckI'm working on a javascript-jobs template group to codify all the common tooling for JS projects.22:25
r1chardj0n3sok22:25
r1chardj0n3s+1 to a non-voting karma please yes22:25
*** lhcheng has quit IRC22:25
*** lhcheng has joined #openstack-horizon22:26
* r1chardj0n3s has to duck out22:26
krotscheckr1chardj0n3s: It was, on the infra channel. There's actually functional UI tests using protractor against storyboard.22:26
*** oro_ has quit IRC22:26
david-lyledavidmichaelkarr: I've seen behavior like that when I'm running out of memory and swapping22:26
krotscheckThough, well, hey, that's getting archived.22:26
david-lylebut I haven't diagnosed the root cause beyond that22:26
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109522:27
*** bpokorny has quit IRC22:27
*** bpokorny has joined #openstack-horizon22:27
davidmichaelkarrdavid-lyle: Ok, I'll try upping the RAM available on the VM first.22:28
*** Sukhdev has quit IRC22:29
david-lyledavidmichaelkarr: actual test failures will give output, but the underlying process is dying or being killed22:29
david-lylehence no output22:29
*** dguerri is now known as dguerri`away22:29
krotscheckTravT: I'm trying to run these tests manually, and am encountering an error of 'Can't find variable: angular". Have you run into this before?22:30
krotscheckI feel like I'm missing some key bit22:31
*** jingjing_ren has joined #openstack-horizon22:34
TravThey krotschek: i just ran locally npm install then npm run test off of master with no issues22:36
krotscheckTravT: Huhn.22:36
krotscheckTravT: Urrrr....22:36
krotscheckTravT: Yay!22:36
* krotscheck looks at his codebase and walks away slowly.22:36
TravT521  cd horizon22:37
TravT  522  ls22:37
TravT  523  git checkout master22:37
TravT  524  git pull origin master22:37
TravT  525  git checkout -b npm-test22:37
TravT  526  npm install22:37
TravT  527  npm run test22:37
krotscheckThat's basically the exact same thing I did.22:38
davidmichaelkarrIs there a specific way we're supposed to install npm?22:38
TravTit has been awhile since i did the base setup stuff of npm on this box... so i always forget when having to go from scratch.22:39
*** jingjing_ren has quit IRC22:39
davidmichaelkarrThe quickstart page says nothing about it.22:39
davidmichaelkarrWhat version of node should be installed?22:40
TravTnpm --version22:41
TravT2.5.122:41
openstackgerritMichael Krotscheck proposed openstack/horizon: Added karma-cli to package.json  https://review.openstack.org/18819822:41
TravTbut, i'm on macbook here22:41
krotscheckTravT: So am I :/22:41
krotscheckTravT: Would yo umind blowing away your .tox directory and trying again?22:41
TravTyou trying to mess with me?22:41
TravT:)22:41
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109522:42
krotscheckTravT: Not really. I'm wondering if something's in a venv somewhere.22:42
davidmichaelkarrTravT: npm is part of node. What version of node should be installed?22:42
krotscheck2.5.1 is fine. Things get a little wonky once the distros update to 3.0, as peerDependencies will no longer be automatically installed.22:43
TravTnode --version22:43
TravTv0.12.122:43
davidmichaelkarrTravT: Thanks.22:43
TravTok, i have no .tox22:43
davidmichaelkarrTravT: Is the use of that version specified by anyone, or is that just what you happen to have installed?22:43
krotscheckdavidmichaelkarr: It's not specified.22:44
TravTkrotscheck: just ran succesfully on my ubuntu box as well.22:45
TravTlet me kill off .venv, etc22:45
TravTnode_modules...22:46
krotscheckTravT: Don't worry about it. If it works on your machine, it's probably something wacky I'm doing wrong here.22:46
krotscheckTravT: The only real test we can do is to let that job into infra and see what happens.22:46
TravTok so on ubuntu it still ran after blowing away things node modules and .venv22:48
TravTif we add that job, it won't invalidate already checked patches, right?22:48
TravTi know non-voting won't in general, just wondering if it will cause all of the existing patches that are checked to be re-checked22:49
TravTpardon my general lack of useful knowledge on how that works.22:49
davidmichaelkarrkrotscheck: As a matter of fact, I see the following in the output, so the node version is sort of specified, it's just apparently advisory:22:50
davidmichaelkarrnpm WARN engine karma@0.12.31: wanted: {"node":"~0.8 || ~0.10"} (current: {"node":"0.12.1","npm":"2.5.1"})22:50
krotscheck TravT it shouldn't22:50
*** ongk has quit IRC22:50
krotscheckTravT: That is, nothign will be _rechecked_, however if the job is in the gate queue when something lands, then it'll be run.22:51
TravTso, on my blown away venv i did get some errors.22:51
david-lyleTravT: only on subsequent runs, nothing old is effected22:51
TravTjust a sec.  i'll paste it.22:51
TravThttp://paste.openstack.org/show/260738/22:52
*** jtriley has joined #openstack-horizon22:52
TravTdoing ./run_tests.sh -k now22:52
TravTit is installing .venv22:52
TravTthat worked...22:53
TravTand then running npm run test worked22:53
TravTdavid-lyle: i think we could all chase our tails for awhile or go ahead and enable this to see what happens?22:54
TravTbut you guys know a lot more about the zuul than me.22:55
TravTs/the/22:55
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109522:55
r1chardj0n3sTravT: hi, what's this about zuul?22:55
TravTr1chardj0n3s: see above22:55
TravTbut we'22:55
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109522:56
TravTre trying to get a job enabled to run karma22:56
r1chardj0n3sI'm trying to wotk thru the scrollback, yeah22:56
TravTgeez, i just realized there's a whole bit here i missed.  must have zoned out.22:57
TravTin the scrollback22:57
r1chardj0n3sI was off doing the school run, what's your excuse? :)22:57
*** bpokorny has quit IRC22:57
openstackgerritDiana Whitten proposed openstack/horizon: Create a Bootstrap Theme Preview Page with HTML Hints  https://review.openstack.org/18781822:58
*** Sukhdev has joined #openstack-horizon22:59
david-lyleTravT: as long as the theoretically necessary tox piece is added, I don't have a reason not to23:01
*** mpavlase has quit IRC23:01
david-lyleor was it the karma-cli bit?23:01
TravTi don't know.23:02
*** Raildo_ has joined #openstack-horizon23:03
r1chardj0n3skrotscheck: nice work, looking forward to seeing the karma tests in the gate!23:03
krotscheckThe karma cli bit is unrelated23:03
r1chardj0n3syeah, but it's a nice cleanup23:04
krotscheckTravT: Ok, so the command we're looking for is... tox -epy27 --notest?23:06
*** tqtran has joined #openstack-horizon23:07
tqtranTravT: regarding https://review.openstack.org/#/c/178227/4723:08
tqtranTravT: i went over most of the smaller tests, but the ones like nova is quite long23:08
TravTdavid-lyle: can you verify krotscheck question?23:08
TravTtqtran: hey23:09
TravTi was just walking through that patch myself...23:09
tqtrani guess just need to tough up and read through it23:09
david-lylekrotscheck: that looks right to me23:10
tqtranbut would have been better if matt broke out keystone and nova23:10
TravTthe keystone one is more test data than tests23:10
TravTnova too.23:10
r1chardj0n3shm, the way I read it is the nova spec is full of test specifications, not data23:12
TravTagreed on it would have been nice, but i think part of the reasoning is every time we landed those things we'd get a merge conflict in jasmine tests py23:12
TravTah, you are right...23:12
* krotscheck is trying to figure out if this works.....23:13
r1chardj0n3s... having said that, there's no verification. we're just executing code to make sure it doesn't break23:13
r1chardj0n3sthat "it defines the xxxx call function properly"23:13
r1chardj0n3s(though I guess in most cases the functions are trivial and that's good enough)23:13
krotscheckWell then.23:15
krotscheckThat sortof worked. Except that my phantom crashed23:15
*** jtriley has quit IRC23:15
openstackgerritMichael Krotscheck proposed openstack/horizon: Added postinstall hook to trigger tox  https://review.openstack.org/18820523:18
krotscheckTravT: Can you test ^^ to see if it works for you?23:18
*** chlong has joined #openstack-horizon23:19
TravTso, blow away venv again and then try it?23:19
krotscheckTravT: If you wouldn't mind23:20
TravTno at all, trying now23:20
r1chardj0n3sI'm giving a shot also23:21
*** alexvictorchan has quit IRC23:23
krotscheckI'm still getting a "ReferenceError: Can't find variable: angular" error23:24
krotscheck:/23:24
r1chardj0n3soh, I did a bad: I used "./run_tests.sh -k" to test pre-patch ;)23:24
TravTdidn't work for me...23:24
TravThttp://paste.openstack.org/show/260881/23:24
TravTwhen i do ls -al, i don't see a .venv either23:25
r1chardj0n3syep, no venv here either23:25
r1chardj0n3sI don't think postinstall gets run for "npm run"23:25
krotscheck....it appears that y'all don't use tox' default venv directory23:25
david-lylekrotscheck: not with run_tests.sh23:26
krotscheckr1chardj0n3s: It doesn't. It gets run after npm install23:26
krotscheckr1chardj0n3s: Semantically I feel it makes more sense for dependency installs to be in that phase.23:26
TravTif you see my output... i did do an npm install23:26
krotscheckdavid-lyle: That would explain why there are issues.23:26
r1chardj0n3skrotscheck: yeah, so I'm not sure what karma_fix is supposed to be enabling23:26
r1chardj0n3skrotscheck: since it can't fix the npm run case23:27
krotscheckr1chardj0n3s: I was going off the assumption that your venv's use tox's default setup.23:27
david-lyleyeah one is building .tox/py27 and the other expecting .venv23:27
r1chardj0n3skrotscheck: but even if we did use the tox env, it's not going to be set up by your patch23:27
krotscheckr1chardj0n3s: I'l guarantee that it would be invoked in the gate.23:27
krotscheckWhich is what I'm going for here.23:27
r1chardj0n3sperhaps just sub the "test" config in package.json to invoke run_tests.sh -k23:28
krotscheckAnyway, back to actually diagnosing and fixing the issue, rather than taking potshots.23:28
r1chardj0n3sthat would guarantee the env is correct23:28
r1chardj0n3sthe test env is not... straighforward ;)23:28
r1chardj0n3sand run_tests (which should be renamed, imho, to "./run_in_horizon_env.sh"23:28
r1chardj0n3s:)23:29
krotscheckrun_tests appears to run the npm tests. Why exactly do you guys need the npm-run job?23:29
r1chardj0n3srun_tests is, I believe, the only current method to invoke karma and guarantee the env is correct23:29
*** jtriley has joined #openstack-horizon23:29
krotscheckdavid-lyle: Ok, so rather than using tox -epy27 --notest, what I really should be using is.... (help me out here)23:30
r1chardj0n3skrotscheck: I don't believe we do need it, except that "npm run test" is required by your gate job23:30
TravTso, earlier david-lyle had suggested copying jshint job23:30
* krotscheck sighs23:30
r1chardj0n3s... which afaict is just a run_tests.sh job, which goes back to my point23:31
david-lylekrotscheck: let me test23:31
krotscheckOk, TravT - can you loop back with matt-borland and figure out exactly what you guys want? I feel like I just spent half a day building something that was already built.23:31
r1chardj0n3sso, modify package.json to invoke "run_tests.sh -k" for the "npm run test" and we're done. I don't see the problem...23:31
r1chardj0n3soh, wait, I see the problem23:31
r1chardj0n3sthe run_tests job -k job needs to take the test command from package.json :)23:32
*** jingjing_ren has joined #openstack-horizon23:32
*** mwhagedorn has quit IRC23:32
krotscheckr1chardj0n3s: You're really not being helpful right now.23:32
r1chardj0n3suh wat?23:32
*** sumanth has joined #openstack-horizon23:32
krotscheckr1chardj0n3s: There's absolutely no reason for us to use an npm job if we're already using horizon's usual test runner.23:33
TravTkrotscheck: was just hoping to get karma running.23:33
r1chardj0n3sexcept that your javascript gate job uses "npm run test"!23:33
r1chardj0n3sso we have to make that work, yes?23:33
david-lylekrotscheck: in the gate we run -N which says don't put in a venv23:33
krotscheckTravT: Seems like it's already running.23:33
david-lyle.run_test.sh -N that is23:34
david-lyleso the python dependencies are installed at the system level23:34
*** jrist has quit IRC23:34
TravTkrotscheck: where are they already running on gate?23:35
krotscheckr1chardj0n3s: Yes, however what you guys _really_ want is the npm install macro, combined with your own buidl's shell invocation of npm run test23:36
krotscheckTravT: StoryBoard, Merlin, Refstack (up for review)23:36
r1chardj0n3skrotscheck: I don't see why we want that23:36
*** dontalton has quit IRC23:37
krotscheckr1chardj0n3s: I came into this conversation at the request of matt-borland and TravT to "Get our npm karma tests running against horizon"23:38
krotscheckr1chardj0n3s: To me, this says "Hey, run npm tests, great!"23:38
r1chardj0n3skrotscheck: sure, and I offered a solution to make "npm run test" work23:38
krotscheckr1chardj0n3s: Turns out that you guys are doing crazy python things instead. So tons of miscommunication.23:38
r1chardj0n3syup, we are definitely with the crazy :)23:38
*** Raildo_ has quit IRC23:39
krotscheckr1chardj0n3s: And, had I known that, I wouldn't have recommended the npm-run job in the first place.23:39
r1chardj0n3sso we'd have to have our own gate job to run karma? hm23:39
krotscheckr1chardj0n3s: Why? You're already running it in run_tests.23:40
*** bpokorny has joined #openstack-horizon23:40
*** yamamoto has joined #openstack-horizon23:40
r1chardj0n3ser, not that I'm aware of23:40
*** rwsu has quit IRC23:41
r1chardj0n3sthere's a command in run_tests, yes, but we don't have a gate configuration to invoke that23:41
david-lylekrotscheck: we need a new job, but it's not big23:41
r1chardj0n3swe'd have to create one (which is what I meant by "have to have our own gate job"23:41
david-lylewe need the npm install bit23:41
r1chardj0n3sI guess I'd prefer to re-use an existing gate job configuration that do our own thing23:42
r1chardj0n3sand since I believe we can make "npm run test" work...23:42
r1chardj0n3swe can fix the env wierdness later23:42
r1chardj0n3s(I really *hope* we can fix the env wierdness later, but there's a lot of heated discussion required to get us to that place)23:42
krotscheckSo, I just executed ./run_tests.sh -k after scrubbing my environment, and it very clearly has karma output at the end. So the goal here is that you... want to run your tests twice?23:43
TravTi'm not seeing where it gets run now.  -N doesn't actually run it23:44
r1chardj0n3stwice? you're seeing two test runs in "./run_tests.sh -k"?23:44
david-lyleactually, looking at the job, it's just a hook tell tox the env is jshint, which does the npm install23:44
TravTthe default run_tests.sh actually only seems to run a subset23:44
krotscheckv23:45
krotscheckhttp://paste.openstack.org/show/260901/23:45
david-lylehttp://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/horizon.yaml#n2023:45
r1chardj0n3skrotscheck: that's two separate test configs being run23:45
r1chardj0n3snot two runs of the same config23:45
krotscheckr1chardj0n3s: I'm saying that your karma tests are _already_ being run. You don't need a new job.23:46
r1chardj0n3s(one under horizon, the other under openstack_dashboard, because "horizon" reasons :)23:46
r1chardj0n3skrotscheck: where are they already being run?23:46
david-lyleso we'd need a tox env added that did the npm install karma -g23:46
r1chardj0n3sI don't see them in an existing gate job...23:46
krotscheckr1chardj0n3s: You don't run run_tests.sh in the gate?23:46
david-lylekrotscheck: only if invoked by developer are they running23:46
r1chardj0n3swe do, but it doesn't run everything23:47
krotscheckAhhhh23:47
krotscheckThat's the piece I was missing23:47
david-lylewe have separate jobs for the different bits23:47
r1chardj0n3sahh!!!23:47
r1chardj0n3s\o/ progress :)23:47
r1chardj0n3s(we like to be different, here in Horizon Land)23:47
TravTif you look at run_tests.sh -N it doesn't really run everything23:47
* krotscheck is getting the sense that every project is their own special snowflake.23:48
*** jrist has joined #openstack-horizon23:48
r1chardj0n3shence my recommendation to run the "karma" bit "run_tests.sh -k" as the "npm run test" command23:48
david-lylekrotscheck: that's the governance model23:48
TravTr1chardj0n3s: to be fare "we" inherited this specialness23:48
r1chardj0n3skrotscheck :)23:48
TravTs/fare/fair23:48
r1chardj0n3sTravT: oh yes, but we do get to own it now23:48
david-lyleactually most projects had a run_tests.sh, we just one of the last to keep it23:49
r1chardj0n3s(one of the reasons I'm so against introducing more weirdness as legacy in the i18n stuff)23:49
krotscheckdoes run_tests also switch into the venv it's building to run the tests?23:49
r1chardj0n3skrotscheck: yes23:49
r1chardj0n3s./run_tests.sh -k is entirely self-contained23:49
david-lylekrotscheck: r1chardj0n3s but in the gate it uses -N which is no virtualenv23:49
*** alexvictorchan has joined #openstack-horizon23:50
r1chardj0n3sdavid-lyle: yeah, but we get to invoke it explicitly23:50
r1chardj0n3sunless there's a very good reason not to23:50
krotscheckOk, so the problem is: How do we resolve the dependencies that karma needs? Or should we just take r1chardj0n3s' suggestion and invoke run_tests.sh -k23:50
david-lyler1chardj0n3s: in the gate it is invoked23:50
david-lylelocal runs are a different story23:50
r1chardj0n3sdavid-lyle: also that -N thing is just for the existing horizon jobs, yeah? not the JS job we're taking about?23:50
krotscheckThankfully, it appears that the venv leaks, so after the dependencies are resolved the regular npm run passes.23:50
david-lyler1chardj0n3s: not current23:51
david-lylejshint and jscs both use -N23:51
r1chardj0n3sah yeah, but they're *horizon* jobs23:51
r1chardj0n3snot the one that krotscheck is proposing we use23:51
* krotscheck withdrew that proposal :-P23:52
david-lylecorrect23:52
r1chardj0n3sboo krotscheck! :)23:52
TravTso... here is what I had added in the patch i was about to commit when we first exchanged emails today: http://paste.openstack.org/show/260902/23:52
TravTbut i couldn't figure out how in the world that would work.23:52
david-lyleyou need to add a tox env for it23:53
r1chardj0n3sdavid-lyle: oh, wait, the -N is just in the tox env23:53
r1chardj0n3sok23:53
david-lyleand also call out when that job gets invoked23:53
TravTi had that in layout.yaml23:53
r1chardj0n3sright, so TravT's proposal is we add a new gate config rather than re-use the existing on krotscheck made, right23:53
*** jbell8 has joined #openstack-horizon23:53
TravTlet's be clear here, i'm just comparing notes23:54
r1chardj0n3sseems the tox env would be a copy of the jshint one23:54
r1chardj0n3s(which the command changed, obvs)23:54
r1chardj0n3sdoes that not work?23:54
TravTthe million dollar question... how do you actually test this stuff?23:55
TravTwithout just pushing it and seeing what happens?23:55
openstackgerritDavid Lyle proposed openstack/horizon: Add karma env for testing in gate  https://review.openstack.org/18821023:55
krotscheckIf I run run_tests.sh with no commandline option, what does it do?23:55
TravTwas just looking at that...23:56
david-lylethat's the env following the existing pattern23:56
r1chardj0n3sright, so I should be able to test that right now23:56
TravTit runs something that says run all, but it doesn't really run all23:56
* r1chardj0n3s clones23:56
krotscheckOk, so if in either postinstall, or pretest, I call ./run_tests.sh ....23:56
krotscheckI should have all the dependencies that karma needs to run, yes?23:56
*** tosky_ has quit IRC23:57
krotscheckHrm, it's running linting23:57
TravThttps://github.com/openstack/horizon/blob/master/run_tests.sh#L37423:57
r1chardj0n3sdavid-lyle: there is a high-level decision to be made here - do we add a horizon job or do we reuse the more generic javascript job?23:57
david-lyledefault is in a venv, no selenium, no integration, yes flake8, no coverage23:57
david-lyleI believe23:57

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