Skip to content

Mirror 0ms.run/mirrors/ftp.fau.de times out when using Tycho

Summary

Tycho build are slow and log warnings.

Steps to reproduce

Prerequisite

rm -r ~/.m2/repository/.cache ~/.m2/repository/p2/osgi/bundle/
mvn clean package

Different geographical locations fail to download different URLs, but all problematic URLs start with "https://0ms.run/mirrors"

What is the current bug behavior?

Build is slow and mirror warnings are logged. When downloading the offending file from web browser the file is downloaded successfully after a lot of redirects. Following files failed to download:

Builds do not fail - recovery mechanism triggers much earlier than in #3280 (closed)

What is the expected correct behavior?

No warnings

Relevant logs and/or screenshots

https://github.com/vgcpge/eclipse.copilot/actions/runs/5567317996/jobs/10169100692

% mvn clean verify
[INFO] Scanning for projects...
[WARNING] Using JavaSE-20 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[INFO] [3765fd54-8ae9-4484-969f-4bc7e33d12a8][extension>org.eclipse.tycho:tycho-maven-plugin:3.0.4] System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
[INFO] ### Using TychoRepositoryTransport for remote P2 access ###
[INFO]     Cache location:         /Users/vasiligulevich/.m2/repository/.cache/tycho
[INFO]     Transport mode:         online
[INFO]     Update mode:            cache first
[INFO]     Minimum cache duration: 60 minutes
[INFO]       (you can configure this with -Dtycho.p2.transport.min-cache-minutes=<desired minimum cache duration>)
[WARNING] Using JavaSE-20 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-20 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[INFO] Adding repository https://download.eclipse.org/releases/2022-06
[INFO] Resolving dependencies of MavenProject: org.vgcpge.eclipse.copilot:org.vgcpge.copilot.ls:0.0.17-SNAPSHOT @ /Users/vasiligulevich/git/eclipse.copilot/org.vgcpge.copilot.ls/.polyglot.META-INF
[INFO] Resolving dependencies of MavenProject: org.vgcpge.eclipse.copilot:org.vgcpge.copilot.ls.test:1.0.0-SNAPSHOT @ /Users/vasiligulevich/git/eclipse.copilot/org.vgcpge.copilot.ls.test/.polyglot.META-INF
[WARNING] Request to https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-06/202206151000/plugins/com.sun.jna_5.8.0.v20210503-0343.jar failed, trying cache instead...
[WARNING] Some attempts to read artifact osgi.bundle,com.sun.jna,5.8.0.v20210503-0343 failed:
[WARNING]    An error occurred while transferring artifact canonical: osgi.bundle,com.sun.jna,5.8.0.v20210503-0343 from repository https://download.eclipse.org/releases/2022-06/202206151000:
[WARNING]       Retry another mirror:
[WARNING]          download from https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-06/202206151000/plugins/com.sun.jna_5.8.0.v20210503-0343.jar failed
[WARNING] Request to https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-06/202206151000/plugins/org.eclipse.compare_3.8.400.v20220420-1133.jar failed, trying cache instead...
[WARNING] Some attempts to read artifact osgi.bundle,org.eclipse.compare,3.8.400.v20220420-1133 failed:
[WARNING]    An error occurred while transferring artifact canonical: osgi.bundle,org.eclipse.compare,3.8.400.v20220420-1133 from repository https://download.eclipse.org/releases/2022-06/202206151000:
[WARNING]       Retry another mirror:
[WARNING]          download from https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-06/202206151000/plugins/org.eclipse.compare_3.8.400.v20220420-1133.jar failed

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low

Impact

Impact is negligible. I'm reporting this to help with debugging of new mirroring system.

Edited by Vasili Gulevich