/srv/irclogs.ubuntu.com/2014/04/15/#juju-gui.txt

frankbanguihelp: I need two reviews + QA for https://codereview.appspot.com/88100044 (GUI charm/python). It requires running the tests on an ec2 Juju env. Anyone available?13:08
bacfrankban: on it13:08
frankbanbac: thank you!13:08
* bac is curious as to what is required to move to trusty13:08
frankbanbac: do you know if it's possible in launchpad to have an branch (e.g. lp:~juju-gui/charms/precise/juju-gui/trunk) point to another one (e.g. p:~juju-gui/charms/TRUSTY/juju-gui/trunk)? So that when you push to a branch also the other is updated.13:10
bacfrankban: no, there is no concept of aliases like that13:10
frankbanbac: ack. So this means we'll have to push on both branches when releasing a new charm, right?13:10
bacyes13:11
bacfrankban: is charm-tools not in trusty distro?13:11
frankbanbac: yes it is, but it's also on the PPA, and I expect that sourc eto be the most updated one13:12
bacack13:12
frankbanrick_h_: FYI http://bazaar.launchpad.net/~frankban/charms/precise/juju-gui/trusty-charm/view/head:/README.md#L163 (from my branch under review) includes some useful info for the sprint discussion13:24
frankbanmarcoceppi: I am looking at "charm promulgate". I see that it accepts a --series argument. Does it mean that I can promulgate the same branch to two different series?13:26
marcoceppifrankban: no13:27
marcoceppiI dont' think you can have two aliases for one branch13:27
marcoceppiin launchpad13:27
frankbanmarcoceppi: ok, so we'll need soon to have the GUI promulgated for both precise (as it currently is) and trusty. So I guess the way to do that is to push the charm also to a trusty branch and then promulgate it, correct?13:28
marcoceppifrankban: yes, ping me when you need a promulgation13:29
frankbanmarcoceppi: will do, thanks13:29
rick_h_frankban: thanks, exactly13:38
bacfrankban: unshallow the checkout.  such godawful gitspeak.  not your fault, of course.13:47
bacfrankban: code looks great, with some wording changes.  will QA now.13:50
frankbanbac: yeah, I am not sure that's a real English word... anyway, I am not even sure the git help is written in English, but I am not qualified to judge that13:51
frankbanbac: thanks13:51
bacoh, frankban, your English is 1000x better than linus' -- at least you give a damn13:52
bacit isn't really English, though.13:52
frankbanheh13:52
bacits just making shit up13:52
bacfrankban: can i do 'make deploy' out of my ~/charms/precise/juju-gui directory for *trusty* or do i need to check it out a second time (or ln -s) to ~charms/trusty?13:54
frankbanbac: you can run `make deploy SERIES=trusty` from any location. I usually develop the charm from a sandbox directory.13:55
bacfrankban: well, i have a lightweight checkout that lives in ~/charms/precise/juju-gui13:56
frankbanbac: that's good, make deploy creates a juju repo under /tmp/. Its goal is to allow for developing the charm without having to manually create a local repo and place the branch in it13:57
bacfrankban: i notice HACKING.md has some Very Long Lines.  could you wrap those please?13:57
frankbanbac: sure13:57
bacty13:57
bacfrankban: sorry to nitpick but could you also s/ DVCSes/version control/13:59
frankbanbac: sure14:01
frankbanbac: I see only two VLL in HACKING (lines 17 and 33), and those are links, not sure you can wrap them14:04
bacfrankban: ok, i didn't know the url had to abut the other.  nm then14:05
bacfrankban: do i need to run 'make ftest' twice, once for precise and once for trusty?  and the only way to do so is to use environments that have the default-series set to one or the other?14:17
frankbanbac: yes, exactly14:18
bacfrankban: maybe that can be made more clear in the testing section of HACKING14:18
bacfrankban: if both are on ec2, will the environments need separate control-buckets?  it seems reasonable that they might so that tools don't clash.  but perhaps it isn't required.14:20
frankbanbac: never tried to bootstrap two ec2 environments simultaneously14:21
bacfrankban: i didn't mean simultaneously14:21
bacmaybe i'm overthinking it14:22
frankbanbac: I tested the charm two times just changing the default-series14:22
bacok, never mind then14:22
Makyojujugui call in 1014:50
bacfrankban: this is going slow.  ftests just finished for trusty.  all passed14:50
frankbanbac: cool, yeah charm tests are slow14:51
hatchjujugui call now15:00
bachatch: did you say you're out all next week too?15:13
hatchbac yeah, I took monday/tuesday off then I'm at gophercon15:13
baccool15:13
hatchI will still be around monday/tuesday but doing house type work15:13
hatchfrankban it'll be safe to use a Model and listen on the ModelList for '*:change' events on the children16:07
hatchthe set() call fired a single event which bubbles up so as long as we only create a single listener for *:change it won't cause memory creep 16:08
frankbanhatch: this sounds good16:10
hatchthe model instance has a bunch of overhead over a LML but if we run into any issues it'll be easy to switch over using the technique above16:10
hatchwe'll just have to keep an eye on it on large envs16:10
frankbanhatch: so the change event includes the information about the modified field, right?16:10
hatchyeah - the only thing I'm not sure about is multiple updates16:10
hatchso if 10 machines get updated16:11
hatchthat will be 10 events16:11
hatchwe might want to throttle those16:11
hatchagain - can be done later16:11
frankbanhatch: using the sandbox mode we can easily check overhead, and I agree this can be done later. 16:12
frankbanbac: any progress on precise tests?16:12
hatchyeah good call - there was also a card I created yesterday about adding containers to the sandbox16:12
hatchit's in 'on deck' in project one....just fyi16:13
bacfrankban: yes, i went to look for your rietveld link and then got distracted.  qa ok for trusty and precise.  thanks!16:13
frankbanhatch: the simulator card? cool. FWIW containers can be easily created also using the JS console, app.env.addMachines IIRC16:15
frankbanbac: cool thanks, so do you still have the output of the trusty test?16:15
hatchyeah16:15
frankbanmarcoceppi: the precise release of the GUI charm is at https://code.launchpad.net/~juju-gui-charmers/charms/precise/juju-gui/trunk .  And it is referenced as lp:charms/juju-gui. Any ideas about where to push the trusty release? https://code.launchpad.net/~juju-gui-charmers/charms/trusty/juju-gui/trunk ?16:28
marcoceppifrankban: that's where you should push it16:28
marcoceppilmk when it's up there and I'll promulgate that branch16:29
frankbanmarcoceppi: cool, so lp:charms/juju-gui will still be the precise one and lp:~juju-gui-charmers/charms/trusty/juju-gui will be the trusty one, right?16:29
marcoceppifrankban: well, when it's promulgated lp:charms/trusty/juju-gui will be to that new branch16:30
marcoceppiand juju deploy cs:trusty/juju-gui will map properly16:30
marcoceppiotherwise, without promulgation, you'll have to cs:~juju-gui-charmers/trusty/juju-gui16:30
frankbanmarcoceppi: ack, thanks16:31
hatchMakyo looks like the new version of your branch is smaller once you moved the fn's out :)17:11
MakyoWoo!17:11
hatchS&**$&@*#&@*@$&*@$&%&@*%17:14
hatchI just did a ton of work on the wrong branch17:14
hatchugh!!!!17:14
* hatch hopes cherry pick works17:15
hatchphew* that was a lot less worse than I was thinking17:18
hatchumm a whole ton of my emails were just deleted....18:05
=== BradCrittenden is now known as bac
* Makyo steps out to appointment18:47
bacrick_h_: you around?19:01
rick_h_bac: yes19:02
bacrick_h_: cool.  hey i just chatted with curtis re our resources on canonistack.  he thinks moving to a different provider is a good idea but suggested hp instead.19:02
bacapparently antonio manages a group account so there is no billing and better uptime19:03
rick_h_bac: k, that works for me19:03
rick_h_bac: let's see if we can get some info then and work on setting it up sometime.19:04
bacrick_h_: well, from the conversation i had with curtis, everything is all charmed up and should deploy over there with minimal hassle.  do you want me to proceed or hold off?19:05
rick_h_bac: well, how broke are we? can we limp until vegas? 19:05
rick_h_I know we have to have it but we've got a big crunch to get things ready for vegas. 19:05
bacrick_h_: no, staging is up but cannot be updated.  right now it is on tip - 1 so it is doing us no good as a QA resource19:06
rick_h_bac: ok, can you check on the status of our inernal prodstack CI? If it's up then we've got something to catch deploy breaks I'd hold off19:06
bacrick_h_: i've got landed branches that i'd like to deploy to production but have held off since they haven't been qa'ed anywhere but my local machine19:06
rick_h_bac: but if they're not ready there yet, then it's important to have a QA env to land. 19:07
bacrick_h_: are you referring to the tracking card to get staging up on prodstack?19:08
baci'm not sure what the status of that is.  the last work i was aware of was when the ES cluster got entangled.19:08
rick_h_bac: yes, they had it up at some point as it broke our production19:08
rick_h_bac: and I didn't get to talk to them as our IS sync call was while I was traveling19:09
rick_h_bac: so if that's up/close to up then it'd be shorter to use that as a QA/safety check 19:09
rick_h_before a release19:09
bacrick_h_: https://rt.admin.canonical.com/Ticket/Display.html?id=6725719:09
bacthe latest message makes it sound available19:10
rick_h_bac: bingo19:10
rick_h_bac: yea, so if this works out then I'd say hold off on a new qa environment until post vegas19:10
bacperfect19:10
bacoi, not so perfect.  doing a search causes it to fall over.  perhaps ES is not up.19:11
bacrick_h_: ^19:12
baci'll work with webops to see what's going on.  have a good afternoon.19:12
rick_h_bac: thanks19:12
kadams54guihelp https://github.com/juju/juju-gui/pull/239 is ready for review19:29
hatchkadams54 on it19:32
kadams54hatch thanks19:34
hatchkadams54 I dont' understand what needs to be straightened out with the view utils?19:39
kadams54Talk to Rick… he was the one who looked into it19:39
hatch^ rick_h_ 19:39
hatchI see the test failure but I'm not sure what it has to do with the utils 19:41
rick_h_hatch: it's a YUI dep thing. The test utils use stuff like viewlets but doesn't depend on any view stuff19:42
rick_h_hatch: we've got a borked dep chain from what I can see, and the alias 'include all of this' stuff is poor form imo19:42
rick_h_hatch: it makes it hard to trace down these issues when something doesn't line up right as most things aren't explicit in their includes/etc19:43
hatchthe goups you mean? Yeah I've never liked that19:43
rick_h_hatch: right, and the test utils clearly should require some view stuff but don't19:44
rick_h_but because they're pulled in with other things that do pull in all the view it 'works'19:44
kadams54We tried to get the tests working without depending on the juju-views group (just depending on juju-serviceunit-token directly) but that's when rick_h_ ran into problems with test-utils19:44
rick_h_kind of by accident and that was part of the failure for kadams54. If he didn't use() juju-views then there would be dep issues19:45
rick_h_even though he's adding a simple widget that doesn't need that space at all19:45
* rick_h_ grumbles about these small things getting put into views just because they're an instance of Y.View vs widgets or components or something else19:45
kadams54So it sucks but going this route (a comment) lets me at least get the code reviewed so we can keep the card moving forward.19:45
hatchoh juju-tests-utils is the module that needed juju-views?19:48
rick_h_hatch: right19:48
rick_h_hatch: at least i think so19:48
hatchohh ok that's not what the comment says19:48
hatchheh19:48
rick_h_after a point I gave up19:48
hatchwhen I remove the change from modules-prod and change the module in test_serviceunit to 'juju-serviceunit-token' it works fine locally19:52
hatchthat's the only change that happened between the test failure and passing?19:53
kadams54Are you running test-prod?19:53
kadams54Yeah19:53
kadams54test-prod failed without (even locally) and worked with19:53
kadams54The only change was adding that line to modules-prod19:54
hatchyeah it's working here no problem19:54
hatcheven if I remove every other test suite19:54
kadams54Honestly though, I don't really care about that… it's sorta secondary to the main purpose19:55
kadams54Which is implementing unit tokens :-)19:55
hatchI have a diff for you to try if I can paste it somewhere....19:58
hatchdarn gist is broken19:58
hatchkadams54 try this diff http://paste.ubuntu.com/7257293/19:59
hatchthats using your branch merged into develop as a base19:59
kadams54Thanks, will do20:00
hatchkadams54 done and done20:13
hatchkadams54 any luck with that diff?20:16
hatchyou should be able to apply it using patch20:16
hatchmarcoceppi you're having issues :)20:17
marcoceppihatch: no you're having issues20:19
marcoceppiI AM NOT THE PROBLEMMMM20:19
* marcoceppi goes to check server connectivity20:19
hatchlol20:19
hatchMakyo u back yet?20:26
hatchMakyo it's ok I got it21:03
hatch322 test failures - here's hoping that they are cascading failures21:08
hatchMakyo since you're into timelapse you might find this cool https://plus.google.com/117025856686519461862/posts/Z5UEae2zNfb21:20
hatchScript error. (:0)21:38
hatchbest test failure error....ever21:38
Makyohatch, I saw that, hah.  Better than my attempt, which was just mistake after mistake.22:25
hatchMakyo, the timelapse? :)22:28
Makyohatch, yeah22:28
MakyoHere's the unedited one I made: https://www.youtube.com/watch?v=QshXrhBFOBU22:29
hatch:) looks pretty cool22:51
huwshimiMorning23:00
hatchhey huwshimi  hows it going?23:49
huwshimihatch: 23:50
huwshimierm23:50
huwshimihatch: Hey, good thanks :)23:50

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