/srv/irclogs.ubuntu.com/2012/10/25/#juju-dev.txt

davecheneywrtp: where are you ?07:35
davecheneycome to the big cloud room07:35
wrtpin the cloud room with the others07:35
wrtpdavecheney: ok07:35
wrtpdavecheney: what's up?07:35
davecheneyreviewing hte hundreds of bugs in py juju07:35
wrtpwill be over in a mo, if i can work out which is the "big cloud room" :-)07:36
niemeyerfwereade:07:42
niemeyer"""07:42
niemeyerWhen jujud has already opened the log file, and then panics, we just07:42
niemeyerlose the panic output. So I think we do need this...07:42
niemeyer"""07:42
niemeyerfwereade: Why would we lose?  That's not what append does, AFAIK07:42
fwereadeniemeyer, I just checked, and the output is nowhere to be seen -- and that fits with my intuition, that 2 things should probably not open the same file for writing07:42
fwereadeniemeyer, am I being stupid?07:43
niemeyerfwereade: AFAIK, the reason for O_APPEND in *nix is precisely to handle that07:43
fwereadeniemeyer, hum, ok07:44
fwereadeniemeyer, I will try to figure out what I got wrong, and get back to you07:51
niemeyerfwereade: If it's going to take too long, we can just move forward.. I expected it to be straightforward, though, and it's very handy to not have two files with the same name in the same directory.. we'll always have to type the extension otherwise07:53
fwereadeniemeyer, well, I did submit already, but I will see if I can figure out what I did wrong all the same :)07:53
fwereadeniemeyer, (ok, I can't figure out what I did wrong, but I clearly did -- using the same file works perfectly... sorry)08:21
davecheneyagent_test.go:294: c.Assert(string(data), Not(Equals), "spurious")09:31
davecheney... obtained string = "spurious"09:31
davecheney... expected string = "spurious"09:31
davecheneyo_O!09:31
niemeyerdavecheney: Type09:32
niemeyerdavecheney: Hmm.. whhaaa09:32
niemeyerdavecheney: Oh,09:32
niemeyerdavecheney: Not(Equals)09:32
davecheneyfair enough09:34
davecheneythat is a bit unhelpful09:34
davecheneyi'll fix it09:34
davecheneywrtp: GOMAXPROCS=81 go test .../cmd/jujud will fail with an auth error very reliably for me09:55
davecheneybootstrap_test.go:129: c.Assert(err, Equals, expectErr)09:59
davecheney... obtained = nil09:59
davecheney... expected *errors.errorString = &errors.errorString{s:"unauthorized access"} ("unauthorized access")09:59
davecheneywrtp: http://paste.ubuntu.com/1304534/10:00
davecheneywrtp: https://codereview.appspot.com/676705310:46
davecheneylooking good in stress testing10:46
wrtpcool10:46
davecheneywrtp: now looking at https://bugs.launchpad.net/juju-core/+bug/106414210:52
fwereadedavecheney, thank you, I've peered at that a couple of times and been totally unable to figure out what was actually happening in the ackground10:58
davecheneyfwereade: np, i'll come an nag you if I am confused10:59
fwereademramm, s/Availability/Available/12:16
fwereademramm, s/principle/principal/12:24
TheMuefwereade: +112:24
fwereademramm, I don't appear to have edit rights, that's the only reason I'm hassling you12:25
Aramfwereade: please share the link to the google doc.12:27
fwereadeAram, https://docs.google.com/a/canonical.com/document/d/1cm_JDMmk-uA15nSUf5Wz8icbBb4AmCOB-hoJZUfcgsE/edit#12:28
Aramthanks12:28
fwereadedavecheney, where did you guys go, and should I be there?13:38
davecheneymost people went to carbo load13:42
davecheneyfwereade: https://bugs.launchpad.net/juju-core/+bug/107132014:12
davecheney^ has been happening for a while14:12
davecheneyi am investigating now14:12
davecheney(manly as I have no idea how to fix the previous issue)14:12
fwereadedavecheney, that aaaaaaaaaaaaaaaaaaa one? I hopefully assigned it to rogpeppe this morning14:13
fwereadedavecheney, interesting to see the panic on reset though14:13
davecheneyyeah, that is common for most of our tear down tests14:13
davecheneyit's not a concern14:13
fwereadedavecheney, ah, ok14:13
fwereadedavecheney, so the panics come after the failures in aram's problem? and are therefore not a cause of it?14:14
davecheneyyes14:19
fwereadedavecheney, ty, that is good to know14:21
davecheneyfwereade: https://codereview.appspot.com/678104315:12
davecheney^ possible fix for aaa race15:12
fwereadedavecheney, I don't understand how https://codereview.appspot.com/6781043 works... but then I don't think I understood the original failure either :/15:32
fwereadedavecheney, rogpeppe may be a better reviewer...15:32
davecheneyfwereade: i belive that the hook is exiting before we even start the logger15:50
davecheneybut I am trying to understand that bad fd error better15:50
davecheneylogically thre is a chance logger.stop could be called before logger.run is scheduled15:50
davecheneyor the process could complete and exit before logger.run is scheduled15:51
fwereadedavecheney, ah, ok15:51
davecheneythe key in that proposal is it mitigates the problem15:52
davecheneydoesn't fix it15:52
davecheneybut mititgates it to a point that I was only able to reproduce the issue very infreqently15:53
davecheneyat which case other failures are taking precidence15:53

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