Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emf-dev] [Galileo] Failed for build 2009-05-19 due to invalid site.xml

I suspect the reason for these failures is that the site*.xml files used to generate the metadata contain two </site> tags, making the files invalid XML.

The only reason I can think of for how this happens is concurrent attempts to write to the same file at the same time. (The location of the first </site> varies within the file, while the second one is always at the end.)


Search for "components' category*.xml into single site.xml" and you'll see that on the build server, these happened a few seconds apart (no problem) but on download.eclipse, both changes to the site*.xml files started at 16:10:24. Despite starting the promotes a minute apart, they did this crucial step at the exact same time. And then two threads began generating the same two p2 metadata files within a second of each other, probably colliding along the way.

So, to hopefully avoid this (since people continue to think that an XML file is a multi-threaded database and can just fire multiple promotes concurrently), I've added a line to the generator ( that scrubs out any existing </site> tags BEFORE appending the closing tag at the end of the file.

I can't stop people from abusing the site*.xml files (and therefore corrupting the p2 metadata), but I can at least try to make the resulting file *valid* XML.

If you have multiple updates to publish, please do them in series, not in parallel. Use the IRC channel #eclipse-modeling to coordinate your attacks.


David Williams wrote:
The following error occured when building Galileo:

org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: No repository found at

Check the log file for more information:

Nick Boldt ::
Release Engineer :: Eclipse Modeling & Dash Athena

Back to the top