-
Bug
-
Resolution: Postponed
-
Major
-
None
-
Platform: Sun, OS: Solaris
[I realize Matrix builds are alpha, but they're just what I need so I'm trying
it...]
Matrix build throws exception at completion of (successful) run on slave
Hudson. Didn't see anything reflected in the UI, but the stack trace implies
something in XML didn't get passed up from slave to master.
Exception:
Mar 4, 2009 10:21:42 AM hudson.model.Run run
INFO: OpsCenter_2.1 #116 main build action completed: SUCCESS
Mar 4, 2009 10:21:42 AM hudson.model.Executor run
SEVERE: Executor throw an exception unexpectedly
java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions
for class hudson.matrix.MatrixRun
at hudson.util.RobustReflectionConverter$2.writeField
(RobustReflectionConverter.java:160)
at hudson.util.RobustReflectionConverter$2.visit
(RobustReflectionConverter.java:131)
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields
(PureJavaReflectionProvider.java:129)
at hudson.util.RobustReflectionConverter.doMarshal
(RobustReflectionConverter.java:116)
at hudson.util.RobustReflectionConverter.marshal
(RobustReflectionConverter.java:89)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert
(AbstractReferenceMarshaller.java:65)
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:845)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:834)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:815)
at hudson.XmlFile.write(XmlFile.java:161)
at hudson.model.Run.save(Run.java:1012)
at hudson.model.Run.run(Run.java:949)
at hudson.model.Build.run(Build.java:112)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
Caused by: java.lang.RuntimeException: Failed to serialize
hudson.model.CauseAction#causes for class hudson.model.CauseAction
at hudson.util.RobustReflectionConverter$2.writeField
(RobustReflectionConverter.java:160)
at hudson.util.RobustReflectionConverter$2.visit
(RobustReflectionConverter.java:131)
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields
(PureJavaReflectionProvider.java:129)
at hudson.util.RobustReflectionConverter.doMarshal
(RobustReflectionConverter.java:116)
at hudson.util.RobustReflectionConverter.marshal
(RobustReflectionConverter.java:89)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert
(AbstractReferenceMarshaller.java:65)
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:63)
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal
(CollectionConverter.java:55)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert
(AbstractReferenceMarshaller.java:65)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother
(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother
(TreeMarshaller.java:63)
at hudson.util.RobustReflectionConverter.marshallField
(RobustReflectionConverter.java:168)
at hudson.util.RobustReflectionConverter$2.writeField
(RobustReflectionConverter.java:156)
... 18 more
Caused by: com.thoughtworks.xstream.io.StreamException: : null
at com.thoughtworks.xstream.core.util.QuickWriter.flush
(QuickWriter.java:73)
at com.thoughtworks.xstream.core.util.QuickWriter.write
(QuickWriter.java:57)
at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.endOfLine
(PrettyPrintWriter.java:307)
at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.finishTag
(PrettyPrintWriter.java:298)
at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.startNode
(PrettyPrintWriter.java:163)
at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.startNode
(PrettyPrintWriter.java:174)
at com.thoughtworks.xstream.io.WriterWrapper.startNode
(WriterWrapper.java:33)
at com.thoughtworks.xstream.io.path.PathTrackingWriter.startNode
(PathTrackingWriter.java:44)
at
com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriterHelper.startNode
(ExtendedHierarchicalStreamWriterHelper.java:17)
at hudson.util.RobustReflectionConverter$2.writeField
(RobustReflectionConverter.java:142)
... 32 more
Caused by: java.io.InterruptedIOException
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
at java.io.BufferedWriter.flush(BufferedWriter.java:236)
at hudson.util.AtomicFileWriter.flush(AtomicFileWriter.java:68)
at com.thoughtworks.xstream.core.util.QuickWriter.flush
(QuickWriter.java:71)
... 41 more
Mar 4, 2009 10:21:41 AM hudson.model.Run run
INFO: OpsCenter_2.1 ยป COSO_jdk-1.6.0,solaris-10-x86 #116 main build action
completed: SUCCESS
Mar 4, 2009 10:01:11 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
INFO: Accepted connection #1 from /129.147.247.80:36143
Hudson master config.xml:
<?xml version='1.0' encoding='UTF-8'?>
<hudson>
<numExecutors>1</numExecutors>
<mode>NORMAL</mode>
<authorizationStrategy class="hudson.security.AuthorizationStrategy
$Unsecured"/>
<securityRealm class="hudson.security.SecurityRealm$None"/>
<jdks>
<jdk>
<name>cos05build_default</name>
<home>/usr/java</home>
</jdk>
<jdk>
<name>COSO_jdk-1.6.0</name>
<home>/export/build_env/hotd-env/SunOS/i386/jdk1.6.0_07</home>
</jdk>
</jdks>
<clouds/>
<slaves>
<slave>
<name>cos05build-s10</name>
<description>Solaris 10 Builder</description>
<remoteFS>/export/ciBuilder/Hudson</remoteFS>
<numExecutors>1</numExecutors>
<mode>EXCLUSIVE</mode>
<retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
<launcher class="hudson.slaves.JNLPLauncher"/>
<label>solaris solaris-10 solaris-10-x86</label>
<nodeProperties>
<hudson.tools.ToolLocationNodeProperty>
<locations>
<hudson.tools.ToolLocationNodeProperty_-ToolLocation>
<type>hudson.model.JDK$DescriptorImpl</type>
<name>COSO_jdk-1.6.0</name>
<home>/export/build_env/hotd-env/SunOS/i386/jdk1.6.0_07</home>
</hudson.tools.ToolLocationNodeProperty_-ToolLocation>
<hudson.tools.ToolLocationNodeProperty_-ToolLocation>
<type>hudson.tasks.Ant$AntInstallation$DescriptorImpl</type>
<name>COSO_ant-1.7.0</name>
<home>/export/build_env/hotd-env/apache-ant-1.7.0</home>
</hudson.tools.ToolLocationNodeProperty_-ToolLocation>
</locations>
</hudson.tools.ToolLocationNodeProperty>
</nodeProperties>
</slave>
<slave>
<name>cos05build-linux</name>
<description>Linux RHEL 5 Builder</description>
<remoteFS>/export/ciBuilder/Hudson</remoteFS>
<numExecutors>1</numExecutors>
<mode>EXCLUSIVE</mode>
<retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
<launcher class="hudson.slaves.JNLPLauncher"/>
<label>linux linux-rhel5 linux-rhel5-x86</label>
<nodeProperties>
<hudson.tools.ToolLocationNodeProperty>
<locations>
<hudson.tools.ToolLocationNodeProperty_-ToolLocation>
<type>hudson.model.JDK$DescriptorImpl</type>
<name>cos05build_default</name>
<home>/export/build_env/hotd-env/SunOS/i386/jdk1.6.0_07</home>
</hudson.tools.ToolLocationNodeProperty_-ToolLocation>
<hudson.tools.ToolLocationNodeProperty_-ToolLocation>
<type>hudson.model.JDK$DescriptorImpl</type>
<name>cos05build_default</name>
<home>/export/build_env/hotd-env/apache-ant-1.7.0</home>
</hudson.tools.ToolLocationNodeProperty_-ToolLocation>
</locations>
</hudson.tools.ToolLocationNodeProperty>
</nodeProperties>
</slave>
</slaves>
<quietPeriod>5</quietPeriod>
<views>
<hudson.model.AllView>
<owner class="hudson" reference="../../.."/>
<name>All</name>
</hudson.model.AllView>
</views>
<primaryView>All</primaryView>
<slaveAgentPort>0</slaveAgentPort>
<label>solaris solaris-nv solaris-nv-x86</label>
<nodeProperties/>
<globalNodeProperties/>
<disabledAdministrativeMonitors>
<string>hudson.os.solaris.ZFSInstaller</string>
</disabledAdministrativeMonitors>
</hudson>
Job-specific config.xml:
<?xml version='1.0' encoding='UTF-8'?>
<matrix-project>
<actions/>
<description>xVM Ops Center 2.1</description>
<logRotator>
<daysToKeep>-1</daysToKeep>
<numToKeep>3</numToKeep>
</logRotator>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<name>COSO_LOC</name>
<defaultValue>/export/build_env</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>BE_TOOLS</name>
<defaultValue>/export/build_env/hotd-env</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>SUNWSPRO</name>
<defaultValue>/usr/local/sunstudio_i386-v10.0/SUNWspro</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>PATH</name>
<defaultValue>/usr/local/bin:$JAVA_HOME/bin:/usr/local/sunstudio_i386-
v10.0/SUNWspro/bin:/usr/sfw/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/
X11R6/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/ucb</defaultValue>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<hudson.plugins.disk__usage.DiskUsageProperty/>
</properties>
<scm class="hudson.plugins.mercurial.MercurialSCM">
<source>ssh://hg@krumholz.central/repo/Cyberspace</source>
<modules></modules>
<clean>false</clean>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<triggers class="vector">
<hudson.triggers.SCMTrigger>
<spec>*/3 * * * *</spec>
</hudson.triggers.SCMTrigger>
</triggers>
<axes>
<axis>
<name>jdk</name>
<values>
<string>COSO_jdk-1.6.0</string>
</values>
</axis>
<axis>
<name>label</name>
<values>
<string>solaris-10-x86</string>
</values>
</axis>
</axes>
<builders>
<hudson.tasks.Ant>
<targets>nightly</targets>
<antName>COSO_ant-1.7.0</antName>
<buildFile>src/build.xml</buildFile>
</hudson.tasks.Ant>
</builders>
<publishers>
<hudson.plugins.warnings.WarningsPublisher>
<threshold></threshold>
<newThreshold></newThreshold>
<failureThreshold></failureThreshold>
<newFailureThreshold></newFailureThreshold>
<thresholdEnabled>false</thresholdEnabled>
<minimumAnnotations>0</minimumAnnotations>
<healthy></healthy>
<unHealthy></unHealthy>
<healthyAnnotations>0</healthyAnnotations>
<unHealthyAnnotations>0</unHealthyAnnotations>
<healthyReportEnabled>false</healthyReportEnabled>
<height></height>
<pluginName>[WARNINGS] </pluginName>
<thresholdLimit>low</thresholdLimit>
<defaultEncoding></defaultEncoding>
<pattern>src/*.txt</pattern>
<parserNames>
<string>GNU compiler (gcc)</string>
<string>Java Compiler</string>
<string>SUN C++ Compiler</string>
</parserNames>
</hudson.plugins.warnings.WarningsPublisher>
</publishers>
<buildWrappers>
<hudson.plugins.build__timeout.BuildTimeoutWrapper>
<timeoutMinutes>60</timeoutMinutes>
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
</buildWrappers>
</matrix-project>