www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holly Cummins <holly.k.cumm...@googlemail.com>
Subject Corrupt local maven metadata
Date Tue, 14 Aug 2012 21:03:13 GMT
Hello,

I've just mailed you about the ubuntu build engines being jammed.
That's now fixed, which is great, but now I have another build problem
which I don't think I can resolve. Our builds on ubuntu2 are failing
with the following (see for example
https://builds.apache.org/job/Aries/1635):

Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Unable to read local copy of metadata: Cannot read metadata from
'/home/hudson/hudson-slave/workspace/Aries - current
snapshots/.repository/org/apache/aries/blueprint/org.apache.aries.blueprint.testbundleb/1.0.0-SNAPSHOT/maven-metadata-apache.snapshots.xml':
end tag name </body> must match start tag name <hr> from line 7
(position: TEXT seen ...</address>\n</body>... @9:8)
  org.apache.aries.blueprint:org.apache.aries.blueprint.testbundleb:jar:1.0.0-SNAPSHOT


Path to dependency:
	1) org.apache.aries.blueprint:org.apache.aries.blueprint.itests:jar:1.0.0-SNAPSHOT
	2) org.apache.aries.blueprint:org.apache.aries.blueprint.testbundleb:jar:1.0.0-SNAPSHOT


	at org.apache.maven.artifact.transform.SnapshotTransformation.transformForResolve(SnapshotTransformation.java:68)
	at org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForResolve(DefaultArtifactTransformationManager.java:55)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:145)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433)
	at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
	at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataResolutionException:
Unable to read local copy of metadata: Cannot read metadata from
'/home/hudson/hudson-slave/workspace/Aries - current
snapshots/.repository/org/apache/aries/blueprint/org.apache.aries.blueprint.testbundleb/1.0.0-SNAPSHOT/maven-metadata-apache.snapshots.xml':
end tag name </body> must match start tag name <hr> from line 7
(position: TEXT seen ...</address>\n</body>... @9:8)
	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:175)
	at org.apache.maven.artifact.transform.AbstractVersionTransformation.resolveVersion(AbstractVersionTransformation.java:65)
	at org.apache.maven.artifact.transform.SnapshotTransformation.transformForResolve(SnapshotTransformation.java:63)
	... 8 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataReadException:
Cannot read metadata from '/home/hudson/hudson-slave/workspace/Aries -
current snapshots/.repository/org/apache/aries/blueprint/org.apache.aries.blueprint.testbundleb/1.0.0-SNAPSHOT/maven-metadata-apache.snapshots.xml':
end tag name </body> must match start tag name <hr> from line 7
(position: TEXT seen ...</address>\n</body>... @9:8)
	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.readMetadata(DefaultRepositoryMetadataManager.java:323)
	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.loadMetadata(DefaultRepositoryMetadataManager.java:275)
	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.mergeMetadata(DefaultRepositoryMetadataManager.java:198)
	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:166)
	... 10 more
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
end tag name </body> must match start tag name <hr> from line 7
(position: TEXT seen ...</address>\n</body>... @9:8)
	at hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseEndTag(MXParser.java:1698)
	at hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1143)
	at hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105)
	at org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.parseMetadata(MetadataXpp3Reader.java:501)
	at org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:950)
	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.readMetadata(DefaultRepositoryMetadataManager.java:310)
	... 13 more

It looks to me like the maven metadata in the local repository is
corrupt, and could do with deleting. I considered running a
dependency:purge-local-repository job, but the web suggests that can
sometimes corrupt things on its own, and I'm not sure it would even
work if the metadata is corrupt. Is it possible to clean the
org/apache/aries sections of the local maven repositories to get our
builds going again, or is there some other way of fixing the problem?

Thanks again,
Holly

Mime
View raw message