/srv/irclogs.ubuntu.com/2014/06/24/#juju-gui.txt

hatchhey huwshimi 02:42
huwshimihatch: Ye02:42
huwshimi*Hey02:42
huwshimityping02:42
hatchlol02:42
hatchcrap CI hung on your build02:43
hatchhuwshimi so in your branch you still have the min/mid/max classes - are those used somewhere?02:44
hatchhttps://github.com/juju/juju-gui/pull/400/files#diff-225b0a8e53f0646bec2686e3d713bbd5R3702:44
hatchthat line for example02:45
hatchrick_h_ u on?02:45
huwshimihatch: They're not, but I'm expecting to use them in another branch. I can remove them from this one if you like?02:45
hatchno it's ok as long as you know you'll use them02:45
huwshimiyep02:45
hatchok +1'd02:45
hatchyou can land it whwnever02:46
huwshimihatch: Thanks!02:47
rick_h_hatch: what's up?02:59
hatchrick_h_ oh hey, the PR ci will need restarting03:00
hatchI was just about to grab the info03:00
hatch:)03:00
rick_h_hatch: gotcha, sec03:00
rick_h_hatch: I only see the prod one going03:01
rick_h_hatch: and that's in a test run to land03:01
hatchrick_h_ yeah I had to kill the one in the pr lane because it hung03:02
hatchso it will likely still be running...no?03:02
rick_h_hmm, tests are running atm03:02
rick_h_hmm, maybe it's this other one03:02
hatchright - not the landing script03:02
hatchthe pr one03:02
rick_h_ok, killed one03:02
rick_h_hopefully that's the right one :)03:02
hatchhaha we'll know shortly!03:02
hatchmaybe this weekend I'll find some time to add the 'if running KILL IT DEAD' mode :)03:03
rick_h_it's supposed to do that :P03:03
rick_h_(cd build-prod && \ python ../bin/http_server.py 8888 2> /dev/null & \ echo $!>ci-check-gui-server.pid)03:03
hatchoh haha - well then, why does it give the ERADDRINUSE issue?03:03
hatchohhh03:04
hatchthat's not checking the node server03:04
rick_h_echo ci-check-gui-server.pid03:04
rick_h_ci-check-gui-server.pid03:04
rick_h_cat ci-check-gui-server.pid03:04
rick_h_436003:04
rick_h_kill `cat ci-check-gui-server.pid`03:04
rick_h_rm ci-check-gui-server.pid03:04
rick_h_hatch: oh hmm, yea then maybe it needs more of it 03:04
hatchyeah I think it's the node server that throws the error03:04
rick_h_gotcha, yea well happy to run more pid/pid-checking to help it03:05
rick_h_doens't happen too often thankfully. 03:05
rick_h_hatch: you hatch on launchpad?03:06
hatchyep03:06
rick_h_you're a rude man making me look it up on LP hatch :P03:06
rick_h_ok, you've got ssh rights. ssh ubuntu@ci.jujugui.org03:07
hatchlol sorry I was in the other room03:07
rick_h_don't mess up my server or I'll have to come to canada and drop you down a hole in the ground03:07
hatchlol yeah I wont be at it until this weekend for sure03:10
rick_h_at what?03:10
rick_h_you not in canada right now?03:10
hatchhaha of course I am03:10
hatchI meant, I won't be breaking your server until this weekend03:11
rick_h_well don't do that!03:11
hatch:)03:11
hatchOoo nice new column in the board03:14
rogpeppemornin' all06:43
huwshimirogpeppe: Morning06:43
rogpeppehuwshimi: hiya06:54
rick_h_morning11:27
rogpepperick_h_: hiys13:15
rogpeppehiya13:15
rogpeppeeven13:15
rick_h_rogpeppe: howdy13:15
rogpepperick_h_: the bundles parsing/verification PR is up at https://github.com/juju/charm/pull/913:16
rick_h_rogpeppe: cool looking. 13:16
rogpepperick_h_: it does all the internal verification, but doesn't verify against actual charms13:16
rick_h_rogpeppe: ok, can you create a bug/additional card to look into that part?13:17
rogpepperick_h_: ok, will do13:17
rick_h_rogpeppe: we're thinking that'd part of the publish side of things?13:17
rick_h_vs part of the actual model side here13:17
rogpepperick_h_: i'm thinking that it can live inside the charm package13:17
rick_h_outside you mean?13:17
rogpepperick_h_: no, inside13:18
rogpepperick_h_: something like BundleData.VerifyWithCharms([]*Charm) error13:18
rogpepperick_h_: which means it can be called by any client that happens to know the charms that the bundle service charm urls resolve to13:19
rick_h_rogpeppe: ok, looking through this pr and will see how it fits13:20
rogpepperick_h_: thanks13:20
rick_h_rogpeppe: how does such 'combining of errors' work? They're basically complete sentences. How does one take them and combine them more than just listing them out? Does it ', and' each or anything as part of this common practice?14:13
rogpepperick_h_: usually it just involves prefixing "something happened: " onto an existing error14:13
rogpepperick_h_: in this case, the final error might look something like "cannot verify bundle: placement "foo:bar" refers to non-existent service (and 303 more errors)"14:14
rick_h_rogpeppe: ok, but then we need to make sure to update the clients cli and webui to do this post processing. It seems like adding more places to catch the update than to make it work right14:15
rogpepperick_h_: all errors returned by the API are currently without capitals or periods14:15
rogpepperick_h_: so this just continues in the same vein14:15
rick_h_rogpeppe: right, and we've had to do work in the gui to try to parse them and make them presentable14:15
rick_h_rogpeppe: right, it's an existing issue I'm bringing up potentially attempting to address while we're here in the code14:16
rogpepperick_h_: if we're going to change that, i'd prefer to change the entire API14:16
rogpepperick_h_: rather than adding a single inconsisent place14:16
rogpeppeinconsistent14:16
rick_h_heh count me in :) but we're in control of this bit of code and we know that errors parsing the bundles will need to get in front of the users 14:16
rick_h_so they can debug and fix them14:16
rogpepperick_h_: consistency trumps convenience IMHO in this case14:16
rick_h_rogpeppe: ok, then we should add cards for the core cli and the gui to update bundle errors when connect to the updated store so that we don't lose track of known usability issues that we should correct. 14:17
rick_h_maybe bugs would be better since they can't be updated until a store update is deployed and used 14:18
rogpepperick_h_: i'm not entirely sure it's a CLI issue - errors are currently printed in lowercase14:19
rogpepperick_h_: but i'll add an issue to the gui. are gui issues tracked in lp ?14:20
rick_h_Why would it be good to make the error message a complete english thought with proper writing in one place and not the other? 14:20
rick_h_rogpeppe: yes, they are14:20
rogpepperick_h_: mainly because many things on the unix command line print stuff in lower case - there's honourable precedent :-)14:21
rogpepperick_h_: and it's less code, which is always a win in my book :-)14:21
bacrogpeppe: i've got the latest charmstore and tried to run 'make check' but get errors referencing missing testing items like MgoSuite, etc.14:27
* rogpeppe goes to see what make check does14:27
rogpeppebac: for the record, when dealing with go packages, i almost never run make14:28
rick_h_rogpeppe: but through CI and such make is the single interface all devs can use to hack/operate14:28
rogpepperick_h_: sure, it's useful for CI14:29
rick_h_rogpeppe: the make targets need to be valid and make check is the common target in all proejcts for a CI-like run through lint, test, etc14:29
rick_h_so in QA it's quite common to make check, make run, and then qa14:29
bacrogpeppe: i'm just looking at the README and it references 'make check'14:29
rogpeppebac: ok14:29
rogpeppebac: have you tried doing: godeps -u dependencies.tsv ?14:31
rogpeppebac: it all seems to work for me14:31
rogpeppebac: could you paste the exact errors you get?14:32
bacrogpeppe: https://pastebin.canonical.com/112262/14:32
rogpeppebac: hmm, odd.14:33
rogpeppebac: could you try doing "rm -r $GOPATH/pkg" then "go install ./..." and trying again?14:34
bacrogpeppe: from inside the charmstore directory?14:34
rogpeppebac: yes14:34
bacrogpeppe: didn't help.  what version of juju/testing do you have? mine is b09...14:36
rogpeppebac: b0941ff1bf4d3db1ffbbe09f75fa8383eae5764c14:37
bacsame14:37
rogpeppebac: do you see the same thing if you just run "go test" (in the same dir)14:38
bacrogpeppe: yes, and it is unsurprising.  if i look in juju/testing i see no MgoSuite anywhere14:39
kadams54Juju GUI architecture question: how do we connect to the juju state server?14:39
rick_h_kadams54: websocket14:39
hatchvia websocket14:39
hatchand magic 14:39
bacrogpeppe: if you look in juju/testing where do you find those defined?14:39
* hatch shakes hands in the air14:40
rick_h_lots of magic14:40
hatch*magic*14:40
rogpeppebac: in mgo.go14:40
kadams54rick_h_: Where at in the code?14:40
hatchheh well....14:40
rogpeppebac: what do you see if you run "git status" in the juju/testing dir?14:40
hatchkadams54 I can get you the loc, one sec14:40
bacclean14:41
bacrogpeppe: there is no mgo.go in my juju/testing14:41
hatchkadams54 here is the websocket instance https://github.com/juju/juju-gui/blob/develop/app/store/env/base.js#L23414:41
rogpeppebac: could you paste the entire output of your "git status" please?14:41
hatchkadams54 here is where we make the requests https://github.com/juju/juju-gui/blob/develop/app/store/env/go.js#L18114:42
hatchkadams54 did you have a specific question in mind?14:42
bacrogpeppe: i went to my juju/testing and did a 'git pull' and it got the mgo.go file along with lots of others.  why did the 'go get -u' and the 'godeps' not update it?14:43
rogpeppebac: i don't know - that's why i wanted to see exactly what git status printed for you14:43
kadams54hatch: that satisfies my curiosity for now, thanks14:44
rogpeppebac: AFAIK go get -u just does a git pull14:44
bacrogpeppe: this is what git status said before i did the manual pull: https://pastebin.canonical.com/112263/14:44
rogpeppebac: thanks. i've no idea then. "go get -u" just runs "git pull --ff-only"14:45
hatchkadams54 np14:46
bacrogpeppe: i'm going to blow away everything and try again14:46
hatchhey cory_fu 14:46
rogpeppebac: that can be a good plan...14:46
rogpeppebac: have you tried testing again now that you did the pull?14:47
bacwell i just want to see if it is reproducible14:47
rogpeppebac: wait!14:47
bacrogpeppe: i did and it passed14:47
rogpeppebac: what does "git remote -v" print for you in the juju/testing dir?14:47
rogpeppebac: too late...14:47
rogpeppebac: darn14:47
rogpeppebut... it printed the right head14:47
kadams54Hey, who should we be sending design/UX questions to right now? Luca's out, right?14:47
rogpeppejeeze, i dunno14:48
hatchkadams54 spencer14:48
rick_h_jujugui call in 914:51
bacwow, crazy loud tsunami drill.  i guess that's what you want from a tsunami alarm.14:54
hatchwhat does one do when a tsunami alarm rings? Run inland? 14:58
bacrogpeppe: so you'll know, i'm trying to set up and test the charmstore as we'd do for CI.  it looks like we have some problems with our dependencies. here's what i've done (mainly as stated in the README) : https://pastebin.canonical.com/112265/14:58
makyo_jujugui call in 214:58
bacrun downstairs, grab beer and camera, then go to the roof.14:58
rogpeppebac: you need to do go get -t14:59
hatchahh to the roof14:59
hatchI guess that makes sense :)14:59
bacrogpeppe: go get -t -v github.com/juju/charmstore  ???14:59
rogpeppebac: in full, you'd need to run: go get -v -t -u github.com/juju/charmstore/...15:00
rogpeppebac: the final "/..." is important15:00
rogpeppebac: otherwise you won't get deps for subdirs15:00
rick_h_jujugui call now 15:00
kadams54hatch: https://github.com/juju/juju-gui/pull/393 is ready for QA again. I want to hold off on sending this e-mail until this branch is landed and you can see stuff working/not working on upcoming.15:11
kadams54Here are the questions I'm planning on sending out, in case you want to review: https://gist.github.com/kadams54/681a40f7bd9d603a53bb15:13
cory_fuSo, I'm still trying to understand how juju-gui connects back to the juju state server.15:15
cory_fuI thought maybe https://github.com/juju/juju-gui/blob/develop/app/app.js#L382 was where it got the address of the state server, but that just seems to be the connection to the GUI backend?15:15
kadams54cory_fu was unsatisfied with the "magic" explanation.15:15
cory_fu:)15:15
bacrogpeppe: adding the -t worked.  i'll update the readme15:16
rogpeppebac: thanks15:16
bacrogpeppe: yeah, the ... was important too15:16
kadams5494864715:19
kadams54ccccccdilrklllutrivjhvjttuigtldiclbejkuderdh15:19
kadams54Alright, that's it15:19
cory_fuI'm failing to understand how it can be using the public address for the juju-gui unit yet still have commands get to the state machine on machine 015:19
kadams54ccccccdilrklnvjvvhbrtekkhcebgrrjeejurdfdvuvc15:19
kadams54guihelp: --^ (cory_fu, not my yubi spam)15:20
cory_fukadams54: You don't have another USB slot more out of the way?  :)15:20
cory_fuOh, yeah, thanks15:20
hatchcory_fu I'm not sure the question15:20
kadams54I realized what it is - when I'm cmd-tabbing, my pinkie is right over that USB slot. I may try the other one.15:21
hatchcory_fu kadams54  we don't connect directly to the juju state server15:21
hatchwe connect to the gui server15:21
cory_fuhatch: Ok, so I need to know how the GUI server talks to the state server15:21
hatchit also uses websocket but from a python server15:23
hatchhttp://bazaar.launchpad.net/~juju-gui-charmers/charms/precise/juju-gui/trunk/files15:23
hatchthat's the charm source15:23
hatchcory_fu so are you trying to write your own application with communicates with the state server?15:24
cory_fuhatch: Yeah.  I'm working on the Cloud Foundry charm and it turns out we're going to need to communicate with the state server, similar to how the GUI does15:25
hatchok there is api documentation around that....15:26
hatchone sec I'll see if I can find it15:26
hatchat least I thought there was....15:26
cory_fuAh.  I found what I needed.  :)15:27
rick_h_cory_fu: yes, the gui talks to the guiserver in the charm15:28
rick_h_cory_fu: and then it proxies all requests to the state server and intercepts a couple of special api calls like bundle deploys that juju doens't natively handle15:28
cory_fuOk.  That's basically what I expected.  Thanks.  :)15:28
hatchcory_fu perfect....where was it ? 15:28
hatchhah15:28
rick_h_oh heh, hatch has your back. 15:29
cory_fuhatch: https://bazaar.launchpad.net/~juju-gui/charms/trusty/juju-gui/trunk/view/head:/hooks/utils.py#L14015:29
rick_h_cory_fu: yea, you're looking for http://bazaar.launchpad.net/~juju-gui-charmers/charms/precise/juju-gui/trunk/files/head:/server/15:29
cory_fuThat function is exactly what I needed15:29
hatchahh perfect15:29
hatchyeah the guy who does this work is off atm :)15:29
hatchgood luck with the charm15:31
cory_fuThanks.  :-)15:32
* rick_h_ goes to make up some lunch15:58
hatchhas anyone else been running into issues with yahoos cdn taking forever to respond?16:23
hatchoh our test suite....16:33
hatchjujugui looking for a review/qa on this first relations branch https://github.com/juju/juju-gui/pull/40216:42
kadams54hatch: looking…16:42
hatchthanks16:43
hatchkadams54 what was the issue with the previous qa issue on your branch?16:43
hatchhttps://github.com/kadams54/juju-gui/commit/be1356a686a51632160fae08a8570d7e59310a3a16:43
hatchthat commit?16:43
kadams54It was the unitOrEvent variable that got renamed back to unit… it needs to be nulled out if it's actually an event rather than a unit.16:44
kadams54Yeah, that commit16:44
hatchok cool - in the future can you use a real commit message :)16:44
hatchreview looks good, qa'ing16:44
hatchkadams54 try a make clean and clean your cache (re huw's branch)16:55
kadams54hatch: yeah, I did both, still seeing the funky button.16:56
hatchhmm odd alright then16:56
hatchkadams54 adding a container without selecting a machine is kind of odd heh16:57
hatchbecause it creates a machine16:57
kadams54Yes. There's a lot of funkiness around MV in general.16:58
kadams54If you stick to the happy path, everything is all rainbows and unicorns16:58
kadams54Stray off and the world goes sideways.16:59
hatchok one more small qa issue17:01
hatchone of these days I'll get all of you to stop using anchor tags :D17:01
kadams54Ah ha ha ha ha17:01
kadams54hatch: I'm puzzled about why that's happening for "Add container", but not "Add machine" - they both have the same handler function which does preventDefault().17:07
kadams54Giving span a try…17:07
hatchit happens for both for me17:07
kadams54What about on http://comingsoon.jujucharms.com/?17:08
hatchkadams54 it might need an e.halt() 17:08
hatchbasically anchors are stupid17:08
hatchand I'm not goign to change my mind on that :D17:08
kadams54Pffft, no way!17:08
hatchlol17:09
kadams54Jeff would totally call that out in review.17:09
kadams54;-)17:09
hatchhaha 17:09
kadams54Oh good gravy17:09
hatchreally though - anchors in a webapp are only useful if you're taking advantage of pjax17:09
hatchwhich we aren't17:09
kadams54spans don't have the right styling.17:09
hatchlol17:09
hatchthis branch just won't die17:10
hatchkadams54 try using e.halt() instead of e.preventDefault()17:10
hatchjcsackett where did you use to get those shirts made up from the sprint?17:11
kadams54hatch: OK, that worked - change pushed.17:12
hatcheven I'm getting sick of QA'ing this branch lol17:13
hatchyou must be right pissed17:13
hatchhaha17:13
kadams54I'm ready to be done, for sures17:14
kadams54Though I have a long list of stuff to turn into bugs and cards, so even after this one lands, it will live on.17:15
kadams54And that's aside from questions to send to design.17:15
hatchqa ok;d17:17
hatchland that!17:17
hatchkadams54 you'll probably want to move your branch-start card back and then create smaller cards from it17:18
kadams54Hmm… you're talking about the deleting machines/containers one?17:18
hatchyeah17:18
hatchthere is a lot of work there17:18
hatchprobably more than 4 days17:19
hatchjudging by how long it took me to do the relations one heh17:19
kadams54OK. I already created a separate card for ghosted stuff.17:19
rick_h_hatch: kadams54 sorry, just catching the conversation drive by17:19
rick_h_hatch: kadams54 we do need to chat and plan out a path?17:19
hatchwe does17:19
kadams54Sounds like it17:19
rick_h_standup linky?17:19
* rogpeppe is done for the day17:19
hatchlata rogpeppe 17:19
rick_h_rogpeppe: have a good evening17:19
hatchrick_h_ sure17:20
rogpepperick_h_: see ya tomorrow17:20
rogpeppehatch: likewise17:20
rogpeppeg'night all17:20
jcsacketthatch: teespring.17:44
jcsacketthatch: was going to build another one for the last sprint, but alas the required minimum went up.17:44
hatchbooo!18:04
hatchwell this sprint there will be more people18:04
hatchhopefully I'll say something stupid again18:04
hatcher....18:04
rick_h_man, hatch you're making it too easy18:05
hatchlol18:05
rick_h_"it's not a matter of if...only a matter of when, and I want to buy the square for day #1"18:05
hatchhaha18:10
bacrick_h_: in jenkins CI what is the authentication token?  do we just use the same one for all projects?18:12
rick_h_bac: each project can define one, I've just used the same one I think on the two projects18:13
rick_h_bac: but feel free to set a custom one for the store 18:13
bacrick_h_: i don't understand what it is18:14
bacjust a string?18:14
rick_h_bac: yea, just a private string18:14
bacpertaining to nothing?18:14
bacwhat is the point?18:14
rick_h_bac: in order to trigger a build via a url call (poor man's api) you can use the token to limit who can trigger a build18:15
rick_h_bac: it's like a shared secret kind of auth or poor man's api token18:15
* bac feels safer18:15
rick_h_bac: actually not sure if the lander supports a key per project. :/ 18:15
* rick_h_ checks code18:15
rick_h_bac: so it might need to be the same for the moment18:16
bacrick_h_: doesn't matter, i'll just use the same one18:16
rick_h_bac: ok cool18:16
bacrick_h_: and for each jenkins test run do i get a new "machine"?18:18
rick_h_bac: no18:20
rick_h_bac: not currently, we've not had to. That's something we might have to think about. I know the juju ci does create slave machines to test on18:20
rick_h_bac: I'd suggets we work with them on that side so that they can bring up machines across platforms, but we have a more simple sanity check for work. 18:20
bacrick_h_: ugh, i just edited the juju-github-lander test script when i thought i was editing charmstore's.18:20
bacrick_h_: anyway to revert?18:21
rick_h_bac: no, there's a backup script that runs but not a good way to revert as the ini file isn't part of the lander's github project18:21
bacdang18:21
rick_h_bac: oh you mean in the build steps in the jenkins UI?18:22
bacrick_h_: yeah18:22
rick_h_bac: yea, no good way to restore without pita backup xml fun18:22
baci replaced 'make test, blah blah' with the steps for charmstore18:22
rick_h_we have a full backup for doing a full restore but not easy to get 'this field'18:22
bacrick_h_: ok, i'll look at the makefile and see if i can figure it out18:23
rick_h_bac: hmm, yea it should be close to the other job18:23
rick_h_bac: which job did you edit?18:23
bacjenkins-github-lander18:23
bachttp://ci.jujugui.org:8080/job/jenkins-github-lander/configure18:24
rick_h_bac: ah ok, I'll update18:24
bacmake testdeps; make lint; make test18:25
bac??18:25
rick_h_bac: updated, copied from the -merge version of the job18:25
bacoh cool18:25
rick_h_just removed the landing stage18:25
rick_h_having two jobs is a bonus sometimes :)18:25
bacrick_h_: for jenkins we specify the sha1 of the commit to test.  is that the sha of the branch that has been proposed? e.g. https://github.com/bac/charmstore/commit/7d8c2efae2517c3d1e01d8f686223d3a9ad1420c18:35
bacrick_h_: if it gets that sha at the end of the url, but doesn't know about the specific user, it can fetch it from github?18:35
rick_h_bac: yes, git watches the list of branches in the pr namespace and knows how to check out each commit sha 18:36
rick_h_bac: so you can give it any commit in any pr and it'll checkout/test that sha18:36
bacnice18:36
rick_h_normally it just gets the latest sha in the pr18:36
hatchkadams54 did you review/qa my branch yet?18:42
kadams54In progress right now.18:42
hatchcool thx, i'm gona go grab some lunch18:43
hatchmmm check this out! http://www.withings.com/activite/en-US me wants19:31
hatchwell except that it doesn't work with android19:33
rick_h_so I just watched a video and don't know anything more than when I started19:33
hatchrofl19:34
hatchI thought the same thing haha19:34
rick_h_it's a pretty fitbit?19:34
hatchyep19:34
rick_h_pass, I <3 my pebble steel19:34
hatchbasically by the time it's released I will have forgotten about it19:34
hatchoh well19:34
hatchI want the Google watch19:34
rick_h_got a new awesome watch face that is nice and clean19:34
hatchthat thing is darn cool19:34
rick_h_heh, that one will be tough. I'll be darn tempted to get my google now on my wrist19:35
rick_h_but I think that'll definitely a gen2 switch over19:35
hatchI'm kind of hoping they release it tomorrow, I'll be staring at my screen with my cc in hand waiting during the keynote19:35
rick_h_heh, I was glad I had no calls at noon 19:35
rick_h_you can be sure the chromecasts in the house will be watching the keynote19:35
hatchof course it won't be available in Canada...so I'll have to have you buy it for me19:36
hatchlol19:36
rick_h_works for me19:36
rick_h_when two of them show up I'll just tell the wife I was getting it for you19:36
rick_h_and hide the other one :)19:36
hatchhahaha19:36
hatchthere was a watch face competition for that watch....19:37
hatchI +1'd a couple....now where do they keep these +1's19:37
hatchhmm empty...19:37
hatchthat's not right19:37
hatchhttps://plus.google.com/photos/+Motorola/albums/602592735086856155319:41
hatchit's kind of too bad pebble didn't go colour and round :)19:42
bacrick_h_: ugh, our jenkins is precise but charmstore is not very precise-happy19:45
hatchtime to switch back to warty19:45
hatchhmm that's an interesting failure in ci19:46
rick_h_bac: ok, well we can deploy a new jenkins server on trusty. 19:47
bacrick_h_: man that would make life easier19:48
rick_h_bac: or we look at using jenkins/jenkins-slave to run the tests on a slave related machine19:48
bactrusty! trusty!19:48
hatchwait for my merge to land plz :)19:48
rick_h_bac: yea, I first thought we could move all of ci to trusty, but jujucharms and prodstack is still precise 19:48
bacrick_h_: here's what i've got so far: http://ci.jujugui.org:8080/job/charmstore/configure19:48
rick_h_bac: so we'd need to get our prodstack envs moved as well19:48
bacrick_h_: the go-ness of it makes it kind of messy19:49
rick_h_bac: want to peek at the jenkins slave charm and see if we can more easily tie that in?19:49
* rick_h_ is looking19:49
bacrick_h_: going to trusty would give me a modern version of go too.19:50
rick_h_bac: right19:50
rick_h_bac: but if we setup the slave machine, we have one place to view the results reports19:50
rick_h_but run the tests on another machine that can be the go-centric place and can be trusty easily without effecting current stuff19:50
bacwe do or we don't?19:50
bacwhy the but?19:50
* bac brb19:51
rick_h_bac: sorry, mixed stuff in there19:51
rick_h_bac: the CI config looks good. The tmp stuff reminds me of the lbox clean directory stuff from GUI heh. 19:52
rick_h_hatch: build fail19:53
hatchyeah I re-triggered it19:53
rick_h_bac: hmm, no trusty jenkins-slave charm :( I would think that we could try to fork/push that. 19:53
hatchnot sure what the old issue was, but hopefully this one will work just fine19:53
hatchlooks like it's running now19:57
hatch*crosses fingers*19:57
bacrick_h_: oh, i guess i should blow away that tmp dir20:01
* bac wonders how long before i rewrite it all in python20:01
rick_h_bac: yea, wish sinzui and them weren't so under water and could chat/participate. 20:02
bacrick_h_: i talked to sinzui earlier20:02
bache gave me some references but they aren't doing anything exactly like this20:02
* rick_h_ goes to check logs, assumed they'd have to do all the tests on precise/trusty and such across platforms20:03
rick_h_bac: ok, what do you think of the path forward of updating the jenkins-slave charm for trusty, get it deployed and wired up to ci.jujugui.org, and then moving the test runs of the store to there?20:03
bacrick_h_: it was all pm'd20:04
rick_h_bac: ah, ok nvm then20:04
bacrick_h_: https://pastebin.canonical.com/112297/20:04
rick_h_bac: interesting20:06
bacrick_h_: what has to be done to that charm? i don't see anything precise-specific in it20:09
rick_h_bac: ok, well I've got two worries. One that precise not working is a problem we'll need to solve. But I think that can wait until after we get stuff working20:09
rick_h_bac: I think the only thing we'll have to do is to fork it and push it up under the precise/ namespace20:09
bacrick_h_: the issue with precise are 1) old go that needs work-arounds, 2) no juju-mongo package backported.20:10
rick_h_bac: so I'd start by testing it out by just pulling it down and publishing it under either yourself or our juju-gui space we use for our own charm. 20:10
bacok20:10
rick_h_sorry ~juju-gui-charmers is the shared one20:11
=== automate_ is now known as automatemecolem_
bacjujugui: anyone have problems deploying local charms unless you specify --repository?  http://paste.ubuntu.com/7697163/21:25
hatchbac yes that is required21:26
bachatch: well, it looked liked it guessed properly but didn't really since it appened /trusty21:26
kadams54bac: True confession: I've only ever deployed a local charm (the ghost one) via the GUI.21:26
hatchbac yea i haven't ever got that to work heh21:27
bacyeah, it doesn't come up often21:27
hatchbac what if you were in ~/charms and then did `juju deploy local:trusty/jenkins-slave` ?21:29
bachatch: i think that would work21:29
hatch__bac it would be nice if we could go `juju deploy .`21:35
=== hatch__ is now known as hatch
=== makyo_ is now known as Makyo
MakyoTwo failures \o/21:44
hatchMakyo are you around?21:44
hatchoh hah21:44
hatch:)21:44
MakyoYep21:44
hatch\o/ for failures21:45
hatchso my question :)21:45
hatchwhen we create a relation between two ghost services the information which is in the changeset is the service names not a reference to their models21:45
hatchso if the user changes the service name (it's not yet been deployed)21:45
hatchthen the relation fails21:45
MakyoHmmm.  Seems like an easy enough change.  I know we crammed that in last minute.21:46
Makyo"Easy enough" in the heaviest sarcasm quotes I can muster.21:46
hatchlol21:46
hatchsooooo I was thinking we should instead add an extra id to the models 21:46
hatchand we use those id's for reference for the ecs stuff21:47
hatchthen the models can change under it and it doesn't matter21:47
Makyohatch, don't we already have those?  The 120947$ ids?21:47
MakyoThose don't change.21:47
hatchright, but I'm pretty sure those go away once it's been deployed....no?21:47
hatchI'll investigate further....but you don't see any issue with using the ghost id's then resolving them wherever they need to be resolved? 21:48
hatchthere are a few places where we rely on the id to display the information21:48
MakyoWell, sure, but once they're deployed, we already have a mechanism for replacing that info in future ECS records, right?21:48
MakyoYEah.21:48
hatchyeah ok cool21:49
hatchgood thing we are agile haha, I'm not sure how anyone would have created a spec for this stuff :)21:49
hatchkadams54 hey, do you know why halt() worked this morning when preventDefault() didn't? I realized I told you to use it but didn't say why...21:51
kadams54hatch: I suspect it's because the click event is bubbling up?21:53
hatchyeah, halt calls preventDefault and stopImmediatePropagation so it stops it bubbling....this has caused us issues in the past when listening on containers for events so we try and use it sparingly 21:53
kadams54Though I'm pretty annoyed right now… the merge CI build is failing on an IE error that is happening in a section of code (test_inspector_charm.js) that doesn't seem very related to anything I changed.21:54
kadams54Something in the "closes itself safely" test is causing hash URL pollution, which means test_cleanup.js fails at the very end.21:55
hatchahh, check that there isn't an ANCHOR tag, being clicked without a preventDefault21:57
hatch:P21:57
kadams54:-)21:57
kadams54Believe me, I'm looking for that like a hawk21:57
kadams54But there's no click simulates in the test in question, so no easy suspects21:58
hatchwell....if you have a few commits can you revert them back and see which introduces the issue?21:58
kadams54Haven't tried that yet, but the problem seems to be here: https://github.com/juju/juju-gui/blob/develop/app/views/viewlets/charm-details.js#L9022:06
hatchlooking22:07
kadams54IE 10 interprets that line as "set the hash to '#'"22:07
kadams54Though I'm not sure why that would start failing right now22:07
hatchthat line has been there for a while22:07
hatchyeah...22:07
hatchwhat r u working on?22:07
hatchor I suppose, do you have the code up somewhere22:08
kadams54Hah!22:08
kadams54You KNOW what I'm working on22:08
kadams54It's the same PR I've been working on!22:08
kadams54I can't land it because of this IE test failure.22:09
kadams54Need to get dinner now, but may bisect tonight22:09
hatchoh.....the same one?22:10
hatchthat's the one that won't work22:10
hatchwth22:10
hatchyeah take a break :) 22:11
kadams54Hmm…22:12
kadams54I'm pretty sure we do this to reset any tab info that might have been stored in the hash22:14
kadams54But the reality is that there doesn't appear to be a good cross-browser way to remove the hash.22:15
kadams54Still very puzzled as to why this would break now, and why it only breaks in IE. I get manually duplicate the same behavior in Chrome when I set window.location.hash in the console.22:15
kadams54But dinner calls.22:15
=== tvansteenburgh1 is now known as tvansteenburgh
huwshimiMorning23:07
jcsackettmorning, huwshimi.23:18
huwshimijcsackett: Hey!23:18
jcsackettheya, how have you been?23:19
huwshimijcsackett: Good thanks. Yourself?23:20
jcsacketti've been good. busy, but good. :)23:21
huwshimi:)23:21
rick_h_morning huwshimi 23:56
huwshimirick_h_: Hey23:56

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