|
|
Re: Occasional buold failures without error message [message #909449 is a reply to message #909144] |
Fri, 07 September 2012 06:54 |
Bernhard Hiller Messages: 10 Registered: September 2012 |
Junior Member |
|
|
Thanks for your hints.
1. A VMWare plugin was downloaded, but it is not used in this job.
The source code repository is subversion, running on a different machine, hence a subversion plugin is used here.
2. That's a good point - I did not know yet where the log files of Hudson are located. In the log file, I see an exception for that case:
Information: V3-Projekte #18 main build action completed: FAILURE
Sep 06, 2012 12:45:10 PM hudson.ExpressionFactory2$JexlExpression evaluate
Warnung: Caught exception evaluating: descriptor.hostNames. Reason: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor419.invoke(Unknown Source)
which eventually leads down to
Caused by: java.lang.NullPointerException
at hudson.plugins.vmware.VMwareActivationWrapper$DescriptorImpl.getHostNames(VMwareActivationWrapper.java:383)
... 180 more
Very strange - why is the VMwareActivationWrapper called somewhere during the build of a solution? During - not between two solutions! And, this project does not activate a virtual machine, it is executed on the "Master" only (no slaves were running). I'll try to remove that plugin.
3. Yes, it is an "Execute Windows Batch command",
call "C:\Programme\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
devenv Entwicklung\MyProject1\MyProject1.sln /clean RELEASE
devenv Entwicklung\MyProject1\MyProject1.sln /build RELEASE
It shows a few warning messages, but they must not cause a failure. Just start the same project immediately again, without any changes to the sources, and it does succeed.
|
|
|
Re: Occasional buold failures without error message [message #909514 is a reply to message #909449] |
Fri, 07 September 2012 09:04 |
Bernhard Hiller Messages: 10 Registered: September 2012 |
Junior Member |
|
|
Deactivating the plugin did not lead to a solution. I found out that such failures can be provoked by logging off from an RDP session of the hudson server. Hence, I created an extra user for the Hudson service to run with - but that did not help.
A new trace from the log file:
Information: V3-Projekte #30 main build action completed: FAILURE
Sep 07, 2012 10:54:31 AM hudson.model.DownloadService$Downloadable doPostBack
Information: Obtained the updated data file for hudson.tasks.Ant.AntInstaller
Sep 07, 2012 10:53:30 AM hudson.model.Hudson$5 onAttained
Information: Loaded all jobs
Sep 07, 2012 10:53:30 AM hudson.model.Hudson$5 onAttained
Information: Augmented all extensions
Sep 07, 2012 10:53:27 AM hudson.model.DownloadService$Downloadable doPostBack
Information: Obtained the updated data file for hudson.tools.JDKInstaller
Sep 07, 2012 10:53:27 AM hudson.model.DownloadService$Downloadable doPostBack
Information: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
Sep 07, 2012 10:50:08 AM hudson.model.AsyncPeriodicWork$1 run
Information: Finished Workspace clean-up. 16 ms
Sep 07, 2012 10:50:08 AM hudson.model.AsyncPeriodicWork$1 run
Information: Started Workspace clean-up
Sep 07, 2012 9:52:07 AM hudson.model.Run run
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03588 seconds