Tom Hollis commented on Bug JENKINS-18337

I have the same issue, it has started with 1.518 for me, I am getting '&' characters in the fingerprint xml files rather than '&'

I can get it working by using sed to find and replace, but it comes back again shortly after.

For me though the errors are only coming from the label _expression_ in a build which I deleted some time ago.

Unfortunately I can't find the data which the fingerprint files are generated from

This is the error I get:

[EnvInject] - Variables injected successfully.
ERROR: Failed to copy artifacts from Tools_MAIN_source_sync with filter: **
hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/Tools_MAIN_source_sync/builds/2013-06-13_16-59-29/archive/external/src/imglib/UsePackage.cmake to c:\img\jenkins\workspace\Tools_MAIN_Windows_Build\external\src\imglib\UsePackage.cmake
at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:105)
at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:68)
at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:261)
at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:238)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
at hudson.model.Run.execute(Run.java:1576)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:241)
Caused by: hudson.util.IOException2: Unable to read /var/lib/jenkins/fingerprints/a7/f7/7394741fac5b703c9f4590e19e4a.xml
at hudson.XmlFile.read(XmlFile.java:147)
at hudson.model.Fingerprint.load(Fingerprint.java:981)
at hudson.model.Fingerprint.load(Fingerprint.java:969)
at hudson.model.FingerprintMap.load(FingerprintMap.java:94)
at hudson.model.FingerprintMap.load(FingerprintMap.java:45)
at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:154)
at hudson.model.FingerprintMap.get(FingerprintMap.java:79)
at hudson.model.FingerprintMap.get(FingerprintMap.java:45)
at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:108)
at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:65)
at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:98)
... 12 more
Caused by: com.thoughtworks.xstream.converters.ConversionException: : entity reference names can not start with character '&' (position: START_TAG seen ...Tools_MAIN_Multi/Arch=x86-64,BuildType=Debug,label=linux&&... @44:81) : : entity reference names can not start with character '&' (position: START_TAG seen ...Tools_MAIN_Multi/Arch=x86-64,BuildType=Debug,label=linux&&... @44:81)
---- Debugging information ----
message : : entity reference names can not start with character '&' (position: START_TAG seen ...Tools_MAIN_Multi/Arch=x86-64,BuildType=Debug,label=linux&&... @44:81)
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message : : entity reference names can not start with character '&' (position: START_TAG seen ...Tools_MAIN_Multi/Arch=x86-64,BuildType=Debug,label=linux&&... @44:81)
class : java.lang.String
required-type : java.lang.String
converter-type : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter : com.thoughtworks.xstream.converters.basic.StringConverter
path : /fingerprint/usages/entry[9]/string
line number : 44
class[1] : java.util.Hashtable
converter-type[1] : com.thoughtworks.xstream.converters.collections.MapConverter
class[2] : hudson.model.Fingerprint
converter-type[2] : hudson.util.RobustReflectionConverter
version : null
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryIntoMap(MapConverter.java:86)
at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:78)
at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:72)
at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:67)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333)
at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275)
at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
at hudson.util.XStream2.unmarshal(XStream2.java:109)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:925)
at hudson.XmlFile.read(XmlFile.java:143)
... 22 more
Caused by: com.thoughtworks.xstream.io.StreamException: : entity reference names can not start with character '&' (position: START_TAG seen ...Tools_MAIN_Multi/Arch=x86-64,BuildType=Debug,label=linux&&... @44:81)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:124)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:135)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.getValue(AbstractPullReader.java:180)
at com.thoughtworks.xstream.io.ReaderWrapper.getValue(ReaderWrapper.java:48)
at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:49)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
... 47 more
Caused by: org.xmlpull.v1.XmlPullParserException: entity reference names can not start with character '&' (position: START_TAG seen ...Tools_MAIN_Multi/Arch=x86-64,BuildType=Debug,label=linux&&... @44:81)
at org.xmlpull.mxp1.MXParser.parseEntityRef(MXParser.java:2212)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1275)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109)
... 53 more
Build step 'Copy artifacts from another project' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Finished: FAILURE

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to