Bug 576538 - Epsilon 1.5 mirrored by interim
Summary: Epsilon 1.5 mirrored by interim
Status: NEW
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dimitris Kolovos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-09 05:13 EDT by Ed Willink CLA
Modified: 2021-10-10 09:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2021-10-09 05:13:43 EDT
Attempting to use Epsilon from OOMPH for QVTd fails with the very filletted log below.

It appears that https://download.eclipse.org/epsilon/updates/1.5 resolves to https://download.eclipse.org/epsilon/updates/interim mirrors where much more recent content is found.

I suspect that some manual renaming operation to establish versioned Epsilons renamed interim to 1.5 and neglected to do whatever was necessary to get the mirrors right.

Assuming that recreating a consistent 1.5 is too hard, I suggest doing whatever is necessary to suppress mirroring for 1.5. (Probably some magic metadata file.) 


Performing Targlets Modular Target (Eclipse Platform + QVTd Target Platform), activate
Repository https://download.eclipse.org/eclipse/updates/4.21/R-4.21-202109060500
Repository https://download.eclipse.org/releases/2021-09
Repository https://download.eclipse.org/modeling/emf/emf/builds/release/2.27
Repository https://download.eclipse.org/modeling/mdt/ocl/updates/releases/6.16.0
Repository https://download.eclipse.org/tools/orbit/downloads/drops/R20210825222808/repository/
Repository https://download.eclipse.org/epsilon/updates/1.5
Offline = false
Mirrors = true
Include All Platforms = false
Include All Requirements = true
Include Binary Equivalents = true
Include Sources = true
Fetching p2.index from https://download.eclipse.org/tools/orbit/downloads/drops/R20210825222808/repository/ (134B)
...
Adding repository https://download.eclipse.org/epsilon/updates/1.5
Fetching content.jar from https://download.eclipse.org/epsilon/updates/1.5/ (76.89kB)
Calculating requirements and dependencies.
Computing prerequisite plan
Fetching artifacts.jar from https://download.eclipse.org/epsilon/updates/1.5/ (5.9kB)
Collecting 29 artifacts from https://download.eclipse.org/epsilon/updates/1.5
Downloading org.eclipse.epsilon.core.dependencies.feature
Downloading org.eclipse.epsilon.emc.emf.decorator
Downloading org.eclipse.epsilon.emc.csv
Downloading org.eclipse.epsilon.dependencies
Downloading org.eclipse.epsilon.emf.feature
Downloading org.eclipse.epsilon.core.feature
Downloading org.eclipse.epsilon.emc.bibtex
Downloading org.eclipse.epsilon.profiling
Downloading org.eclipse.epsilon.eol.tools
Downloading org.eclipse.epsilon.emc.composite
Repeated attempts to download https://ftp.fau.de/eclipse/epsilon/interim/plugins/org.eclipse.epsilon.common_1.5.1.201809302027.jar probably because it can't be processed
Repeated attempts to download https://mirror.ibcp.fr/pub/eclipse/epsilon/interim/plugins/org.eclipse.epsilon.common_1.5.1.201809302027.jar probably because it can't be processed
Repeated attempts to download https://ftp.fau.de/eclipse/epsilon/interim/plugins/org.eclipse.epsilon.common_1.5.1.201809302027.jar probably because it can't be processed
Mirrored 21 artifacts from https://download.eclipse.org/epsilon/updates/1.5/ at 194kb/s
Mirrored 23 artifacts from https://ftp.fau.de/eclipse/epsilon/interim/ at 0kb/s with 65 failures
Mirrored 2 artifacts from https://rhlx01.hs-esslingen.de/pub/Mirrors/eclipse/epsilon/interim/ at 0kb/s with 2 failures
Mirrored 1 artifacts from https://ftp.halifax.rwth-aachen.de/eclipse/epsilon/interim/ at 0kb/s with 1 failures
Mirrored 1 artifacts from https://eclipse.mirror.garr.it/epsilon/interim/ at 0kb/s with 1 failures
Mirrored 1 artifacts from https://ftp.snt.utwente.nl/pub/software/eclipse/epsilon/interim/ at 0kb/s with 1 failures
Mirrored 1 artifacts from https://ftp.acc.umu.se/mirror/eclipse.org/epsilon/interim/ at 0kb/s with 1 failures
Mirrored 1 artifacts from https://mirror.dkm.cz/eclipse/epsilon/interim/ at 0kb/s with 1 failures
Mirrored 1 artifacts from https://ftp.linux.org.tr/eclipse//epsilon/interim/ at 0kb/s with 1 failures
Mirrored 4 artifacts from https://mirror.tspu.ru/eclipse/epsilon/interim/ at 0kb/s with 5 failures
Mirrored 22 artifacts from https://mirror.ibcp.fr/pub/eclipse/epsilon/interim/ at 0kb/s with 62 failures
Collected 29 artifacts for https://download.eclipse.org/epsilon/updates/1.5 in 4.312s
An error was detected while performing the engine operation and the changes are being rolled back. See the log for details.
ERROR: org.eclipse.pde.core code=0 Problems occurred while resolving the target contents
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:291)
  at org.eclipse.oomph.util.pde.TargetPlatformUtil.activateTargetDefinition(TargetPlatformUtil.java:151)
  at org.eclipse.oomph.targlets.internal.core.TargletContainer.forceUpdate(TargletContainer.java:813)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:1174)
  at org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:120)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:1035)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3851)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3794)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5178)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2338)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5172)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5170)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3785)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3760)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3638)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:595)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:722)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
  ERROR: org.eclipse.equinox.p2.engine code=4 An error occurred while collecting items to be installed
    ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile=C__Users_ed_qvtd-0-27-02_ws-2d91ea6abf0229772fe090f3977588b68e8a271f, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Failed to transfer artifact canonical: osgi.bundle,org.eclipse.epsilon.common,1.5.1.201809302027.
      ERROR: org.eclipse.equinox.p2.artifact.repository code=13 Retry another mirror
        ERROR: org.eclipse.equinox.p2.transport.ecf code=1200 Artifact not found: https://mirror.ibcp.fr/pub/eclipse/epsilon/interim/plugins/org.eclipse.epsilon.common_1.5.1.201809302027.jar.
        java.io.FileNotFoundException: https://mirror.ibcp.fr/pub/eclipse/epsilon/interim/plugins/org.eclipse.epsilon.common_1.5.1.201809302027.jar
          at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:298)
          at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.checkException(FileReader.java:512)
          at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:466)
          at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:387)
          at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:107)
          at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:136)
          at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:256)
          at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:731)
          at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:655)
          at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:787)
          at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:328)
          at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:298)
          at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:234)
          at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:156)
          at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:770)
          at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      ERROR: org.eclipse.equinox.p2.artifact.repository code=13 Retry another mirror
...
Comment 1 Ed Willink CLA 2021-10-09 05:17:06 EDT
(In reply to Ed Willink from comment #0)
> I suspect that some manual renaming operation to establish versioned
> Epsilons renamed interim to 1.5 and neglected to do whatever was necessary
> to get the mirrors right.

No. Examining https://ftp.fau.de/eclipse/epsilon/updates/1.5/plugins/ shows good content. It just looks like the handler for the

site mirrorsURL="http://www.eclipse.org/downloads/download.php?file=/epsilon/updates/site.xml&format=xml">

query in https://download.eclipse.org/epsilon/updates/1.5/

has a typo.
Comment 2 Dimitris Kolovos CLA 2021-10-10 08:27:47 EDT
Thanks for reporting this, Ed. Do you know what is the recommended process for editing files on download.eclipse.org? In the olden days I would sftp into build.eclipse.org, but it has been recently replaced by projects-storage.eclipse.org, which I don't seem to be able to sftp into.
Comment 3 Ed Willink CLA 2021-10-10 09:24:23 EDT
One option is to ask the webmasters to do it. But it takes time and ends up pretty tedious for you and for them.

Another option is to use a Shell job. e.g. https://ci.eclipse.org/ocl/job/shell/ in which you can type a on line command, multiples is possible but challenging with multi-ievel escaping. Usually worth some practices with ls -a before you go for a real command.
The middle of https://git.eclipse.org/r/plugins/gitiles/ocl/org.eclipse.ocl/+/refs/heads/master/releng/org.eclipse.ocl.releng.tycho/README.txt has many example commands that I use.

Sadly it still takes nearly a minute for a shell job to get an executor, making for really slow progress if you're doing a major cleanup.

If you need to edit a file it's probably easiest to edit a copy locally and then download the replacement on top of the original than to struggle with sed.

(This problem applies to all 1.x sites. 2.0 has vanished. Only 2.1 seems to have a p2.index.)