<div dir="ltr">On 22 April 2013 18:02, Daniel Dunbar <span dir="ltr"><<a href="mailto:daniel@zuster.org" target="_blank">daniel@zuster.org</a>></span> wrote:<br><div class="gmail_extra"><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><span style="color:rgb(34,34,34)">Ok, so we are already downloading from a private server (</span><a href="http://lab.llvm.org" target="_blank">lab.llvm.org</a><span style="color:rgb(34,34,34)">), which IMHO we should be doing because we want tight control over the dependencies etc.</span></div>

</div></blockquote><div><br></div><div>Agreed.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
<span style="color:rgb(34,34,34)">I forgot that your machine is outside the lab, so that may be involved here. I don't fully understand the networking setup but it is very different outside vs inside. That said, I ran some timings from our network here to </span><a href="http://lab.llvm.org" target="_blank">lab.llvm.org</a><span style="color:rgb(34,34,34)">, and I couldn't reproduce any connectivity issues from here.</span></div>

</div></blockquote><div><br></div><div>By the same time you replied I found out that there were networking issues in our lab, so it's probably our fault. Sorry for the noise. :(</div><div><br></div><div>In theory, it should be fixed, so let's wait until tomorrow and I'll follow the bot closely to see if there's any problem.</div>

<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="color:rgb(34,34,34)">Renato, can you try running some testing on your side to quantify where the connectivity issue is? Things like:</span><br>

</div><div class="gmail_extra"><div class="gmail_quote"><div>$ ab -c 3 -n 100 <a href="http://lab.llvm.org/packages/SQLAlchemy-0.6.6.tar.gz" target="_blank">http://lab.llvm.org/packages/SQLAlchemy-0.6.6.tar.gz</a><br>
</div><div><div>work fine from here.</div></div></div></div></div></blockquote><div><br></div><div style>Works on our lab, too. That is, now...</div><div style><br></div><div><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_extra"><div class="gmail_quote"><div><div>That said, it *would* be nice to harden this code against that failure mode -- one reasonable way would be to have the buildbot slave mirror the packages directory locally (using rsync or so) and do the install from there. We can make the rsync command not cause a buildbot failure, since we rarely change the packages. Any interest in making these changes to the buildbot config?<br>

</div></div></div></div></div></blockquote><div></div></div><br></div><div class="gmail_extra">I wonder if the Python code that downloads it doesn't already provide a mechanism to cache the files. I don't think we need an external rsync, just save the temporary files on /tmp and retrieve from there on failure to resolve the external host. A warning would probably be in order.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I can have a look at the script. Would be great if you could tell me where I can find the basic stuff. ;)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">cheers,</div><div class="gmail_extra">--renato</div></div>