Re: [JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-07-24 Thread Tony Bridges
To clarify, Chris Chen's issue is almost exactly the same as what I see.  In
addition, when I check the files that are cited in the exception, I see that
they are truncated XML, and invalid.
I suspect there is more than one issue here - truncation and quoting.


01:11:44.584 java.util.concurrent.ExecutionException:
hudson.util.IOException2: Unable to read
/data/jenkins/fingerprints/03/67/0f0ef6519a687a790def531eecd9.xml

*/What are the ramifications of having truncated fingerprint files ?/*  That
seems like a dangerous area to have a breakage in.

The nature of the problem makes me wonder if it may be related to a disk
full event we had about a week ago.  Chris, did your problem disappear over
time as the offending fingerprints were rotated out of use ?  (do
fingerprint files rotate out of use and get deleted with old builds ?)



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/JIRA-core-JENKINS-18337-Fingerprint-throws-exceptions-on-1-518-tp4669395p4674477.html
Sent from the Jenkins issues mailing list archive at Nabble.com.

-- 
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.




Re: [JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-07-22 Thread Tony Bridges
I've been seeing this problem since moving to 1.523 from 1.517.  It randomly
fails some builds, on a job with concurrent execution of multiple instances
of a job at a time.  (this job runs our on-submit CI builds, so I can have
up to 16 running at one time)
It may have been triggered by allowing more than one build to run per
server, a recent change.



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/JIRA-core-JENKINS-18337-Fingerprint-throws-exceptions-on-1-518-tp4669395p4674057.html
Sent from the Jenkins issues mailing list archive at Nabble.com.

-- 
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.




[JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-06-14 Thread jenk...@tomhollis.co.uk (JIRA)














































Tom Hollis
 commented on  JENKINS-18337


Fingerprint throws exceptions on 1.518















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(TreeUnm

[JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-06-14 Thread daniel.fisc...@iqdoq.de (JIRA)














































Daniel Fischer
 commented on  JENKINS-18337


Fingerprint throws exceptions on 1.518















The issue with the special characters in the filename or other tags could be fixed analogical to JENKINS-10241  (keyword CDATA).



























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.
 
 


[JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-06-14 Thread daniel.fisc...@iqdoq.de (JIRA)














































Daniel Fischer
 updated  JENKINS-18337


Fingerprint throws exceptions on 1.518
















We are getting a similar exception now with one job at fingerprinting.
I think it is caused by an unmasked special character in the XML file.
We have an ampersand character in the fileName tag.

This causes the following exception:

Zeichne Fingerabrücke auf
ERROR: Aufzeichnen der Fingerabdrücke fehlgeschlagen
hudson.util.IOException2: Unable to read /var/lib/jenkins/fingerprints/ad/e6/834fc0dc20875dcc2c88635d6b37.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.tasks.Fingerprinter$1Record.addRecord(Fingerprinter.java:210)
	at hudson.tasks.Fingerprinter.record(Fingerprinter.java:254)
	at hudson.tasks.Fingerprinter.perform(Fingerprinter.java:121)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
	at hudson.model.Run.execute(Run.java:1601)
	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: com.thoughtworks.xstream.converters.ConversionException:  : entity reference name can not contain character <' (position: START_TAG seen ...REC1R&E.DAT<... @5:25)  :  : entity reference name can not contain character <' (position: START_TAG seen ...REC1R&E.DAT<... @5:25) 
 Debugging information 
message :  : entity reference name can not contain character <' (position: START_TAG seen ...REC1R&E.DAT<... @5:25) 
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message   :  : entity reference name can not contain character <' (position: START_TAG seen ...REC1R&E.DAT<... @5:25) 
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/fileName
line number : 5
class[1]: hudson.model.Fingerprint
converter-type[1]   : 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 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)
	... 21 more

[JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-06-13 Thread czq...@yahoo.com (JIRA)












































  
Chris Chen
 edited a comment on  JENKINS-18337


Fingerprint throws exceptions on 1.518
















This error also occurs in 1.514.



























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.
 
 


[JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-06-13 Thread czq...@yahoo.com (JIRA)












































  
Chris Chen
 edited a comment on  JENKINS-18337


Fingerprint throws exceptions on 1.518
















theis error also occurs in 1.514.



























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.
 
 


[JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-06-13 Thread czq...@yahoo.com (JIRA)












































  
Chris Chen
 edited a comment on  JENKINS-18337


Fingerprint throws exceptions on 1.518
















theis error also occurs in 1.1514.



























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.
 
 


[JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-06-13 Thread czq...@yahoo.com (JIRA)














































Chris Chen
 commented on  JENKINS-18337


Fingerprint throws exceptions on 1.518















the error occurs in 1.1514.



























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.
 
 


[JIRA] [core] (JENKINS-18337) Fingerprint throws exceptions on 1.518

2013-06-13 Thread czq...@yahoo.com (JIRA)














































Chris Chen
 created  JENKINS-18337


Fingerprint throws exceptions on 1.518















Issue Type:


Bug



Affects Versions:


current



Assignee:


Unassigned


Components:


core



Created:


13/Jun/13 1:57 PM



Description:


This was working for us in 1.509.1.  With 1.518, we see the following exception at the end of the run


01:11:44.584 ERROR: Asynchronous execution failure
01:11:44.584 java.util.concurrent.ExecutionException: hudson.util.IOException2: Unable to read /data/jenkins/fingerprints/03/67/0f0ef6519a687a790def531eecd9.xml
01:11:44.584 	at hudson.remoting.Channel$3.adapt(Channel.java:679)
01:11:44.584 	at hudson.remoting.Channel$3.adapt(Channel.java:674)
01:11:44.584 	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
01:11:44.584 	at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185)
01:11:44.584 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:105)
01:11:44.584 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
01:11:44.584 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
01:11:44.584 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
01:11:44.584 	at hudson.remoting.Request$2.run(Request.java:287)
01:11:44.584 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
01:11:44.584 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
01:11:44.584 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
01:11:44.584 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
01:11:44.584 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
01:11:44.584 	at java.lang.Thread.run(Thread.java:662)
01:11:44.584 Caused by: hudson.util.IOException2: Unable to read /data/jenkins/fingerprints/03/67/0f0ef6519a687a790def531eecd9.xml
01:11:44.584 	at hudson.XmlFile.read(XmlFile.java:147)
01:11:44.584 	at hudson.model.Fingerprint.load(Fingerprint.java:981)
01:11:44.584 	at hudson.model.Fingerprint.load(Fingerprint.java:969)
01:11:44.586 	at hudson.model.FingerprintMap.load(FingerprintMap.java:94)
01:11:44.586 	at hudson.model.FingerprintMap.load(FingerprintMap.java:45)
01:11:44.586 	at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:154)
01:11:44.586 	at hudson.model.FingerprintMap.get(FingerprintMap.java:79)
01:11:44.586 	at hudson.model.FingerprintMap.get(FingerprintMap.java:45)
01:11:44.586 	at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:108)
01:11:44.586 	at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:65)
01:11:44.586 	at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:125)
01:11:44.586 	at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:112)
01:11:44.586 	at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:404)
01:11:44.586 	at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:477)
01:11:44.586 	at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source)
01:11:44.586 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
01:11:44.586 	at java.lang.reflect.Method.invoke(Method.java:601)
01:11:44.588 	at hudson.model.Executor$1.call(Executor.java:547)
01:11:44.588 	at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
01:11:44.588 	at com.sun.proxy.$Proxy40.execute(Unknown Source)
01:11:44.588 	at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:270)
01:11:44.588 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
01:11:44.588 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
01:11:44.588 	at hudson.remoting.Request$2.run(Request.java:326)
01:11:44.588 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
01:11:44.588 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
01:11:44.588 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
01:11:44.588 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
01:11:44.588