My first attempt to build jenkins code has been failed.

I'm using maven 3.0.4 and jdk 1.6.0_32 on Windows XP and some tests of 
jenkins core are failling as you can notice below:

Results :

Failed tests:   
testRotation(hudson.util.io.ReopenableRotatingFileOutputStreamTest): 
expected:<Content[4]> but was:<Content[2]>
  testMarshal(jenkins.util.xstream.XStreamDOMTest): expected:<<foo>[
  testWriteToDOM(jenkins.util.xstream.XStreamDOMTest): expected:<<foo>[

Tests in error:
  testRemoting(hudson.util.ProcessTreeTest): Failed to open process 
error=87 at .\envvar-cmdline.cpp:53
  testIsSymlink(hudson.UtilTest): got: <false>, expected: is <true>

Tests run: 3061, Failures: 3, Errors: 2, Skipped: 0

[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Jenkins main module ............................... SUCCESS [1.094s]
[INFO] Jenkins CLI ....................................... SUCCESS [2.109s]
[INFO] Jenkins core ...................................... FAILURE [32.063s]
[INFO] Maven Integration plugin .......................... SKIPPED
[INFO] Jenkins war ....................................... SKIPPED
[INFO] Test harness for Jenkins and plugins .............. SKIPPED
[INFO] Jenkins UI sample plugin .......................... SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 36.266s
[INFO] Finished at: Fri Jul 27 18:11:49 GMT-03:00 2012
[INFO] Final Memory: 31M/75M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on 
project jenkins-core: There are te
st failures.
[ERROR]
[ERROR] Please refer to D:\WORK\jenkins\core\target\surefire-reports for 
the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the 
command

Does anyone know the reason of this problem and how can I solved?

Thanks in advance.

Reply via email to