[00:51] davechen1y: just a peanut gallery comment but does that ppc64 crash happen with GOGC=off? [01:15] mwhudson: let me check [01:15] i already checked stack copying [01:15] and adjusted the min stack size to be higher [01:15] what it looks like to me is the receiver of the method is not being carried over in the case that there are no arguments [01:15] which is weird [01:16] but that'ts the case [01:16] does it happen all the time? [01:17] i could guess that autogenerated methods might screw up SP manipulation but that seems like the sort of thing that ought to break hard all the time [01:19] mwhudson: 100% of the time [01:19] oh [01:19] well that shooooooooouuuuuuuuuuuuulllllllllllllld make it easier to fix [01:19] github.com/juju/juju/cmd/envcmd.(*SysCommandBase).ConnectionInfo(0x478420, 0x0, 0x0, 0x0, 0x0) /home/ubuntu/src/github.com/juju/juju/cmd/envcmd/systemcommand.go:130 +0xec fp=0xc820484c98 sp=0xc820484c20 [01:19] github.com/juju/juju/cmd/envcmd.(*SysCommandBase).ConnectionEndpoint(0x478420, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/ubuntu/src/github.com/juju/juju/cmd/envcmd/systemcommand.go:116 +0x5c fp=0xc820484df8 sp=0xc820484c98 [01:19] receiver is 0x0 in the autogenerated method [01:20] then bonkers in the next frame down [01:20] opps [01:20] github.com/juju/juju/cmd/envcmd.(*SysCommandBase).ConnectionEndpoint(0x478420, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/ubuntu/src/github.com/juju/juju/cmd/envcmd/systemcommand.go:116 +0x5c fp=0xc820484df8 sp=0xc820484c98 [01:20] github.com/juju/juju/cmd/juju/user.(*AddCommand).ConnectionEndpoint(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) :17 +0x30 fp=0xc820484e00 sp=0xc820484df8 [01:20] this, not the other one [01:20] is a nil receiver plausible? [01:21] theorerically yes [01:21] calling through an interface, no [01:21] and in this case [01:21] the receiver was not nil [01:22] the weird thing is genwrapper is only called from two places in the compiler [01:22] it is called a _lot_ [01:22] right, and you haven't been able to reduce it? [01:22] it takes minutes every run [01:22] i am trying to reduce it [01:23] but everything on ppc takes so long [01:23] also, you cannot breakpoint an autogenerated wrapper [01:23] which is fucked [01:23] if you could [01:23] this would be easy [01:23] eh? [01:23] gdb and go, two great tastes etc [01:24] davechen1y: you can break point on an address btw [01:24] br *0xdeadbeef [01:24] github.com/juju/juju/cmd/envcmd.(*sysCommandWrapper).Run(0xc82023e580, 0xc82040b590, 0x0, 0x0) :61 +0x9c fp=0xc820485300 sp=0xc8204852b8 [01:24] what's the address ? [01:25] does "p 'github.com/juju/juju/cmd/envcmd.(*sysCommandWrapper).Run'" show anything? [01:49] davechen1y: lolz [01:49] (vivid-ppc64el)mwh@kelsey01:~$ ~/go/bin/go get github.com/juju/juju/... [01:49] # cd /home/mwh/gopath/src/github.com/juju/juju; git show-ref [01:49] package github.com/juju/juju/...: signal: segmentation fault [03:53] /away [03:53] mwhudson: it prints something [03:53] but it's not that useful [03:53] i have some ideas for a repro now [03:53] i'll keep trying [04:13] axw: did you have 5 minutes? in standup hangout? [04:13] wallyworld: be there in a sec [04:30] Bug #1483492 opened: worker/storageprovisioner: machine agents attempting to attach environ-scoped volumes [05:12] axw: building with your latest pull request [05:27] mwhudson: Thuper: got it! [05:27] i have a repro [05:28] which doesn't involve any juju code [05:38] https://github.com/golang/go/issues/12108 [06:00] Bug #1483525 opened: Document action-set quoting [06:38] aisrael: thanks for the update. the other things are known issues. to destroy with persistent storage, you currently have to use --force, or destroy the machines that the volumes are attached to. I'll send a PR soon that makes this unnecessary [06:41] mwhudson: i know what it is [07:00] Bug #1236859 changed: errors reported in agent-state can contain too much information (traceback, etc) [07:07] dimitern: ping [07:09] dimitern: unping [07:11] voidspace, (un)pong? :) [07:11] dimitern: hah [07:11] dimitern: I had a question, but I figured it out... [07:11] voidspace, awesome! [07:12] hah :-) [07:12] not sure that counts as awesome, but thanks [07:12] you must have had your coffee already this morning [07:12] Bug #1298819 changed: Mechanism for retrieving relation names [07:13] voidspace, well, you know at least it's a great start of the morning [07:13] voidspace, :) [07:14] :-) [07:14] apparently giving your smilies noses, the - in :-) , is a sign that you're old [07:14] I just can't get used to :) though [07:14] his eyes are too close to his mouth [07:16] hehe [07:16] I like :o) sometimes or just ;] when lazy [07:18] :o) looks like a clown [07:19] voidspace: really? it has something pig-ish to my eyes .. ") [07:20] anastasiamac: heh, maybe [07:20] clown pig [07:20] dimitern: soooo.... [07:21] dimitern: we have an issue with address allocation for containers [07:21] dimitern: we get the subnet from the provider [07:21] dimitern: and create it in state if necessary [07:21] dimitern: and now subnets in state have space information [07:21] dimitern: but address allocation for containers cares nothing for spaces yet [07:22] dimitern: so if the subnet it discovers from the provider doesn't exist in state it will create it in the default space [07:22] dimitern: I might just ignore this for my PR and I think we need a new card for it [07:22] dimitern: because fixing that is quite a bit of thinking [07:23] anastasiamac: good evening [07:24] dimitern: what it ought to do is check the space constraints for the container, iterate over all subnets until it finds one that matches and use that [07:24] Bug #1298819 opened: Mechanism for retrieving relation names [07:25] voidspace: evening :D [07:30] voidspace, it does need a new card, yes [07:30] Bug #1298819 changed: Mechanism for retrieving relation names [07:30] voidspace, but it needs spaces-in-constraints support first [07:31] dimitern: fair enough [07:31] dimitern: maybe it's time to start telling containers which subnet(s) to pick an address from instead of just picking an arbitrary one [07:32] dimitern: at the moment we discover subnets and create them in state when we use them [07:32] anyway [07:32] I'll add a card for us to estimate [07:35] dimitern: I added a card for updating AddSpace/CreateSpace to allow spaces with 0 subnets [07:35] dimitern: not much work, but some work [07:36] voidspace, cheers [07:37] voidspace, as soon as we finish the mvp stuff, we should make sure the address allocation still works and fix it as needed [07:38] dimitern: why does subnetsAPI define AllSpaces? [07:38] and define it differently to the spacesAPI [07:38] voidspace, to verify the spaces [07:39] voidspace, is this the backing interface or? [07:39] dimitern: apiserver/subnets/subnets.go [07:40] dimitern: and it returns a list of space tags, whereas AllSpaces as used by "space list" returns full space information [07:43] voidspace, well, we only need the tags for the CLI, but I guess there's no harm do get all the information if it's easier [07:44] dimitern: ah, it's called ListSpaces on the spacesAPI [07:44] dimitern: but the backing call is AllSpaces [07:44] dimitern: slightly confusing but not actually wrong [07:49] voidspace, these are one of the earliest attempts - it was expected for the various cli, api, apiserver, and backing interfaces to change, but get some sort of convergence at the backing side eventually [07:49] ok [07:57] davechen1y: nice test case reduction [08:06] davechen1y: ooooh i think i know [08:16] mwhudson: do tell [08:16] it's something about the setup for duff copy [08:16] i'll see what russ says overnight [08:16] davechen1y: well duffzero is entered by bl [08:17] OH [08:17] yeah [08:17] that' won't help [08:17] and the function exits by b to the method [08:17] yup [08:17] i've hit that before in risc compilers [08:17] which blr's out... [08:17] and back to the callers caller [08:18] no [08:18] hang on [08:18] back to the generated method i think [08:18] hmm [08:18] i don't think that is it [08:18] i was clued in by a breakpoint being hit an impossible number of times [08:18] oh [08:18] so it's going around and around until it rolls off the end of the stack ? [08:19] er not sure [08:19] i think you're close [08:19] i think the stack pointer is wrong [08:19] but that isn't the whole story [08:19] the reciver is zeroed out [08:19] anyway [08:19] so the load from the stack at the end of the function is not reading the right bit of stack [08:19] this is all very familiar feeling, did we fix this bug in arm64 already or something? [08:20] i think you're right with the tail call thing [08:20] wrapper methods are designed to return to their caller [08:20] anyway, i know how to fix juju [08:20] even if it means a small patch [08:21] disable duffzero? [08:21] oh, or a juju change? [08:22] just disable duffzero [08:22] we'll live [08:23] i wonder if this fixes the GOARCH=amd64 go build runtime thing [08:23] that's probably a bit optimistic [08:23] probaby a long shot [08:26] mwhudson: anyway, not looking at it any more tonight [08:26] davechen1y: fair enough [08:26] thanks for the sugestions, i'll have a look tomorrow [08:27] i'll add a quick comment [08:27] dooferlad, go fmt is sad: cmd/juju/commands/main.go [08:35] mwhudson: thanks for that comment [08:35] i think you're right [08:35] there was something similar a while back with somethign in the arm32 runtime [08:35] i don't rememver exactly [08:36] it was something like the kernel atomic helper [08:36] or something like that [08:36] NO [08:36] it was the gettls helper [08:36] which was sort of the same thing [08:36] needs a kernel helper to get the tls offset [08:36] ah yes [08:36] blah blah [08:36] tail call didn't call no more [08:36] that tickles faint bells [08:38] mwhudson: b377c9c6a9b720d0897d298652bebd3887ceeb46 [08:38] for your ref [08:38] i think [08:39] i might have fixed a similar problem [08:39] but i cannot find the ref [08:39] anyway [08:39] it's the same smell [08:39] arch's with link registers get tripped up by these shennaigans [08:39] i can't for the life of me find the code that compiles the tail call [08:42] genwrapper [08:42] i mean the liblink bit [08:42] i don't think it's there [08:43] sorry, i mean the bit that creats the b $foo instruction [08:43] i found it, then realized i was looking at arm64 [08:43] i think it's [08:44] compile/internal/gc/subr.go [08:44] generapper [08:44] case 11 in asm9.go [08:44] oh god [08:45] please don't make me look at asmN.go [08:45] heh ok [08:45] that's the worst [08:46] hmm, this doesn't look to magic [08:46] i don't think that's the right place to look [08:47] ok [08:47] i see, ADUFFCOPY is implemened in case 11 [08:48] so [08:48] arm and arm64 will be in the same boat [08:48] what are they doing I wonder [08:48] yeah i wonder how come they don't break [08:53] arm64 reloads the link register from the stack before the tail call [09:13] are you looking at zerorange in arm64 ? [09:13] or is that in asm7 ? [09:24] mwhudson: here's some math for ya [09:24] 8+frame+lo-8 [09:24] davechen1y: seems like that could do with some constant folding [09:25] davechen1y: i think i've found the ppc64le/arm64 point of difference [09:25] the ARET case in preprocess [09:27] i think it could be soethign else [09:27] have a look at zerorange in arm64 [09:27] and zerorange in ppc64 [09:27] arm64 laosd the SP into rt1 then adds the size to zero to it [09:28] ppc64 does not load the sp [09:28] oh [09:28] sorry [09:28] yes it does [09:28] it sets the source reg to be regsp [09:28] and the dest reg to rt1 with an add [09:29] we cannot do the same for arm64 because you cannot use Sp as the source or something [09:29] anyway [09:29] that's not it [09:29] i'm sure you're right about the tail call not reloading sp [09:42] davechen1y: disabling duffzero seems like the right fix [09:42] for the short term [09:52] and to a general lack of surprise it doesn't fix the "can't compile amd64 code" thing [10:32] dimitern: we used to have space validation that would check all specified subnets have a valid CIDR and exist [10:32] dimitern: I replaced the validation logic with a check that they exist in the transaction [10:33] dimitern: so an invalid subnet still fails (because it doesn't exist in state) [10:33] dimitern: the place to check for an invalid cidr would seem to be when adding a subnet [10:33] dimitern: so I'm going to remove the failing test I have as a consequence [10:33] dimitern: specifying an invalid cidr when adding a space still fails [10:33] dimitern: but now it fails with subnet not found [10:34] and there's a test for that already [10:37] voidspace, hmm.. I have to take a look to remind myself.. [10:38] dimitern: TestAddSpaceInvalidCIDR is gone [10:38] dimitern: see https://github.com/juju/juju/compare/net-cli...voidspace:spaces-list-state?expand=1 [10:39] dimitern: due to the removal of Space.validate and changes to AddSpace [10:40] dimitern: so the only difference is that for an invalid CIDR in AddSpace we don't validate first, but we do ensure the subnet exists (it won't) and fail with a sensible error message (subnet not found) [10:40] voidspace, hmm.. [10:41] voidspace, so invalid CIDR I think should be validated before looking it up [10:41] dimitern: why? [10:41] dimitern: that's only sensible if we will be putting invalid CIDRs in state [10:41] dimitern: which we really shouldn't! [10:41] voidspace, well, it how about ";drop tables foo" :) [10:42] dimitern: you're saying we have an injection vulnerability... [10:42] dimitern: I really don't think so [10:42] voidspace, but seriously, we shouldn't put invalid cidrs in state indeed [10:42] voidspace, jk [10:42] :-p [10:43] voidspace, so you're saying adding a space with an empty list of subnets is now allowed? [10:43] dimitern: yes [10:43] voidspace, but ISTM non-empty list with possibly invalid cidrs leads to erraborted on addspace [10:43] dimitern: yep [10:43] dimitern: and there's a check for that [10:44] dimitern: if we get ErrAborted that isn't due to the space already existing we check to see which subnet is missing [10:44] dimitern: so we can report the error correctly [10:44] dimitern: and there's a test for it, which passes [10:44] well, missing subnet [10:45] which is exactly the same thing (as an invalid cidr will always be missing) [10:45] voidspace, indeed, sounds reasonable [10:45] cool, thanks [11:11] TheMue, you have review - sorry it took so long [11:11] dimitern: great, thanks. [11:15] morning people [11:40] Bug #1483672 opened: Allow charms to associate structured data with status [12:16] dimitern: the mentioned trick is, because State.DeadIPAddresses() returns a []*state.IPAddress, but in the mock I want a []StateIPAddress. a direct type cast of a slice isn't possible, only in a loop one by one [12:17] dimitern: any more intelligent way is welcome [12:18] TheMue, I see, ok [12:18] dimitern: heyCompilerImNotDumbSoCast([]myType, mySubInterfaceSlice) [12:27] TheMue, :) I'd suggest adding a comment like // Convert to addresses to []StateIPAddress [12:27] dimitern: yeah, makes it more clear. [12:30] TheMue, uhm.. s/to[1]// [12:30] just Convert addresses.. [12:31] dimitern: already thought so [12:34] dpb1: ping [12:55] dimitern: voidspace: do you have a moment to review http://reviews.vapour.ws/r/2324/ ? [12:55] TheMue: after the MAAS call maybe [12:56] TheMue, yeap [12:56] great, thx [13:42] alexisb, katco, perrito666: there's also this as a dependency for the centos PR, it doesn't seem to show up on rbt because the request didn't get automatically created [13:59] dooferlad: dimitern: if you have time http://reviews.vapour.ws/r/2344/ [14:01] dimitern: hmmm... "space add" won't initially be supported by ec2 will it. So I'm not sure why we've implemented it (with the same semantics as create it seems) [14:01] ah well [14:02] I'm not even entirely convinced we need both anyway... [14:03] we should just have add, if it already exists on the provider that one should be used - if it doesn't (and creating is supported) then it should be created [14:03] possibly the same for subnets [14:05] hi frankban [14:06] added as a comment to the model doc [14:06] dpb1: hi, could you please either give me write access to lp:juju-deployer or take a look, merge and release https://code.launchpad.net/~frankban/juju-deployer/guiserver-bundle-v4/+merge/267540 ? [14:09] dooferlad: would you mind adding a link to the PR to bug #1468349? [14:09] Bug #1468349: discoverySuite.TestDiscoverServiceLocalHost: invalid series for wily and vivid [14:13] ericsnow: done [14:13] dooferlad: thanks! [14:16] voidspace, well, I think technically speaking, juju space add ... is a great way to "import" spaces from previous deployments [14:16] dimitern: sure, and it would remain so [14:16] dimitern: however, if there is no previous deployment then it would create them [14:17] dimitern: I'm not suggesting any change in functionality, merely merging add and create [14:17] voidspace, because it allows you to discover tagged subnets as part of a space, and .. hmm.. although overwriting the list of subnets seems dangerous [14:18] dimitern: doesn't add already have this problem [14:18] dimitern: if you want to add an existing space then don't specify any subnets [14:18] dimitern: the user will always want to either add or create, but they only need a single entry point to do it [14:18] dimitern: whichever we do under the hood, from the user perspective they are adding a space to the current environment [14:19] voidspace, and, in case of AWS if you pre-tag subnets you effectively create spaces you can immediately use for bootstrapping [14:19] voidspace, so "add" only makes sense to take a name, yeah [14:20] voidspace, perhaps it can optionally take CIDRs and verify if they match, or if not - create it.. [14:21] voidspace: thx for review. "failled" is no typo, the more l, the more it failed ;) [14:21] TheMue: hehe [14:21] failllllllled [14:22] dimitern: we don't need to take CIDRs - let's not [14:22] dimitern: I've added a comment to the model doc [14:22] dimitern: I'd prefer we just merged add and create [14:22] voidspace, or if they match (or are a subset of) the actual tagged subnets just ignores them and adds all subnets [14:22] dimitern: all existing subnets should be discovered [14:23] dimitern: in fact - we probably don't want add at all [14:23] dimitern: we probably want "space discover" [14:23] voidspace, not really [14:23] dimitern: find and add all subnets and spaces [14:23] voidspace, I think the original idea was that "create" is an admin command [14:23] dimitern: in case you only want a subset of available spaces and subnets? [14:23] dimitern: it's not in the doc... [14:24] voidspace, while "add" can be used to "subclass" a bigger space [14:24] dimitern: MVP is ec2 only, which doesn't support add at all [14:24] voidspace, :) it's in one of the other docs or numerous notes, I'm sure [14:24] and "space discover" would still be useful - find and add all spaces and subnets [14:24] voidspace, or space list --all [14:25] dimitern: and I bet that would be all most users would ever use... with manually adding a subset being an esoteric and rarely used option [14:25] voidspace, or you mean more like "space import --existing" [14:25] "space import" [14:25] the --existing flag is redundant [14:26] "space list --all" would be cool too (later) [14:26] yeah, it could instead be --from file.yaml [14:26] bbiab [14:26] hah [14:26] voidspace, agreed, I'll fix this to be reflected by the doc [14:27] voidspace, it should be easy to drop the parsing/tests around add with CIDRs [14:28] we don't need it at all for ec2, but yes [14:28] voidspace, and we could then just omit it from the MVP [14:29] voidspace, I'd like to keep it in net-cli, as soon we should be able to discover and add maas spaces [14:45] dimitern: will you find a moment for a hopefully final review too? [14:54] TheMue, did you see my comment about the EnvironWatcher ? [14:55] dimitern: yeah, removed it [14:55] dimitern: now everything is even smaller and more simple [14:56] TheMue, hmm well I still see it in api/ [14:57] dimitern: oh, will take a look, thought I got them all [14:57] ericsnow: wwitzel3 any of you around? [14:57] perrito666: sure [14:57] perrito666: heyo [14:57] ericsnow: a quick question (hopefully) I see you guys implemented a basic disk abstraction [14:58] and that you have only types for persistent and scratch [14:58] dimitern: sh*t, yes, killed it on server side but missed client, one moment [14:58] perrito666: right [14:58] perrito666: those are needed during provisioning [14:58] what do I get with persistent, standard persistent or ssd persistent? [14:59] perrito666: I don't really remember (the GCE docs can tell you though) [15:01] mmm I see that goes for an attached disk, Ill look more into creating un attached disks [15:01] tx guys [15:01] dimitern: I don't know which EnvironWatcher you mean. *cough* *cough* [15:01] :D [15:01] perrito666: np [15:05] perrito666: pd-standard [15:05] perrito666: we don't explictly set the diskType in the initializeParams for the attachDisk call, so it defaults to pd-standard [15:06] perrito666: if that was something you wanted to specify, you'd do so in the initializeParams on line 92 in gce/google/disk.go [15:07] perrito666: you would just extend the DiskSpec to capture that information [15:11] dooferlad: I replied to your review comment [15:11] dooferlad: and that change was discussed with dimitern :-) [15:11] wwitzel3: o/ [15:12] wwitzel3: I'm just off to exercise, so just waving as I go... [15:12] voidspace: cool. Fine by me! [15:12] great [15:12] dooferlad: and thanks [15:13] voidspace: o/ [15:30] wwitzel3: thanks man :) I am seeing how to code it properly to match the other volume implementation yet :) [15:53] TheMue, you have a review [15:54] dimitern: thx [15:57] right, bye all === xwwt is now known as xwwt-afk [16:07] dimitern: in case of a remove error we currently bail out directly with the according error, no ErrTryAgain [16:08] dimitern: that's why I removed the "retry" in the log [16:08] dimitern: could change it to handle it like release errors before [16:09] TheMue, why kill the worker if it can't remove an address? [16:10] dimitern: good question, but then err = errors.Annotatef(err, "removing IP address %q", ipAddress.Value()) of last review is wrong [16:11] dimitern: logging and returning ErrTryAgain is better then [16:11] TheMue, although.. killing it with a some sort of ErrTryAgain with decreasing number of retries, finally killing it; with that on both release or remove errors, the runner can restart the worker, re-trigger the watcher and we have automatic-retry [16:12] dimitern: eh, today the worker isn't killed when the returned error is an ErrTryAgain [16:13] TheMue, there was something rogpeppe did about giving a worker and/or runner a callback to decide if an error is more important or not (i.e. ErrTryAgain can be less important than ErrTryAgain{retries-1} or {retries=0} [16:13] dimitern: it simply waits until the next trigger and tries again. in case of other errors the worker will be stopped and restarted [16:14] TheMue, yeah, it isn't, but doesn't that sound like a good way to simplify things like retrying? [16:14] dimitern: it sounds to me more like complicating [16:15] TheMue, so, if you have this you don't need to use a timer to trigger it [16:15] dimitern: imho there's no advantage when restarting this worker [16:15] TheMue, when restarted, it will call watch again and get all dead addresses [16:16] dimitern: you mean because restarting always starts to clean? [16:16] TheMue, yes, it's as good, if not better than calling Handle() yourself out-of-order to the watcher [16:17] dimitern: ok, so in this case we don't need ErrTryAgain. we simply die when releasing or removing fails [16:18] dimitern: at least we don't have to separate on worker side. [16:18] dimitern: if cleanup fails we restart the worker [16:18] TheMue, that's the simplest thing, but remember - if we don't manage to run handle() without an error for a long time it's just sitting there eating resources and log space [16:19] dimitern: yes, optimally cleanup returns no error and e'thing is fine [16:19] TheMue, that's why I'm suggesting to add a field or method on ErrTryAgain or ErrLimitedRetry if you prefer [16:20] TheMue, which "grants you" a retry when called (e.g. decrementing the num retries at construction) - like a semaphore lock, but doesn't have to be [16:22] TheMue, if retires run out it returns the last error instead of no error or an "acquired" ErrLimitedRetry [16:22] TheMue, have you looked at moreImportant (or was it errMoreImportant).. [16:22] dimitern: hmmm, so the worker manages this number? because the api is stateless [16:23] TheMue, ok, to let's keep it simpler [16:24] TheMue, I've looked at the more important stuff in detail and, although it can be useful, it's purely an optimization of the runner [16:27] dimitern: ok [16:28] TheMue, so, assuming Remove() doesn't return NotFound error or we ignore it (possibly logging it), it's fine like this I think [16:30] dimitern: I would like to change it, that in case of a not found it's fine and in case of any other error we continue like at release errors (logging and setting the retry flag). so we at least try all and not bail out at the first error [16:33] TheMue, I saw a few places gc.IsNil checks for errors - please, use jc.ErrorIsNil - the only places where it might not work is if something like [*]params.Error{} is returned instead of *params.Error(nil) [16:33] especially true for client-side apis [16:33] dimitern: that should be the only place where I used it [16:34] dimitern: at least I tried so, will check again [16:37] TheMue, sure, I had issues with some cases like this - that's why we have things like .OneError() on ErrorResults [16:38] dimitern: sound like an even better change then [16:49] TheMue, cheers [16:54] dimitern: your comment regarding waitForReleaseOp(), here I lost you. [17:11] ericsnow: you around? [17:11] natefinch: yep === xwwt-afk is now known as xwwt [17:29] TheMue, which one? :) [17:30] dimitern: for worker/addresser/worker_test.go line 107 [17:30] TheMue, there are two cases - waiting to happen and waiting not to happen [17:32] TheMue, without creating a chan to listen for it, you can't guarantee it happened or not [17:37] dimitern: not sure if we talk about the same. the comment is "There should be at least one check in the tests below where we do a similar loop, but for a shortAttempt, asserting it wasn't called." [17:41] TheMue, yes, me too - the loop there waits for a ReleaseAddressOp on the dummy channel [17:42] dimitern: it has no loop, it's right now a select with timeout [17:43] TheMue, for the places where we know ReleaseAddress should not be called (or it should fail), we need a similar attempt, waiting for an op to make sure it wasn't called [17:43] TheMue, oh, I see [17:43] TheMue, that's due to RB's somewhat confusing folding diffs [17:43] dimitern: ah, getting closer, maybe only had my troubles with the location of the comment. [17:44] dimitern: hehe, exactly [17:44] TheMue, this comment is actually mean for the loop below [17:45] TheMue, in TestWorkerReleasesAlreadyDead [17:45] dimitern: ah, and I see it here at the function declaration [17:45] dimitern: that's what made me wonder [17:46] mm, I wish my editor had a "make this struct satisfy that interface" shortcut [17:46] perrito666: oh, cool idea for my plugin [17:47] TheMue: tell me your plugin is for vi [17:47] perrito666: I've once built one for vi but right now it's for BBEdit [17:49] ah osx, that explains [17:49] aghh I think Ill have to write it myself and propose it [17:49] perrito666: hehe [17:50] is there a go tool that returns the methods for a given interface? [17:50] TheMue, yeah it's a bit surprising [17:50] * dimitern at eod [17:50] dimitern: what? os x? [19:01] query katco [19:01] lol [19:01] ? [19:01] katco: I had the wrong day for my daughter's doctor's appointment... it's on thursday overlapping with our 1:1... can we move the 1:1? [19:01] natefinch: sure, let me find a time [19:22] natefinch: would you mind reviewing http://reviews.vapour.ws/r/2199/ and http://reviews.vapour.ws/r/2318/ ? [19:23] natefinch: they're both windows/powershell specific, so you seem like the right person :) [19:24] katco: will do [19:24] natefinch: ty [19:28] natefinch: also, how's the unregister method coming? [19:33] katco: written but needs tests. I'm going to be working late tonight due to the late start this morning, too. So, hopefully wrapped up today. [19:33] natefinch: cool beans, thanks for the update [19:43] katco: I may be the best person on the Juju team to review those patches, but that doesn't mean I'm qualified. I've never used powershell. I'll do what I can, but I could easily miss simple things in the powershell code. [19:43] natefinch: no worries, just do your best. PS is in many ways like C# [19:43] natefinch: give a +1 instead of a +2 if you have to [19:44] katco: yeah, definitely reading it like it's bizzaro C# helps [19:44] Bug #1392786 changed: charm has no way to report error state [20:14] Bug #1483879 opened: MAAS provider: terminate-machine --force or destroy-environment (without --force) don't DHCP release container IPs [21:15] Bug #1483889 opened: OSX elcapitan support [21:27] ericsnow: still around? [21:27] perrito666: yep [21:29] ericsnow: I have read https://godoc.org/google.golang.org/api/compute/v1 but I cannot find a way to create a disk not attached to an instance, did you by any chance saw something like that? [21:29] its like it is possible to create the attached one, and to use one already created [21:29] but not to create a volume independent of an instance [21:30] perrito666: check out https://cloud.google.com/compute/docs/reference/latest/ [21:30] perrito666: the "disks" section probably [21:32] oh I see they seem to lack a nice implementation for that, how convenient ...not [21:39] mramm2: around? [21:42] or mramm [21:42] * thumper suspects auto-reconnection [21:58] mwhudson: i found the prolog stuff [21:58] it's quite hairy [21:58] so I sent https://go-review.googlesource.com/13570 instead [22:00] Bug #1324318 changed: build and host osx binaries and update docs to point to them [22:00] Bug #1483889 changed: OSX elcapitan support [22:12] Bug #1324318 opened: build and host osx binaries and update docs to point to them [22:12] Bug #1483889 opened: OSX elcapitan support [22:15] Bug #1324318 changed: build and host osx binaries and update docs to point to them [22:15] Bug #1483889 changed: OSX elcapitan support [22:31] suddenly -- netspilts! [22:41] odd, I just saw the disconnects [22:41] not the netsplit warning [22:42] axw: let me know if you prefer to have the talk before or after [22:42] since it is just you and I [23:09] perrito666: hey, want to get started now? [23:09] as you wish [23:12] thumper: can you take another look at http://reviews.vapour.ws/r/2328/ please? [23:14] thumper: http://reviews.vapour.ws/r/2328/diff/1-2/ is probably what you want [23:14] ack, otp [23:21] davecheney: yeah, v hairy [23:21] i was looking at it because it needs to change for shared libraries on power (i think) [23:21] mucho mucho hair [23:46] thumper: tx for the reviews and follow up [23:54] bbl