Quantcast

First Attempt to Build Jenkins Fails

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

First Attempt to Build Jenkins Fails

Reginaldo Santos
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: First Attempt to Build Jenkins Fails

slide
It has been this way for some time..

Sent from my Windows Phone

From: Reginaldo Santos
Sent: 7/30/2012 7:37 AM
To: [hidden email]
Subject: First Attempt to Build Jenkins Fails

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]
[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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: First Attempt to Build Jenkins Fails

Erik Molekamp
I get the exact same test failures on my first attempt, using Maven 3.0.4 and jdk 1.6.0_32 on Windows 7.
Is this an issue only on Windows machines? All of these tests are passing on http://ci.jenkins-ci.org/view/Jenkins%20core/job/jenkins_main_trunk/1864/testReport/

Has a ticket been filed for this in Jira? It can be quite discouraging for potential contributors when their first attempt to build the project fails. It would be worthwhile fixing this, even if the same tests pass on other environments. The tests should pass on any environment that Jenkins is capable of running on.

Erik

Op maandag 30 juli 2012 17:10:41 UTC+2 schreef slide het volgende:
It has been this way for some time..

Sent from my Windows Phone

From: Reginaldo Santos
Sent: 7/30/2012 7:37 AM
To: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="J6HYW28698QJ">jenkin...@...
Subject: First Attempt to Build Jenkins Fails

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

[...] 

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

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: First Attempt to Build Jenkins Fails

slide
In reply to this post by Reginaldo Santos
Yes, I believe I filed something, but I don't have the ability to look it up right now. I think that there are no Windows slaves in the build farm to test on, so these things fall through the cracks.

Sent from my Windows Phone

From: Erik Molekamp
Sent: 8/25/2012 2:11 PM
To: [hidden email]
Cc: Reginaldo Santos
Subject: Re: First Attempt to Build Jenkins Fails

I get the exact same test failures on my first attempt, using Maven 3.0.4 and jdk 1.6.0_32 on Windows 7.
Is this an issue only on Windows machines? All of these tests are passing on http://ci.jenkins-ci.org/view/Jenkins%20core/job/jenkins_main_trunk/1864/testReport/

Has a ticket been filed for this in Jira? It can be quite discouraging for potential contributors when their first attempt to build the project fails. It would be worthwhile fixing this, even if the same tests pass on other environments. The tests should pass on any environment that Jenkins is capable of running on.

Erik

Op maandag 30 juli 2012 17:10:41 UTC+2 schreef slide het volgende:
It has been this way for some time..

Sent from my Windows Phone

From: Reginaldo Santos
Sent: 7/30/2012 7:37 AM
To: <a href="javascript:" target="_blank">jenkin...@...
Subject: First Attempt to Build Jenkins Fails

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

[...] 

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

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: First Attempt to Build Jenkins Fails

Christoph Kutzinski
In reply to this post by Erik Molekamp
I agree that new contributors should be as smooth as possible.
Do you have any additional information (e.g. test output of the XStreamDOMTest) and/or any ideas why the tests may have failed? I cannot see any obvious problems why they would fail (on Windows).

cheers
Christoph

Am 25.08.2012 23:11, schrieb Erik Molekamp:
I get the exact same test failures on my first attempt, using Maven 3.0.4 and jdk 1.6.0_32 on Windows 7.
Is this an issue only on Windows machines? All of these tests are passing on http://ci.jenkins-ci.org/view/Jenkins%20core/job/jenkins_main_trunk/1864/testReport/

Has a ticket been filed for this in Jira? It can be quite discouraging for potential contributors when their first attempt to build the project fails. It would be worthwhile fixing this, even if the same tests pass on other environments. The tests should pass on any environment that Jenkins is capable of running on.

Erik

Op maandag 30 juli 2012 17:10:41 UTC+2 schreef slide het volgende:
It has been this way for some time..

Sent from my Windows Phone

From: Reginaldo Santos
Sent: 7/30/2012 7:37 AM
To: <a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="J6HYW28698QJ">jenkin...@...
Subject: First Attempt to Build Jenkins Fails

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

[...] 

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

Thanks in advance.

Loading...