Skip to content

TipImageURLTest fails recently accessing github located artifacts #3019

Open

Description

@iloveeclipse

I saw this over the weekend on different platform PR's.

Looks like github is not always happy to serve the data, probably there are some new limits or restrictions how much data can be downloaded.

We should try to fix the tests.

1 out of 3 runs with error: testTipImage2 (org.eclipse.tips.core.TipImageURLTest)

Server returned HTTP response code: 503 for URL: https://github.com/eclipse-platform/eclipse.platform/blob/master/ua/org.eclipse.tips.tests/icons/dummy.png
java.io.IOException: Server returned HTTP response code: 503 for URL: https://github.com/eclipse-platform/eclipse.platform/blob/master/ua/org.eclipse.tips.tests/icons/dummy.png
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1706)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1305)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223)
	at java.base/java.net.URL.openStream(URL.java:1263)
	at org.eclipse.tips.core.TipImage.<init>(TipImage.java:59)
	at org.eclipse.tips.core.TipImageURLTest.getTipImage(TipImageURLTest.java:47)
	at org.eclipse.tips.core.TipImageURLTest.testTipImage2(TipImageURLTest.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)

1 out of 3 runs with error: testSetAspectRatioIntIntFalse (org.eclipse.tips.core.TipImageURLTest)

Server returned HTTP response code: 503 for URL: https://github.com/eclipse-platform/eclipse.platform/blob/master/ua/org.eclipse.tips.tests/icons/dummy.png
java.io.IOException: Server returned HTTP response code: 503 for URL: https://github.com/eclipse-platform/eclipse.platform/blob/master/ua/org.eclipse.tips.tests/icons/dummy.png
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1706)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1305)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223)
	at java.base/java.net.URL.openStream(URL.java:1263)
	at org.eclipse.tips.core.TipImage.<init>(TipImage.java:59)
	at org.eclipse.tips.core.TipImageURLTest.getTipImage(TipImageURLTest.java:47)
	at org.eclipse.tips.core.TipImageURLTest.testSetAspectRatioIntIntFalse(TipImageURLTest.java:80)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions