/srv/irclogs.ubuntu.com/2013/09/03/#juju-gui.txt

=== schwuk_away is now known as schwuk
huwshimiluca__: http://10.20.69.166:2464/09:20
hatchrick_h, done09:48
rick_hhatch: woot!09:48
rick_h.c09:51
hatchMakyo, qa'ing now09:51
frankbanbcsaller: https://codereview.appspot.com/13309044 thanks!10:17
huwshimirick_h: What's the nose package I need to install to be able to run single tests?12:33
rick_hhuwshimi: https://pypi.python.org/pypi/nose-selecttests/0.412:35
huwshimirick_h: Cheers12:35
rick_hhuwshimi: so you can bin/pip install nose-selecttests and then you can run tests with -t XXXXX12:35
rick_hMakyo: https://codereview.appspot.com/13441046/12:42
Makyobcsaller, I landed your test fix as part of this branch, since my last one broke ci13:02
bcsallerahh, ok, I merged trunk and didn't see it so I did finally propose 13:02
MakyoStill lboxing :)13:02
abentleyorangesquad, bac or benji: Could you please review https://code.launchpad.net/~abentley/charmworld/use-latest-charm/+merge/183661 ?13:34
* sinzui looks13:34
benjiwow, fast on the trigger this morning 13:35
abentleybenji: 13:35
abentleybenji: Was basically done on Friday.13:35
sinzuiabentley, r=me13:37
rick_hcurses, no IE love https://developer.mozilla.org/en-US/docs/WebAPI/Using_Web_Notifications13:56
jcsackettorangesquad: i have returned from having my stitches taken out. sinzui, i'll be free for our normal 1x1 time.14:18
sinzuijcsackett, orangesquad: let's hangout in 9 minutes to do some orienteering14:21
abentleysinzui: +114:23
sinzuijcsackett, adeuring https://plus.google.com/hangouts/_/538341c5065bcf63afe4dfc783cbb34db8a826b1?hl=en14:32
jcsackettsinzui: thanks; fighting G+14:32
abentleysinzui, abel: Test runs used to take 4 minutes.  Now, they take 3 hours: https://jenkins.qa.ubuntu.com/job/charmworld-merger-trunk/buildTimeTrend15:03
sinzuiabentley, adeuring Lp's test runs take 35 minutes. I think we need to save face and make runs fast again15:04
adeuringsinzui: agreed...15:05
jcastrohey guys15:33
jcastroany word on when we'll have more readable URLs land?15:33
rick_hjcastro: ummm...not at the moment. 15:33
jcastrough, this sucks15:34
jcastrook then, I'm going to use the github URLs!15:34
frankbanhatch: https://ec2-54-226-194-198.compute-1.amazonaws.com/:flags:/serviceInspector/15:34
rick_hjujugui review please? https://codereview.appspot.com/1344304415:44
bcsallerhatch: when you have a minute can you look to see if you think I missed any topics in https://codereview.appspot.com/1341504515:48
abentleysinzui: I think we could avoid Tarmac by using this: https://wiki.jenkins-ci.org/display/JENKINS/URLTrigger+Plugin15:57
sinzuiYummy15:59
benjicall?16:00
bacbenji: i'm here16:01
benjibac: what you talking about, Willis?16:02
bacjujugui: are sprinters going to participate in our daily call?16:02
bacbenji: i mean, i'm here and willing to have a call16:02
benjioh16:02
benjiI thought you were saying you were on the call already16:02
bacno sir16:03
bcsallerwe are really busy trying to push back on having to do work ;)16:03
rick_hbac: benji gary says yes we'll do a hangout shortly and will update16:04
rick_hhangout url will be offered in the near future?16:05
bcsallerhatch: I did send you a link before16:05
bacrick_h: eta on "shortly"?  this hour?16:05
rick_hbac: I *think* so 16:06
rick_hbac: I interrupted his current conversation to bring this up and he said yes, he wants to chat and will send a url16:06
rick_hbut no specific timeline given atm16:06
bcsallerrick_h: https://codereview.appspot.com/12323043/ has the instructions you wanted16:10
bacbenji: i'm getting F and E in trunk tests.  :(16:11
benji:(16:11
bacadeuring: benji and i notice 'make test' on charmworld is insanely slow.  is that a result of your es test fixes perhaps?16:12
adeuringbac: I'm afraid so :(16:12
benjibac: I made wait_for_green_status a noop and my subset of the tests went from 186 seconds to 6 seconds.16:12
adeuringIt's hard t16:12
adeuringpproblem for me right now is that the tests a _cirrently_ fast again16:13
adeuringwithout any apparent related change...16:13
bacbenji: i did the same and ran 'make test' in trunk resulting in16:15
bacRan 721 tests in 53.682s16:15
bacFAILED (errors=19, failures=6)16:15
bacadeuring: with trunk my tests ran for 10 minutes and didn't get past the first line of dots16:16
adeuringcrazy... abentley suggested to s/green/yellw/ in ElasticSearchLient.wait_for_green_status(). That might help butmight reintroduce the previous psurious failures...16:17
=== schwuk is now known as schwuk_away
benjibac: have time for a review? https://code.launchpad.net/~benji/charmworld/bundle-feature-ui/+merge/18370916:36
bacbenji: sure16:36
=== schwuk_away is now known as schwuk
benjibac: I assume its just you and me on charmworld now, right?16:36
benji(after the orange guys finish up any branches they are working on)16:37
bacbenji: yeah.  glad we don't require two reviews16:37
benjiheh16:37
=== TheRealMue is now known as TheMue
bacabentley, sinzui: in the wait_for_green method, we're passing a timeout to client.health as an integer.  the docs for es looks like it wants a string that includes units, e.g. '30s'.  does the python client convert those?  it doesn't look like it to me.16:59
sinzuibac: timeout – Number of seconds to wait for each request before raising Timeout17:01
sinzuihttp://pyelasticsearch.readthedocs.org/en/latest/api/#module-pyelasticsearch17:01
sinzuibac: abentley oh, but I see that some methods do want a string like '5m'17:02
sinzuiI think you are correct bac. The health check wants a string with units17:03
bacsinzui: thanks for the link to docs!  i hadn't found them before.17:03
=== schwuk is now known as schwuk_away
bacsinzui: even if i wanted an integer, those docs say 'number of seconds'.  it looks like our code thinks it is milliseconds.17:05
baci.e. the default is 30,00017:05
sinzuiWe have created a very patient test suite17:06
bacsinzui: but we have impatient developers17:06
bacoi, bin/es-update takes forever now too17:20
bacbenji: how do i see your new page?17:29
benjibac: you have to go to a URL like /bundles/wiki-bundle/wiki/featured/edit17:32
benjias far as I can tell there is no way to click through to a charm featured edit page so I didn't make a way to do it for bundles either17:33
bacbenji: so it has to be promulgated?17:34
gary_posterbac, benji, hey.  I'm sorry I missed the call.  Do you want to have a quick call now to catch up, or talk tomorrow?17:34
bacgary_poster: i'm free to talk now, if you have time.17:34
benjibac: yep; that is the same as for charms (only promulgated charms can be featured)17:34
bacbenji: so do you have test data?  i've just been loading the two bundles from LP and neither are promulgated17:35
benjibac: I did the same and it worked for me; maybe my understanding of how it works is flawed17:36
benjigary_poster: I had just started lunch.  I don't think I have anything significant to discuss.17:37
bacbenji: when i try to go to http://127.0.0.1:2464/charms/precise/apache2-passenger/featured/edit i get 403 - Forbidden17:52
bacwhen i try to login i get 'resource not found.'17:52
bacbenji: when you're back from lunch we should talk17:52
gary_posterbac, benji, I don't know if you replied: the network kicked my off almost immediately after saying hi to you :-P17:55
gary_postersorry17:55
bacgary_poster: we said we'd be glad to talk to you tomorrow since it is so late over there and benji is eating lunch.17:56
gary_posterbac, cool, thanks. :-)  talk you you tomorrow, then17:56
bacgary_poster: he and i are talking amongst ourselves frequently and don't have much to say17:56
gary_posterok cool bac.  I wanted to let you know what is going on here17:57
gary_posterso will talk tomorrow17:57
bacgary_poster: ok, have a good evening.17:57
gary_posterthanks, have a nice afternoon!17:57
gary_posterbye17:57
abentleysinzui: my critical bugfixes have landed.  I would like to do a release.  Is it safe to do that?17:58
sinzuiabentley, it is18:07
benjibac: I'm back18:26
abentleyjcastro m_3 marcoceppi: I believe the issues you reported Friday are all fixed.18:31
abentleyWell, the ones I was working on.  I don't know what other issues you might have reported :-)18:31
jcastroabentley: which issue?18:31
jcastrooh, the rack/rails one?18:32
abentleyjcastro: Yes.18:32
abentleysinzui, benji, bac: I've deployed r377 to production.18:37
benjik18:37
sinzuithank you abentley 18:37
bacbenji: sorry i had to run an errand18:42
benjino worries18:42
bacbenji: guichat?18:43
benjisure18:43
abentleysinzui: I am setting up a jenkins instance, and trying to run the test suite, but it is not installing pip.  Any ideas?  http://162.213.35.27:8080/job/Test%20charmworld/ws/bin/18:55
* sinzui thinks18:58
bacbenji: when you resolve your conflicts be sure to import pymongo into helpers18:59
sinzuiabentley, check the charm. I think there was a hack for pip...well maybe to install a specific pip lib19:00
* sinzui visits a meeting19:00
abentleysinzui: pip is installed on the host, and the only reference to pip in the charm is a one-liner in config-changed that uses pip.19:01
sinzuiabentley, I have pip installed as /usr/bin/pip not /bin/pip19:17
sinzuioh, but this in our tree19:17
abentleysinzui: I have both.19:17
bacbenji: try this: http://staging.jujucharms.com/login/openid19:22
bacabentley, sinzui: we have a problem:  http://manage.jujucharms.com/login/openid  gives a 404.  any idea what might've caused this problem?19:24
sinzuibac: no, but I see staging is also affected19:25
abentleysinzui: I wonder if it's related to your routes work?19:26
benjibac: hmm, that's not good19:26
bacabentley, sinzui: i'm trying r372, before sinzui's branch19:27
sinzuibac, abentley, benji, surely this is caused by my URL changes to support juju-gui promulgated charms19:27
bac372 works19:27
bac373 breaks19:28
abentleybac: confirmed.19:28
sinzuibac Since login can happen against anything, we might need to specify series or "login" specifically19:28
sinzuibac: we don't have a route for login, only logout. So routing's promulgated charm rule will always win19:30
sinzuibac, we can bac my rev out, remove "# Unnamespaced promulgated charms" from routing, add routing for login add a factory/custom_predicate that knows charm series19:33
bacsinzui: how does login work in the absence of the promulgated charm routing rules?19:33
bacsinzui: is there a default that it hits?19:34
sinzuiI was just going to read how it works19:34
bacsinzui: so there is an 'add_ubuntu_sso' after the routing is built.  i guess that adds a default19:35
sinzuibac, I see, and it is always last :(19:37
bacsinzui: but it looks like that call can be made in routes.py before the promulgated19:38
sinzuibac, I agree. I don't know why it wasn't done like that. Maybe charmworld was intended to be separate19:39
bachttp://paste.ubuntu.com/6060075/19:40
bacsinzui: i think that may work but i don't have any promulgated charms in my test data to see if that routing still works19:40
bacsinzui: did you add test coverage for those routes?19:41
bacnot that our tests work or anything19:41
sinzuibac, I certainly did!19:41
bac\o/19:41
sinzuibac, login is from the first week we joined the project.19:42
* sinzui find children19:42
abentleyI guess I just assumed that the last thing you add would have the highest priority.20:02
sinzuiabentley, I think the order of registration is the order of matching. I had to move rules when adding the new urls to not collide with historic urls20:10
sinzuibac, did you tell charmers that they cannot qa/feature any charms at the moment?20:17
bacsinzui: i did not20:18
bacsinzui: i'm been caught up trying to get a fix20:18
sinzuiI will tell them, Thy might no ever know since featuring and QA is a rare activity20:19
bacsinzui: you will send an email to juju or to ~charmers directly?20:20
sinzuibac charmers is a highlight word in #juju.20:22
bacbenji: could you review and QA/test https://code.launchpad.net/~bac/charmworld/fix-login/+merge/18375720:24
benjibac: sure20:26
bacsinzui: if you could glance at ^^^ that would be nice too.20:30
sinzuisure20:31
benjibac: 20:37
benjiThe branch looks good and QA passed.20:37
benjiReply20:37
benjis/Reply//20:38
bacbenji: cool.  did you try http://127.0.0.1:2464/precise/bonnie ?  (it passes)20:38
benjinope, I did apache20:38
benjibonnie looks fine too20:38
bacbenji: and all of the tests passed?20:39
benjibac: oh, I forgot the tests (I'm really not feeling well all of a sudden).  Startin gth etests now.20:39
bacbenji: when that lands and is merged i can QA your branch.20:41
benjibac: I didn't comment out the slow function, should I have?20:41
bacbenji: don't know.  nothing works on my vm20:42
sinzuibac, can't you change the tests to wait for yellow?20:42
bacsinzui: didn't help20:42
benjithe tests are slowly passing, so I'll give them some time20:42
bacsinzui: my VM seems to be pathological wrt these timeouts20:43
sinzuiegads!20:43
bacbenji: in the good old days of say r370, how long did it take 'make test' to run on your machine?20:43
bacmine was always about 74 seconds20:43
benjiI don't know exactly, but not much more than a minute.20:43
bacyeah, so clock time mine isn't that slow.  i'm not sure why it causes the es stuff to go nuts20:44
m_3abentley: thanks!!20:45
m_3I'll test it this afternoon20:45
bacbenji: i also have this review stagnating: https://code.launchpad.net/~bac/charmworld/bundle-icon/+merge/18373020:48
benjibac: looking20:50
bacbenji: did the tests ever finish?20:52
benjistill running20:52
bacoi goi oi20:53
benjibac: sorry, I don't have the mental accuity to understand that branch right now; the only thing I can think right now is that I'm surprised that much code is needed bceause we are already storing all the bundle's file at ingest time20:53
bacbenji: they werent' being put into gridfs20:53
bacbenji: but it can wait until tomorrow.20:54
benjithanks20:54
benjithere are about 100 dots thus far20:55
benji(no errors or failures)20:55
benjibac: tests still running; I bet it takes 20 more minutes; I'll tell you when it finishes21:01
bacsinzui: do you think it wise to try to push this branch to production tonight?  i'm unsure about webop coverage.21:03
sinzuiI can21:03
bacsinzui: i'd like to shepherd it if you think it is feasible.21:03
bacsinzui: gotta get it tested, landed, and on staging first21:04
benji200 dots or so21:26
bacsinzui: after changing green to yellow i got21:26
bacRan 724 tests in 105.753s21:27
bacFAILED (errors=7, failures=4)21:27
bacbenji: fwiw, i stopped elasticsearch, removed the storage in /var/lib/elasticsearch, and restarted it.  my test sped up a lot.21:27
sinzuiyuck21:27
sinzuibac, I will have time to run your branch in about 10 minutes21:28
benjibac: do you want me to try that or let this run finish?21:34
bacbenji: how many dots to go?21:34
bacbenji: and there are no failures yet?21:35
benjibac: no failures, 220 dots; I don't know how many are left21:35
bacoi.  well 724 tests.21:35
benjiyow21:35
benjiok, I'm trying the speedup21:35
benjibac: I don't think this is any faster.  I'm giving up.  I vote you merge your branch as-is and you and I work on the test issue as critical in the morning.21:41
bacbenji: ok.21:41
bacbenji: have a good night21:41
benjithanks21:42
bacsinzui: how often does tarmac run?  my branch was approved 31 minutes ago but has not merged22:16
sinzuibac. every 10/15 minutes, but as abentley noted in the channel, Jenkins takes 3h to run the test suite22:19
bacsinzui: oh, my22:19
bacsinzui: sorry i missed that comment22:20
sinzuiI favour rolling back adeuring's changes. It takes too long to respond to a  real problem...Lp's test suite takes 35 minutes...thank you former yellow squad22:20
bacsinzui: i'll do that tomorrow22:28
bacit is insane22:28

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