[00:09] _thumper_: seen mramm ? [00:10] <_thumper_> davecheney: yeah [00:10] * davecheney waits on mramm for our 1-on-1 === _thumper_ is now known as thumper [02:33] davecheney: I'm trying to do a go get on github.com/andelf/go-curl and go says "cannot find package", yet it seems to work for others. Any ideas? [02:35] ok we worked it out [02:35] FFS [02:35] my GOPATH started with a : [02:35] ridiculous [03:38] bigjools: O_O!! [03:39] ahh, there is a long story about that [03:39] which isn't (all) go's fault [03:40] davecheney: I see :) [03:41] for example, did you know that PATH=$PATH:: is short hand for [03:41] PATH=$PATH:. [03:42] ! [03:43] davecheney: so when I do a perfectly reasonable line like this in my .bashrc, I am screwed then: export GOPATH="$GOPATH":/my/path [03:43] yup, that isn't awesome [03:44] that says GOPATH=.:/somethign/else [03:44] where . is the first element, and will be the target for go get [03:44] if it is of any consolation, i have fixed many of these usability problems in 1.1 [03:45] bigjools: thumper do you two have time to talk about the mongo problem ? [03:45] sire [03:45] sure even [03:46] so, latest i have is everyone is working really hard to get mongo into at least raring by 13.04 [03:46] but I think we need a backup [03:47] bigjools: what I would like to do is move from the tarball to your ppa for getting mongo for the bootstrap nodes [03:47] the current raring packaging has a bug when it tries to build with ssl, fwiw [03:47] \o/ [03:47] how about an official PPA [03:48] I just did mine as I don't trust unsigned binaries :) [03:48] bigjools: sounds fine by me, i'd really like your guidence on this [03:48] ok [03:48] the trick is we need P, Q and R, amd64 as a must [03:48] 386 and arm as a maybe [03:48] thumper was saying that the 2.2.3 build didn't work for him [03:48] shitter [03:48] 2.2.2 was defo ok [03:48] I built 2.2.3 in the same way so I dunno what's up [03:49] bigjools: how do I, or you [03:49] i think you'd be faster [03:49] get a PPA location setup so I can then reference that in the cloud init scripts ? [03:50] activate a new PPA for the juju devs? [03:50] bigjools: full disclosure, i'm a launchpad numpty [03:50] you'll have to walk me through this [03:50] heh [03:50] np [03:50] which team should own the ppa? [03:50] i think htere is a juju team now [03:50] it used to be ~gophers [03:50] perfect [03:50] but that was changed recently [03:50] * davecheney checks [03:51] bigjools: if you are not a member [03:51] i can fix that [03:51] so if you are an admin of the team you can activate a ppa for it [03:51] once you do that you can't rename the team [03:51] not sure I need to be a member [03:51] * davecheney goes to look [03:51] https://launchpad.net/~juju [03:51] ^ i can create a new ppa [03:52] on the left mid way down, yes [03:52] so I suggest making one called devel, one called staging and one called stable [03:53] or perhaps s/devel/experimental/ [03:53] then we can test packages and copy them later to the stable ppa [03:53] bigjools: sounds reasonable [03:53] i'm goig to be adding this ppa to the cloudinit script [03:53] the forms on LP are pretty self-explanatory I hope [03:54] how will having dev/stage/stable play into this [03:54] yeah then it does need a production PPA that is stable :) [03:54] ok, done devel and stable [03:54] that'll do for the moment [03:55] bigjools: also, because i'm a lp numpty, i'm not setup with all the pkg signing aparatus [03:55] easy to sort [03:55] ok [03:55] on the cmd line just type "add-apt-repository ppa:account/ppa-name" [03:56] oh yeah, i've done that side [03:56] it won't work until the 1st package is in the PPA though [03:56] but the publishing part will probably involve more steps [03:56] packaging is tricky, yes [03:56] I can help there [03:56] sweet, thanks [03:56] I suggest that once you have the experimental PPA up, you copy my 2.2.3 package into there [03:57] ok, experimental created [03:57] i copied your ppa once before [03:57] * davecheney looks [03:57] so visit my PPA's packages page [03:58] and click copy packages [03:58] then your experimental PPA will be in the destination drop down [03:58] copy to same series and copy source + binary [04:00] https://launchpad.net/~julian-edwards/+archive/mongodb [04:00] why is it always a sonofabitch to find the copy link ? [04:00] click "view packages" [04:00] it's on that page [04:00] gotcha [04:02] ok, wheels are grinding now [04:02] while that is baking i shall make a branch to use it [04:05] will be interesting to see why it fails [04:05] or at least thumper said it fails :) [04:05] bigjools: can I use copy package to change the series to quantal, etc ? [04:05] davecheney: not a good idea to go backwards [04:05] ok [04:05] davecheney: I did a 2.2.2 for quantal [04:05] it works fine [04:06] that is ok [04:06] once we get _one_ working mongo [04:06] i can use default-series to boot an environment that matches [04:06] you can promote 2.2.2 from quantal to raring [04:06] bigjools: is there anyone I should talk to about using ppa's in cloudinit ? [04:06] smoser [04:07] of course [04:07] da man [04:31] bigjools: are you on juju-dev ? [04:31] ML [04:31] davecheney: yes I think so [04:31] ok, just announced my intentions for this packaging bollocks there [04:32] please comment and/or throw fruit [04:32] seems ok [04:32] didnt' expect it to be contraversial [04:32] I don't understand juju well enough to comment really [04:33] writing the python maas provider was enough for me :) [04:33] i can give you more background [04:33] but you probably don't want to know [04:34] thumper: seen this test failure ? [04:34] ... obtained *net.OpError = &net.OpError{Op:"write", Net:"tcp", Addr:(*net.TCPAddr)(0xc200245d50), Err:0x68} ("write tcp [::1]:46014: connection reset by peer") [04:34] ... expected *rpc.ServerError = &rpc.ServerError{Message:"transformed: message", Code:"transformed: code"} ("server error: transformed: message (transformed: code)") [04:59] umm... [05:00] perhaps [05:00] I do still get some intermittant failures [05:00] happens 100% of the time [05:00] will bisect in a few mins [05:00] hmm [05:01] I ran tests just before I went out [05:01] and all passed [05:01] trying to improve my jenkins builder to run our tests [05:01] let me check my trunk revision [05:01] thumper: which revno [05:01] r1024 [05:01] davecheney: what do you have? [05:01] hmm, how can I check [05:01] this branch has local changes [05:02] bzr revno [05:02] yeah, checking 1024 now [05:03] thumper: yup, totally repeatable @1024 [05:03] if you can confirm the failure I will log a bug about it [05:03] hmm... I don't get it on r1024 [05:03] we've seen failures like this before [05:03] let me triple check [05:04] races between the client reading the reseponse and the server closing the connection [05:04] ok launchpad.net/juju-core/rpc 0.186s [05:04] that is with r1024 of trunk [05:15] thumper: can you please try GOMAXPROCS=2 go test launchpad.net/juju-core/rpc [05:16] davecheney: tried three times, succeeded each time [05:16] * thumper is trying to land the upload tools tweaks [05:16] with GOMAXPROCS=2 (or any number other than 1) [05:16] fair enough [05:16] OMG there were a lot of conflicts with trunk [05:17] davecheney: yes, with set to 2 [05:17] that is important, gets the review queue unblocked [05:17] exactly [05:17] carry on [05:18] * thumper nods [05:24] bigjools: https://launchpad.net/~juju/+archive/experimental/+packages [05:24] looks like it worked [05:24] davecheney: cool [05:24] so hax0r away [05:30] bigjools: have you fixed mongo? [05:30] davecheney: branch landed [05:30] rofl [05:30] * thumper is done [05:31] thumper: it's not a packaging problem AFAICS therefore it's a juju problem [05:32] or mongo.... take your pick. either way, it's not *my* problem :) [05:32] heh [05:32] you said you saw libssl linked? [05:32] perhaps 2.2.3 has something that breaks juju [05:33] maybe... NFI [05:33] * thumper goes to help make dinner [05:36] LFTM, ldd $(which mongod) linux-gate.so.1 => (0xb76ef000) libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xb7690000) [05:36] mongo is stupid [05:36] they require the elephant that is libboost [05:36] but they only need it for the headers [05:40] thumper: ok, the rpc test failure is real [05:40] just verified under 1.0.3 as well [05:41] it fails under my stress test script [05:41] will raise a bug [05:43] https://bugs.launchpad.net/juju-core/+bug/1157553 [05:43] <_mup_> Bug #1157553: rpc: tests are unreliable < https://launchpad.net/bugs/1157553 > [08:21] jam1: question about juju cli for windows ? === jam1 is now known as jam [08:21] yes davecheney? [08:21] did you get a cross compile working, or did you do it directly on win32 ? [08:22] davecheney: just did it directly [08:22] fair enough [08:22] that is what I tought [08:22] thought [08:22] as you were [08:22] well, I need to actually run it there anyway, right ? :) [08:22] yes [08:22] sorry, was answerin a question from another channel [08:22] np [08:23] I did recompile go, but I probably could have just downloaded the 32-bit version. The big key was just needing 'gcc' for cgo. [08:23] Though maybe I would need a "close" match between the gcc for go and the one for goyaml [08:23] so maybe I would need to recompile go [08:23] C usually isn't as version specific as C++ [08:24] i would really like to remove the cgo requirement for goyaml [08:24] which is a medium sized job [08:25] but might be helpful if we have to cross compiile a lot in the future [08:25] when I mentioned it in the past (1yr?) gustavo claimed that he didn't want to implement the mess that was yaml parsing. [08:25] ie, I don't see lp supporting a win32 target any ti,e in the future [08:25] yeah, that is very true [08:25] goyaml just wraps the python yaml c code [08:25] right [08:25] so it has the same compatibilty as the python version [08:25] a decent compromise [08:26] from what kapil said, yaml parsing speed becomes a bottleneck at large scale, so having a slow parser might also be bad [08:26] but it could be *really* useful if the API was compatible [08:26] so you could use "A" or "B" yaml libsd [08:26] libs [08:26] and then we could have native go yaml for stuff like win32 [08:27] i don't think yaml parsing speed is that importnat [08:27] davecheney: do you know why cgo doesn't support cross-compiling? You certainly have cross-compiling gcc [08:27] we don't have the topology node [08:27] jam: it's not that it doesnt' support it [08:27] but the moving parts required especially to go from elf -> PE [08:27] are substantial [08:28] if you did all the compilation steps by hand, and had the right cross compiler and cross linker, as well as headers and .so's [08:28] you could do it [08:28] but it was just too hard to autoate with the simple go tool [08:28] sure. So for Bazaar, we just created an EC2 instance that we bundled, and then brought up when we did a release to build the next binaries. [08:29] It wouldn't be hard to set that up again. [08:29] mornin' all [08:29] hi rogpeppe, hope your day has started well so far [08:29] morning rogpeppe [08:29] jam: the shower was hot :-) [08:29] davecheney: hiya [08:29] jam: i think that is a good suggestion [08:29] lets see how it pans out [08:30] maybe someone will kick in the resources for this machine on a native platform [08:30] :P [08:30] davecheney: so in the short-term, I have no problem doing the compiling on win32, but I imagine we'll want a more automated system so we can detect issues pre-release. [08:31] morning [08:31] jam: smells like a jenkins shaped problem [08:31] hi dimitern [08:31] davecheney: it does, indeed. Though my personal jenkins-fu is quite rusty. [08:31] jam: i've setup a jenkins CI build now that i have the right i386 mongo [08:31] I've used it, I've played with it, but not allt hat much. [08:32] davecheney: you have a mongod that runs on Windows? Or is that Linux-i386? [08:32] jam: jenkins is easy, imagine a hammer that has been worn down by repeatedly bashing on hard thins [08:32] that is jenkins [08:32] jam: i386, see mail to juju-dev about backstop plan for how to get away from using a tarball for mongo [08:33] vila from our old squad had jenkins stuff set up. I think his biggest trouble was trying to create a reproducible save state (so if needed someone else could bring it up similarly). It wasn't terrible to configure and sort of hack it together. [08:33] davecheney: yeah, I saw the "start at a ppa" [08:33] though IIRC the ppa build breaks the test suite. [08:33] If you run with '-gocheck.vv' I *think* rogpeppe and I (mostly him at my request) made it so the failing mongod would at least get logged. [08:33] jam: i think we fixed that [08:36] setting up jenkins is painful, but at least takes less than a day, even from scratch - did it twice :) [08:36] davecheney: i saw your TestTransformErrors failure yesterday [08:36] davecheney: it only happens in go tip [08:36] davecheney: and i haven't narrowed it down yet [08:39] rogpeppe: it happens with 1.0.3 [08:39] i checked [08:39] davecheney: orly? [08:39] it's timing related [08:39] rogpeppe: http://play.golang.org/p/lSPW2BO2Tk [08:39] cd $PKG [08:39] bash stress.bash [08:39] davecheney: i'm sure it never happened before on go tip, so i'm surprised about 1.0.3 [08:39] fails in a few seconds [08:40] fwereade: https://codereview.appspot.com/7497047/ please? [08:46] davecheney: ah, i've managed to reproduce the problem on 1.0.2 (and i also saw a log-target-race related panic) [08:47] it's less prevelent under the old 1.0.x scheduler [08:47] but the race is there [08:48] davecheney: yeah (this time i saw the issue in a different test, BTW, but still "connection reset by peer") [08:49] davecheney: (when reading a response, but writing the request though - it might be a different issue but i suspect not) [08:49] s/but/not/ [08:49] rogpeppe: indeed, the faliure modes are always subtly different but it appears to be the client and the server racing to read the final message [08:49] rogpeppe: didn't dimeter fix a very similar bug in Atlanta ? [08:49] dimitern, sorry, on it right now [08:49] fwereade: cheers! [08:50] davecheney: ah, i *think* i might see the problem [08:51] how can i subscribe to canonical-juju ? [08:51] dimitern: how much cash do you have ? [08:51] davecheney: :D [08:53] dimitern: https://lists.canonical.com/mailman/listinfo/canonical-juju [08:53] davecheney: yup, fixed it, i think [08:53] davecheney: as a BG rapper sang once "i own tens of bucks" [08:53] davecheney: cheers [08:56] davecheney: https://codereview.appspot.com/7919043 [08:57] * davecheney looks [08:58] rogpeppe: that'll do it every time [08:58] davecheney: yup :-) [08:58] i'm surprised that ever work [08:58] worked [08:58] davecheney: yup. [08:58] what is the history on that file [08:59] i have a worrying feeling that we tried to 'fix' it before [08:59] (poorly) [08:59] davecheney: i guess it was almost always running the new goroutine first [08:59] davecheney: i'm not sure. i don't remember doing so [09:00] i have a vague memory from atlanta [09:01] davecheney: i might've missed it, being involved with gui stuff [09:01] * davecheney checks [09:01] the reason i mentoin it is we had a very similar bug that week [09:04] davecheney: well, there are no fixes of that kind in the rpc package at any rate [09:04] davecheney: this produces only ian's recent changes to log: for(i in *.go) {echo $i; bzr blame $i | grep -v '^ +\|' | grep -v roger.p } [09:05] someone showed me [09:05] bzr log --show-diffs [09:05] but I cna't make it work [09:05] what am I doing wrong ? [09:05] davecheney: i just checked that noone other than me has made any changes to the files in rpc. :-) [09:06] maybe it was a similar error in another package [09:06] screw it [09:06] get one more LGTM and job done [09:07] yup, i'm happy we are not reverting another fix [09:11] dimitern, qualified LGTM, ping me if there's any uncertainty [09:12] fwereade: tyvm [09:14] fwereade: no, i'm not getting the thing about using the wrong charm url in unit.go, please explain [09:15] dimitern, the service config we care about from the perspective of the unit is the config that is known to match the *unit*'s charm url [09:15] * TheMue likes failing tests *hmpf* [09:16] fwereade: exactly what i'm doing isn't it? [09:16] fwereade: getting u.doc.CharmURL + u.doc.Service for the key [09:16] (well, vice versa, but the code is correct i think) [09:17] dimitern, looking up the service's charm url is defeating the point of doing all the work in the first place [09:17] dimitern, not entirely ofc, because you do the right thing in watcher.go [09:17] dimitern, when watching the unit's service config [09:17] fwereade: are you talking about WatchServiceConfig() ? [09:17] dimitern, WatchServiceConfig is Correct [09:17] dimitern, ServiceConfig is not [09:17] fwereade: aah, got you :) [09:18] dimitern, they should be using the same document [09:18] fwereade: right, sorry - i'll fix it [09:18] dimitern, np, I didn't catch that first time round anyway [09:19] dimitern, but, sorry, wait a mo [09:20] dimitern, no, we're good [09:20] dimitern, thanks :) [09:21] fwereade: i'm a bit divided what comments to put around the ops [09:21] dimitern, which ones? :) [09:21] fwereade: this case you described about inc ops with a single upgraded unit in error state getting reverted [09:22] fwereade: should we document this somehow, or make the "first use" comment more correct [09:23] dimitern, I think that the explanatory line should be either made strictly accurate, or maybe even dropped; as it is, it clearly contradicts the preceding if/else chain [09:24] dimitern, I'm not sure what explanatory power a strictly accurate version has though [09:24] fwereade: ok, i'm dropping it :) can be bothered to wrap my mind around commenting all cases in a sentence [09:24] dimitern, how about "The document might need to be created"? [09:24] dimitern, I think that is accurate and high-level helpful [09:25] dimitern, "A new settings document might need to be created"? [09:25] fwereade: that's like saying the water is wet [09:25] fwereade: we're creating it anyway [09:26] dimitern, ha, sorry, "a new refcount document might need to be created"? [09:26] fwereade: hmm... let me think a bit [09:27] fwereade: what we're actually doing there is either creating a refcount=1 or just refcount++ [09:27] dimitern, honestly, it is documented anyway is settingsIncRefOp [09:28] fwereade: yeah, i think it makes sense, although not saying when we might do it... ah right - just take a look at the settingsIncRefOp [09:28] dimitern, on service creation we just blat it out directly because we don't need the complexity of an incref, but in this case we need it so we use it [09:28] fwereade: ok, i'll change both inc and dec comments so [09:29] dimitern, maybe the comments are best couched in terms of "the unit adds a reference to the new settings doc" and "the service drops its reference to its old settings doc"? [09:29] fwereade: even better! 10x [09:30] dimitern, cool [09:32] Ha, killed the next failure. *g* [09:32] * fwereade cheers at TheMue [09:34] fwereade: After changes the hard coded references to $HOME/.juju there are now still some hidden glitches in the tests. ;) [09:34] TheMue, yeah, no doubt -- good luck with them [09:34] fwereade: thx [09:44] the update manager this morning suggested to do a "partial distribution upgrade" - never seen this before, i did it and /etc/issue still reports 12.10 - anyone seen this? [09:46] fwereade: done with the changes - would you like one last check (mostly for wording in comments) before I submit? https://codereview.appspot.com/7497047/ [09:59] dimitern, sure [10:22] good night gentlemen [10:22] don't forget, release on friday [10:23] i'll do the release notes dance tomorrow [10:23] davecheney: good night! [10:23] night y'all [10:23] night davecheney [10:24] fwereade: so we had a question come up recently about Series vs Arch. Specifically, one seems to be a conf parameter, and one is meant to be a --constraint (from what I could tell). [10:24] I noticed because both are a bit borked on Windows [10:24] where it wants i386, and we don't have those charms available :) [10:25] I can change the code so that if series is unknown, it returns the default series from conf, but where do I overload the arch? (--constraint was the recommended method from mgz, IIRC) [10:26] mgz, dimitern: can either of you try bootstrapping on HP? I'm getting weird inability to write to swift, but I don't know if it is something about me. [10:26] I would ask wallyworld, but he is obviously away right now. [10:26] jam, heyhey [10:27] jam, usage of version.Current.Series will hopefully be evaporating imminently: tim's in the process of clearing up the environs api to accept series instead of tools [10:27] also, fwereade, https://code.launchpad.net/~fwereade/juju-core/bootstrap-constraints-3a/+merge/153725 landed, so I think your "EC2 should choose" kanban card can go into merged? [10:28] fwereade: yeah, I was hoping I wouldn't have to do much about series, and could let Tim do the work for me there. [10:28] But Arch is also important in this context, and it was unclear how that happens. [10:28] At the very least, it seemed both Arch and Series should be configured in the same manner [10:28] (environments.yaml, or --constraints, but not both) [10:29] well, even both, but not one one way and the other differently [10:29] jam: can check [10:29] thanks mgz, good morning, btw [10:29] I hope your Muselix is tasty today [10:29] jam, I don't consider my card really done until I've merged -6 -- it was originally meant to include that too [10:29] jam, but I am working on merging it all today [10:29] k [10:29] jam, wrt series and arch I think matters are a little more subtle [10:30] eaten long ago, the fun of getting on the 7:45 bus... [10:30] mgz: I thought colocation was Thurs? [10:30] at least I have a net connection up to doing audio+ssh today, not sure what was up with the crazy packet loss at home yesterday [10:30] yeah, that got pretty crazy at the end. [10:30] it is, I'm casually in town [10:31] I could hear you fine, but your ssh lag was pretty bad [10:31] and irc stayed up... [10:31] but incoming audio was being mangled, and screen was paaainful [10:32] mgz: so how much to get Fi-OS to your house? :0 [10:32] well, there have been promises from the local authority... [10:32] we promise to make you pay through the nose [10:32] to get 1Mbit [10:32] jam, would you like a quick hangout? [10:32] I guess T3 was 1.5Mbit? [10:32] fwereade: sure [10:33] fwereade: you want to set it up or me? [10:33] it's mostly a service reliablity and cost thing these days rather than speed, which is actually pretty reasonable [10:33] jam, I was getting water but will do so now [10:33] np [10:38] fwereade: ping [10:41] dimitern, pong [10:41] fwereade: does it look ok? [10:41] dimitern, dammit sorry [10:42] fwereade: np, i'm already half though the upgrade-charm cmd anyway :) [10:44] dimitern: one last question on your review https://codereview.appspot.com/7497047/ [10:44] rogpeppe: just answered :) [10:45] dimitern: hmm, but settingsRefsDoc doesn't *have* an id field. that was what was confusing me. [10:45] rogpeppe: it has an implied id [10:46] rogpeppe: if not specified mongo creates one, afaik [10:46] dimitern: oh, i see. we're relying on a mongo-created _id? [10:48] rogpeppe: yeah [10:49] dimitern: so how do we find out that key to increment the ref count? [10:49] rogpeppe: we use the serviceSettingsKey() to construct the key, and then Find/FindId [10:50] dimitern: oh, i see, we do specify the id when creating the document [10:50] rogpeppe: exactly [10:50] dimitern: we just don't have in the doc [10:50] dimitern: hmm, i think that's a bit confusing. all the other docs contain their id fields. [10:50] rogpeppe: yeah, if seemed a bit weird at first, but fwereade explained it and it made sense [10:51] dimitern, rogpeppe: no, we specify the key in the txn.Op [10:51] fwereade: yes, i saw that. but don't all the other doc types have the key in the struct too? [10:52] rogpeppe: well, saves a bit of typing: settingsRefsDoc{1} instead of {Id:x, RefCount:1} [10:52] dimitern, rogpeppe: it ends up cleaner imo, because then we can just use the doc directly in update operations without mgo whining about _id not neing sane to update [10:52] rogpeppe, and since it's not actually required anywhere else, meh, why include it? [10:52] fwereade: ok. maybe a comment next to the settingsRefDoc would be appropriate then [10:53] rogpeppe, +1 to that [10:53] rogpeppe: i'll add a comment [10:53] fwereade: because it wasn't obvious to me at any rate [10:53] jam: bootstrap on hp worked btw, want to compare config? [10:53] rogpeppe, yeah, good observation [10:54] mgz: my hp config: https://pastebin.canonical.com/87223/ [10:55] basically, pulled juju-core trunk, `go install ./...`, sourced creds, `~/go/bin/juju bootstrap --upload-tools` and `~/go/bin/juju status` [10:55] fwereade, rogpeppe: thanks for the reviews. i'll include your suggestions and submit it shortly [10:55] dimitern, cool, thanks [10:57] mgz: and the failure: https://pastebin.canonical.com/87224/ [10:57] I can't --upload-tools on Windows [10:57] but that isn't where it is failing [10:58] jam: https://pastebin.canonical.com/87225/ [10:58] jam: check your OS_REGION_NAME [10:59] mgz: export OS_REGION_NAME="az-3.region-a.geo-1" [10:59] I checked that [10:59] and the URL for the swift service looks right [10:59] it is going to: https://region-a.geo-1.objects.hpcloudsvc.com/v1/AUTH_3... [11:00] but it is getting an EOF [11:00] which if I then 'swift list' after changing OS_REGION_NAME, I don't see the bucket mentioned in the bootstrap debug [11:00] while I *do* see your hpgztesting bucket [11:02] I'll try changing the bucket name to see if creation is borked somehow, I would have had that bucket before [11:05] mgz: I would have thought 'destroy-environment' would delete the bucket. [11:06] nope, that works as well [11:06] jam: you'd have thought... [11:07] mgz: (that can also be tested :) [11:07] mgz: I don't see your old bucket, and I do see a "hpgztesting-new" bucket [11:09] $ swift list [11:09] No handlers could be found for logger "keystoneclient.v2_0.client" [11:09] Endpoint for object-store not found - have you specified a region? [11:09] ...thanks python-swiftclient [11:09] ...is that actually the bucket name? [11:10] ah, no, it should have my hex bit as well [11:14] mgz: you have to change OS_REGION_NAME for swift list [11:14] because it doesn't match the nova region [11:17] ah, ta [11:21] (note that you have to use the regular one for 'nova list' but you have to change it for 'swift list'... sign) [11:21] sigh [11:22] jam: so yeah, sorry, works for me, and nothing's obviously wrong with your setup in comparison [11:25] rogpeppe, fwereade: is it ok for both of you if I just drop the last sentence of settingsRefsDoc comment (the one about the last unit upgrading should drop the old settings doc) and leave the rest? that is already mentioned in the service.go inline [11:26] dimitern, I think I'd still favour dropping all but the first, for the same reasons, but I think I should defer judgment to roger who's in a better position to know how the code looks when it's unfamiliar [11:27] fwereade: ok, so to make peace, I'll leave it then :) [11:28] dimitern, what? this means WAR! [11:28] dimitern, (no, that's fine ;)) [11:28] fwereade: :D [11:28] WAR? This means PEACE! [11:28] wait... [11:28] fwereade: is there anywhere else that has a more coherent comment about the overall strategy for managing settings docs? [11:28] rogpeppe, there is not [11:28] rogpeppe: not in one place, not [11:29] rogpeppe, it would be a very good thing for us to write such a document, but in my personal queue it comes behind a how-to-write-transactions document [11:29] fwereade: in which case, i think it's good to have that comment there (and to perhaps fix it if it's not accurate), rather than inferring the strategy from scattered comments [11:29] wallyworld_: I didn't mean to scare you away, please come back :) [11:29] rogpeppe, yep, +1 [11:29] jam: stupid mumble is freezing :-( [11:29] fwereade: i really think it's nice to have comments in the code (perhaps in addition to other external docs) [11:30] fwereade: or at the least a pointer to the external doc within the code. [11:30] dimitern, for pedantry's sake would you mention that the service decrefs the settings doc for its old url on change please? [11:30] fwereade: sure, +1 [11:31] fwereade: when the service config settings change? [11:31] rogpeppe, no, when the service's charm url changes [11:31] fwereade: how is that different from upgrading? [11:32] rogpeppe, it's not, but the decref is not mentioned -- only the incref to the new one [11:32] rogpeppe, fwereade: there it is - take it or leave it :) http://paste.ubuntu.com/5630902/ [11:32] fwereade: " [11:32] When a unit upgrades to the new charm, [11:32] 717 // the old service settings ref count is decremented [11:32] " [11:32] isn't that what you're talking about? [11:33] rogpeppe, ok, I would appear to be lacking in perception [11:33] dimitern, go for it [11:33] fwereade: ah, i thought i was missing something crucial :-) [11:33] cheers [11:33] wallyworld_: no love for mumble today? [11:34] trying [11:36] jam: mumle won't connect, wanna do a hagout? [11:37] wallyworld_: unfortunately, mgz is on his chromebook, and there are not binaries for G+ on it... :( but I can hangout with you and proxy for martin) [11:37] wallyworld_: can you hear us? [11:37] I see you in mumble [11:37] no :-( [11:37] if you can hear, then you can "speak" in the channel maybe? [11:37] mumble locks the cpu [11:37] joy joy... :( [11:38] i guess we can start a hangout [11:39] wallyworld_: https://plus.google.com/hangouts/_/261ed219337d5a6c8fb184b90b243b7a06b746f3?authuser=2&hl=en [11:39] dimitern: mgz ^^ [11:39] will be there shortly [11:40] jam: can you hear me? [11:40] wallyworld_: we can hear you [11:40] you can't hear us now? [11:43] mgz: no audio === teknico__ is now known as teknico [12:14] Ahhh! *jump* *jump* *jump* It seems I've found it. [12:20] *tschakka* Yeah, got it. *big-smile* [12:24] * fwereade_ cheers at TheMue again [12:24] rogpeppe, does http://paste.ubuntu.com/5631012/ look like something you've seen before? [12:24] mgz: it might have been the tools that are in the bucket on hp-cloud (in the shared account). When I added public-bucket-url, it seems to be working... [12:25] (maybe we have a bug if you download from swift and then try to upload it) [12:25] does swift do anything with uploading identical content? [12:25] like tell you "I don't need you to send any bytes because you already have a file matching that sha1" ? [12:25] fwereade_: no - AddRelation is new in the api. it's almost certainly something to do with the way that the AddRelation operation is being undone (or not...) [12:26] fwereade_: at least, i *think* AddRelation is new [12:27] rogpeppe, yeah, that's the latest commit [12:31] teknico, I'm seeing a consistent failure in trunk: http://paste.ubuntu.com/5631012/ [12:32] fwereade_, what did I break? looking [12:32] fwereade_: i have the same issue [12:32] just run the tests [12:32] on trunk [12:33] teknico, if it's not happening for you, that's not immediately clear :) === BradCrittenden is now known as bac [12:34] fwereade_: could it be because of the go version? i'm on 1.0.3 [12:34] dimitern, I'm 1.0.2 [12:35] teknico, assuming it's not so trivial as to take only a couple of minutes, would you back it out please? I'd be happy to help investigate on another branch if it turns out to be something tricky [12:37] teknico_, what was the last thing you saw? [12:37] fwereade_, my own question at 13:33:55 === bcsaller__ is now known as bcsaller [12:38] teknico_, I saw nothing from you before 13:32 === teknico_ is now known as teknico [12:38] teknico, I have http://paste.ubuntu.com/5631037/ [12:40] fwereade_, thanks, here's what I said: [12:40] [13:33:55] fwereade_, is it the test on line 1952? it did pass here before I submitted [12:40] checking right now [12:46] rogpeppe, fwiw it is not totally wonderful that a test failure seems to cascade into a panic; would it be simple to address this? [12:47] fwereade_, yes, it's happening here too, I'm not clear on why, so I'm reverting the whole branch [12:48] teknico, no worries, let me know when it's reverted [12:48] fwereade_: it's because opClientAddRelation returns a nil function pointer. i can't see how that could ever have worked [12:48] fwereade_: i don't believe the tests were run before submitting [12:48] rogpeppe, ah, jolly good [12:49] rogpeppe, thanks [12:51] fwereade_: I am about to submit this branch https://codereview.appspot.com/7600044/ and it was suggested that you might want to know it is coming because it may cause merge conflicts with your current work [12:54] fwereade_, reverting branch is lp:~teknico/juju-core/revert-add-relation-commit [12:54] fwereade_, shall I directly "lbox submit", or do I still need to "lobx propose"? [12:55] teknico, I think you need to do both [12:59] fwereade_, https://codereview.appspot.com/7719050 , wanna have a look or shall I just submit it? [13:00] teknico, LGTMed on trust for form's sake [13:01] rogpeppe: ping [13:01] TheMue: pong [13:01] benji: please wait before submitting - trunk is currently broken [13:01] rogpeppe: just updated and made a test ./... [13:01] dimitern: thanks for the heads-up [13:02] rogpeppe: now I've got this http://paste.ubuntu.com/5631081/ [13:02] rogpeppe: any idea? [13:03] TheMue: that's the problem we have in trunk, pending a revert on last commit [13:03] TheMue: yes, the recently merged branch broke trunk [13:04] rogpeppe: ah, thx, so it's well known [13:04] fwereade_, landed, sorry about that [13:04] and everyone too :-) [13:04] teknico, np, I'm pretty sure we've all done it, thanks for cleaning it up swiftly [13:05] teknico: it happened to me recently, i know the feeling [13:15] fwereade_: i replied to the "Synchronizing: watchers, GUI, and API" thread BTW. you might want to have a look and weigh in. [13:17] rogpeppe, looks sane to me -- I don't feel any particular need to add to it, because I've shunted those details off into my mental "oakland" bucket [13:17] fwereade_: cool, thanks [13:18] * rogpeppe goes for some lunch === wedgwood_away is now known as wedgwood [13:51] back [13:58] Greetings al [13:58] l [13:58] mthaddon: Heya [13:58] mthaddon: Can we do a quick store deploy today? [14:00] niemeyer: sure, anyone from webops can do that - can you file an RT with the details? [14:00] mthaddon: Sure [14:00] thx [14:00] mthaddon: Doing that right now === frankban_ is now known as frankban [14:24] mthaddon: #60244 is up [14:24] <_mup_> Bug #60244: install problem < https://launchpad.net/bugs/60244 > [14:24] _mup_: no no no [14:25] thx [14:25] mthaddon: Thank you! [14:30] niemeyer: https://pastebin.canonical.com/87252/ - has the branch location changed? [14:31] mthaddon: Hmm [14:31] mthaddon: It has, kind of [14:32] mthaddon: It's still at lp:juju-core [14:32] mthaddon: BUt the trunk owner has changed [14:32] mthaddon: To ~juju [14:32] mthaddon: If you had lp:juju-core, it should theoretically just work [14:33] mthaddon: If you must use the explicit reference for some reason, then lp:~juju/juju-core/trunk should do [14:33] bzr remember resolves the full URL I believe, so I'm not sure if that's an option - will adjust manually [14:34] ok, happier now [14:34] sweet [14:35] niemeyer: deployed [14:35] woot, thanks! [15:22] dimitern: i just saw this in trunk; any ideas?: http://paste.ubuntu.com/5631407/ [15:22] dimitern: hmm, maybe not trunk actually, but i'm pretty sure the branch hasn't got a problem there. [15:22] rogpeppe: hmm, haven't seen this [15:23] rogpeppe: let me look closer [15:24] rogpeppe: does it happen every time? [15:24] dimitern: i'll let you know when this test finishes [15:25] rogpeppe: if it appears hung, just kill it - this happens sometimes on failure in the uniter tests [15:25] dimitern: it just passed [15:25] dimitern: i think it may just be a timeout that's too short [15:25] rogpeppe: so it's intermittent [15:26] (i hate those friggin' arbitrary timeouts) [15:26] rogpeppe, dimitern: that seems similar to the 8 failures in trunk a mentioned yesterday, I was able to make the suite pass increasing timeouts in uniter_test [15:26] frankban: yes, that's what i was thinking [15:27] rogpeppe: no this seems something else [15:27] rogpeppe: the unit's charm never gets installed for some reason [15:27] fwereade_: ideas? ^^ === racedo` is now known as racedo [15:33] frankban: what were these failures and what did you change? [15:39] dimitern, rogpeppe: looking [15:41] fwereade_: the most significant difference i can see is that the broken version goes into "awaiting error resolution for "start hook"" after "loading uniter state" where the ok version says "charm is not deployed" [15:41] rogpeppe, yeah, I am staring at that in complete bafflement [15:42] dimitern: I still see these failures in trunk -> http://pastebin.ubuntu.com/5631469/ [15:43] frankban: at trunk tip? [15:43] dimitern: tests passed when I locally increased timeouts timeouts in uniter_test.go (from 5 to 20 seconds and from 50 to 200 milliseconds) [15:43] dimitern: revno 1034 [15:43] frankban: hmm... i'm getting trunk and running tests now [15:45] frankban: have you seen these before? r1034 is gustavo's store CL - not related to the uniter [15:46] dimitern: yes, 2 days ago, 1034 is just the revno of my last test run in trunk [15:46] dimitern: I think it was 1013. [15:48] fwereade_: can i run something by you please? [15:48] rogpeppe, sure [15:49] frankban: that's really strange - i run all tests on trunk at least 10 times a day and haven't seen these (apart from temporary failures when I was working on the uniter itself before proposing) [15:49] fwereade_: i'm looking at line 1353 on https://codereview.appspot.com/7598043/diff2/31001:88001/state/state_test.go [15:49] fwereade_: and wondering why we're calling Initialize on the state when all we want is to write the environ config [15:49] fwereade_: there are quite a few other places that do that too. and Initialize is not in fact called in the usual case in tests! [15:50] fwereade_: (AFAICS) [15:51] fwereade_: i'm thinking that we should always call state.Initialize, apart from the few places we actually want to test Initialize. [15:51] rogpeppe, +1 to that [15:51] frankban: all tests pass for me @1036 - what's your go version? [15:52] fwereade_: i'll leave frankban's changes to go in and then we'll fix it in a later branch [15:52] rogpeppe, cool, thanks [15:52] rogpeppe: cool [15:52] dimitern: 1.0.2 [15:53] dimitern: it seems that my wall clock is faster than your, i.e. for some reasons, my local machine is slower [15:53] frankban: i'm on 1.0.3, but this shouldn't be the problem really.. are you using HDD or SSD drive? [15:53] dimitern: hybrid drive [15:54] rogpeppe, so, the only scenario I can come up with when looking at the code in trunk is that there's some weird stale uniter state somewhere [15:54] frankban: which timeouts in uniter_test you needed to change? [15:54] rogpeppe, but I don't see how that's possible either [15:54] frankban: i'm on ssd, but i think this is not the most common in the team, so also probably not an issue [15:55] dimitern: I changed all, just to check that time was the problem there [15:55] fwereade_: i haven't looked at the code yet, i'm afraid. i'm just running all tests again to see if it happens again. [15:55] frankban: LGTM [15:55] dimitern: I think Makyo reproduced those 8 failures too, in his local env [15:55] rogpeppe: \o/ [15:56] frankban: thanks a lot for your patience with this branch! [15:56] frankban, dimitern. Yes. I have a log saved, I think. [15:56] frankban: with changed timeouts how long does it take to run all tests? these are my timings: http://paste.ubuntu.com/5631522/ [15:56] rogpeppe: thank you for your help [15:57] Makyo: does it happen with the current trunk tip as well? also timeouts perhaps.. [15:58] TheMue, am I being dense? I can't see what happens when $JUJU_HOME is not set [15:59] fwereade_: i just saw the same failure again. not in trunk though - perhaps my megawatcher changes are making a difference. that wouldn't surprise me entirely, as we've got the allWatcher that might be affecting things. [15:59] fwereade_: i have some questions about how to properly test upgrade-charm cmd and a wip CL, if you have the time? [16:00] dimitern, I am very keen to take a look but chat with TheMue takes priority, if he's available [16:01] dimitern, send me the link and I'll let you know my thoughts [16:01] fwereade_: sure, np - https://codereview.appspot.com/7927043/ [16:01] dimitern, checking. [16:01] fwereade_: if it's not set it will fallback to $HOME/.juju. [16:02] fwereade_: and if $HOME is also not set it will panic with an according message. [16:03] fwereade_: dimitern asked for a test, i'll see how I can do it. i already tested it by hand and it's working. [16:03] TheMue: PanicMatches checker? [16:04] dimitern, fwereade_: and another failure: http://paste.ubuntu.com/5631542/ [16:04] TheMue, hold on, we panic if we don;t have a $HOME? why should we need a $HOME to load the config package? [16:04] dimitern: yep, remove both envs before and then call Restore... with the PanicMatches. [16:04] dimitern: i think the allWatcher must be interfering with the uniter operation somehow, but i'm not sure how. [16:04] fwereade_: if we don't have a home, how do you now where to locate .juju? [16:05] rogpeppe: wow.. I never seen this one - it's falling apart :) [16:05] TheMue, why do we need to know that in order to manipulate a config file [16:05] fwereade_: we have a lots of places in the code where $HOME is read and taken, even if it is unset. Getenv returns "" then. [16:06] dimitern, that latest one smells of races and luck in the change you made actually ;p [16:06] fwereade_: where do you read environments.yaml from if $HOME isn't set? [16:06] gents, have to step out for about half an hour, bbiab [16:06] dimitern, having hit start-failed is not sufficient reason to believe we've run the subsequent upgrade [16:06] dimitern, ttyl [16:07] TheMue, but this panics on package load if $HOME is not set, right? [16:07] TheMue, I don't think that's a reasonable requirement [16:08] fwereade_: yep, but I also can live with a different default for the juju home if $JUJU_HOME and $HOME aren't set. so what do you want JujuHome() to return then? [16:09] TheMue, JujuHome can panic, that's fine [16:09] fwereade_: so we would panic a bit later. ;) [16:09] fwereade_: when the first one accesses it. [16:10] dimitern: wow, *everything* is failing now: http://paste.ubuntu.com/5631564/ [16:10] TheMue, right, and if that happens it's usually an error [16:10] dimitern: and that's without the allWatcher running. [16:10] dimitern: but this still isn't in trunk. [16:10] dimitern: so it may well be a problem i've introduced [16:11] fwereade_: so not JH() string but JH() (string, error)? no pro, please write it into the review. [16:11] TheMue, I'm thinking about it [16:12] rogpeppe, I'm baffled by the jump into start mode, but that other one seems like a real problem to me [16:13] TheMue, I think the situation is usually better communicated by a panic than an error -- it generally indicates that one of us is not thinking properly and is calling the wrong code in the wrong context [16:14] fwereade_: ha, yes, i just saw that failure in trunk [16:14] dimitern: ^ [16:14] TheMue, but I also think we should have no risk of panic in the actual client: even if they don't have either set for whatever crazy reason, a goroutine trace is not a nice way to say hello [16:14] dimitern: so i don't think the issue is my fault, so i'm going to submit the allWatcher integration branch [16:15] TheMue, in addition, even if $HOME is set, that is not enough reason to set JH [16:15] I think the tests are leaving un-cleaned-up files in /tmp/. Is that a known issue? [16:15] fwereade_: IMHO it's a panic situation, but you're right about the info to the user. [16:16] dimitern: here's the latest failure i've seen, in trunk: http://paste.ubuntu.com/5631582/ [16:16] benji, it is not, they should in general be being cleaned up [16:16] fwereade_: thanks; I'll verify that it is and file an issue. [16:16] benji, thanks [16:17] fwereade_: so I could switch from an automatic init() to a manual Init() error that has to be called in commands. and also a panic by JujuHome() if the init hasen't been done. [16:17] dimitern: it also has the same "[LOG] 15.63869 INFO: worker/uniter: awaiting error resolution for "start" hook" error [16:18] rogpeppe, I'm sure that's a straight-up bug [16:18] fwereade_: yeah, i think it must be [16:18] fwereade_: i was worried it was provoked by my allWatcher stuff, but i don't think so [16:18] rogpeppe, well, actually, I don't know what it *is*, it still defies my understanding [16:19] fwereade_: well, i can reproduce the issue reasonably consistently [16:19] rogpeppe, are you getting test droppings in your temp dir as well as benji? [16:19] fwereade_: in /tmp ? [16:20] rogpeppe, yeah, but I forget where exactly [16:20] rogpeppe, the code seems very clear that it *has* loaded a state file in a sane format, and that the state file told it what to do [16:20] rogpeppe, which makes me wonder whether that one is a test isolation issue [16:21] rogpeppe, although it's strange that it never came up before [16:21] fwereade_: it seems quite possible. perhaps the uniter isn't being cleaned up synchronously or something? [16:21] rogpeppe, quite possible, I shall poke at it [16:21] fwereade_: i don't see any recent test droppings in /tmp [16:22] rogpeppe, ok, cool, that is good to know [16:22] fwereade_: you might see if you can reproduce the issue with GOMAXPROCS=5 go test [16:22] fwereade_: also, i'm running go tip, which has a completely different scheduler now, which might be the trigger [16:23] dimitern, current trunk tests for me: http://paste.ubuntu.com/5631605/ [16:23] TheMue, I think so -- set it to panic-on-call by default, and make cmd/juju call something to make it safe [16:24] fwereade_: yep, will do so. you'll note it in the review too, please? [16:24] TheMue, sure, I'm just soliciting opinions live before I do the review proper [16:25] fwereade_: yeah, sure, I only want to have it noted afterwards, in case I'm not remembering it correctly. I'm getting older. :D [16:38] TheMue, sent [16:43] fwereade_: great, thank you [16:45] fwereade_: you ask why the juju home is set in the hook context. exactly there, during a hook execution, i had the case of no $JUJU_HOME and no $HOME. [16:46] fwereade_: you've got a review of the state dev docs branch, BTW [16:46] fwereade_: i sadly don't have the log anymore, but it has been the install hook. [16:46] back [16:47] TheMue, my point is that I think agent code *should* fail if it even tried to look at JUJU_HOME [16:47] TheMue, it's not its business at all [16:48] TheMue, it's no more meaningful than trying to hit the ec2 metadata service from your own laptop [16:48] fwereade_: yeah, the change we discussed will lead to a removal of this setting. [16:49] fwereade_: good catch. [16:50] rogpeppe, thanks, good comments [16:51] fwereade_: if you still feel like it, take a peek at my CL as well please [16:52] dimitern, sorry, a load got added to the stack [16:52] dimitern, fwiw I think I know the problem in the uniter tests [16:52] fwereade_: oh, what is it? [16:53] fwereade_: np about the cmd CL, i'll leave it for tomorrow [16:53] dimitern, two things; :572 is asserting something it should be waiting for, and the tests aren't properly cleaning up after themselves [16:54] dimitern, there's a RemoveAll(s.unitDir) that is not run quite as often as it should be if tests fail [16:54] dimitern, if I check your review would you see if you can repro rog's failures against go tip? [16:56] fwereade_: sorry, i'm confused now [16:57] fwereade_: the 2 things are about uniter failures? [16:57] dimitern, yeah, rog sent a number of pastes while you were away [16:58] fwereade_: these were test execution dumps, not code right? [16:58] dimitern, yeah [16:58] fwereade_: and :572 is where? [16:58] dimitern, line 572, the second forced upgrade error test iirc [16:59] fwereade_: let me check [16:59] dimitern, it's a verifyCharm{1} that depends on unwarranted assumptions [16:59] dimitern, then when that fails it takes out all subsequent tests because it doesn't clean up [17:00] fwereade_: is this the possible case of tests hanging on failure sometimes? [17:00] *cause === deryck is now known as deryck[lunch] [17:01] fwereade_: right! the RemoveAll in runUniterTests? [17:01] * TheMue is AFK for some time, bbl [17:01] dimitern, hanging forever is unrelated, is there a bug for that? [17:01] dimitern, yeah [17:02] fwereade_: don't think so - but I've only seen it twice over a month probably and it was always when some other test fails first [17:03] fwereade_: so that RemoveAll should be deferred as well probably [17:04] dimitern, can't remember what happens if RemoveAll fails [17:04] dimitern, but yeah, I think that would od it [17:04] fwereade_: I *cannot* reproduce any of these failures against tip - tried 5 or 6 times already [17:04] dimitern, hum, that is annoying [17:05] fwereade_: trying again now [17:15] dimitern, quick hangout re upgrade-charm when you're free? o maybe over a beer later? [17:15] fwereade_: +1 for beer [17:15] fwereade_: still no joy - all tests pass [17:16] ok: dimitern, rogpeppe, I need to visit the shops with some haste [17:17] dimitern, if you make a test fail deliberately you can verify the effect of a deferred RemoveAll; if that's shown to work it'll get a swift LGTM on its own when I return [17:18] dimitern, rogpeppe: but in the large I think this is a situation for skip-the-test, add-critical-bug [17:19] fwereade_: sounds reasonable [17:19] dimitern, rogpeppe: I'm pretty sure I know what's going on but it won;t be fixed tonight and I don't *think* in this case that it is better to back out the change [17:19] ttyl all [17:20] dimitern: have you tried running against go tip, with GOMAXPROCS > n ? [17:20] i'll add the quickfix for RemoveAll and try [17:22] rogpeppe: no [17:22] dimitern: that's where i see the problem (the go tip scheduler is different) [17:22] rogpeppe: i have go tip at hand, but haven't updated recently [17:22] dimitern: "hg sync; cd src; ./all.bash" and bob's yer uncle [17:23] rogpeppe: hg pull you mean? [17:23] dimitern: yeah, same thing. i think "sync" is a synonym they introduced that also copes with CL changes. [17:23] dimitern: unless you're contributing to the go project, there's no need to use it. [17:24] rogpeppe: haven't seen it, it might be a plugin (reports an error here) [17:24] dimitern: yeah, it's a plugin [17:24] dimitern: just use hg pull; hg update tip instead [17:24] rogpeppe: done, building now [17:26] rogpeppe: what's n? ^^ 2 or more [17:26] dimitern: i used 5, one more than the number of cores in my machine [17:27] rogpeppe: ok [17:27] rogpeppe: how do i run it with 5 ? [17:28] dimitern: GOMAXPROCS=5 go test [17:29] rogpeppe: running all tests now, first without GOMAXPROCS [17:30] dimitern: i hope you've changed GOROOT and GOPATH [17:30] dimitern: otherwise you might be running the wrong binaries [17:30] rogpeppe: ofc, even run go version: go version devel +8cc853b84f89 Wed Mar 20 09:06:33 2013 -0700 linux/amd64 [17:31] dimitern: cool [17:31] dimitern: i have a separate GOPATH dir for the alternative go compiler, so there's no chance of confusion [17:31] rogpeppe: actually, do I have to wipe out pkg/* as well as changing GOROOT? [17:31] dimitern: probably not, as everything will have changed, but in general yes [17:32] dimitern: that's why i have a separate copy of everything in its own GOPATH [17:33] rogpeppe: so you have 2 separate bzr working trees? [17:33] dimitern: yup [17:33] dimitern: and a command (go-alt-pull) that pulls the current branch in my usual working dir into the alternative branch [17:34] rogpeppe: with a corresponding magical shortcut, beginning with ",x.." ? :) [17:34] dimitern: (most of the time i work with go tip, but i test against 1.0.2 before submitting [17:34] ) [17:34] all tests pass with trunk/tip and go/tip, now will try GOMAXPROCS=5 [17:34] dimitern: nah, i just type go-alt-pull [17:34] :-) [17:35] dimitern: ,x just edits. [17:35] rogpeppe: ahaa [17:36] dimitern: ("," is short for "0,$" and "x" says do something for everything matching the following regexp) [17:36] rogpeppe: apart from some weird warnings in decode/cgo something no other issues [17:36] dimitern: hmm. [17:36] dimitern: try it a few times :-) [17:37] i have some failures now [17:38] dimitern: cool [17:38] dimitern: the same ones? [17:38] in rpc though http://paste.ubuntu.com/5631798/ [17:39] fwereade_: riak testing charm surprisingly has rev 7 [17:39] rogpeppe: nope, no errors, will run it a couple of times again [17:39] rogpeppe: (apart from the rpc panic) [17:40] dimitern: ah, i think i know why that happens, and it should be fixed by dfc's upcoming branch [17:40] rogpeppe: the logging stuff? [17:41] rogpeppe: on second run (n=5) rpc passed [17:41] dimitern: yeah, the race setting log.Target [17:43] rogpeppe: it failed now, but with a different issue (SIGSEGV) http://paste.ubuntu.com/5631814/ [17:45] dimitern: hmm, i've not seen that befoe [17:45] re [17:45] rogpeppe: how often do the uniter tests fail like that for you? [17:45] dimitern: most times [17:47] dimitern: i can reproduce by just running the uniter tests too [17:47] rogpeppe: rpc failed again (the same issue), but the uniter tests passed (i noticed with n=5 they are slightly faster - about 10-15%) [17:48] running again without n=5 [17:48] rogpeppe, does my sketchy judgment that it looks like (1) a genuinely flaky test that fails in verifyCharm, and (2) poor isolationcausing all subsequent test cases to fail [17:48] rogpeppe, ...match your own observations? [17:48] fwereade_: imo 2 is definitely happening [17:48] fwereade_: i haven't been delving into it as much as dimitern [17:48] fwereade_: alas, not for me [17:49] that segfault is troubling though [17:49] fwereade_: (i figured both you and dimitern are closer to the problem than me, and will likely find the fix much sooner) [17:49] dimitern, while I have concern about the things you're observing I am focused pretty hard on the uniter tests [17:50] rogpeppe, ofc -- that was just something tossed into the air in case it were to get shot down with an instant "well no I've also seen X, Y, Z" :) [17:50] dimitern, agreed [17:50] dimitern, 8ish @cuba? [17:50] wow, new panic now (second run, n=1 go tip): http://paste.ubuntu.com/5631831/ [17:51] fwereade_: sgtm [17:51] I've seen this before once [17:52] and it's a pass (except the panic) [17:52] fwereade_: looking at the errors, yes, i think your analysis seems likely [17:53] fwereade_: so my thoughts about the cleanup: there are 2 approaches - extract the loop body of runUniterTests and add a defer RemoveAll there; OR just add an additional defer RemoveAll in runUniterTests [17:55] dimitern: hmm, i can't see how that could happen [17:55] rogpeppe: what? [17:55] dimitern: the panic in randomHexToken [17:56] rogpeppe: today's the day for obscure test failures it seems :) [17:56] dimitern: unless... what revision of goose are you using? [17:57] maybe it's biorhythms or full moon or smth [17:57] rogpeppe: haven't updated recently, that could be it, lemme check [17:57] dimitern: yup, that's it [17:57] dimitern: if you're before r80, that's the reason [17:58] rogpeppe: i was, now @80, running again with n=5/tip [18:02] now the uniter tests failed..goroutine 4574 wtf?! [18:02] http://paste.ubuntu.com/5631858/ [18:03] maybe mgo has hard time coping with a lot of concurrent procs? [18:04] dimitern, whoa, that definitely deserves a bug, probably against mgo... niemeyer? does a theory leap out at you? [18:05] actually, I have to be off for supper [18:06] fwereade_: so see you around 8 @cuba then [18:07] rogpeppe, would you skip that test and add a critical bug/card for it please? [18:07] fwereade_: the uniter test? [18:07] rogpeppe, if nobody's around to approve it I pre-LGTM a single line that just skips the one that fails for you :) [18:07] rogpeppe, please, if you have time [18:07] fwereade_: ok, will do [18:07] rogpeppe, awesome, tyvm [18:08] later all [18:13] i'll call it a day as well [18:13] night y'all [18:14] dimitern: g'night [18:21] seems odd that a co of juju-core gets . submit branch: /home/rog/src/go/src/launchpad.net/juju-core/juju/.bzr/cobzr/go-state-units-under-service === deryck[lunch] is now known as deryck [18:39] hazmat: that is really weird [18:39] hazmat: i think that branch dates from when i did see some weirdness around there [18:39] rogpeppe, just some cached metadata in the branch [18:39] not an issue, just odd [18:40] hazmat: it may have happened when i did a push --overwrite, possibly [18:40] anyway, eod here [18:40] rogpeppe, cheers [18:40] hazmat: cheers to you too [18:40] and g'night all others [20:09] fwereade_: I can't see how there could be a nil reference in that line.. mongoServers is part of the cluster by value [20:10] fwereade_: Do you know what Go version this is running on? [20:22] moring folks [21:03] * thumper does the conflict resolution dance again [21:11] lol [21:23] * thumper sighs [21:23] never just as simple as resolving conflicts [21:23] * thumper fixes test failures, import errors and other boring bits [21:26] * thumper wishes go had a build_tests [21:26] so I could check all the tests built before running them... [21:28] that would be nice [22:35] thumper: any final comments on https://codereview.appspot.com/7524046 [22:35] i don't think this bike shed will stand up to any more coats of paint [22:37] * thumper looks [22:37] davecheney: morning [22:39] mornig [22:39] gutter cleaners are here today in the complex [22:39] and they have bought the australia strategic reserve of petrol powered leaf blowers [22:40] davecheney: defer log.SetTarget(log.SetTarget(c)) [22:40] does the defer command evaluate all the args at the call time? [22:41] davecheney: I'm assuming that log.SetTarget(c) is evaluated prior to the defer stashing the method away for later [22:41] thumper: yes [22:42] so the inner log.SetTarget(c) sets the target to c and reutrns the previous value [22:42] that value is captured by the defer and passed to the outer log.SetTarget when run [22:46] davecheney: got time for a hangout chat? [22:51] sure [22:51] lemmie go upstairs [22:51] ok === wedgwood is now known as wedgwood_away