/srv/irclogs.ubuntu.com/2016/10/28/#juju-dev.txt

menn0wallyworld: verbose test output https://github.com/juju/juju/pull/651400:15
wallyworldlooking00:29
wallyworldmenn0: i would even love a make arg to add gocheck.vv00:30
wallyworldso that we can diagnose better hung individual tests00:30
wallyworldbut the change as submitted looks good00:30
menn0wallyworld: agreed but -check.vv makes things a bit hard to follow though00:45
wallyworldmenn0: yeah, i ws thinking of it as a maek arg so that it was off by default00:46
menn0wallyworld: interestingly, we already have per package test timings00:59
menn0wallyworld: it varies a lot. for run-unit-tests-xenial-amd64 I've seen the state package tests take anywhere from 11mins to 19.2 mins.00:59
menn0wallyworld: maybe we just need to bump the timeout01:00
wallyworldmaybe yeah01:00
anastasiamacbumping timeout is kind of like sweeping under the rag... is there really no way we can shorten the time the tests run?01:04
anastasiamacrug*01:04
menn0anastasiamac: thumper fixed a bunch of unnecessarily long running tests in state recently01:11
menn0anastasiamac: I don't think there's much low hanging fruit left01:11
menn0anastasiamac: we keep adding functionality and tests so the test time keeps increasing01:12
axwmenn0: FWIW, in the prometheus metrics I'm gathering from my azure env I can see the effects of periodic txnpruner in terms of deletion ops going up every 2 hours, but there's no corresponding spike in CPU in jujud01:12
menn0anastasiamac: it also seems like the test run time is highly variable in the virtualized environments in which we run the tests01:12
anastasiamacmenn0: i c... so based on the times u've put ^^, what timeout r u thinking? 25min?01:12
axwbut then I'm not seeing CPU spikes in my env at all01:13
menn0axw: ok, so it's probably not that01:13
axwmenn0: I'm going to try hammering the disk to see if it triggers01:14
menn0axw: did you manage to have a look at the logs for the system that is seeing the problem? i.e. is the pruner running for long periods there?01:14
axwmenn0: I think the log level was set to WARNING, I'll have another look01:14
axwmenn0: yeah, set to the default of <root>=WARNING01:15
anastasiamacmenn0: i have a tiny question but it may need context, could u HO or prefer IRC?01:16
menn0anastasiamac: i'm easy01:17
anastasiamacin standup?01:18
menn0anastasiamac: ok01:18
wallyworlddamn, roofing guys caused my power to drop out. hopefully back now for  bit01:39
wallyworldanastasiamac: it's not necessarily sweeping under rug. if there are X tests and each test takes Y time, then the tests will take X*Y to run. there's not much we can do about mgo startup time etc. of couse we can tune tests, but there's only so much that can be done01:40
natefinchIIRC, Gustavo said we were doing something stupid with mongo - restarting it for every test or something.  Probably unavoidable per package, but maybe worth looking into to make sure that we're not restarting it for every test?01:43
wallyworldi *think* someone did look at that. not retarting has other issues, eg test isolation01:45
wallyworldnot sure of the final outcome there01:45
natefinchheh, I'm running the tests serially to get nicely ordered output and whoo boy, they take a lot longer that way02:20
natefinch35 minutes so far.... 35 minutes so far, and usually it's like... I dunno, 15ish?02:21
natefinchheh: 44m31.434s02:34
anastasiamacmenn0: wallyworld how relevant is this to us now, with new logging/rsyslog in 2.0? https://bugs.launchpad.net/juju/+bug/156208802:42
mupBug #1562088: flexible /etc/rsyslogd.d/25-juju.conf configuration <canonical-bootstack> <juju:Triaged> <https://launchpad.net/bugs/1562088>02:42
menn0anastasiamac: it's not. 1.25 only02:47
anastasiamacnatefinch: \(ˆ˚ˆ)/02:54
anastasiamacnatefinch: or even better ヽ(´o`;02:54
anastasiamacmenn0: tyvm02:56
natefinchPASS: bakerystorage_test.go:72: BakeryStorageSuite.TestExpiryTime58.037s03:10
natefinchthat's one test03:10
natefinchPASS: syslog_test.go:220: syslogSuite.TestConfigChange31.715s03:10
natefinchPASS: syslog_test.go:193: syslogSuite.TestLogRecordForwarded31.731s03:10
natefinchPASS: local_test.go:547: localServerSuite.TestStopInstanceSecurityGroupNotDeleted29.046s03:10
menn0natefinch: ouch03:17
menn0natefinch: we should get that one fixed :)03:17
* menn0 is EOW03:17
=== Guest91977 is now known as ahasenack
=== ahasenack is now known as Guest60864
=== Guest60864 is now known as ahasenack
=== ahasenack is now known as Guest42345
=== Spads_ is now known as Spads
dimiternrick_h_: ping13:01
rick_h_dimitern: pong13:01
dimiternrick_h_: do you have a few minutes for a quick HO?13:01
rick_h_dimitern: otp atm, will have time possiblly before standup or right after13:01
dimiternrick_h_: sure13:02
abentleyballoons: So our candidate for 2.02 is  8fcc982d ?13:10
abentleyballoons: I mean 2.0.113:11
rick_h_dimitern: free if you want to chat13:33
dimiternrick_h_: ok, joining standup HO13:34
rick_h_dimitern: rgr omw13:34
voidspacemgz: ping13:47
mgzvoidspace: yo13:47
rick_h_dimitern: voidspace natefinch mgz dooferlad ping for standup14:00
mgzomw14:00
voidspacerick_h_: omw14:01
katconatefinch: funny you should send that email out re. tests. i had a test fail bc "`exec /usr/bin/mongod` file not found". i was sad for a bit14:06
katcoand begrudgingly installed mongo =|14:06
natefinchhaha14:07
natefinchso sad that our "unit" tests depend on installing mongo14:07
katconatefinch: well beyond that... why are we trying to *start* mongo by just running the binary if it's not running? just fail and let the user maintain a semblance of control over their machine14:08
natefinchkatco: good point14:08
mgznatefinch: basically, sent message to list just now about ssh from windows client14:22
mgzatm my fix uses github.com/andybalholm/crlf to wrap stdin14:23
mgzwhich is probably not enough code to be bothered importing (not even sure I want the golang.org/x/text dep)14:24
mgzwondered if you'd come across a modern go idiomatic method of translating newlines14:25
natefinchmgz: you can do it pretty easily with just a io.reader wrapper... the naive implementation might be slightly worse performance-wise than that implementation, but this isn't something we're using to read hundreds of megabytes either14:28
natefinchI'll make an example, one sec14:29
mgznatefinch: ta14:29
natefinchmgz: https://play.golang.org/p/aS3IFXBgdl14:38
mgznatefinch: thanks!14:40
* rick_h_ goes to family lunch15:27
=== lazyPowe_ is now known as lazyPower
rediralexisb: ping15:45
alexisbheya redir16:14
alexisbI am going to go drop off kiddo16:14
alexisbbut will ping when I am back16:15
=== Guest42345 is now known as ahasenack
=== ahasenack is now known as Guest79971
=== freyes__ is now known as freyes
alexisbredir, ping17:33
redirpong17:33
* redir heads out for a bit.19:57

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