/srv/irclogs.ubuntu.com/2015/04/21/#juju-dev.txt

=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
menn0thumper, cherylj: http://reviews.vapour.ws/r/1457/03:24
* thumper looks03:25
menn0thumper: next PR will hook up bufferedLogWriter to the logsender worker and get these running inside the unit and machine agents03:26
* thumper nods03:26
=== kadams54 is now known as kadams54-away
menn0thumper: chat?04:16
thumpermenn0: sure04:16
menn0thumper: which hangout?04:16
thumpermeh04:16
thumperstandup04:16
menn0kk04:16
mattywmorning all07:22
dimiternmorning07:26
dimiterndooferlad, happy birthday! :)07:26
dooferladdimitern: :-)07:26
TheMuemorning o/08:04
TheMuedooferlad: oh, what do I see? happy birthday!08:05
TheMuewow, April is always special, 5 to 6 birthdays per week, including our little daughter08:06
mattywgsamfira, ping?09:58
gsamfira mattyw: pong\10:02
mattywgsamfira, hey there - was good seeing you last week, couple of questions...10:03
gsamfiramattyw: it was :D. Hope to do it son again :D10:03
gsamfiramattyw: sure thing, shoot10:03
mattywgsamfira, 1. In one of the cloudbase talks there was a mention of common problems in unit tests, and one of them was "The process cannot access the file because it is being used by another process". And there was a statement about the pattern that usually leads to it. Can you remember what that was?10:04
gsamfirayup10:04
gsamfiraits opening a file for writing, defering the close and then movinf the file10:04
gsamfira:)10:04
gsamfirasomething like fd, err := os.Open("file"); defer fd.close; os.Move(fd.Name(), "/tmp/bla")10:05
gsamfirathat usually blows up on windows10:05
gsamfiramattyw: simple way to get around it is to simply close the file before trying to delete or move it10:06
mattywgsamfira, ok cool, I'll see if I can fix some of those this week10:06
mattywgsamfira, question 2. Have you ever considered making a chocolately package for juju?10:07
gsamfiramattyw: huh...good idea :D10:07
mattywgsamfira, I'll add that to my list as well :)10:07
mattywgsamfira, no more questions for now :)10:08
gsamfiramattyw: there are some tests that try to do cleanup by simply doing a defer os.Remove("target"). Those can be replaced with defer func() { fd.Close(); os.Remove(fd.Name())}()10:09
gsamfiraif those are the ones you plan to fix10:09
gsamfirathen that would drasticly reduce the leftovers in $env:TMP10:09
gsamfira:D10:09
mattywgsamfira, there are a number in apiserver that fail that way I think so I was hoping to make time to take a look at those this week10:10
gsamfiramattyw: hmm. This must have happened in some recent commit. I did a merge on friday that fixed tests on windows again :)10:11
mattywgsamfira, ah - I have a branch from friday morning, I'll check again10:11
gsamfiramattyw: https://github.com/juju/juju/commit/34313b849aee8cfed333df1d02ccdb7e0cc32f58 <-- this should pass :)\10:13
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
mattywgsamfira, yep, tests look good :)12:11
mattyw(I ran them ages ago but totally forgot)12:11
gsamfiramattyw: sweet! now we need to make them less flaky and finally run them in parallel to the ubuntu ones in the CI :P12:12
mattywgsamfira, is mgz taking that on?12:12
gsamfiramattyw: yup. And we will help wherever we can :)12:12
jamdimitern: reviewed your patch12:12
dimiternjam, thanks!12:17
mupBug #1446608 was opened: agent panic on MAAS network with uppercase characters <cloud-installer> <landscape> <juju-core:New> <https://launchpad.net/bugs/1446608>12:23
=== kadams54-away is now known as kadams54
mgzmattyw: I sent mail about windows tests - there are a couple of metering suite failures that aren't immediately obvious to me13:26
mattywmgz, I just saw that - thanks very much. I'll take a look at those now13:26
mattywmgz, this on master?13:27
mgzmattyw: yup, windows tests on master only13:27
mattywmgz, I'll take a look at the meterstatus one13:28
mattywmgz, the rest we need someone who knows more13:28
mgzmattyw: yeah, I got 'em13:28
mupBug #1394755 changed: juju ensure-availability should be able to target existing machines <cloud-installer> <ha> <landscape> <juju-core:Fix Released by natefinch> <juju-core 1.23:Fix Released by natefinch> <https://launchpad.net/bugs/1394755>13:35
mupBug #1430340 changed: Failing to create tempdir in tests on windows <test-failure> <windows> <juju-core:Fix Released by gabriel-samfira> <https://launchpad.net/bugs/1430340>13:35
mupBug #1432652 changed: upgrade_test.go: TestLoginsDuringUpgrade failing due to "upgrade in progress" <ci> <ppc64el> <test-failure> <unit-tests> <juju-core:Fix Released by menno.smits> <https://launchpad.net/bugs/1432652>13:35
mupBug #1435152 changed: Can't deploy local charm in non-server environment <juju-core:Fix Released by waigani> <juju-core 1.23:Fix Released by waigani> <https://launchpad.net/bugs/1435152>13:35
mupBug #1438683 changed: Containers stuck allocating, interface not up <add-machine> <cloud-installer> <landscape> <maas-provider> <network> <juju-core:Fix Released by mfoord> <juju-core 1.23:Fix Released by mfoord> <juju-core trunk:Fix Released by mfoord> <https://launchpad.net/bugs/1438683>13:35
mupBug #1439364 changed: error in logs: environment does not support networking <logging> <network> <juju-core:Fix Released by mfoord> <juju-core 1.23:Fix Released by mfoord> <https://launchpad.net/bugs/1439364>13:35
mupBug #1439447 changed: tools download in cloud-init should not go through http[s]_proxy <cloud-installer> <landscape> <juju-core:Fix Released by cherylj> <juju-core 1.23:Fix Released by cherylj> <https://launchpad.net/bugs/1439447>13:35
mupBug #1443440 changed: 1.23-beta4 sporadically fails autotests <local-provider> <mongodb> <systemd> <ubuntu-engineering> <vivid> <juju-core:Fix Released by menno.smits> <juju-core 1.23:Fix Released by menno.smits> <https://launchpad.net/bugs/1443440>13:36
mupBug #1443541 changed: juju 1.23b4 vivid panic: runtime error: invalid memory address or nil pointer dereference <openstack> <uosci> <juju-core:Fix Released by ericsnowcurrently> <juju-core 1.23:Fix Released by ericsnowcurrently> <https://launchpad.net/bugs/1443541>13:36
mupBug #1443904 changed: Apache-licensed code has been borrowed with violation of license requirements <packaging> <tech-debt> <juju-core:Fix Released by wallyworld> <juju-core 1.23:Fix Released by wallyworld> <https://launchpad.net/bugs/1443904>13:36
sinzuidimitern, how goes the container addressability feature flag?13:41
dimiternsinzui, it's being tested - so far, so good13:42
sinzui:)13:42
dimiternsinzui, I'll most likely land it in a couple of hours - I have a review and a few things to fix first13:42
sinzuidimitern, understood. I am going to turn off CI so that it doesn't start testing something ahead of you.13:43
dimiternthanks sinzui13:43
mupBug #1426461 changed: Some service.Service methods should return an error <tech-debt> <juju-core:Fix Released by ericsnowcurrently> <https://launchpad.net/bugs/1426461>13:48
mupBug #1446662 was opened: Vivid bootstrap and destroy-environment intermittently fails <bootstrap> <destroy-environment> <golang> <vivid> <juju-core:In Progress by gz> <juju-core 1.23:Fix Committed by gz> <https://launchpad.net/bugs/1446662>13:48
=== urulama_ is now known as urulama
mupBug #1351099 changed: WARNING juju.worker.uniter.charm git_deployer.go:200 no current staging repo <cloud-installer> <landscape> <logging> <usability> <juju-core:Fix Released by davidpbritton> <https://launchpad.net/bugs/1351099>14:12
mupBug #1414424 changed: envStateCollection FindId and RemveId don't filter on env-uuid field <juju-core:Fix Released by waigani> <https://launchpad.net/bugs/1414424>14:12
mupBug #1422791 changed: DestroyEnvironment does not remove entry from envusers <destroy-environment> <users> <juju-core:Fix Released by waigani> <https://launchpad.net/bugs/1422791>14:12
cheryljHey core team, join the bootstack / core call if you can.15:02
cheryljcmars, dimitern, TheMue ^^15:03
TheMuecherylj: yup15:03
dimiterncherylj, I won't manage, sorry :/15:03
TheMuecherylj: hmmmpf, do you see me moving? FF says it's freezed15:17
cheryljTheMue: Yes, I do15:17
TheMuecherylj: fine, and I can at least hear you15:17
lazyPowero/ I have a question about the enhanced service-status code thats coming... will we get something on the node itself like "unit-get status" to determine the overall status of the service being deployed? or are we relying on hook context to determine the status as we have in the past.16:00
alexisblazyPower, can you send a note to fwereade16:21
lazyPowerwill do16:21
alexisbI need a volunteer for this bug: https://bugs.launchpad.net/juju-core/+bug/144182616:31
mupBug #1441826: deployer and quickstart are broken in 1.24-alpha1 <api> <ci> <deployer> <quickstart> <regression> <juju-ci-tools:Triaged> <juju-core:Triaged> <https://launchpad.net/bugs/1441826>16:31
mupBug #1444354 changed: juju backups includes previous backups in saved file <backup-restore> <juju-core:Fix Released> <https://launchpad.net/bugs/1444354>17:33
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== JoshStrobl is now known as Josh|MakingFood
=== kadams54 is now known as kadams54-away
=== Josh|MakingFood is now known as JoshStrobl
sinzuicmars: juju-ci is failing because git.apache.org/thrift does not exist. I think I need to force this test to pass or not vote so that we can release 1.23.119:41
alexisbsinzui, cmars is out19:44
alexisbforce the non vote19:44
sinzuialexisb, looks like bad server on their side. I cannot get it either.19:45
=== kadams54-away is now known as kadams54
stokachuwhat's the recommended way to pull the current api state? i used to use juju.NewConnFromName19:53
stokachuit looks like NewAPIClient and NewAPIRoot gives me access to the api state, is that the new recommended way?19:54
stokachuapi state + api client19:54
alexisbstokachu, sorry missed your questions earlier20:42
alexisbstokachu, can you send your question to juju-dev mailing list20:43
alexisbstokachu, we still have many folks out on swap days20:43
stokachualexisb: ah ok, its not urgent just some exploritory work im doing in the juju internals20:51
lazyPowero/ can someone point me in the right direction as to what i'm doing incorrectly thats spawning 'no unit id'21:01
lazyPowerhttp://paste.ubuntu.com/10863354/21:01
alexisbthumper, ericsnow, perrito666 others who might be online ^^^21:04
lazyPowerthe intention is getting/sending variables out of band of the hook context in which its intended. "such as i have networking config updated, and i need to transmit over the networking relationship between hosts"21:05
ericsnowlazyPower: relation-get -r <rel id> <key> <unit id>21:07
ericsnowlazyPower: looks like you are missing the unit ID21:07
lazyPowerroot@juju-lazyp-canonistack-machine-9:/var/lib/juju/agents/unit-docker-0/charm# relation-get private-address -r 19 flannel-docker/021:08
lazyPower10.55.61.18521:08
lazyPoweroi21:08
lazyPowerok i see *why* it has to be scoped that way though, so far i've only relation-set out of band. Thanks for the rundown ericsnow21:08
ericsnowlazyPower: np :)21:09
mupBug #1446857 was opened: MeterStatusWatcher tests fail on windows test slave <ci> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1446857>21:15
=== kadams54 is now known as kadams54-away
mupBug #1446871 was opened: Unit hooks fail on windows if PATH is uppercase <ci> <hooks> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1446871>21:45
sinzuixwwt, alexisb and canonistack hates us. I will make the one failing non-voting because we have other tests in the substrate that passed an hour ago21:52
alexisbwallyworld_, thumper can someone review williams pull request from earlier today22:05
wallyworld_ok, will do soon22:05
alexisbwallyworld_, anastasiamac is up for all call reviewer, but I would like william to have what he needs in the morning22:06
alexisbwallyworld_, thanks22:06
wallyworld_sure, np22:06
=== kadams54-away is now known as kadams54
xwwtsinzui: ty for the update on that22:37
sinzuixwwt, we have a bless, I am waiting for all the assets to arrive to queue the release22:38
xwwtsinzui: cool.  ty for sticking with this22:38
mupBug #1446885 was opened: Skipped cmd/jujud/agent/upgrade_test.go tests on windows <skipped-test> <test-failure> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1446885>22:39
=== kadams54 is now known as kadams54-away
sinzuiwallyworld_, thumper : do either of you have a minute to review http://reviews.vapour.ws/r/1464/22:48
wallyworld_sure22:48
wallyworld_sinzui: +122:48
mgzocr: http://reviews.vapour.ws/r/146322:50
sinzuimgz: I have ci paused. I can wait a few hours for your current branch23:06
mgzsinzui: for trunk? sounds good, I have one more test script change to work around a bunch of uniter failures23:07
sinzuimgz, yes trunk. I don't want to test 1.23 again given how unwell joyent, aws, and canonistack at this hour23:08
wallyworld_thumper: i've updated http://reviews.vapour.ws/r/1440 if you could take another look that would be great23:56

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