<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Apr 2, 2018 at 5:55 PM Ben Coman <<a href="mailto:btc@openinworld.com">btc@openinworld.com</a>> wrote:<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">On 2 April 2018 at 20:32, Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>></span> wrote:<br></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr"><div><div>Hi all,<br></div>I wanted to solve the gcc compiler bug for pharo.sista.spur.<br><br></div>But of course, there were another failure due to fragile infrastructure...<br><a href="https://ci.appveyor.com/project/OpenSmalltalk/vm/build/1.0.1207/job/dd3lnytbwb5jjlqa" target="_blank">https://ci.appveyor.com/project/OpenSmalltalk/vm/build/1.0.1207/job/dd3lnytbwb5jjlqa</a><br><br><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L4" title="00:01:27"><span><span>Running Install scripts</span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L5" title="00:01:27"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L5" title="00:01:27"><span><span></span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11">Start-FileDownload "<a href="http://cygwin.com/setup-x86.exe" target="_blank">http://cygwin.com/setup-x86.exe</a>" -FileName "setup-x86.exe"</span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L6" title="00:01:50"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L6" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11"></span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">Start-FileDownloadInternal : Error downloading remote file: One or more errors occurred.</span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L7" title="00:01:50"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L7" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">Inner Exception: Unable to connect to the remote server</span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L8" title="00:01:50"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L8" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">At C:\Program Files\AppVeyor\BuildAgent\Modules\build-worker-api\build-worker-api.psm1:242 char:2</span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L9" title="00:01:50"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L9" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">+     Start-FileDownloadInternal -Url $Url -FileName $FileName -Timeout ...</span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L10" title="00:01:50"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L10" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L11" title="00:01:50"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L11" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">    + CategoryInfo          : NotSpecified: (:) [Start-FileDownloadInternal], Exception</span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L12" title="00:01:50"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L12" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">    + FullyQualifiedErrorId : System.Exception,Appveyor.BuildAgent.Api.Utils.StartFileDownloadInternalCmdlet</span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L13" title="00:01:50"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L13" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12"> </span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L14" title="00:01:50"></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L14" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12"></span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11"><br></span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L14" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11">We depend on volatile URL...<br></span></span></div><div id="m_3017326448855605405gmail-m_9129933537997278055gmail-L14" title="00:01:50"><span><span class="m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11"><br></span></span></div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Seems quite susceptible to the ground unknowingly moving under our feet.</div><div>Actually I found it quite difficult (i.e. failed) to determine a hard link to the version being installed.</div><div>To enhance reproduciblity, we should host our own versioned archive of the required packages somewhere fairly permanent.</div></div></div></div></blockquote><div><br></div><div>Instead of hosting our own Cygwin setup, maybe it's better to use the build cache [1]? We are already using that cache for third-party libs [2] and I also thought we'd cache Cygwin as well. @Nicolas: could you give this a go?</div><div><br></div><div>Fabio</div><div><br></div><div>[1] <a href="https://www.appveyor.com/docs/build-cache/">https://www.appveyor.com/docs/build-cache/</a></div><div>[2] <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/1614d9520f1ae901cdc4a5ba39d639a6ec5b1d84/.appveyor.yml#L113">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/1614d9520f1ae901cdc4a5ba39d639a6ec5b1d84/.appveyor.yml#L113</a></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><br></div><div>This seems pertinent...</div><div><div>2.2.What about an automated Cygwin installation?</div></div><div>If you are deploying to multiple systems, the best way is to run through a full installation once, saving the entire downloaded package tree. Then, on target systems, run Cygwin Setup as a "Local Install" pointed at your downloaded package tree. You could do this non-interactively with the command line options -q -L -l x:\cygwin-local\, where your downloaded package tree is in x:\cygwin-local\ (see the next FAQ for an explanation of those options.)<br></div></div>(<a href="https://www.cygwin.com/faq.html" target="_blank">https://www.cygwin.com/faq.html</a>)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">And "pmcyg" looks interesting...  "intended to support construction of</div><div class="gmail_extra">a self-contained CDROM or DVD that can be used to install or upgrade Cygwin</div><div class="gmail_extra">on computers that do not have network access to a Cygwin mirror site."</div><div class="gmail_extra">(<a href="https://sourceforge.net/projects/pmcyg/files/pmcyg/pmcyg-2.2/" target="_blank">https://sourceforge.net/projects/pmcyg/files/pmcyg/pmcyg-2.2/</a>)<br></div><div class="gmail_extra">That could be stored as a versioned archive which is added to the appveyor build cache <br></div><div class="gmail_extra">so its only downloaded once, 

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">saving per job build time</span> and </div><div class="gmail_extra">ensuring if it succeeds at the first job, all other jobs *should* succeed.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Options to host this versioned-cygwin-installer-archive (should be somewhere fairly permanent):</div><div class="gmail_extra">* bintray</div><div class="gmail_extra">* github releases</div><div class="gmail_extra">* git large file storage</div><div class="gmail_extra">* <a href="http://files.opensmalltalk.org" target="_blank">files.opensmalltalk.org</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers -ben</div></div>
</blockquote></div></div>