bihealth / sodar-server

SODAR: System for Omics Data Access and Retrieval
https://github.com/bihealth/sodar-server
MIT License
14 stars 3 forks source link

Oracle JDK download fails in CI #74

Closed mikkonie closed 2 years ago

mikkonie commented 6 years ago

Looks like Oracle has moved their JDK download locations around again, causing download to fail under CI.

This is a known issue.

For a permanent solution, might want to see e.g. using OpenJDK instead. Alas, I recall I had some problem with it which forced me to switch to Oracle in the first place. Must search my notes to see what that was.

mikkonie commented 6 years ago

For reference, here's the relevant log snippet.

Downloading Oracle Java 8...
--2018-01-17 12:01:04--  http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 104.96.4.191
Connecting to download.oracle.com (download.oracle.com)|104.96.4.191|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following]
--2018-01-17 12:01:04--  https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 104.94.191.11, 2a02:26f0:12d:28f::2d3e, 2a02:26f0:12d:283::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|104.94.191.11|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516190584_deb95090c3ebcca3d188b555fd76c320 [following]
--2018-01-17 12:01:04--  http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516190584_deb95090c3ebcca3d188b555fd76c320
Connecting to download.oracle.com (download.oracle.com)|104.96.4.191|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-17 12:01:05 ERROR 404: Not Found.
mikkonie commented 6 years ago

Info about the most recent Oracle breakage and ugly looking workarounds here.

mikkonie commented 6 years ago

This was caused by install commands in .gitlab-ci.yml for setting up SonarQube, which is not in use right now anyway. As a temporary fix I disabled the includes. A proper solution should still be thought of if/when setting up SonarQube. Leaving this open until then.

mikkonie commented 5 years ago

In GitLab by @holtgrewe on Feb 7, 2019, 08:50

I think we can close this and remove SonarQube support again. IIRC SonarQube never made the mental model from Subversion to git...

mikkonie commented 3 years ago

Old issue I forgot to close.