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

fwereadejam, if your will to live becomes too strong today, I pulled together a massive leadership-backport branch: http://reviews.vapour.ws/r/2205/08:00
jamfwereade: is there more than just porting other code?13:14
fwereadenope, I mentioned the couple of non-automated bits I hit13:14
fwereadejam, ^^13:15
jamfwereade: why are you here on the weekend?13:15
jamfwereade: backporting the state.Open() change seems a more serious change to the internal API in a stable release. We do depend on it, though?13:16
jamthat seems to be the bulk of the line-by-line changes13:17
fwereadejam, I think we probably don't strictly *depend* -- but unpicking it felt riskier than including it13:17
fwereadejam, yeah13:17
fwereadejam, and state.Open isn't really API, is it? it's only ever called in-process13:18
fwereadejam, so we can trust the compiler :)13:18
jamhence "internal" API13:18
jamfwereade: so I don't know that we've stated "we won't change our function signatures in a stable release" as much as our over-the-wire API13:18
fwereadejam, I'd see the various, er, internal API methods as the "internal" API ;p13:19
fwereadejam, why would we want to restrict internal function signatures?13:19
jamfwereade: ABI better for you ?13:19
fwereadejam, if I were worrying about dylibs, maybe13:19
fwereadejam, but when it's all one big chunk of code compiled and linked together, I can't get too worked up about it13:20
jamfwereade: well we do happen to know some people writing extensions for various parts that will need to be aware of something like this.13:20
jamI think it falls more under if you look at "feature" vs "bugfix". I understand why we need to backport this stuff, but it does fall under the "questioning eye for a stable change"13:21
jamfwereade: anyway LGTM13:22
fwereadejam, I think I see your point, but I'm not really willing to commit to any stable package interface I don't absolutely have to ;)13:22
fwereadejam, tyvm13:23
bdxhey whats going on everyone?20:52
bdxI'm hitting my head on some mongodb issues using local provider for juju20:54
bdxmy /var/log/upstart/juju-db-bdx-local.log shows http://paste.ubuntu.com/11906031/20:55
fwereadebdx, shot in the dark based on that traceback -- is something using port 38017 ?21:27
fwereadebdx, it's a bit surprising because I didn't think we ran mongod with --rest21:27
thumpero/ fwereade21:43
fwereadethumper, o/21:49
thumperfwereade: Y U make my life difficult?21:49
fwereadethumper, mainly for the sheer devilment of it, I must admit21:50
fwereadethumper, (what did I do in particular?)21:50
thumpersystem destroy21:50
fwereadethumper, oh, yes21:50
fwereadethumper, am I annoyingly correct or just annoying? or have you not decided yet?21:51
thumperthere is no list blocks command for a system yet21:52
fwereadethumper, (either way, it may please you to know that the mosquitos are killing me here)21:52
thumperand I'm not sure I agree about the general output formatter21:52
thumpernot for this case21:52
thumperI like the formatters for general "list this" type commands21:52
thumperor about this21:52
fwereadethumper, well, for this case I can put up with whatever makes sense to stderr21:52
thumperbut this output was really to help inform the user21:53
fwereadethumper, I think that if it's stdout it's a bit different?21:53
thumperwhy?21:53
thumperwe output messages to std out21:53
thumperplain text stuff21:53
thumperthis is just more21:53
thumpercontext.Infof etc21:53
* thumper digs into the windows test failure21:55
thumperfwereade: it seems the intermittent uniter test failures are becoming more common on win 201221:56
thumperbug 147572421:56
mupBug #1475724: UniterSuite.TestUniterRelations <blocker> <ci> <ppc64el> <regression> <unit-tests> <windows> <juju-core:Triaged> <juju-core jes-cli:Triaged> <https://launchpad.net/bugs/1475724>21:56
fwereadethumper, I think context.Infof writes to stderr? -- and, yeah, I saw that earlier, I am a little bit suspicious of update-status but haven't looked into it21:58
fwereadethumper, would you nudge wallyworld in that direction when he comes on please?21:58
thumperfwereade: hmm... maybe it does21:58
thumperfwereade: I'm looking into it now as it is blocking the landing of the jes-cli branch21:59
thumperfwereade: that and timeouts on ppc for uniter tests :(21:59
thumperthey take almost 8 minutes on my machine21:59
fwereadethumper, I dunno, I just have a vague but strong expectation that stdout contain results of what you asked for and stderr have more freeform explanatory stuff and other abrotrary bits that seemed liek a good idea21:59
thumperand ppc is slower21:59
thumperfwereade: re: output, I think that's ok22:00
fwereadethumper, fwiw, I have someone on the internet who says it's true :) http://www.jstorimer.com/blogs/workingwithcode/7766119-when-to-use-stderr-instead-of-stdout22:02
fwereadethumper, re Output, I'm not sure why people haven't been using it at all22:03
fwereadethumper, did everyone just forget it existed? or is there something important it doesn't do and is hard to fix?22:04
thumperfwereade: what are you referring to exactly?22:04
thumperfwereade: ctx.Infof and Verbosef ?22:05
fwereadethumper, juju/cmd/output.go22:05
fwereadethumper, the source of all the --format args22:05
thumperfwereade: people do use it22:05
thumperfor all the places it makes sense at least22:05
thumperI do think that 'juju block list' should be fixed to use it22:05
fwereadethumper, cool -- and, ah, I see what bugged me22:07
fwereadethumper, I saw the tabwriter, and saw no output formatter22:07
thumperfwereade: you mean this time?22:07
fwereadethumper, and thought OMFG-have-all-these-new-output-formats-been-hacked-in-horribly22:07
thumperfwereade: in this case... personally, I'm ok with this22:07
fwereadethumper, but no, I see formatTabular here and there as it shoudl be and am mollified22:08
thumperas this is not 'standard' output for the command22:08
thumperit is informational only22:08
fwereadethumper, put it on stderr and I'll fold22:08
thumperok22:08
thumperdone22:08
fwereadethumper, cool :)22:08
thumperbut I agree in principle about the formatters22:08
thumperand I do use it, and expect others to22:08
thumperit is used for all the user list, env list, etc22:09
thumperbut these default to --format=tabular22:09
thumperfor niceness22:09
fwereadethumper, yeah, I just saw those, should have been looking earlier22:09
thumperno more 'smart' bollocks22:09
fwereadethumper, and +100 to default-tabular22:09
fwereadethumper, and, yes, naming something "smart" is basically cursing it with an eternal suck magnet22:11
* thumper tries to get this win 2012 VM running the juju unit tests again22:17
thumperwindows just told me it finished the worker/uniter tests in -24672.05 seconds22:32
thumperI can tell you it took longer than that22:32
anastasiamacthumper: it's kind of funny.. in a sad way :D22:33
thumperoh FFS22:50
* thumper looks at perrito66622:52
perrito666thumper: ?22:52
thumperperrito666: the source of the windows critical blocker is uniter_test.go line 27222:52
thumperstartUpgradeError{},22:53
thumperthat doesn't work on windows22:53
thumperas it does chmod 555 $CHARMDIR22:53
thumperso getting start-failed22:53
thumperinstead of started22:53
thumperbogdanteleaga: ping22:55
thumpermenn0: do you know much windows?22:55
perrito666thumper: apologies, I hadn't noticed that22:55
thumperI'm wondering how to rework this without disabling22:56
perrito666thumper: you can dissable that particular one by running it in a separate runUniterTests with the windows condition before and add a todo with my name in it22:58
perrito666so you are unblocked22:58
perrito666I would but it is a bit sunday dinner time fo rme22:58
thumperunderstood22:58
thumperI'm just wondering if I can just use 'exit 2' at the end of the script22:58
thumperinstead of a chmod22:58
menn0thumper: I know it a bit22:58
menn0thumper: but i'm no expert22:59
menn0thumper: I can help with this issue now though22:59
menn0thumper: https://bugs.launchpad.net/juju-core/1.24/+bug/1474606/comments/522:59
mupBug #1474606: $set updates may clear out the env-uuid field <juju-core:Triaged by menno.smits> <juju-core 1.24:In Progress by menno.smits> <https://launchpad.net/bugs/1474606>22:59
menn0thumper: it turns out what I was looking at is not quite as critical (but still needs fixing)22:59
thumperquick hangout?23:00
menn0yep23:00
perrito666thumper: we seem to require a different failure for windows we might need to do a fully different charm failure for that23:02
perrito666anyway, dinner, cheers23:02
bogdanteleagathumper: I'm around for 3-5 mins23:07
thumperbogdanteleaga: don't worry, I'm working through it with menn023:09
bogdanteleagathumper: fwiw, you're probably going to have to find another way of making it fail, it *should* be possible with permissions but it might get hairy23:13
bogdanteleagathumper: and you could use check.f to only run that test so you don't have to wait for everything23:13
thumperbogdanteleaga: looking at 'cacls $CHARMDIR /p everyone:r'23:13
thumperbogdanteleaga: think that'll work?23:14
bogdanteleagathumper: not sure if it'll disable other permissions you'd have to try it out; also check whether that works from both ps and cmd as I'm not sure under which that particular script gets ran23:15
thumperbogdanteleaga: I'm trying it now23:15
menn0thumper: this seems to be the correct way: http://paste.ubuntu.com/11906714/23:36
thumpermenn0: does it still ask for verification?23:39
menn0thumper: what do you mean? I didn't see any prompts.23:40
thumpermenn0: good, tested and copied in23:45
thumperrunning the test now23:45
thumperif this doesn't work, I'll be ripping the test out and use test.skip for windows23:45
thumperuntil someone can fix it23:45
thumperit fails23:47
menn0thumper: why?23:47
thumperstart-failed23:47
thumperthe test doesn't give a lot of output23:47
thumperno23:47
thumperI see it23:47
* thumper goes to try some again23:48
thumperfor my sanity, I'm going to the gym23:52

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