/srv/irclogs.ubuntu.com/2014/10/15/#juju-dev.txt

bodie_review would be appreciated.  small apiserver addition https://github.com/juju/juju/pull/90900:53
=== psivaa_ is now known as psivaa
=== meetingology` is now known as meetingology
=== Guest97591 is now known as Guest20083
=== allenap_ is now known as allenap
thumperaxw: o/01:35
axwthumper: \o01:36
axwglad to see you're alive after friday night01:36
thumperheh01:36
thumperI should learn to pace myself better01:36
thumperbut I do like mojitos01:37
axw:) they weren't bad at all01:37
thumper$ juju user list --show-disabled01:38
thumperNAME     DISPLAY NAME  DATE CREATED    LAST CONNECTION01:38
thumperadmin    admin         33 minutes ago  just now01:38
thumperfoo      Foo Bar       20 seconds ago  not connected yet (disabled)01:38
thumperthumper  Tim Penhey    31 minutes ago  not connected yet01:38
thumpergetting there...01:38
thumperaxw: I don't suppose you could look at https://bugs.launchpad.net/juju-core/+bug/1380337 could you?01:39
mupBug #1380337: adding machine after destroying another fails <add-machine> <cloud-installer> <destroy-machine> <juju-core:New> <https://launchpad.net/bugs/1380337>01:39
axwlooking01:39
=== alpacaherder is now known as skellat
=== psivaa_ is now known as psivaa
wallyworld_thumper: axw: i've already looked into that bug - it only affects 1.20, and it a dup01:51
thumperwallyworld_: oh hai01:51
axwwallyworld_: okey dokey. do you want me to continue looking, or you know the root cause already?01:52
wallyworld_o/01:52
wallyworld_axw: i have an idea, just needs to be fixed01:52
axwwallyworld_: oh, is this the tools bug you mentioned on the hangout?01:53
wallyworld_yeah01:53
axwok01:53
wallyworld_axw: what's the status of bug 1360605 which is marked as In Progress01:53
mupBug #1360605: support maas zones for automatic az placement <constraints> <maas-provider> <juju-core:In Progress by axwalk> <https://launchpad.net/bugs/1360605>01:53
axwwallyworld_: needs review of a gomaasapi branch01:54
axwthen it should be good to merge01:54
wallyworld_oh yeah, that's right01:54
wallyworld_i'll do that01:54
thumperwell that's confusing01:54
thumpertime.Time.Add takes a duration and returns a time01:55
thumpertime.Time.Sub takes a time and returns a duration01:55
wallyworld_awesome01:55
thumperWT actual F01:58
thumper./user_info_test.go:144: constant -2.1 truncated to integer01:58
thumperI have to put a f there?01:58
thumperstabby stabby02:01
thumper-2.1e1 is fine02:01
thumper-2.1e0 gets turned into an int02:01
thumperwtf02:01
thumperah...02:03
thumperused with int64 and *02:03
thumperFFS!!!!02:05
thumperdebug-log is broken with the local provider again since all-machines.log doesn't exist02:05
=== Guest20083 is now known as Ursinha
mwhudsonthumper: -2.1e1 is an integer, isn't it?  given that constant calculations have infinite precision02:09
thumpermwhudson: according to the language spec it is a float constant,02:10
thumpermwhudson: the issue here is that it was being used in a compile time multiplication of two constants02:10
thumperso the float was being co-erced into an int02:10
=== pjdc_ is now known as pjdc
wallyworld_axw: i think bug 1356886 can be closed now, right?02:26
mupBug #1356886: failed add-machine ssh:  leaves behind garbage in state <14.10> <add-machine> <manual-provider> <juju-core:In Progress by axwalk> <https://launchpad.net/bugs/1356886>02:26
axwwallyworld_: kinda. it will clean up eventually now. it would be nice if we removed it immediately, but it's not that simple02:27
axwI think we can close it02:27
thumperwallyworld_: what was the lxc issue?02:27
wallyworld_thumper: looks like destroy-machine removes stuff under <local-root>/storage which includes tools required to start new machines02:28
wallyworld_thumper: that debug-log issue sounds like a stop the line regression doesn't it02:29
thumperwallyworld_: hmm (re: lxc), and I'd say so w.r.t. debug-log02:29
thumperwallyworld_: not sure when it stopped working02:30
thumperbeen a while since I've had a local environment running02:30
thumperwhere I cared about the lgs02:30
thumperlogs02:30
wallyworld_wayne needs to fix it, since i think he may have broken it02:30
wallyworld_we can stop the line later when he comes on :-)02:30
thumperhaha02:56
axwwallyworld_: PTAL https://code.launchpad.net/~axwalk/gomaasapi/maas-testserver-zones/+merge/23644703:14
wallyworld_sure03:14
wallyworld_axw: what's the go with the agent_name handling?03:18
axwwallyworld_: replied to your comment inline03:18
wallyworld_hmmm, didn't see the reply, let me look again03:18
axwhrm, doesn't show up after I pushed again.. one sec03:19
axwwallyworld_: Correct. From https://maas.ubuntu.com/docs1.5/api.html#nodes:03:19
axw"param agent_name:03:19
axw An optional agent name to attach to the acquired node."03:19
axw(under the "acquire" operation notes; for "list" it's a filter value)03:19
axw(in reply to your question about agent_name being a side effect)03:19
wallyworld_ah, there's a link you need to click to show the diff comments03:20
axwwhere's that?03:20
axwah, I see03:20
wallyworld_hmm, not sure i like that api design, but it is what it is03:20
wallyworld_axw: +1, land away03:22
axwwallyworld_: thanks03:22
wallyworld_np03:22
* thumper sighs deeply03:44
thumperwallyworld_: take a look in #juju03:44
wallyworld_ok03:44
thumperwallyworld_: you'd think this was tested right?03:44
wallyworld_thumper: i would have thought so, but i haven't been involved with HA so much so am not sure03:51
wallyworld_HA has been problematic at times though I seem to recall03:52
=== uru_ is now known as urulama
dimiternmorning all06:35
jammorning dimitern06:35
dimiternhey, jam!06:36
alexisbwallyworld_, you still around?07:08
wallyworld_alexisb: hi07:08
alexisbhey there wallyworld_07:09
wallyworld_having fun?07:09
alexisbwallyworld_, totally!07:10
alexisb;)07:10
waiganifwereade: hey you about?07:39
fwereadewaigani, heyhey07:39
waiganifwereade: hello, could I talk something over with you: watchers + localID/docID07:40
fwereadewaigani, sure, can I have a quick ciggie while you start a hangout please?07:40
fwereadewaigani, or I could do irc if you'd rather07:40
waiganifwereade: for sure, I'll start a hangout07:41
waiganifwereade: those things will kill you btw07:41
waiganifwereade: https://plus.google.com/hangouts/_/g2voow4a3pvpvu6jwsnyrqlwv4a?hl=en07:44
waiganifwereade: my computer is spazzing out, hang on07:48
fwereadewaigani, np, I'll stay in that one, just say if you need to start a new one07:49
waiganifwereade: https://plus.google.com/hangouts/_/g2wu75d5xxebxhb3pw6jwusynya?hl=en07:49
mattywmorning all08:21
waiganifwereade: can we have another quick chat please?08:48
waiganifwereade: https://plus.google.com/hangouts/_/gqitbaigxm45nkusctyi7lh5uya?hl=en08:49
fwereadewaigani, sorry, there now08:55
fwereadewaigani, shall I start a new one?08:55
* fwereade does08:55
* fwereade bbs09:00
=== uru_ is now known as urulama
voidspaceok, off to a baby scan - hopefully on my return we know if the baby is a boy or a girl10:34
voidspacebiab10:34
marcoceppi_enable-os-upgrade: false is one of the greatest kept secrets of 1.2110:39
=== luca__ is now known as luca
wesleymasonCan I beg someone to give some love^Wreviewtime to https://github.com/juju/juju/pull/689 ?12:56
voidspacehmmm.... screwed my network onfiguration :-)13:03
voidspace*configuration13:03
voidspaceso, on my laptop for the moment...13:04
w7zthe joys of developing networking for juju?13:04
voidspacew7z: yep :-)13:04
voidspacew7z: created a bridge for MaaS and it worked fine until I rebooted and lost all network13:04
voidspacew7z: I thought it was going a bit too well...13:04
w7z>_<13:05
mfoordand back...13:07
w7zwesleymason: the branch looks fine, I'd nitpick the error message but don't want to delay you further13:11
wwitzel3alexisb: yep13:11
TheMuemfoord: a result of the scan?13:12
mfoordTheMue: boy :-)13:16
TheMuemfoord: yay, grats. am I right, your second one, isn't it?13:18
mfoordTheMue: that's right - first one is a girl13:18
mfoordso we'll have one of each colour :-)13:18
TheMuemfoord: hehe, yeah, well done13:19
TheMuedimitern: take a look here: http://paste.ubuntu.com/8565153/14:32
TheMuedimitern: the action guys get this error14:32
jcw4it's when running ./worker/firewaller tests on master14:33
dimiternTheMue, looking14:39
TheMuedimitern: thanks14:40
dimiternTheMue, gah... it seems like a timeout issue - i.e. the worker stops *before* entering the loop() and returning the error.. I'll have a look and propose a fix14:41
dimiternjcw4, is it readily reproducible?14:41
jcw4dimitern: for me it seems to be every time14:41
dimiternjcw4, sorry about the trouble, but that's actually great to test the fix :)14:42
jcw4dimitern: I can pull a branch from you to test any fixes if you like14:42
dimiternjcw4, will you be around for ~1h more?14:42
dimiternmaybe less even14:42
jcw4yep; beginning of my day14:42
dimiternjcw4, ah, sweet, will ping you when I propose the branch14:43
jcw4cool14:43
=== tasdomas` is now known as tasdomas
=== jcw4 is now known as jcw4|afk
katcomenn0: ha, we just finished the same review15:20
katcomenn0: poor thumper now has 37 comments on his PR :p15:20
menn0katco: whoops15:20
menn0katco: hopefully we didn't overlap too much15:20
katcomenn0: hehe i'm sure we did on things like docstrings15:21
menn0menn0: well that'll teach him :)15:21
menn0katco: I'm currently reviewing bogdanteleaga's PRs (on Github) so let's not both do those15:21
menn0katco: we should probably co-ordinate for the rest of the day as well :)15:21
katcomenn0: lol ok15:22
menn0katco: it's not normally a problem because our time zones don't overlap much but I'm working from the London office today15:22
katcomenn0: it looks like review board is taken care of15:22
katcomenn0: ah i see15:22
menn0menn0: my bad. I should have thought about this.15:23
katcomenn0: it's not a big deal. i'm familiarizing myself with code as well, so it's not wasted effort.15:23
dimiternTheMue, jcw4|afk - the fix is ready for review -  http://reviews.vapour.ws/r/172/ -- if you can have a look and approve it (other reviewers are welcome as well), I'll merge it tomorrow morning15:39
* dimitern reached eod15:40
TheMuedimitern: looking15:40
=== jcw4|afk is now known as jcw4
mattywcalling it a day everyone, take care all16:32
jrwren_can I haz digital ocean provider? https://www.digitalocean.com/community/tutorials/an-introduction-to-droplet-metadata16:38
bodie_there's an unofficial one, fwiw16:40
bodie_https://github.com/kapilt/juju-digitalocean16:41
bodie_uses manual provider sadly16:41
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1381626 1381632
sinzuikatco, there are two kinds  of unit-tests failures introduced in the last few days, bug 1381626  and bug 1381632. Can you help get developers to look into them?17:11
mupBug #1381626: TestActionFail fails on ppc64el <ci> <ppc64el> <regression> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1381626>17:11
mupBug #1381632: firewaller_test.go TestStopsAfterGettingMode fails on utopic <ci> <regression> <test-failure> <utopic> <juju-core:Triaged> <https://launchpad.net/bugs/1381632>17:11
jcw4sinzui, katco fwiw I'm investigating that too17:13
sinzuijcw4, thank you for helping17:13
jcw4All three of the common errors are related to a permission error17:13
jcw4somewhere between lines 1409 and 1416 of apiserver/uniter/uniter_base.go17:14
jcw4I'm suspecting a Tag issue17:14
jcw4sinzui: well, I feel on the hook since my commit was cited17:15
jcw4:)17:15
jcw4katco: to be clear I'm investigating the first one (ActionFail) right now; I haven't looked at the Firewaller one, but I'm 90% sure that dimitern has a PR up that will fix that one17:16
sinzuijcw4, I don't believe permissions issue are arch related...I don't know why a single arch would start failing. I am very puzzled17:16
jcw4sinzui: agreed17:16
jcw4katco: (sinzui) this was the PR that I think will fix bug 1381632 http://reviews.vapour.ws/r/172/17:18
mupBug #1381632: firewaller_test.go TestStopsAfterGettingMode fails on utopic <ci> <regression> <test-failure> <utopic> <juju-core:Triaged> <https://launchpad.net/bugs/1381632>17:18
jcw4I was getting the same error and that PR branch fixed it for me17:18
jcw4TheMue, sinzui since http://reviews.vapour.ws/r/172/ is approved to :shipit: can we $$merge$$ it now, or wait til dimitern does it tomorrow?17:25
sinzuijcw4, the two regressions will block merges until they are fixed17:27
jcw4sinzui: I think this PR *is* a fix for one of those regressions17:28
jcw4so maybe I should $$fixes-LP-1381632$$ it17:28
sinzuijcw4, oh, then anyone add fixes-1381632 ot the merge. You don't need "$$"17:29
jcw4cool17:30
katcosorry was eating lunch17:54
jcw4sinzui: it looks like I triggered that merge prematurely - I'm still confident it's the right fix, but dimitern hadn't finished the full test suite check on that branch17:54
jcw4katco: 'sok I'm getting excited about my lunch pretty soon here too17:55
jcw4:)17:55
katcolol17:55
katcosinzui: just reading through the backlog... it looks like you could use help investigating 1381626?17:56
jcw4katco: yeah - that's the one with my merge implicated, but I don't see a direct correlation17:56
katcojcw4: ok i'll start investigating17:57
jcw4ta17:57
sinzuikatco, I suspect ppc is vulnerable to failures in that part of the tests, something made the tests go from intermittent to always fail. As this is trusty, I cannot see a correlation with "permission denied"18:01
katcosinzui: interesting that it would begin breaking all of the sudden18:02
katcosinzui: it must be one of the changes, unless something has changed with the scripts you guys use18:02
jcw4my change that triggered it only renamed the params.ActionItem to params.Action struct18:02
jcw4the structure of the struct is identical, just the name changed18:02
sinzuikatco, we have not changed the tests since their last pass.18:03
katcosinzui: ok, well i'll keep digging in18:03
sinzuikatco, We see warning that imply the machine's clock is behind?18:04
sinzuitar: juju-core_1.21-alpha2/src/gopkg.in/yaml.v1/README.md: time stamp 2014-10-15 17:50:59 is 44.413476891 s in the future18:04
katcosinzui: interesting, but i don't know why that would cause an issue as long as the relative time remains stable during testing18:05
sinzuikatco, yep18:06
jcw4katco: the source of the error is here: https://github.com/juju/juju/blob/master/apiserver/uniter/uniter_base.go#L1410-L141518:06
jcw4I wish I'd made two slightly different errors, or else added logging here18:06
jcw4all three of the Action related test failures come back to that block18:07
katcojcw4: thank you. has anyone run a git bisect?18:08
jcw4katco: I can't even repro the failure locally18:08
katcojcw4: ah ok. i might have some tricks. please hold (elevator music)18:08
jcw4haha18:08
jcw4katco: one of those tricks doesn't include access to a ppc64 machine does it?18:13
katcojcw4: lol no, although i keep wondering if that might be handy since we seem to see these with some regularity18:14
jcw4yeah18:14
katcojcw4: fails for me on tip: go test -compiler=gccgo github.com/juju/juju/api/uniter/...18:16
katcojcw4: but looks like it might be failing in a different spot18:16
sinzuibugger18:16
sinzuijcw4, thank you for finding the PR, it indeed fixed the utopic tests.18:16
jcw4yay!18:16
jcw4about the last comment, not katco's comment: bugger to that too18:17
sinzuiNow I see a compilation error in ppc64el tests.18:17
jcw4:(18:18
katcosinzui: do you have handy a commit point where this was working?18:18
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1381626 1381671
sinzuikatco, commit 1a7538d6 was the last passed18:19
katcosinzui: ty18:20
jcw4nice; I repro the same error with --compiler=gccgo18:29
* jcw4 goes for long anticipated lunch18:30
=== jcw4 is now known as jcw4|nomnom
katcosinzui: something to think about while i investigate: do we run tests with gccgo to gate merges?19:20
=== BradCrittenden is now known as bac
sinzuikatco, no, but we agreed to do it this cycle: https://docs.google.com/a/canonical.com/document/d/1WMeul2xZNOE1vxjj5Vb8Itl-LsGNZeBQurnv76kseGE/edit#heading=h.vxbalgtua4zd19:21
katcoah cool19:22
=== BradCrittenden is now known as bac
katcojcw4|nomnom: hey when you get back, i could use some help debugging your change. i'm not that familiar with facades yet, but it looks like tag parsing might be to blame? not sure.20:53
katcowallyworld: are you there yet?22:03
wallyworldkatco: hi, finishing coffee :-)22:03
katcowallyworld: yum :)22:03
katcowallyworld: i need to EOD, but didn't want to wait until stand-up to hand this off: https://bugs.launchpad.net/juju-core/+bug/138162622:03
mupBug #1381626: TestActionFail fails on ppc64el <ci> <ppc64el> <regression> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1381626>22:03
wallyworldok, let me look22:03
katcowallyworld: i'm pretty sure someone who knows facades better will be able to hop right to the issue since i've done the leg-work22:04
wallyworldkatco: ty, will look into it22:05
katcowallyworld: hopefully you have it solved b/f standup... i'd love to know what it is22:05
katcowallyworld: but anyway, time to make dinner :) cya in a bit22:06
wallyworldok22:06
jcw4|nomnomkatco: sorry22:24
=== jcw4|nomnom is now known as jcw4
jcw4I'll keep digging too22:25
katcojcw4: thx check out the lp bug, i added what info i had there22:27
jcw4katco: yep, just reading that now.  I'll update if I find anything more22:27
jcw4katco: you're probably gone but the issue was actually in the names package22:38
jcw4anyone around to give me a code review on https://github.com/juju/names/pull/29 ?22:59
jcw4its needed to fix a blocking bug in CI22:59
jcw4wallyworld: I figured out that bug that katco handed off to you.  Its a serialization issue23:26
jcw4wallyworld: I have a PR thats the first part of the fix for that https://github.com/juju/names/pull/2923:27
jcw4wallyworld: are you able to review that for me?23:27
wallyworldjcw4: great thanks, will do, just otp, will look real soon23:27
jcw4cool, ta23:27
wallyworldjcw4: reviewed. i'm surprised we haven't run across this before. i would have thought there would be other cases where we compose from unexported structs. maybe not23:54
jcw4wallyworld: I know23:54
jcw4wallyworld: also other Tags in the names package have unexported fields23:55
jcw4wallyworld: so my guess is they're not being serialized yet, even though we've decided to use Tags in the API instead of strings23:55
wallyworldjcw4: fields but not embedded structs23:55
jcw4wallyworld: right.23:56
wallyworldstupid gccgo i guess23:56
jcw4 hehe23:56
wallyworldjcw4: maybe you can add a comment to the code to explain why you needed to export it23:56
jcw4wallyworld: will do23:56

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