/srv/irclogs.ubuntu.com/2013/02/07/#juju-gui.txt

hazmatbcsaller, final branch is up for review, still haven't been able to get the review diff right.. it looks fine by hand00:07
hazmatbcsaller, revno 52 has the complete diff, all the other revs are on trunk.. 00:14
bcsallerhazmat: did a review on lp for you01:17
hazmatbcsaller, thanks for the review.. commented back. surprised your coverage report didn't pickup the test, was it only being run against a particular test module instead of the full suite?03:16
bcsallerhazmat: it was 'make coverage' 03:17
hazmatodd03:17
hazmatthere's a test that explicitly checks for the backoff content in the logs in test_session03:18
hazmatie. test_managed_client_backoff03:19
bcsalleryour version of coverage shows it being trigged in manage then? for me managed only shows 83% but most of that is missing calls to error logging03:19
hazmatcoverage locally reports its covered03:19
hazmatfor the package i have 94% for the managed module 89% (mostly exception handling)03:20
bcsallerhmm, maybe I have an old coverage package03:20
hazmatwell for the test to pass it has to hit those lines, which is what's od03:20
hazmatodd03:20
bcsallerhazmat: I'll look into it, I'm guess its something with my environment03:23
=== rogpeppe2 is now known as rogpeppe
gary_posterteknico, feeling any better about the bug today?  If not, why don't you ask to pair with Ben or Matt this morning?13:06
teknicogary_poster, having lunch now, but maybe a quick call?13:07
gary_postersure teknico.  I'm free for 53 minutes, then we have our regular call in another hour.  Can do it whenever you like within my available time13:08
teknicogary_poster, I'm in jujugui13:09
benjigary_poster: when you get a second I would like to discuss the UX of the browser compatability warning13:39
gary_posterack benji13:39
bacguihelp - anyone free to review my css branch?14:22
hatchgood morning14:32
benjimorning, hatch 14:32
gary_postermorning14:40
=== teknico___ is now known as teknico
gary_posterbac, on it14:42
bacgary_poster: cool.  won't take long14:43
gary_postercool14:43
=== teknico__ is now known as teknico
bacthanks gary_poster15:07
gary_posterwelcome15:10
=== teknico_ is now known as teknico
bacgary_poster: here is a bit of a rambling explanation: http://dalelane.co.uk/blog/?p=222215:13
bacthe reason i suggest we add this is it keeps IE from behaving differently when it sees the server is on the same LAN.  seems like a recipe for disaster to have it work one way in development and then another when deployed.15:14
gary_posterbac +1.  Just add a link to the blog post maybe?  Not sure15:15
gary_posterthank you15:15
bac+115:15
* bac looks for something more authoritative15:16
=== teknico_ is now known as teknico
Makyobcsaller_, benji frankban gary_poster call now?15:31
gary_posterbaf15:31
gary_postersorry15:31
gary_posterthanks15:31
gary_poster benji frankban hazmat like Makyo said :-)15:32
gary_postergoodspud too :-)15:32
frankbanguihelp: is the "failfast" behavior of the GUI test suite a bug or something we precisely decided?15:45
gary_posterfrankban, bug I think15:46
frankbangary_poster: ok thanks15:46
bcsaller_frankban: I think there is a 'bail' flag in mocha that is being set15:48
bcsaller_bcsaller_: I suspect we can pass bail: false to the mocha init15:50
bcsaller_talking to myself now, great15:50
teknicobcsaller_, that's ok, as long as you listen to yourself15:51
bcsaller_all about good manners 15:51
frankban:-) bcsaller_ : it works15:52
frankbangary_poster, bcsaller_: do we want failfast? otherwise I'll add "bail: false" in my branch.15:53
gary_poster:-) I vote for not failfast, but don't feel strongly about it frankban15:54
bcsaller_frankban: I don't mind fail fast on the cli tests as we are mostly doing a sanity check at that point, I do the actual debugging in the browser15:54
bcsaller_but I don't feel strongly either, usually with the cli tests though a single failure would prevent a lbox submit 15:55
gary_postermm, lbox is a good point15:56
=== jovan2_ is now known as jovan2
hazmatguihelp re cs:precise/juju-gui anyone know why it would result in  2013-02-07 11:10:16,812: hook.output@INFO: E: Unable to locate package python-charmhelpers16:15
gary_posterhazmat, that used to happen if person was not using juju from ppa.  supposed to be fixed now, because we add ppa at start anyway16:16
hatchis `guihelp` a string that I should set to ding in my chat?16:17
hazmatyup16:17
hazmatits a group broadcast16:17
gary_posterhatch, yes, guihelp (among ourselves) and jujugui (on #juju channel for user help)16:17
hatchthat's a very smart idea :D16:17
hazmatgary_poster, is that fixed in the ~charmers version only the ~juju-gui version?16:18
hazmats/only/or only16:18
gary_posterhazmat, ~charmers, pretty sure.  verifying.16:18
teknicohatch, hi, you might also want to configure your IRC client so that it shows your first name and last name too16:19
gary_posterhazmat, ~charmers.  bootstrap_utils.install_extra_repositories('ppa:juju/pkgs') in install hook16:20
hatchteknico: in my whois information?16:20
teknicohatch, yep16:20
hatchoh cmon I need some kind of anonymity ;)16:20
gary_posterfrankban, you happen to have any experience with what hazmat mentioned above in charm?  I don't see why/how it would happen16:21
teknicohatch, do you? :-)16:21
frankbangary_poster: hum... no, looking at the ~charmers revision16:22
gary_posterfrankban, http://bazaar.launchpad.net/~charmers/charms/precise/juju-gui/trunk/view/head:/hooks/install fwiw16:22
gary_posterhazmat, are they running on precise?16:24
gary_posterhazmat, or more pertinently, are they trying to run on raring.  We only test on precise.  the juju ppa does not have charm-tools for raring16:25
gary_posterpython-charmhelpers are in the charm-tools version supplied by both precise and quantal16:26
hazmatgary_poster, its all precise16:27
hazmatgary_poster, the problem is actually ppa add because its a proxy environment16:28
hazmatthe add apt repo ends up adding junk the apt repo16:29
gary_posterah :-(16:29
frankban:-/16:29
hazmatafter that it fails because adding nodejs and we don't have a key for it..16:29
hazmatnodejs ppa16:29
hazmatimo the charm shouldn't be downloading things it doesn't need for it current configuration16:30
hazmatie. i'm using a release i don't need nodejs/imagemagick/etc.. i'm not using staging mode.. i don't need java/zookeeper16:30
gary_posterhazmat, added bug for that yesterday on your comment then.  triaged as low given that it was nice to have, but put it on kanban as slack task.  if this is blocker for important things then we can reprioritize.16:31
hazmatits a blocker for important things.. but the timeline is tight.. 16:32
hazmati might just hack do a hack for it16:32
hazmatsadly lacking access to fix directly16:32
gary_posterhazmat, right.  is this a drop everything?  The change would be risky IMO16:32
gary_posteryou could hack and put it in your own branch?16:33
hazmatgary_poster, yeah.. or just pass them to the hook16:33
gary_posterrisky only in the sense that it would need to be tested.  we would have to move downloading prerequisites into config-changed16:34
hazmatgary_poster, understood, i'm testing a hack fix now (just commenting out all the unesc pkgs)16:36
gary_postercool, sounds good16:36
frankbanMakyo: quick hangout?16:42
Makyofrankban, sure.16:42
frankbanMakyo: http://tinyurl.com/see-emily-code16:43
Makyofrankban, There.16:46
hazmatodd the gui deploys and gets to started (no hook errors) without the extra packages but it doesn't actual run.. the nginx config gets odd17:14
* benji tweaks the unsupported browser wording. It now reads "Your browser is bad and you should feel bad."17:24
frankbanhazmat: what oddities are you seeing?17:25
teknicobenji, is "now" before or after the tweaks? :-)17:27
benjiheh17:27
benjiwe should replace all of our UI elements with memes17:27
hazmatfrankban, nginx is running but not serving traffic.. all the pieces look like there in place but i can hit the front end webserver (its exposed)17:28
hazmatie. api server running, files on disk17:29
frankbanhazmat: any error in /var/log/upstart/juju*?17:34
hazmatfrankban, no.. afaics the only issue is the nginx config17:39
hazmatthe hooks all run to completion without error17:40
hazmatnginx config : http://paste.ubuntu.com/1621578/ charm log: http://paste.ubuntu.com/1621582/17:41
frankbanhazmat: is "gui" the name of the charm you deployed?17:47
hazmatfrankban, its the name of the service charm17:48
hazmathmm.. i deployed ~juju-gui's charm version17:48
hazmatwith this diff http://paste.ubuntu.com/1621609/17:49
hazmati meant to deploy the ~charmers version.. i'll retry with that to verify 17:49
frankbanhazmat: aha! ppa:juju-gui/ppa is required so that the ssl-enabled haproxy is installed, not the precise one17:51
hazmatfrankban, gotcha.. that's not in the ~charmers version yet right?17:54
frankbanhazmat: right17:55
hazmatjovan2, the new gui vision looks much improved18:04
jovan2hazmat glad you like it18:05
Makyo>:/18:19
gary_posterMakyo, ?18:37
Makyogary_poster, Firefox and Flash problems.18:38
gary_postergotcha18:38
gary_posterbac you available to review Matt's branch?  When that lands I can move some more of the CI Jenkins stuff forward18:40
bacgary_poster: i can.  trying to get that hatch patch to work18:41
hatchbac - I've never actually tested that code so I would be interested to hear your results :)18:41
bachatch: not good so far18:42
baci expect the ie10 class to be added to <html> but it isn't18:42
hatchhmm is the js executing?18:42
bacnot sure.18:43
bacnot too adept at using the ie tools18:43
hatchinside the script tags console.log('it works!');18:43
gary_posterthank you bac18:44
hatchI need to close some chrome tabs (I'm out of ram haha) and then I can boot up a Win8 VM if you like18:45
bachatch: cool.  i'm doing a review now but will be back at it in a bit18:46
bacMakyo: done18:48
Makyobac, thanks18:49
bachatch: got it to work.18:55
hatchoh excellent - what was the issue?18:55
bachatch: there was a typo in the code i copied from you.  missing a closing > before script.  no biggie.19:18
hatchoh woops I should fix that in the gist19:19
hatchthanks19:19
hatchbac: I may be doing this review this wrong but I think you forgot the console.log() in the html ;)19:21
bacergh, probably19:21
bacthanks for the catch19:22
hatchnp and I updated the gist with the missing > :)19:23
bachaving trouble submitting my changes due to lbox.check21:27
bacand then it worked21:42

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