/srv/irclogs.ubuntu.com/2018/02/13/#juju-dev.txt

anastasiamacthumper, wallyworld: message clarity around creds mngmt, part 1 -https://github.com/juju/juju/pull/8363 :D PTAL \o/01:00
wallyworldanastasiamac: lgtm, yeah credential mgmt is confusing for people01:14
anastasiamacwallyworld: ta \o/01:19
=== thumper is now known as thumper-afk
anastasiamacwallyworld: as discussed, PR that filters out cloud cred tag from modelinfo unles u r model admin PTAL? https://github.com/juju/juju/pull/836403:50
wallyworldanastasiamac: sorry, was interviewing, lgtm04:16
anastasiamacjam: u and guild recently worked on upgrading mongo to 3.4(I guess .7 coz this is what m seeing)... m running featuretests on develop and m getting https://pastebin.ubuntu.com/p/FJHJx6RjVD/ ... after that all subsequent tests in the suite understandably panic... any idea wot's up?06:07
jamanastasiamac: it looks like our work on testing 3.4 was incomplete. I think it was a case of "we fixed the ones we knew about" but nobody kept running the suite against them (eric was running the suite, I was fixing). Anyway, I'll debug for a bit06:09
anastasiamacjam: sounds great! thnx! m a bit surprised that this featuretests package is not run as part of landing/CI since it's our basic sanity check that layers are glued correctly - from cmd to api to state06:11
jamanastasiamac: are you sure it isn't run? where did you get 3.4.7 from? Is it just that you're running Bionic?06:21
jamI'm pretty sure the bot isn't testing 3.406:21
anastasiamacjam: m running develop tests locally on my machine after doing a pull and dependencies re-run couple of hrs ago06:22
jamanastasiamac: sure. my point is that the bot could very well be running featuretests, just they don't fail with mongo 3.2 which is the one available on !bionic06:23
anastasiamacjam: u have no problems running featuretests on ur machine?06:23
anastasiamacah06:23
jamtesting now06:24
anastasiamacmayb it should then? since u r landing this code?... would b nice to have a stable development env, at least on  my machine... ;)06:24
jam(seeing if I can reproduce with a 3.4.X of mongo)06:24
anastasiamacthnx06:24
jamanastasiamac: dblogtest passes even with a mongod that should be 3.4.12, will keep trying to see if I can reproduce06:25
anastasiamacjam: it's debugLogDbSuite that fails06:25
jamanastasiamac: sure, but the entire dblog_test.go file just passed, still investigating06:26
anastasiamacjam: right, m running all tests in that directory, not isolated to a file... so maybe try 'go test -gocheck.v' within the directory?06:28
jamanastasiamac: I'm doing exactly that06:28
jamanastasiamac: does it fail every time for you?06:28
jamor just once in a while06:28
anastasiamacevery time06:28
anastasiamacjam: juts out of curiosity.. which go r u runing?06:31
jamgo test --check.v passed completely for featuretest for me.06:31
jamgo 1.9.4 from snap06:31
jamon Xenial06:31
jamand I'm grabbing the builds from Mongodb themselves, vs the bionic package, so its possible its a bionic thing. Though the error doesn't look specific to how it would be built06:32
jamah, its cause we're preferring /usr/lib/juju/bin06:32
jamanastasiamac: you *can* just do "apt install juju-mongodb3.2" if you want to work around this06:33
jamanastasiamac: so setting JUJU_MONGOD= to the correct 3.4 path did see the same failure you're seeing.06:35
anastasiamacjam: I would prefer not to *work* around this :) i'd rather this was fixed :)06:36
anastasiamacjam: m going to comment out this test (and others if any) locally to keep going... but we should address it, I *think*06:37
anastasiamacjam: thnx for confirming m not just seeing things \o/06:38
jamanastasiamac: so, we absolutely need to support mongo 3.4. I'm just saying that if this is the failure, it isn't just this test.06:38
jamanastasiamac: if you want a working environment, I'd recommend installing 3.2 which is what the bot is using06:38
jamuntil we finish supporting 3.406:38
anastasiamacjam: we r in violent agreement then06:38
anastasiamacthnx06:38
jamanastasiamac: given your recent changes to skip dying models, I'm guessing bug #1742699 should be fixed? it was causing CI fails from time to time06:40
mupBug #1742699: juju show-status fails during teardown <ci> <juju:Triaged> <https://launchpad.net/bugs/1742699>06:40
jamanastasiamac: so it seems that test does something nasty and resets how we're running the mongo db server, which then stays in that state for the rest of the tests...06:42
jamhm. theoretically not, as in TearDown it resets it, but I think the failure is probably that TearDown is broken because of the compat failure, and then it never runs the cleanup step06:43
anastasiamacjam: yes for the bug and ur theory on teardown seems to fit the symptoms...06:43
jamanastasiamac: https://github.com/juju/testing/pull/135/files07:16
=== thumper-afk is now known as thumper
jamits a change to the testing package, but seems to fix things here. can you test?07:16
jamanastasiamac: if it works for you, I'll propose an update to 2.3 based on it07:18
anastasiamacjam: the code looks good but i'll have to take it for the test run in part 2 of my day07:29
jamanastasiamac: you can just do "go test --check.v --check.f debugLogDb" to just test the one that was failing07:31
thumperugh...08:22
thumperbrain has stopped working08:22
thumperyay slides...08:22
thumperthat said, I'm increasingly happy with the content08:22
thumperlaters peeps08:22
=== salmankhan1 is now known as salmankhan
jamanyone care for a very small code review: https://github.com/juju/juju/pull/836813:55
jamanastasiamac: ^^ that brings in the patch to Juju itself13:55
jammanadart: externalreality ^^13:56
manadartjam: I can look.14:16
jamballoons: I have a PR that has been in "$$merge$$" for 2 hrs with no comment from the bot16:49
jamhttps://github.com/juju/juju/pull/836816:49
wpkjam: second time is a charm apparently17:03
jamwpk: its also possible the bot has decided it doesn't like me for some reason18:05
jamwpk: thanks18:05
mupBug #1749272 opened: Adding existing subnets to space fails <juju-core:New> <https://launchpad.net/bugs/1749272>19:09
thumpermorning team20:08
wpkevening boss20:15
thumperwpk: oh hai21:27
thumperwpk: still hanging around?21:27
wpkthumper: for a moment but yes21:41
wpkthumper: final mailcheck21:41
thumperall good, we can chat another tiem21:41
babbageclunkthumper: with manifold output funcs, can we assume that they won't be called before start returns?21:52
wpkthumper: if that's something light and not requiring lots of thinking then I'm open21:57
thumperwpk: nah, we're all good at the moment, been on calls, so very async22:12

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