/srv/irclogs.ubuntu.com/2015/07/29/#juju-dev.txt

axwmgz: can I get on the ppc64el CI machine to dig into this bug?01:11
axwmgz: never mind. fails on amd64 using gccgo.01:13
axwwaigani: looks like you're OCR today. can you please review https://github.com/juju/juju/pull/2892? fixes the critical blocker on master01:43
waiganiaxw: sorry, just saw this.  Shipit02:37
axwthanks02:37
mupBug #1479194 opened: Juju agent hangs if debug-hooks session goes away <juju-core:New> <https://launchpad.net/bugs/1479194>04:00
mupBug #1479194 changed: Juju agent hangs if debug-hooks session goes away <juju-core:New> <https://launchpad.net/bugs/1479194>04:10
mupBug #1479194 opened: Juju agent hangs if debug-hooks session goes away <juju-core:New> <https://launchpad.net/bugs/1479194>04:22
dimiternmorning06:26
mupBug #1479024 changed: TestRootDiskTags fails on ppc64el <blocker> <ci> <ppc64el> <regression> <juju-core:Fix Released by axwalk> <https://launchpad.net/bugs/1479024>07:13
dimiterndooferlad, hey07:22
dooferladdimitern: hi. Sorry, that was a very long reboot.07:56
dooferladwasn't the entire 40 minutes!07:57
dooferladmore like 1007:57
dimiterndooferlad, :) wow07:57
dooferladwell, I think something hung. Gave up and hit reset.07:57
dimiterndooferlad, just a heads up about tomorrow and friday - approved07:57
dimiterndooferlad, please update the calendar07:57
dooferladI had 8 KVMs running, so I figured those may be an issue...07:57
dimitern:D07:58
fwereadethumper, final-leadership-switch-1.2408:32
dooferladeugh. bug #919437 sucks08:50
mupBug #919437: Lost window, cannot get it back. <amd64> <apport-bug> <distro-priority> <precise> <running-unity> <Compiz:New> <Compiz Core:New> <Unity Distro Priority:Fix Committed> <compiz (Ubuntu):Confirmed> <https://launchpad.net/bugs/919437>08:50
mupBug #1479278 opened: service status derivation happens in the wrong place <juju-core:Triaged> <https://launchpad.net/bugs/1479278>09:40
mattywaxw, ping?09:48
axwmattyw: hey, I'm here for just a moment. what's up?09:57
axwmattyw: sorry gotta go again, leave a message I'll check back later10:01
mattywaxw, sorry, missed you. no problem, I've added another question about that branch, it's basically lgtm to me though, I just need enlightening :)10:03
mupBug #1479289 opened: statushistory uses sequence, fails in multi-env state servers <juju-core:Triaged by wallyworld> <https://launchpad.net/bugs/1479289>10:22
axwmattyw: thanks for the review11:18
mattywaxw, welcome, sorry I missed it11:20
mattywaxw, reviewboard colours invert if I have my monitor at the wrong angle11:20
axwmattyw: oh :/11:20
mattywaxw, one of my faviourite features11:21
dimiterndooferlad, hey11:36
dimiterndooferlad, are available now for about 1/2h ?11:36
dimiternperhaps less11:36
dooferladdimitern: just grabbing coffee and then will be back from lunch.11:57
dooferladdimitern: back12:02
dimiterndooferlad, ok12:05
dimiterndooferlad, let's use our 1:1 g+ and the c9 workspace?12:05
dooferladdimitern: sounds good12:05
TheMuedimitern: ping13:06
dimiternTheMue, pong13:06
TheMuedimitern: wanted to have a quick chat about the final failing test13:07
TheMuedimitern: it is at https://github.com/TheMue/juju/blob/addresser-worker-using-api/worker/addresser/worker_test.go#L23713:07
TheMuedimitern: here I've got a timeout when waiting for a release op by the dummy provider13:07
dimiternTheMue, sure, looking13:07
TheMuedimitern: the rest works fine13:07
TheMuedimitern: I'll paste the debug log, mom13:09
TheMuedimitern: so, http://paste.ubuntu.com/11959517/, could help13:09
dimiternTheMue, could it be due to this: https://github.com/TheMue/juju/blob/addresser-worker-using-api/worker/addresser/worker_test.go#L9013:10
dimiternmore than 10 ops queued?13:11
TheMuedimitern: it's worth a try, due to the now happening bulk requests.13:12
dimiternTheMue, try logging each ReleaseAddress dummy method call13:13
TheMuedimitern: nope, no change. and the number of dummy ops should be the same, even with bulk request. they happen per address on the server13:14
dimiternTheMue, is the  apiserver facade actually calling the environ ReleaseAddress ?13:16
dimiternTheMue, I see no logs there13:16
dimiterns/there/about it/13:17
TheMuedimitern: in principle it does, all other tests waiting for releases work, and the op is sent by the dummy provider13:17
TheMuedimitern: but SetUp adds four addresses, later a fifths is added in this test, and I only see four tries to release13:18
TheMuedimitern: this 0.1.2.9 seems not to be released13:19
TheMuedimitern: when the machine is removed the address is dead, but it looks like the addresser doesn't recognises it13:20
TheMuedimitern: TestWorkerRemovesDeadAddress() in line 179 has no problem *sigh*13:22
dimiternTheMue, yeah, but there the addresses start as dead13:22
dimiternTheMue, so it feels like a watcher/sync issue13:22
dimiternTheMue, why call do you StartSync again in TestMachineRemovalTriggersWorker (twice even?)13:23
TheMuedimitern: ok, will add some debug statements on this path13:23
dimiternTheMue, IIRC StartSync spawns a goroutine13:23
TheMuedimitern: the tests are take as they have been before, I only had to change one combined error message so far13:24
TheMuedimitern: my hope have been good blackbox tests don't caring if the addresses uses and api or state13:25
TheMue;)13:25
TheMuedimitern: but ok, have now a direction where to investigate, thanks13:26
dimiternTheMue, well, since the logic has changed, the tests might break - e.g. 2 ops per list of ips (release, remove) rather than 2xN13:26
TheMuedimitern: aren't the ops by the dummy, so that only the calls to env are counted? those are only the release calls, remove then works on state again13:27
TheMuedimitern: and the number of release calls depends on the number of ips in the test case13:28
dimiternTheMue, true I think - env.ReleaseAddress is called once per IP13:28
TheMuedimitern: it's now only that it isn't called by the worker but by the server api13:28
TheMuedimitern: yep13:29
TheMuedimitern: the server api gets a bulk to release and then calls the according env menthod13:29
TheMue... n times13:29
dimiternTheMue, I'd suggest more logging13:30
dimiternTheMue, I need to be in a call now, but let's revisit it tomorrow if it's still an issue?13:30
TheMuedimitern: yes, will do so, thanks for support13:32
dimiternTheMue, np13:35
* TheMue rants about the weather. we've got July 29th and I sit here with thick socks, blanket, and cardigan. :( cold.dislike == true13:40
dooferladdimitern: https://github.com/juju/juju/compare/net-cli...dooferlad:net-cli-spaces-state?expand=1 should be more like what you were after. I hope.14:09
dooferladdimitern: I am going to grab some tea, but am happy to talk about the branch. I know it needs more tests!14:09
dimiterndooferlad, ack, will look shortly14:16
dimiterndooferlad, looks mostly OK, just a few passing notes: use string and []string in params structs, not names.*Tag - the params struct describes the wire format (and for some other good reason that currently escapes me)14:33
dimiterndooferlad, also - doc types in state are not exported for a reason; no need to declare SetUp*/TearDown* for SpacesSuite - this is needed only if you embed multiple "suite" types etc.14:35
dooferladdimitern: I thought we were trying to always call the SetUp* etc calls, even if they weren't needed, just because of good habits.14:38
dooferladdimitern: I don't care either way14:38
dimiterndooferlad, if we do now, I'm not aware of it :)14:38
mgzdooferlad: you don't need to redirene SetUp* if you're embedding exactly one suite15:13
mgz*redefine15:13
mgzbecause gocheck will just call that setup15:13
mgzwhat you have to be careful about is if you embed multiple suites, or write your own SetUp* - then you need to upcall15:14
dooferladmgz: apparently I imagined a conversation about it. Will get rid.15:15
mgzdooferlad: the thread happened, the circumstances are just a little narrower than you were thinking15:15
dooferladmgz: good to know :-)15:15
menn0anyone able to review these?22:33
menn0http://reviews.vapour.ws/r/2276/22:33
menn0http://reviews.vapour.ws/r/2275/22:33
menn0(easy ones)22:34
perrito666menn0: ill give it a shot22:34
menn0perrito666: thank you22:35
perrito666menn0: any idea why the tags where there for bson?22:38
menn0perrito666: I suspect it was started by someone who didn't understand what they were doing and then other people copied22:39
menn0cargo cult programming22:39
perrito666menn0: indeed, I especially like the seccond one22:41
perrito666I am a bit amazed that nothing broke there22:41
perrito666almost too good to be true22:42
menn0:)22:42
menn0perrito666: i'm about to make some more signficant changes that will almost certainly break things :)22:42
perrito666menn0: yeah, its the interface->string change that has me baffled22:42
* perrito666 also sees a lots of panics and supposes this code was just ugly from scratch22:44
menn0perrito666: that's just a simple tidy up... all the ids were strings anyway, and localID() was being called on all of them, so I just changed where that was being done so it's just in one place22:44
perrito666menn0:  shipthem22:44
menn0perrito666: thanks22:44
menn0perrito666: yeah, this area is a bit special22:44
perrito666menn0: I was just suspicious of exactly that, as if the code was writen for public facing stuff but all methods where private22:45
menn0perrito666: yep. the stuff I changed is all internal only.22:45
perrito666leadership is currently broken in master?22:46
menn0perrito666: pretty much22:47
menn0perrito666: will is working on it22:48
perrito666menn0: I was not sure if it was broken or just extremely unstable22:48
* perrito666 cannot ftloc make status tests pass22:48
menn0perrito666: extremely unstable ~= broken22:49
mupBug #1479546 opened: Storage provisioner timeouts spawning extra volumes on AWS <juju-core:New> <https://launchpad.net/bugs/1479546>23:18
menn0waigani: review pls? http://reviews.vapour.ws/r/2277/23:55
davecheneymenn0: how expensive is that call to st.EnvUUID() ?23:57
menn0davecheney: not very. it just returns a field of the struct23:58
menn0davecheney: and ... you're back!23:58
davecheneyi am23:59
davecheneyhello23:59
davecheneyin taht case23:59
davecheneyLGTM23:59
davecheney(as I'm also OCR today)23:59

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