Quantcast

[JIRA] (JENKINS-14786) Lost buid history for every builds using "Publish Klocwork test result report"

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14786) Lost buid history for every builds using "Publish Klocwork test result report"

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: Gregory Boissinot
Attachments: config.xml
Components: klocwork
Created: 14/Aug/12 2:31 PM
Description:

I have a project which use the Klocwork plug-in to:

  • Build using a build specification
  • Publish Klocwork test result report (default klocwork_result.xml)

This project runs fine.

However, every times i restart Jenkins, the entire build history is lost for the project.

No error are displayed on the jenkins log (or maybe i don't know where to look). In $HUDSON_HOME/jobs/MY_PROJECT/builds i can still access all the builds, but build.xml files are missing, are there are remaining tmp files in /workspace-files directory

I tried to deactivate the "Publish Klocwork test result report". All the builds performed with this configuration are loaded and shown in the build history (build.xml file is present).

Environment: Jenkins v1.476
Klocwork Plug-in v1.9
Project: Jenkins
Labels: plugin
Priority: Major Major
Reporter: Geoffroy Jabouley
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14786) Build.xml file missing for every builds using "Publish Klocwork test result report"

JIRA noreply@jenkins-ci.org
Change By: Geoffroy Jabouley (14/Aug/12 2:32 PM)
Summary: Lost buid history Build.xml file missing  for every builds using "Publish Klocwork test result report"
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14786) Build.xml file missing for every builds using "Publish Klocwork test result report"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Geoffroy Jabouley (14/Aug/12 2:45 PM)
Description: I have a project which use the Klocwork plug-in to:
- Build using a build specification
- Publish Klocwork test result report (default klocwork_result.xml)

This project runs fine.


However, every times i restart Jenkins, the entire build history is lost for the project.

No error are displayed on the jenkins log (or maybe i don't know where to look).  In _$HUDSON_HOME/jobs/MY_PROJECT/builds_ i can still access all the builds, but *build.xml* files are missing, are there are remaining tmp files in _/workspace-files_ directory

------------
Aug 14, 2012 5:57:23 PM hudson.model.Executor run
SEVERE: Executor threw an exception
java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:840)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:829)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:804)
at hudson.XmlFile.write(XmlFile.java:177)
at hudson.model.Run.save(Run.java:1624)
at hudson.model.Run.execute(Run.java:1546)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
*Caused by: java.lang.RuntimeException: Failed to serialize com.thalesgroup.hudson.plugins.klocwork.util.KloBuildLog#kloTables for class com.thalesgroup.hudson.plugins.klocwork.util.KloBuildLog*
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
... 18 more
Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call hudson.FilePath.writeObject() : Can't send a remote FilePath to a different remote channel
---- Debugging information ----
message             : Could not call hudson.FilePath.writeObject()
cause-exception     : java.lang.IllegalStateException
cause-message       : Can't send a remote FilePath to a different remote channel
-------------------------------
at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:104)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:215)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
... 31 more
Caused by: java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel
at hudson.FilePath.writeObject(FilePath.java:2153)
at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:100)
... 37 more
Aug 14, 2012 5:57:22 PM hudson.model.Run execute
-----------

I tried to deactivate the "Publish Klocwork test result report". All the builds performed with this configuration are loaded and shown in the build history (build.xml file is present).
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14786) Build.xml file missing for every builds using "Publish Klocwork test result report"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Geoffroy Jabouley (16/Aug/12 9:16 AM)
Environment: Jenkins v1.476  (tomcat)
Klocwork Plug-in v1.9
Description: I have a project which use the Klocwork plug-in to:
- Build using a build specification
- Publish Klocwork test result report (default klocwork_result.xml)

This project runs fine.


However, every
Every  times i restart Jenkins, the entire build history is lost for the project.

In _$HUDSON_HOME/jobs/MY_PROJECT/builds_ i can still access all the builds, but *build.xml* files are missing,
 are  and  there are remaining tmp files in _/workspace-files_ directory

------------
Aug 14, 2012 5:57:23 PM hudson.model.Executor run
SEVERE: Executor threw an exception
java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:840)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:829)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:804)
at hudson.XmlFile.write(XmlFile.java:177)
at hudson.model.Run.save(Run.java:1624)
at hudson.model.Run.execute(Run.java:1546)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
*Caused by: java.lang.RuntimeException: Failed to serialize com.thalesgroup.hudson.plugins.klocwork.util.KloBuildLog#kloTables for class com.thalesgroup.hudson.plugins.klocwork.util.KloBuildLog*
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
... 18 more
Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call hudson.FilePath.writeObject() : Can't send a remote FilePath to a different remote channel
---- Debugging information ----
message             : Could not call hudson.FilePath.writeObject()
cause-exception     : java.lang.IllegalStateException
cause-message       : Can't send a remote FilePath to a different remote channel
-------------------------------
at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:104)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:215)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
... 31 more
Caused by: java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel
at hudson.FilePath.writeObject(FilePath.java:2153)
at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:100)
... 37 more
Aug 14, 2012 5:57:22 PM hudson.model.Run execute
-----------

I tried to deactivate the "Publish Klocwork test result report". All the builds performed with this configuration are loaded and shown in the build history (build.xml file is present).
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14786) Build.xml file missing for every builds using "Publish Klocwork test result report"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Geoffroy Jabouley (17/Aug/12 8:31 AM)
Priority: Critical Major
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14786) Build.xml file missing for every builds using "Publish Klocwork test result report"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Geoffroy Jabouley (17/Aug/12 8:31 AM)
Priority: Major Critical
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14786) Build.xml file missing for every builds using "Publish Klocwork test result report"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Have to change the priority as i have deactivated Klocwork plug-in because of this issue.

Change By: Geoffroy Jabouley (17/Aug/12 9:27 AM)
Priority: Major Blocker
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14786) Build.xml file missing for every builds using "Publish Klocwork test result report"

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I am seeing this problem too, it can be reproduced by running klocwork on a non-master node and enabling the "Parse Log" checkbox in your configuration.

When the job is finished and tries to persis its build.xml, this exception will occur.

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Loading...