/srv/irclogs.ubuntu.com/2015/10/20/#juju-dev.txt

davecheneythumper: i figured out the final test failure on my branch00:48
davecheneyhere is a hint00:48
davecheneylucky(~/src/github.com/juju/juju) % jujud version00:48
davecheney1.26-alpha100:48
davecheneycherylj: thumper do you know if we have a test for "juju version"00:52
davecheneyor "jujud version"00:52
davecheneyi suspect that we do not00:53
thumperum... wat?00:55
thumperoh00:55
thumperI see that both juju version and jujud version are fully qualified with series and arch00:56
davechen1ythumper: https://github.com/juju/cmd/pull/2401:32
davechen1ylittle one for you01:32
* thumper looks01:32
thumperLGTM01:33
davechen1ythumper: ta01:36
davechen1ythumper: https://github.com/juju/juju/pull/354501:41
davechen1ycomplimentary change in juju/juju01:42
thumpershipit01:42
davechen1ythumper: do you know if the version subcommand is sahred between cmd/juju and cmd/jujud01:43
davechen1ytryign to figure out where it is registered is a bugger01:43
davechen1yi'm trying to figure out if i need to add more tests01:43
davechen1yor if there is only one place version is created01:43
thumperthe version is passed in when the primary super command is created01:44
* thumper double checks01:44
* thumper gets a bad feeling01:45
davechen1ydo tell01:47
* thumper cries 01:52
* thumper adds another item to the shit list01:52
thumperdavechen1y: I'm actually tring to find out where the version is hooked into the juju cmd01:53
thumperand it isn't obvious01:53
davechen1yit is not01:53
davechen1ythis is the bug blocking landing the versin.Current branch01:53
davechen1ya lot of code relies on the output of 'jujud version'01:53
davechen1ybeing specific form01:53
davechen1yplease assign me the tech debt card01:54
davechen1yi'l fix it01:54
thumperthe tech debt card is a different one, cmd/juju/commands badrun func needs to die01:56
thumperah ha01:57
thumpercmd/supercommand.go01:57
thumperthat is where the version string is added01:58
thumperdavechen1y: and that file has the run notifier too01:58
thumperdavechen1y: if I have a select block where some of the values are channels and others are functions that return channels, will all the functions get executed?02:00
thumperor does it depend?02:00
thumperdavechen1y: your stress.sh helper seems to indicate that it will always be called02:01
davechen1yselection happens in two phases02:04
davechen1y1. all expressions are evaluated, returning channels that may be selectable02:05
davechen1y2. the other stuff02:05
davechen1yso if you ahve02:05
davechen1ycase <- c:02:05
davechen1ycase <- f():02:05
davechen1ythen f() will be evaluated02:05
davechen1ythat phase happens in order, from top to bottom02:05
davechen1yso case <- a():02:05
davechen1ycase <- b():02:05
davechen1ya() will be evalusted, then b()02:05
thumperok02:06
thumpermy test adds a marker when the func is called, and returns a channel02:06
thumperjust making sure that the func is always called before channels checked02:06
thumperthis is good02:06
thumpermakes for a stable test :)02:06
davechen1yalways called, and always in the same order02:07
thumpercoolio02:08
davechen1ythanks for the supercmd tip02:08
davechen1yi'll make sure we're testing the expected output there02:08
thumperthe juju/juju/cmd/supercommand.go just passes in the string02:14
thumperto use as the version02:14
thumperthis is just echoed from the juju/cmd package02:15
thumperwhen someone uses the version command02:15
axwwallyworld: is there a bug for tests failing on wily?02:17
axwwallyworld: (I can look if you don't know off the top of your head ...)02:19
thumperaxw: not sure if there is a bug, but there are two causes that leap to mind02:45
thumper1. errors changing text and our tests are too strict02:45
thumper2. scheduling changes bringout out timing related errors02:46
thumperbringing02:46
axwthumper: ok, thanks02:46
axwrunning a wily container now to run the tests02:46
* thumper thinks02:46
thumperin the past, I think there were other problems attempting to run the unit tests in containers02:47
thumpernot sure what it was though02:47
thumpernor sure if they are still there02:47
axwthumper: AFAIK they were all timing related02:48
axwwill find out shortly :)02:48
thumper:)02:48
davechen1y... mismatch at ["services"]["mysql"]: length mismatch, 4 vs 5; obtained map[interface {}]interface {}{"charm":"local:quantal/mysql-1", "exposed":false, "relations":map[03:06
davechen1yinterface {}]interface {}{"server":[]interface {}{"wordpress"}}, "units":map[interface {}]interface {}{"mysql/0":map[interface {}]interface {}{"agent-state":"allocating"03:06
davechen1y, "machine":"1"}}}; expected map[interface {}]interface {}{"relations":map[interface {}]interface {}{"server":[]interface {}{"wordpress"}}, "service-status":map[interfac03:06
davechen1ye {}]interface {}{}, "units":map[interface {}]interface {}{"mysql/0":map[interface {}]interface {}{"agent-state":"allocating", "agent-status":map[interface {}]interface03:06
davechen1y{}{}, "machine":"1", "workload-status":map[interface {}]interface {}{}}}, "charm":"local:quantal/mysql-1", "exposed":false}03:06
davechen1yany ideas ?03:06
davechen1yfor some reason updaing github.com/juju/cmd causes this test to fail because there is an additional status element03:06
davechen1yOH FUCKING FUCK03:37
davechen1yhttps://github.com/juju/cmd/commit/2933b3ffd9116713d6da61494cdc789889100cb703:37
davechen1yyaml.v1 and yaml.v2 treat these structs differently03:37
davechen1ythumper: https://github.com/juju/cmd/pull/2503:39
thumper:(03:40
axwthumper: I dunno if someone already fixed the issues, but tests run fine on master with wily in an LXC container03:41
thumperaxw: well that is good03:41
axwwallyworld_: ^^03:41
thumperI still get failures running locally on trusty with 1.503:41
wallyworld_hmmm03:41
axwthumper: FWIW I was using go 1.5 from the golang-go package03:42
davechen1ythumper: tests do not pass under Go 1.503:42
davechen1ypeergrouper is still a shitshow03:42
thumperaxw: you may want to retry the peergrouper tests03:42
axwdavechen1y: does for me - perhaps more frequent failures though?03:42
wallyworld_axw: i was only going by what curtis told me03:42
thumpersometimes they pass, sometimes not03:42
davechen1yaxw: 100% failure rate across amd64, ppc64 and arm6403:42
davechen1ythumper: http://reviews.vapour.ws/r/2945/03:43
davechen1yplease, it's quite urgent as it is blocking me03:43
axwdavechen1y: definitely not 100% for me. I'm using 1.5 and it passes.03:43
thumperdavechen1y: :-( what is so different between v2 and v1?03:43
davechen1ythumper: they handle empty fields differently03:44
thumperugh03:44
wallyworld_axw: could you look at the jenkins job and see what failures there are there compared with your test run?03:44
davechen1yhttp://juju-ci.vapour.ws:8080/job/github-merge-juju/5150/console03:44
davechen1ywe can try again later03:44
axwwallyworld_: sure03:45
wallyworld_ty03:45
davechen1yi'll put it on my list to take over the transition from mgz03:45
davechen1ythumper: http://juju-ci.vapour.ws:8080/job/github-merge-juju/5150/console03:45
thumperdavechen1y: ack, back to v1, when we move juju/juju to v2, we can fix the tests03:47
davechen1ythumper: ta03:51
davechen1ythumper: how's that tech debt backlog ?03:52
thumpergrowing03:52
thumperdavechen1y: https://canonical.leankit.com/Boards/View/116651667#workflow-view03:52
davechen1ylotta red03:53
thumper:)03:53
davechen1yhttps://github.com/juju/cmd/pull/2503:59
davechen1ycan someone submit this for me03:59
davechen1ybot has gone awol03:59
* thumper explodes04:05
davechen1ylanding bot has borke04:13
davechen1yhttp://juju-ci.vapour.ws:8080/job/github-merge-juju-cmd/5/console04:13
davechen1ywallyworld: can you kick the bot please04:21
davechen1yit's not picking up jobs anymore04:21
wallyworldall jobs or just yours?04:21
wallyworldit looks for a Build failed: message04:21
wallyworldotherwise it will ignore resubmits04:21
davechen1ywallyworld: it won't get that message04:22
davechen1y'cos it died04:22
davechen1ywallyworld: http://juju-ci.vapour.ws:8080/job/github-merge-juju-cmd/5/console04:22
wallyworldso manually type in "Build failed: foo" into gh comment on the pr04:22
davechen1y\o/04:22
davechen1ythanks for the tip04:22
wallyworldand then a subsequent $$merge$$ will trigger04:22
wallyworldi know it's sucky04:22
davechen1ymeh04:23
davechen1ythat works04:23
wallyworldyay04:23
davechen1yat least I can fix it myself04:23
davechen1ywithout having to nag you04:23
wallyworldsure :-)04:23
* thumper is done04:23
axwwallyworld: so it's possible for the peergrouper tests to error if the set of state server machines is non-empty... nfi how that would be the case. doesn't appear to be wily-specific, and I haven't been able to repro in my container04:55
axwwallyworld: I'll keep poking04:55
mupBug #1507867 opened: juju upgrade failures <canonical-bootstack> <upgrade-juju> <juju-core:Triaged> <https://launchpad.net/bugs/1507867>05:01
wallyworldaxw: thanks for looking into it - those peer grouper tests are horrid05:54
axwwallyworld: there's only one test that's using a real mongo connection in a meaningful way. I'm going to move that one to featuretests, and remove the remnants of JujuConnSuite from the others06:22
wallyworlddimitern: could you add any notes / progress to that bug so other folks can stay in the loop? maybe add in a sentence or 2 the solution with cidr that is being looked at?08:56
dimiternwallyworld, sure08:58
wallyworldty, you rock08:58
dimiternwallyworld, well it's my own mess to begin with ;/08:59
wallyworldour mess, we all own juju :-)08:59
dimitern:D that's better, yeah09:00
dooferladfrobware: hangout?09:02
frobwareomw09:02
wwitzel3ericsnow, katco`, natefinch: where did we fall on allowing you to pass register just the workload class name and ID, because as I write out these notes again, it feels really odd to be defining it in the metadata AND then passing all of that in on the command line14:46
ericsnowwwitzel3: I thought we were dropping the redundant CLI arg14:47
wwitzel3ericsnow: ok, current register doesn't do that it seems14:48
ericsnowwwitzel3: I may be wrong :)14:48
katco`wwitzel3: yeah we agreed on dropping it, but probably got lost in translation as the team was scrambling. it's fine for v114:48
katco`wwitzel3: we can change in v2 if necessary14:48
katco`wwitzel3: remember, mvp14:48
=== katco` is now known as katco
TheMuedimitern: thx14:55
cheryljdimitern: did you see my question about bug 1483879?14:56
mupBug #1483879: MAAS provider: terminate-machine --force or destroy-environment don't DHCP release container IPs <destroy-machine> <landscape> <maas-provider> <juju-core:Triaged> <juju-core 1.24:Triaged> <https://launchpad.net/bugs/1483879>14:56
dimiterncherylj, looking now15:04
dimiternoh ffs15:05
dimiternthis doesn't seem to be going anywhere15:05
dimiterncherylj, where's you comment?15:06
dimiternyour15:06
cherylji had sent you an email about it.  there was speculation that this had already been fixed15:07
cheryljWe'd like to target it for 1.25.015:07
dimiterncherylj, I believe it is indeed fixed15:08
dimiterncherylj, but there seems to be a communication breakdown somewhere between us and them :)15:08
cheryljDo you happen to know which commit(s) fixed it?15:08
mupBug #1508089 opened: `juju set keystone ...` caused `hook "config-changed" failed` <juju-core:New> <https://launchpad.net/bugs/1508089>15:12
dimiterncherylj, the linked PR - https://github.com/juju/juju/pull/254815:12
cheryljdimitern: Thanks!15:13
katcoericsnow: if master uses charm.v6-unstable, why don't we just forward-port the payload stuff from v5? why move it out?15:16
katcoericsnow: is that by design?15:16
ericsnowkatco: because workloads.go really doesn't belong in the charm repo15:17
katcoericsnow: gotcha15:17
katcoericsnow: are we doing the cleanup in the feature-payloads branch?15:27
ericsnowkatco: that's not quite clear to me15:28
ericsnowkatco: was going to tackle that as we got closer depending on where we stood on master15:28
katcoericsnow: the question or it's not clear what the answer is?15:28
ericsnowkatco: what the answer is :)15:29
katcoericsnow: i think it's fine since it's landed in 1.25. if we need to change anything there we can just branch off of 1.2515:29
katcoericsnow: maybe the only thing that gives me pause is how hard will it be to rebase the changes on top of master15:30
katcoericsnow: i'll try that first and see what we're looking at15:30
ericsnowkatco: I'd say wait on the rebase until after you take care of the charm/workloads.go thing15:31
ericsnowkatco: otherwise you won't be able to test the rebase15:31
katcoericsnow: how difficult it is to rebase determines where we do a new feature branch15:31
ericsnowkatco: k15:31
katcoericsnow: i.e. it's the difference between "start from master, pull in workload feature" or "start from 1.25 and rebase to master"15:32
lazypowerwwitzel3, ubuntu@xps13:~$ juju --version17:16
lazypower1.26-alpha1-trusty-amd64 - the 1.25 branch reports version as if it were trunk, is this intended behavior?17:16
=== lazypower is now known as lp|lunch
wwitzel3lp|lunch: not sure, does the same for me, so it is ok for what we are doing17:22
katcowwitzel3: lp|lunch don't think that is intentional17:24
mupBug #1508089 changed: `juju set keystone ...` caused `hook "config-changed" failed` <juju-core:Invalid> <keystone (Juju Charms Collection):New> <https://launchpad.net/bugs/1508089>17:57
=== lp|lunch is now known as lazyPower
lazyPowerack18:07
lazyPowerjust making sure its consistent. I went to verify that i had the proper docker bin built and i saw the 1.26 alpha - its not terribly alarming, just thought i'd ping about it18:07
lazyPowerer18:07
lazyPowerjuju bin18:07
* lazyPower has that other container thing on the brain18:07
alexisbthumper, I am going to steal some time w/ cherylj before we meet21:55
thumperk21:55
cheryljhey wallyworld, I'm going through the 1.25 bugs and came across this one which I'm not sure if we should bump the priority of to get into 1.25.0:  bug 146919323:32
mupBug #1469193: juju selects wrong address for API <kvm> <local-provider> <lxc> <network> <sts> <juju-core:Triaged> <https://launchpad.net/bugs/1469193>23:32
cheryljwallyworld: what do you think?23:32
wallyworldcherylj: give me 5 to look, just in standup23:33
cheryljwallyworld: np, I might be on kid duty in a few, but I'll check scrollback if I miss it23:35
wallyworldcherylj: that bug is symptomatic of a class of problem that is bad and that juju has had trouble with in the past. sapphire is looking at an issue now that was fallout from attempting to deal with this sort of thing.23:48
wallyworldbug 150786723:49
mupBug #1507867: juju upgrade failures <canonical-bootstack> <upgrade-juju> <juju-core:Triaged> <https://launchpad.net/bugs/1507867>23:49
wallyworldcherylj: so i'd personally like that bug you mentioned to be a 1.25 fix, if not 1.24. maybe it will be covered by the work sapphire is doing now to fix the 2nd bug above23:50

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