/srv/irclogs.ubuntu.com/2017/12/19/#launchpad-dev.txt

=== frankban|afk is now known as frankban
* cjwatson crosses fingers and sends virtualenv-pip to PQM10:22
cjwatsonAlso have now diverged lp-source-dependencies git, so make sure to have switched to that10:23
cjwatsonfirst buildbot run with pip predictably taking forever ...10:34
cjwatson(it's populating its wheel cache)10:34
cjwatson... well, it built, at least ...10:39
* wgrant finds the fireworks10:40
wgrantoh no fireworks yet, sad10:40
cjwatsonI don't think I've seen that lp.codehosting.codeimport.tests.test_worker.TestBzrSvnImport.test_stacked error before10:44
wgrantIndeed10:44
wgrantIt's a bit odd.10:44
cjwatsonnot obviously anything to do with pip, but ...10:44
wgrantBut I built the tree in a couple of containers and ran the full test suite a few times locally10:44
wgrantAnd I assume you did too10:45
cjwatsonYeah10:45
cjwatsonCould be something wrong with subvertpy, I suppose, but not sure why it'd only show on buildbot10:47
cjwatsonhmm, what, this test fails in isolation locally too10:53
cjwatsonmaybe it has an implicit dependency on something else having run first?10:53
cjwatsonyeah, if I run all of TestBzrSvnImport, it passes; if I run TestBzrSvnImport.test_stacked alone, it fails10:54
wgrantAha10:54
cjwatsonat least that's the less hideously painful way round for test isolation bugs to manifest10:54
cjwatsonreminds me slightly of the bzrlib.plugins.git.cache thing10:57
cjwatsonwgrant: This is actually much more interesting than expected11:52
wgrantcjwatson: oh ho?11:53
cjwatsonTracing it through, lp.codehosting is being imported from sitecustomize, which is apparently early enough that sys.getfilesystemencoding returns None, which causes bzrlib.i18n.load_plugin_translations to fail11:53
cjwatsonSo the svn plugin doesn't necessarily get correctly installed11:54
wgrantAnd the test requires it be in Swahili?11:54
wgrantOr does the load_plugin_translations failure actually break more interesting things silently?11:54
cjwatsonIt causes bzrplugins/svn/__init__.py to silently fail part-way through11:54
wgrantAh, helpful.11:55
cjwatsonSpecifically, before it gets round to installing its prober11:55
cjwatsonwgrant: https://code.launchpad.net/~cjwatson/launchpad/avoid-importing-bzr-plugins-from-site/+merge/335379 ?13:15
cjwatsonpasses that individual test, that test suite, and all of lp.code.model.tests13:24
cjwatsonI haven't done a full run but it should be OK13:24
cjwatsonHmm, idle.  I think I'll self-review and go ahead with that; the test suite should catch anything overly interesting here13:34
cjwatsonsubsequent pip runs on buildbot indeed quite a bit faster13:38
cjwatsonStill not quite right - need to adjust how bzr subprocesses are run, I think.14:09
cjwatsonOK, I think it just needed a subvertpy wheel built against precise (ugh, but the proper fix isn't in a released version of subvertpy yet)15:10
cjwatsonyay, it passed16:55
cjwatson... and qastaging has updated successfully17:26
=== frankban is now known as frankban|afk
wgrantNice23:20

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