It worked! Thanks <div><br></div><div>--</div><div>Craig<br><br>On Wednesday, February 1, 2017, Pierre Tardy <<a href="mailto:tardyp@gmail.com">tardyp@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><a href="https://github.com/buildbot/buildbot/pull/2704" target="_blank">https://github.com/buildbot/<wbr>buildbot/pull/2704</a><br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le mer. 1 févr. 2017 à 11:07, Pierre Tardy <<a href="javascript:_e(%7B%7D,'cvml','tardyp@gmail.com');" target="_blank">tardyp@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>For some reason, on Python 3, it cannot consistently find othermodule,</div><div>because othermodule was not in the PYTHONPATH used when originally</div><div>starting buildbot.</div></div></blockquote></div></div><div dir="ltr"><div class="gmail_quote"><div>This one was quite interresting.</div><div>It looks like python3 added some optimization for the import method.</div><div>both tests are importing files from _trialtemp/configdir , but between the two tests, the list available modules actually change.</div><div>In the second test however, if you run from within the same python runtime, then python won't look again at the directory, and thus wont see it has changed since last time.</div><div>So it will not find the new module. If we change 'configdir' with mkstemp, then it will work.</div><div><br></div><div>I'll send a PR with a fix.</div></div></div><div dir="ltr"><div class="gmail_quote"><div><br></div><div>Pierre</div></div></div></blockquote></div>
</blockquote></div>