Mirror 0ms.run/mirrors/ftp.fau.de times out when using Tycho
Summary
Tycho build are slow and log warnings.
Steps to reproduce
Prerequisite
- A project that uses an old Eclipse release like https://download.eclipse.org/releases/2022-12
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:
- https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-06/202206151000/plugins/com.sun.jna_5.8.0.v20210503-0343.jar
- https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-06/202206151000/plugins/org.eclipse.compare_3.8.400.v20220420-1133.jar
- https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-09/202209141001/plugins/org.eclipse.equinox.preferences_3.10.100.v20220710-1223.jar
- https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-12/202212071000/plugins/com.google.gson_2.9.1.v20220915-1632.jar
- https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-12/202212071000/plugins/com.ibm.icu_72.1.0.v20221115-2007.jar
- https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-12/202212071000/plugins/bcprov_1.72.0.jar
- https://0ms.run/mirrors/ftp.fau.de/eclipse//releases/2022-12/202212071000/plugins/org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar
- https://0ms.run/mirrors/mirror.kakao.com/eclipse//releases/2022-12/202212071000/plugins/com.google.guava_30.1.0.v20221112-0806.jar
- https://0ms.run/mirrors/ftp.jaist.ac.jp/pub/eclipse//releases/2022-12/202212071000/plugins/org.apache.batik.i18n_1.16.0.v20221027-0840.jar
- https://0ms.run/mirrors/ftp.jaist.ac.jp/pub/eclipse//releases/2022-12/202212071000/plugins/org.eclipse.e4.ui.css.swt.theme_0.13.200.v20221024-2137.jar
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