You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Emilian Bold <em...@protonmail.ch.INVALID> on 2018/06/15 16:04:14 UTC

Travis build fails due to connectivity error?

Hello,

This build https://travis-ci.org/apache/incubator-netbeans/builds/392667264?utm_source=github_status&utm_medium=notification

failed with this error:

> Could not download 516C03B21D50A644D538DE0F0369C620989CD8F0-jsr305-2.0.0.jar from http://hg.netbeans.org/binaries/: java.io.IOException: Could not download 516C03B21D50A644D538DE0F0369C620989CD8F0-jsr305-2.0.0.jar to /home/travis/.hgexternalcache/516C03B21D50A644D538DE0F0369C620989CD8F0-jsr305-2.0.0.jar: java.io.IOException: Cannot connect to http://central.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar

I wonder how to prevent this. Perhaps have Travis retry a build on connectivity errors?

--emi


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Travis build fails due to connectivity error?

Posted by "William L. Thomson Jr." <wl...@o-sinc.com>.
On Fri, 15 Jun 2018 12:04:14 -0400
Emilian Bold <em...@protonmail.ch.INVALID> wrote:
>
> This build
> https://travis-ci.org/apache/incubator-netbeans/builds/392667264?utm_source=github_status&utm_medium=notification
> 
> failed with this error:
> 
> > Could not download
....
> I wonder how to prevent this. Perhaps have Travis retry a build on
> connectivity errors?

I run into this myself on occasion. I tend to just restart the build
manually. I am not sure if they will go for any sort of automated
solution for justifiable reasons.

This is different, but related; restarting after a timeout. It does not
seem like they want to implement such. I think their logic is sound.
They do expect someone to be paying attention to CI builds. Otherwise
it could just waste resources 
https://github.com/travis-ci/travis-ci/issues/5573

Say there is some known network issue with a third party or accessing
them. Constantly restarting the build, will not do anything beneficial.
Thus having such feature is a hard call.

It seems it is quite common though.
https://github.com/travis-ci/travis-ci/issues/9112

-- 
William L. Thomson Jr.

Re: Travis build fails due to connectivity error?

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
I assumed that it would do that -- i.e., retry a few times, and maybe after
a period again a few times.

Gj

On Fri, Jun 15, 2018 at 6:04 PM, Emilian Bold <
emilian.bold@protonmail.ch.invalid> wrote:

> Hello,
>
> This build https://travis-ci.org/apache/incubator-netbeans/builds/
> 392667264?utm_source=github_status&utm_medium=notification
>
> failed with this error:
>
> > Could not download 516C03B21D50A644D538DE0F0369C620989CD8F0-jsr305-2.0.0.jar
> from http://hg.netbeans.org/binaries/: java.io.IOException: Could not
> download 516C03B21D50A644D538DE0F0369C620989CD8F0-jsr305-2.0.0.jar to
> /home/travis/.hgexternalcache/516C03B21D50A644D538DE0F0369C620989CD8F0-jsr305-2.0.0.jar:
> java.io.IOException: Cannot connect to http://central.maven.org/
> maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar
>
> I wonder how to prevent this. Perhaps have Travis retry a build on
> connectivity errors?
>
> --emi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>