-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
triggering of EPP from SimRel sometimes fails #58
Comments
A lock could be used https://git.eclipse.org/c/simrel/org.eclipse.simrel.build.git/tree/Jenkinsfile#n127 but then the simrel build could block for very long. |
It turns out the problem isn't quite what I thought. The problem this time appears to be the caching problems on download.eclipse.org (again!) - https://ci.eclipse.org/packaging/job/simrel.epp-tycho-build/2935/ was started after https://ci.eclipse.org/simrel/job/simrel.runaggregator.pipeline/2782/ was fully complete. Yet when EPP build downloaded metadata about staging:
it got the "old" (pre simrel build #2782) version as the metadata it got referred to This is a long term effect of moving to building in Docker containers. It used to be EPP built using |
IIRC the reason we added The "real" solution (not involving webmaster!) is to not reuse the staging repo, e.g. if each build was in a new subdirectory of staging and the trigger passed the parameter to EPP of which subdirectory to use that would solve it. That would also solve the case of contents changing while the build was running. However, I am not sure it is worth the effort to refactor simrel build to achieve this. Therefore I leave this bug in the backlog. |
The report tests build also fails sometimes maybe for the same reason. |
I think this is obsolete because there needs to be a new way: |
Hmm - so it turns out there is a race condition around simrel's triggering of epp's build. The epp build often fails when simrel updates the content of the build while epp build is running. We get errors like:
13:47:24 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:3.0.5:build-qualifier-aggregator (default-build-qualifier-aggregator) on project epp.package.dsl: Execution default-build-qualifier-aggregator of goal org.eclipse.tycho:tycho-packaging-plugin:3.0.5:build-qualifier-aggregator failed: Could not mirror artifact osgi.bundle,org.eclipse.gef,3.15.0.202308271959 into the local Maven repository.See log output for details.
But sometimes the triggering from simrel happens in such a way that no new build runs after a failure like above. I'm not quite sure how to solve this, especially as the EPP build now takes upwards of 5 hours!Originally posted by @jonahgraham in #57 (comment)
The text was updated successfully, but these errors were encountered: