[Vm-dev] How to restart an appveyor job?

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Apr 2 15:39:31 UTC 2018


2018-04-02 16:20 GMT+02:00 Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com>:

>
>
> 2018-04-02 16:09 GMT+02:00 Ben Coman <btc at openinworld.com>:
>
>>
>>
>>
>> On 2 April 2018 at 20:32, Nicolas Cellier <nicolas.cellier.aka.nice at gmai
>> l.com> wrote:
>>
>>>
>>> Hi all,
>>> I wanted to solve the gcc compiler bug for pharo.sista.spur.
>>>
>>> But of course, there were another failure due to fragile
>>> infrastructure...
>>> https://ci.appveyor.com/project/OpenSmalltalk/vm/build/1.0.1
>>> 207/job/dd3lnytbwb5jjlqa
>>>
>>> Running Install scripts
>>> Start-FileDownload "http://cygwin.com/setup-x86.exe" -FileName
>>> "setup-x86.exe"
>>> Start-FileDownloadInternal : Error downloading remote file: One or more
>>> errors occurred.
>>> Inner Exception: Unable to connect to the remote server
>>> At C:\Program Files\AppVeyor\BuildAgent\Modu
>>> les\build-worker-api\build-worker-api.psm1:242 char:2
>>> + Start-FileDownloadInternal -Url $Url -FileName $FileName -Timeout ...
>>> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> + CategoryInfo : NotSpecified: (:) [Start-FileDownloadInternal],
>>> Exception
>>> + FullyQualifiedErrorId : System.Exception,Appveyor.Buil
>>> dAgent.Api.Utils.StartFileDownloadInternalCmdlet
>>>
>>> We depend on volatile URL...
>>> Do you know if there is a way to restart a job in appveyor?
>>>
>>>
>> Two questions in ignorance...
>>
>>
>> Why do we download & install Cygwin when it seems already included?
>> https://www.appveyor.com/docs/build-environment/#mingw-msys-cygwin
>>
>>
> Hi Ben,
> It's because we rely on specific pre-built packages which are not on the
> appveyor machine.
>
>
This happened again
https://ci.appveyor.com/project/OpenSmalltalk/vm/build/1.0.1212/job/jtau0f796r5xd06u
and will happen again and again...

I am trying to replace
'Start-FileDownload "http://cygwin.com/setup-x86.exe" -FileName
"setup-x86.exe"'
in https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/.appveyor.yml

with curl, so as to at least manage the timeout and retry options:
See
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/aaaa4b1e8c1fb5448ea45856479cc51c60324b26



> But in the next build that's Smalltalk-CI which failed to be downloaded,
> so we have multiple weakness.
>
>
>> I don't see  "image:"  in  https://github.com/OpenSma
>> lltalk/opensmalltalk-vm/blob/Cog/.appveyor.yml
>> so should I presume our builds use "Visual Studio 2015" image?
>>
>>
>> cheers -ben
>>
>> btw, I followed your lead to add an upvote.
>>
>>
> Maybe it's leading to nowhere, but thanks Ben ;)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180402/5b060d33/attachment.html>


More information about the Vm-dev mailing list