[00:00] arguably this function is serving two masters [00:00] so there will be some uglyness [01:14] thumper: tests pass in raring now :-D https://code.launchpad.net/~wallyworld/juju-core/fix-raring-tests/+merge/153488 [01:14] wallyworld_: seriously? [01:14] you're my hero if it works [01:14] * thumper grabs the branch [01:15] thumper: works for me, ymmv [01:16] i had the same issues as you, so easy to see it was fixed or not [01:18] * thumper wonders if his raring branches for goamz and goose are recent enough [01:19] I'd love not to have to work in that VM [01:19] it is a PITA [01:19] thumper: i have goose trunk (tip) and whatever goamz i got a while ago and it's all good for me [01:19] wallyworld_: thumper i fixed all the issues I could find in atlanta [01:19] nobody can replicate your git problem [01:19] which is le shit [01:19] * wallyworld_ can [01:19] ORLY [01:20] davecheney: wallyworld_ has [01:20] davecheney: https://code.launchpad.net/~wallyworld/juju-core/fix-raring-tests/+merge/153488 [01:20] ther was the one with the message difference [01:20] fixed :-) [01:20] fixed too [01:20] * wallyworld_ now has a clean test run under raring [01:21] davecheney: I think https://codereview.appspot.com/7809043/ is ready now [01:21] thumper: ta [01:25] wallyworld_: umm... your tests have hung [01:25] some do take a while for me [01:25] go test ./... is hanging [01:25] but they always have [01:25] the uniter ones take ages [01:25] this has been over 5 minutes [01:25] and stuck in one place [01:25] normally faster than that for me [01:25] which place? [01:26] whatever comes after cmd/charmload [01:26] which may not be where it is stuck [01:26] the changes are/should be very unobtrusive [01:26] as it is using buffered i/o [01:26] just setting some env vars [01:26] mine has always "stalled" after charmload [01:26] even before the changes [01:29] thumper: these ones for me always take a while [01:29] ok launchpad.net/juju-core/cmd/juju 65.754s [01:29] ok launchpad.net/juju-core/cmd/jujud 38.378s [01:29] they are logged always just after charmload [01:30] also these [01:30] ok launchpad.net/juju-core/state 29.673s [01:30] ? launchpad.net/juju-core/state/api [no test files] [01:30] ok launchpad.net/juju-core/state/api/params 0.006s [01:30] ok launchpad.net/juju-core/state/apiserver 59.152s [01:30] ok launchpad.net/juju-core/worker/uniter 67.571s [01:31] I'm pulling latest bits, and will try again [01:31] your branch doesn't look wrong [01:31] must be something else [01:31] did you try rerunning? [01:32] thumper: funny, i just ran the juju tests with gocheck.vv and it took ~40 seconds even with all the extra trace, as opposed to 65s above [01:33] * thumper runs with gocheck.vv [01:33] you can't to that at the top level and recurse afaik [01:33] .vv == vroom vroom ? [01:33] theoretically .vv means unbuffered I/O [01:33] but I think it lies [01:33] very verbose :) [01:33] yeah [01:33] seems to be stuck in the same place [01:33] normally the command tests use all my cores [01:34] but running at virtually 5% [01:34] blocked on i/o i guess [01:34] no, just not doing anything [01:34] *cough* sleep *cough* [01:34] wallyworld_: have you tested in raring? [01:35] back in lisbon a lot of test failures were hit with the sleep hammer [01:35] because this is broken for me [01:35] thumper: i am running raring [01:35] hmm... [01:35] and i could reproduce you git failures [01:35] wondering if I've hit a different race condition [01:35] * thumper has a fast machine [01:35] * wallyworld_ has a slower machine and a smaller penis [01:36] thumper: maybe try and underclock your cpus and see what happens? [01:36] wallyworld_: how would I do that? [01:37] power settings - battery mode? [01:37] or cpu greq select? [01:37] freq [01:37] hmm... [01:37] poos [01:37] still stuck [01:37] killed it [01:38] at 5 minutes of wall time [01:38] I wish there was a way to send it a signal and get it to dump where it was at [01:38] yeah [01:38] maybe paste the vv output? [01:38] nothing to see [01:39] ? launchpad.net/juju-core/cmd/charmload [no test files] [01:39] that was the last output [01:39] davecheney: should I have any mongod process running after the tests have finished? [01:39] I have one [01:39] should I kill it? [01:40] thumper: you need to cd to just the juju tests [01:40] to use gocheck.vv [01:40] since ./... and gocheck args don't work together [01:40] seriously? [01:40] * thumper sighs [01:40] which ones were failing before/ [01:40] ? [01:41] thumper: the git tests [01:41] are the easiest to see [01:41] thumper: no, but they do leak [01:41] also the uniter ones [01:41] and deployer ones [01:41] i go thought and clean them up [01:41] or learn not to ^C the tests [01:42] davecheney: question, this had be stumped - cmd/jujud/unit_test.go:20: s.agentSuite.SetUpSuite(c) <--- i had to add this and didn't know why the call just didn't drop through [01:42] why does aliasing the import fix it? [01:43] * davecheney scrolls back to find the CL [01:43] wallyworld_: it's not aliasing [01:44] hang on [01:44] which file are we talking about ? [01:44] unit_test.go [01:44] i misread the diff a bit [01:44] wallyworld_: stuck here http://pastebin.ubuntu.com/5615399/ [01:45] davecheney: you wanted testing.GitSuite renamed to GitSuite [01:45] wallyworld_: right, sorry was looking at wrong CL [01:45] it's not renaming, it is giving it a name [01:45] at the moment both fields in the struct are anonymous [01:45] which embeds them [01:45] but i don't understand why that is needed and why i had to add the explicit call throughs [01:46] however that creates and ambiguity on who defines the embedded UnitSuite.SetUpSuite [01:46] thumper: you have thr wrong mongo [01:46] ah... wat? [01:46] thumper: you need to install the one from the tarball and set your path to that one [01:46] thumper: since ssl is not supported in the packaged version [01:46] thumper: yes, don't use mongo 2.0 from raring [01:47] Installed: 1:2.2.3-0ubuntu1 [01:47] and something about lawyers says we can't add ssl [01:47] thumper: bzzt, that one does not have ssl enabled [01:47] wallyworld_: I think the lawyers are still arguing [01:47] clucking bell [01:47] juju dev sucks the big kumara [01:47] yeah, sucks balls [01:47] didn't bigjools have a ppa somewhere [01:47] this is out of our control sadly [01:47] I don't like the tar ball answer [01:48] yes, believe so [01:48] wallyworld_: by giving testing.GitSuite a name, you break the ambiguity [01:48] I do [01:48] wallyworld_: nothing is out of our control [01:48] we control EVERYTHING [01:48] bigjools: you may need to rebuild [01:48] bigjools: plzfix [01:48] * davecheney contols both the horizontal and the vertical [01:48] davecheney: ah thanks, i 'll re-read the code with that though in mind. i need to think about it so i fully grasp it [01:48] thumper: hmmm? [01:48] thumper: that osn't bigjools' version, it's coming from raring [01:48] wallyworld_: no worries [01:49] mine has SSL [01:49] yeah.. I know [01:49] bigjools: needs to make a new one [01:49] pebkac [01:49] the other part of the solution is, when you embed a structure, its field name is the name of the structure [01:49] thumper: what's up with it? [01:49] hmm... [01:49] thumper: so now you can +1 my mp when i fix davecheney's issues [01:49] so by naming testing.GitSuite, GitSuite, none of the rest of the code notices, as that was what it called it originally [01:49] :-) [01:49] perhaps the ppa has been disabled [01:50] thumper: bigjools packaged 2.2.2 [01:50] apt-cache policy .... tells you all [01:50] raring offers 2.2.3 [01:50] ^ sorta guess [01:50] and the ppa was disabled on upgrade [01:50] bigjools: make a new one and I'll buy you a beer [01:50] * wallyworld_ is glad he just used the barball [01:50] tarball [01:50] arf [01:50] wallyworld_: right first time [01:51] hah [01:51] but I don't want to use the dumb tarball [01:51] my favorite mongo feature is the 60hz timer it sets up [01:51] wallyworld_: where are the instructions? [01:51] specifically to waste your battery [01:51] thumper: they _should_ be in the README [01:51] * davecheney scratched head [01:51] thumper: not sure, i just figured it out - untar to /opt (say) and update yuor path [01:52] it just feels SO wrong, that I'm resisting [01:52] thumper: they would ahve to be in the README (checking) [01:52] until we get a better solution [01:52] we onboarded so many juju devs in Atlanta [01:52] * bigjools agrees with thumper [01:52] * wallyworld_ agrees too [01:52] but we encountered some resistence trying to change it [01:53] * davecheney also agrees, but points the phalanax of lawyers that lie between us and our desired solution [01:53] * thumper gathers all his toys in one corner [01:53] yeah I only built for quantal [01:53] bigjools: that would be it [01:53] I'll do another [01:53] bigjools: awesome, ta [01:54] davecheney: who can I poke to make this go faster? [01:54] there is that long email thread [01:54] but I'm prepared to go higher [01:54] * thumper is sick of it [01:54] thumper: antonio and jamespage have identified themselves as the owner of the issue [01:55] go thumper, go thumper, go thumper.... oooo yeaahhhh go girl [01:55] the last status update I got said they were waiting on 10gen to do something for them [01:55] * thumper goes to look them up on the direcdtory [01:55] so, we're waiting on the good graces of the 10gen lawyers [01:55] GLWT [01:55] davecheney: in which cases they'll be waiting forever [01:55] exactly [01:55] ... [01:56] thumper: are you cc'ed on that email thread [01:56] davecheney: yeah, and I'm about to reply and start kicking tires [01:56] go thumper go [02:01] ok, it seems that james did create a version for raring, but it has been superseded by the raring release [02:02] * thumper emails everyone [02:02] thumper: an ssl version? [02:02] yeah [02:02] according to the email [02:02] I'll build anyway [02:05] hmmm [02:06] bigjools: how long will it take? [02:07] thumper: iirc about 30-60 mins [02:07] ok... I'll wait [02:07] and use your one [02:07] * bigjools can bump ppa priority :) [02:07] \o/ [02:07] in fact there's a little know changelog trick to get more priority too [02:07] known* [02:19] davecheney: thanks for the review - with the empty SetupSuite() methods, I cargo culted those from elsewhere. So I guess those other places should be fixed too at some point [02:20] wallyworld_: stick a card in leankit to refactor that shit [02:21] will do [02:21] the contract for gocehck.Suite() takes an interface{} [02:21] so there is no requirement for every Suite to have those methods [02:21] they are only needed if used [02:21] and empty ones dont' really help [02:21] apart from that, get thumper to LGTM [02:21] yeah, i thought so too, but figured it must have been needed for some reason/convention [02:21] then you'll be in sweet sweet raring heaven [02:22] oh yeah :-) [02:22] wallyworld_: i think you were right wen you said cargo cult [02:22] it happens if one is a bit unsure when implementing something and one assumes that what was done before was correct :-) [02:23] and yet we have two +1's required [02:23] so it seems stuff still slips through [02:25] wallyworld_: i don't think you want to argue for quorum on a change request [02:25] :) [02:25] sure :-) but my point is with two reviewers, perhaps "obvious" stuff could be caught [02:26] buddha says "when arguing with loved ones, don't bring up the past" [02:27] not meant to be negative, just an observation [02:27] an observation well made [02:37] davecheney: i only found one place to fix as it turns out - LoggingSuite has empty Setup/TearDownSuite() and a few calls to those - i'll just fix it up as a drive by [02:37] +1 [02:37] thumper: as soon as you +1 my mp, i can land the raring test fixes :-) [02:38] link? [02:39] thumper: it's building https://launchpad.net/~julian-edwards/+archive/mongodb/+packages [02:41] thumper: https://codereview.appspot.com/7677044/ [02:42] wallyworld_: acked [02:42] do it [02:42] land it [02:42] now [02:42] \o/ [02:43] thumper: just doing a quick driveby to remove some redundant code, will be done in a few minutes [02:48] * davecheney away -- lunch [02:49] davecheney: i've removed the empty setupsuite stuff, but am thinking - perhaps it was done that way so that stuff could be added if required without needed to then go and add setupsuite calls to all the structs which embedd the logging test suite [02:51] wallyworld_: maybe leave the drivebys for another day [02:51] yeah, i just reverted them :-) [02:51] i'll just leave this here http://www.youtube.com/watch?v=Ktbhw0v186Q [02:51] afk for reals this time [02:52] you are a sadistic man [02:53] thought it was going to be a rickroll [02:53] or worse [02:59] thumper: can you feel it? [02:59] can I feel what? [02:59] haha [03:00] that's not the first time someone has said that to me [03:00] * bigjools lunches [03:00] thumper: if you give it a oull, it will come [03:00] pull [03:00] ... [03:00] the raring test fixes i mean [03:00] oh [03:00] not his lunch? === jtv1 is now known as jtv [03:00] you all have dirty minds [03:01] wallyworld_: I need bigjools's mongo branch first [03:01] well given who was saying it ... [03:01] and I'm kinda busy actually working [03:01] sure, just letting you know :-) [03:01] wallyworld_: except Julian, who has dirty hands. [03:01] lol [03:01] * bigjools wipes [03:01] ... [03:01] bigjools: on the curtains? [03:02] That's it. No food for me this lunchtime. [03:02] thumper: at least 30mins left to build [03:02] it takes an hour [03:02] * bigjools heads off [03:02] Meanwhile, a question for the juju experts: we need to implement EnvironProvider.InstanceId() for the maas provider, but the EnvironProvider has no idea what maas it's supposed to talk to. [03:04] It's not like the ec2 provider where you have a fixed IP address for the metadata service. [03:04] jtv: in the vm world, it is the machine id on which the provider is running [03:04] So... the bootstrap node? [03:04] yeah [03:05] and others too i think [03:05] :( [03:05] the id is used to update the state [03:05] so the agent can see that the machine has been provisioned [03:05] i think [03:05] The fact that the method lives on EnvironProvider suggests that no provider needs to be running. [03:05] Otherwise it'd be on Environ, where we have a real chance of getting the information required. [03:05] yes [03:06] this is done before that happens [03:06] Damn. [03:06] on ec2 and openstack, there's the metadata service [03:06] which provides this [03:06] On MAAS too, but at this point we don't know its address. [03:06] :-( [03:07] i *think* the update of the state can be delayed [03:07] till the provider starts [03:07] but you'd need to talk to william [03:07] pleasesaygrantpleasesaygrantpleasesaygrant [03:08] * jtv is in a timezone far, far from the UK [03:08] readereadereadereade [03:08] buggerbuggerbuggerbugger [03:08] the main other person who would know is also in the uk [03:08] haha [03:08] uk... ISO country code for: [03:08] Ukraine [03:08] That helps [03:08] no it isn't [03:09] ? [03:09] i meant england [03:09] gb == united kingdom of great britain & northern ireland [03:09] wallyworld_: I figured. Just doing some wishful thinking [03:10] jtv: right now, i can't see why it has to be the environprovider which provides that info - i think some refactoring could fix the problem [03:11] but i don't fully appreciate the finer details of the workflow to offer practical advice and understanding of the consequences [03:11] That would mean the world to us at this stage. We're currently stuck on this. [03:11] jtv: maybe send an email to the list - william is good at responding [03:12] Yes, he is. Thanks, I'll do that. [03:12] hopefully can be sorted for next week [03:14] We have until... This evening. :/ [03:14] I'm putting together the email now. [03:23] jtv: iso country codes are fucked [03:24] * bigjools relurks [04:13] jtv: UKRAINE A2 = UA A3 = UKR [04:14] jtv: however UK is not a 2 character country code for anything [04:14] ! [04:14] Damn. [04:14] Well, I apologize. [04:14] * thumper was bored so looked it up [04:15] given that domains for the uk finish with .uk [04:15] you'd think it was the iso code [04:15] but you were right on the .gb [04:15] which I don't think anyone sues [04:15] uses [04:15] jtv: perhaps ukraine and UK got together and agreed that neither should have 'UK' [04:15] just to piss everyone off [04:16] thumper: you asked for it, http://www.youtube.com/watch?v=rNu8XDBSn10 [04:16] davecheney: that's ok [04:16] davecheney: I did think for a minute that you were rick rollingme [04:16] didn't the ukraine used to be called something else ? [04:16] davecheney: like the USSR? [04:17] thats the one [04:17] before it got broken into little pieces [04:17] Well they were a republic within the USSR. [04:17] Not an "independent republic" — those were parts of Russia and did not have the theoretical right of secession. [04:17] * davecheney does not want to give the northern territory it's own top level domain [04:18] .aunt? [04:18] next thing you know we'd give QLD .xxxx [04:18] ? [04:19] http://www.xxxx.com.au/ [04:20] Phew. I was taking a risk by loading up that one... [04:20] A neighbour had a visit from the MIB about having looked at Wikileaks. [04:20] But this ain't so bad. :) [04:21] which leads me to the joke: why do australians put four X's on their beer? [04:21] jtv: GTFO [04:21] a) because they can't spell beer [04:21] Sounds good. Go on. [04:21] ? there is a second answer ? [04:21] jtv: seriously, MIB? [04:21] Well no, I don't know what they were actually wearing. But they were from the government and they were not friendly. [04:21] I heard that amazon have bought up .book .author and something else [04:22] wow [04:22] .cloud ? [04:22] don't recall [04:22] bigjools: built? [04:22] I always wanted to have to gov't agencies visi and ostro here: ostro.go.th & visi.go.th. [04:22] i remember the freeforall back in '98 when you could buy a $.com without having to own the trademark [04:22] * bigjools points thumper to the fine url from earlier [04:23] * thumper scrolls back looking for the url [04:25] published an hour ago [04:25] mmm lunchtime dip in the pool was very nice [04:29] hmm... [04:29] doesn't fix the problem [04:29] tests still sit doing nothing [04:30] thumper: error message? [04:30] unknown option sslOnNormalPorts [04:30] you sure the new one is being used? [04:30] that implies it's still using the old one [04:30] Installed: 1:2.2.3-0ubuntu2+ssl [04:31] hmmm [04:31] * wallyworld_ has no idea [04:31] hmm, just installed mongodb, think i need the other three package [04:31] I thought it would do that [04:31] i just untarred the tarball for mine - perhaps everything was included [04:32] but i could have sworn there was just a single mongodb dir in there [04:33] jtv: you sent your email to the list? [04:34] wallyworld_: you didn't see it? I may have had the wrong email account active. Let me retry. [04:34] wallyworld_: working now [04:34] thumper: \o/ [04:34] what did you change, just install the extra packages [04:35] jtv: yeah, didn't see it so thought i'd ask in case you mis sent it [04:35] yeah, just also installed mongodb-clients mongodb-dev mongodb-server [04:35] it that all? [04:35] I thought that installing mongodb would bring in the others [04:35] yes [04:35] i was trying to be sarcastic :-) [04:35] wallyworld_: I do get some failures though [04:35] :-( [04:35] but I think they are timing related [04:36] so re running, different results? [04:36] cmd/jujud OOPS: 29 passed, 1 skipped, 2 FAILED, 3 FIXTURE-PANICKED, 14 MISSED [04:36] 5 failures, not good [04:37] Thanks for checking, wallyworld_ [04:37] np [04:37] wallyworld_: is it in trunk now? [04:37] I'll get trunk and try again [04:37] yah [04:39] nope, still failing tests for me [04:40] * thumper runs all again and pastebins... [04:40] * thumper takes kids to get fud [04:44] pastebin? [05:36] * wallyworld_ off to parent teacher interview, bbiab [10:23] fwereade: you've got a couple of reviews [10:23] rogpeppe, lovely, tyvm [10:24] fwereade: i've got the next stage in the allWatcher out for review, if you fancy a look. it's all easy after that one. https://codereview.appspot.com/7594048/ [10:57] rogpeppe, I don't think I'll manage to do that properly before this afternoon, I'm a little bit involved with environs at the moment [10:57] fwereade: np [10:57] rogpeppe, sorry, I had the beginnings of a go, but I need to use all my RAM to understand the whole thing clearly [10:58] fwereade: thanks. yeah, it's a little bit involved. not bad in the end, i think, but needs some thought. [10:59] fwereade: i have reasonable confidence it's well tested, at any rate :-) [11:03] (that was by no means a backhanded reference to the destroy service tests BTW) [11:20] rogpeppe, haha, np, I didn't take it as such ;p [11:25] fwereade: are you planning to start designating reviewers, [11:25] BTW? [11:48] rogpeppe, mramm has assigned that card to himself [11:48] fwereade: ah, cool [11:48] fwereade: i hadn't seen the card :-) [11:49] rogpeppe, dimitern added it, mramm grabbed it -- it's like a well-oiled machine :) [11:49] :) [11:49] * rogpeppe was well-oiled last night [11:49] :-) [11:50] fwereade: tickets confirmed [11:50] dimitern, awesomeness, tyvm [11:50] fwereade: I'll update the wiki as well [11:50] dimitern, yu rock [11:51] fwereade: no worries :) [11:52] have you had a chance to look at yesterday's CL ? [11:54] fwereade: ? [11:55] dimitern, whoops, sorry [11:55] dimitern, I don't see it in +activereviews, from what I saw I think it's ready to repropose without -wip [11:56] fwereade: hmm.. I did not specify -wip last time - once you specify it does it stick? -wip=false is needed or smth? [11:57] dimitern, hm, it's just at the bottom of the page for no clear eason [11:57] dimitern, sorry [11:58] fwereade: np [12:06] * fwereade lunch [12:35] dimitern: some code to review, if you wanna: https://codereview.appspot.com/7594048/ [12:42] rogpeppe: on it [12:42] dimitern: thanks! [12:44] rogpeppe: fwereade: i'd love a chat on the logging stuff. i hate email exchanges in code reviews, so impersonal [12:45] wallyworld_: yes, that would be great [12:45] wallyworld_, rogpeppe: sgtm, when is good? now? [12:45] now would be good for me [12:45] good for me, then i can go to bed [12:45] rogpeppe, wallyworld_: ok, I'll start a hangout [12:46] rogpeppe, wallyworld_: https://plus.google.com/hangouts/_/09c5551027db88904e9a62bd3da34b261f46407b?authuser=0&hl=en [12:46] wallyworld_: fwiw I agree with the suggestions about splitting the syslogd support from log.*f() refactoring and replacing all around the code - it needs to be done carefully [12:47] it's already split [12:47] can I join and lurk too? [12:47] wallyworld_: oh, great then === wedgwood_away is now known as wedgwood [13:54] fwereade: ping [13:55] dimitern, pong -- sorry, it's still not done, I'm going to have to do reviews after the meeting [13:55] fwereade: ah, the meeting, yes - np [14:04] rogpeppe: ping [14:17] bac: they have a kanban meeting at the moment [14:17] dimitern: thanks. no rush. [14:39] rogpeppe, is https://codereview.appspot.com/7417051/ abandoned? [14:47] fwereade: no, i'll fix the file close issue and submit [14:47] fwereade: i think it's still worth doing [14:47] rogpeppe, +1 [14:48] dimitern, basically LGTM, but the SetCharm move is important, ping me if there's uncertainty [14:49] rogpeppe, how about https://codereview.appspot.com/7610044/ ? === wedgwood is now known as wedgwood_away === wedgwood_away is now known as wedgwood [14:56] fwereade: ah, i thought i'd submitted that one. [14:57] fwereade: it really needs to go in. [14:58] fwereade: oh, i remember, i started running tests and got diverted [15:03] hi rogpeppe, would you have time to look at a branch that is behaving oddly? perhaps we could have a hangout to chat. [15:04] bac: definitely. [15:04] bac: anytme [15:04] time [15:04] fwereade: both those branches now submitted [15:04] rogpeppe: it is at https://codereview.appspot.com/7610046 [15:04] rogpeppe, cheers [15:04] bac: ha ha, you've got the .THIS deletion too. [15:05] yep [15:05] rogpeppe: starting hangout [15:09] fwereade: cheers [15:10] fwereade: could you join us for a moment to verify some stuff about DestroyRelation, please? https://plus.google.com/hangouts/_/ade743831e17fc93a3d824612a93e8004534fcdd?authuser=0&hl=en [15:18] * dimitern lunch [15:49] rogpeppe, bac: working as intended, a unit of wordpress enters scope in setupScenario and thus has a reference to the relation [15:49] fwereade: ah! of course, that's the difference between the two places [15:49] fwereade: i'm stupid - i should have realised that [15:50] rogpeppe, took me a little while to twig :) [15:50] * fwereade is relieved [15:50] fwereade: always good to review the code again, eh? :-) [15:50] rogpeppe, yeah :) [15:51] bac, so go ahead and propose -- maybe add a comment to that effect so it's clear for readers [15:51] fwereade: 1 [15:51] +1 [15:56] benji, ping [15:56] fwereade: hi [15:57] benji, https://codereview.appspot.com/7460047/ and https://code.launchpad.net/~benji/juju-core/1130173/+merge/151555 don;t agree on whether it's been submitted -- would you look into it please? [15:57] sure; looking [15:59] benji, tyvm [16:00] fwereade: I figured it out. I had a thinko in which I attempted to lbox propose the wrong branch and it reopened the merge proposal. I verified that the code is indeed on the trunk and set the MP to Merged. [16:00] benji, cheers [16:07] niemeyer, btw you have a couple of approved branches [16:12] I have a panic on store/ tests in trunk, just pulled [16:13] anybody seen this? http://paste.ubuntu.com/5616924/ I'm just about to file a bug [16:14] it's intermittent - I run it again now and it's ok [16:17] I filed bug 1155681 for it [16:17] <_mup_> Bug #1155681: intermittent failure (panic) in store/ tests TestBlitzKey < https://launchpad.net/bugs/1155681 > [16:23] Is there anywhere that documents the relationship between a LP repo and CS path? [16:23] fwereade: Thanks! [16:46] fwereade: moving f.SetCharm before fetching the charm in u.deploy() cause the steady state upgrade uniter tests to fail [16:47] dimitern, ah, damn, I expected we'd have missed one of them [16:47] dimitern, I presume they're just using the wrong things to wait for? or seriously broken? [16:48] fwereade: they're waiting in vain for some time and then it timeouts [16:50] dimitern, for what? paste me maybe? [16:50] fwereade: just looking at the log, trying to figure out when.. i'll paste it [16:51] dimitern, cheers [16:51] fwereade: http://paste.ubuntu.com/5617031/ [16:52] fwereade: the funny thing (which I've seen before) is, that after that test failed the test runner seems stuck and no more test cases are executed (had to ^C it) [16:52] dimitern, well, that should also be fixed ;p [16:54] hatch, https://juju.ubuntu.com/docs/internals/charm-store.html has the "Publishing a Charm" section; and m_3 might be in a good position to tell you more [16:55] fwereade: thanks - rogpeppe actually pointed me to the code responsible as well [16:55] thanks [16:55] fwereade: i agree, but it's something to do with how the uniter tests are executed in general it seems - once all pass it's ok, most of the time when one fails others are not affected - it's probably due to the waiting code [16:55] dimitern, ISTM that the tests are waiting for the wrong behaviour -- we did change it a bit [16:56] dimitern, now an attempted upgrade will have the unit's charm set to the target url not the source [16:57] fwereade: yeah, i figured that much [16:57] fwereade: so we need to carefully refactor all upgrade tests [16:58] fwereade: *OR* just pass charm: 1 in waitUnit{} where it gets stuck [16:58] dimitern, yeah, if you look at the following test case I think it's clear the omission is just a bug [16:59] fwereade: :) comments are useful in these cases [16:59] fwereade: running the tests again now [16:59] dimitern, if you can think of a comment that would have helped, please feel free to add one :) [17:00] fwereade: well, not now - but before :) [17:00] fwereade: now all cases are similar (charm: 1) and all [17:00] dimitern, yeah, I think it was just a bug [17:01] dimitern, fundamentally racy, but we were lucky for some reason [17:02] fwereade: adding charm:1 fixed that test, there was another failure in error upgrade tests - same cause, fixed - running again [17:03] hatch: currently lp:~/charms/precise//trunk is the required format for it to show up in the store and then be deployed via `juju deploy cs:~/` [17:04] yeah I am going to file a ticket about that - I would like to be able to deploy a charm right from the repo using an absolute path [17:04] hatch: unless you have a compelling reason, stick with LTS charms atm please [17:05] hatch: by all means... there was a bug for that somewhere, dunno if it made it to juju-core [17:05] I'm working on the gui charm right now so requiring me to deploy to a specific branch isn't ideal - it's doable, just not ideal :) [17:06] hatch: we often use a local repo... ~/charms/precise/mycharm is available via `juju deploy --repository ~/charms local:mycharm` [17:07] hatch: I'm pretty sure there is a way to deploy the charm against a particular branch of the GUI [17:08] http://paste.ubuntu.com/5617026/ [17:08] is apparently the code in question [17:08] doesn't look like it [17:08] ohh gui yes [17:08] charm no [17:09] It's just a minor inconvenience that would be awesome if one could specify an absolute path to a remote branch [17:09] +1 [17:10] fwereade: thanks for looking. i'm unclear about your explanation, though. [17:10] bac, ah, I'm sorry [17:11] bac, in setupScenario, we call EnterScope on a RelationUnit for wordpress/0 [17:11] bac, this mimics the unit agent joining the relation [17:11] bac, and adds a reference to the relation [17:11] bac, I would not be opposed to a setupScenario tweak that immediately leaves scope after entering [17:11] so there are more parties to the relationship than just the services, thus causing it to hang around? [17:12] fwereade: ok, i'll investigate doing that [17:13] bac, the reason to enter/leave, rather than to do nothing, is because it's a subordinate relation: subordinate units are created on-demand, when there's a relevant principal participating in the relation [17:14] fwereade: i wouldn't mind that, i think. [17:14] rogpeppe, cool, I have done that in one or two places in the past [17:14] * rogpeppe still doesn't really understand what "entering scope" implies [17:14] rogpeppe, becoming visible to ones counterparts [17:15] rogpeppe, by creating a document whose _id encodes what counterparts ought to be able to see it [17:16] fwereade: ... and creating subordinates, presumably [17:16] rogpeppe, yes: the txn also includes the creation of a relation unit settings doc; and sometimes a subordinate unit, when one is required for sanity and does not yet exist [17:17] fwereade: so that's not the usual way that subordinate units get created? [17:17] rogpeppe, that's the only way subordinate units get created [17:17] fwereade: ah, i misread "required for sanity" then [17:18] fwereade: whoohoo! all passed (after fixing 3 more places with the same issue) [17:18] rogpeppe, the idea is that each principal is entirely responsible for its own subordinate(s) [17:18] rogpeppe, the alternatives are icky [17:18] go dimitern [17:19] rogpeppe, create 100k units when we add a relation? [17:19] dimitern, yay! [17:19] fwereade: yeah, seems reasonable. [17:19] mgz: I'm very nearly there - go func() {} - multitasking :) [17:20] fwereade: reproposed with the changes, if you think it's ready, I'll submit it (have 2 LGTM from TheMue already earlier) [17:21] dimitern, tbh that first LGTM is no longer valid, there have been a lot of changes [17:21] dimitern, better to work on merging it into the followup and shaking out what you can [17:21] fwereade: yeah, I know - I wanted to ask him again, but it seems he's off today [17:21] dimitern, yeah, back monday [17:21] rogpeppe: maybe you can take a look? https://codereview.appspot.com/7425044 [17:22] dimitern: deep in debugging currently, but will do in a short while [17:22] rogpeppe: cheers [17:45] fwereade, dimitern: here's the next in line in the allWatcher branches; not too far off now: https://codereview.appspot.com/7815044 [17:45] rogpeppe: will look in 5m [17:46] dimitern: now looking at your branch [17:46] dimitern: ta! [17:46] rogpeppe: it seems the diff is screwed [17:46] rogpeppe: (mine, that is) - will repropose it now [17:46] dimitern: thanks - was just about to say [17:47] rogpeppe: can you see it now? [17:48] dimitern: yup, thanks [17:49] I suspect this issue occurs when you bzr push (or lbox propose) from a subdir - but don't have enough info to confirm this [18:00] dimitern: reviewed [18:01] right, time for me to go [18:01] rogpeppe: tyvm [18:01] have a great w/e everyone [18:01] rogpeppe: g'nite! [18:01] dimitern: toi aussi! === wedgwood is now known as wedgwood_away