Hudon fails to build properly

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Hudon fails to build properly

citron
Hi,

I am trying to build Hudson from source but it fails, any ideas?

Thanks!!



D:\Projects\hudson\hudson>mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Hudson
[INFO]   Hudson main module
[INFO]   Hudson remoting layer
[INFO]   Hudson Maven PluginManager interceptor
[INFO]   Hudson Maven CLI agent
[INFO]   Hudson core
[INFO]   Hudson JNLP slave agent
[INFO]   Hudson war
[INFO]   Hudson tools
[INFO]   Maven Hudson Plugin
[INFO]   Hudson plugin POM
[INFO]   Hudson Accurev plugin
[INFO]   Hudson batch task plugin
[INFO]   Hudson Build-Publisher plugin
[INFO]   Hudson build timeout plugin
[INFO]   Hudson Clear Case Plug-in
[INFO]   Hudson Clover plugin
[INFO]   codeviation
[INFO]   Hudson Cobertura plugin
[INFO]   Hudson Email Extension Plugin
[INFO]   Hudson Emma plugin
[INFO]   Hudson External-Project plugin
[INFO]   Hudson FindBugs Plug-in
[INFO]   Hudson Gant plugin
[INFO]   Hudson Google Calendar plugin
[INFO]   Hudson hello-world plugin
[INFO]   Hudson IRC Plugin
[INFO]   Hudson Ivy plugin
[INFO]   Hudson Jabber notifier plugin
[INFO]   Hudson JAPEX plugin
[INFO]   Hudson JavaTest report plugin
[INFO]   Hudson java.net uploader plugin
[INFO]   Hudson java.net CVS/SVN build trigger plugin
[INFO]   Hudson JIRA plugin
[INFO]   Hudson JMX Plugin
[INFO]   Hudson JPRT plugin
[INFO]   Hudson JWSDP SQE test report plugin
[INFO]   Hudson Locks and Latches plugin
[INFO]   Maven 1.x snapshot trigger
[INFO]   Hudson Mercurial plugin
[INFO]   Hudson MSBuild Plugin
[INFO]   Hudson NAnt Plugin
[INFO]   Hudson NUnit plugin
[INFO]   Hudson Plot plugin
[INFO]   Hudson Perforce Plugin
[INFO]   Hudson plugin for "Polarion Webclient for SVN"
[INFO]   Hudson Port Allocator Plug-in
[INFO]   Hudson SCP publisher plugin
[INFO]   Hudson SVN 1.3 Compatibility plugin
[INFO]   Hudson Task Scanner Plug-in
[INFO]   Hudson TextFinder plugin
[INFO]   Hudson Edgewall Trac plugin
[INFO]   Hudson Violations plugin
[INFO]   Hudson VMware plugin
[INFO]   Hudson Visual SourceSafe Plug-in
[INFO]   Hudson Xvnc plugin
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\pom.xml to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\hudson\1.3\hudson-1.3.pom
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson main module
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\main\pom.xml to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\main\pom\1.161-SNAPSHOT\pom-1.161-SNAPSHOT.pom
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson remoting layer
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to D:\Projects\hudson\hudson\main\remoting\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to D:\Projects\hudson\hudson\main\remoting\target\test-classes
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar: D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
[INFO] [jar:sign {execution: default}]
[debug] jarsigner executable=[C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe]
[debug] Executing: C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe -verify D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
[info] jar is unsigned. (signatures missing or not parsable)
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\main\remoting\1.161-SNAPSHOT\remot
ing-1.161-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson Maven PluginManager interceptor
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-inter
ceptor\1.161-SNAPSHOT\maven-interceptor-1.161-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson Maven CLI agent
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\Projects\hudson\hudson\main\maven-agent\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running hudson.maven.agent.LaunchTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-agent\1.161-SNAPS
HOT\maven-agent-1.161-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson core
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [antlr:generate {execution: default}]
[INFO] grammar: D:\Projects\hudson\hudson\main\core\src\main\grammar\crontab.g
[INFO] The grammar is already generated
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
     [echo] The build id is: 1.161-SNAPSHOT (private-12/11/2007 11:23-anders)
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [stapler:apt-compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\Projects\hudson\hudson\main\core\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running hudson.search.SearchTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running hudson.FilePathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running hudson.scm.SubversionSCMTest
[abc def, ghi]
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running hudson.scheduler.CrontabTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running hudson.UtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running hudson.util.LineEndNormalizingWriterTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running hudson.util.IteratorsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running hudson.MarkupTextTest
I fixed <155>issue #155<155>. The rest is trick text: xissue #155 issue #123x
<155>issue #155<155>---<123>issue #123<123>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running hudson.model.FingerprintTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running hudson.util.WriterOutputStreamTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running hudson.model.ResourceListTest
Tests run: 12, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec <<< FAILURE!
Running hudson.util.CopyOnWriteListTest
<hudson.util.CopyOnWriteListTest_-TestData>
  <list1>
    <string>foobar1</string>
  </list1>
  <list2>
    <string>foobar2</string>
  </list2>
</hudson.util.CopyOnWriteListTest_-TestData>@SLTests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec

Results :

Failed tests:
  testSimpleRW(hudson.model.ResourceListTest)
  testSimpleW(hudson.model.ResourceListTest)
  testParentChildW(hudson.model.ResourceListTest)
  testParentChildW3(hudson.model.ResourceListTest)
  testMultiWrite1(hudson.model.ResourceListTest)
  testMultiWriteN(hudson.model.ResourceListTest)

Tests run: 29, Failures: 6, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:425)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Tue Dec 11 23:23:36 CET 2007
[INFO] Final Memory: 22M/40M
[INFO] ------------------------------------------------------------------------

D:\Projects\hudson\hudson>


Express yourself instantly with MSN Messenger! MSN Messenger
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Hudon fails to build properly

David Tai

It fails to me too.

 

C:\archives\hudson\temp\hudson\hudson\main\core\src\main\java\hudson\Functions.java:622: cannot find

 symbol

symbol  : class LockInfo

location: class hudson.Functions

           for (LockInfo li : locks) {

                ^

C:\archives\hudson\temp\hudson\hudson\main\core\src\main\java\hudson\node_monitors\DiskSpaceMonitor.

java:63: cannot find symbol

symbol  : method getUsableSpace()

location: class java.io.File

            return f.getUsableSpace();

                    ^

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

17 errors

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Fatal error compiling

 

Embedded error: APT failed: 1

[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 37 seconds

[INFO] Finished at: Tue Dec 11 17:22:34 EST 2007

[INFO] Final Memory: 23M/72M

[INFO] ------------------------------------------------------------------------

 


From: Anders Viklund [mailto:[hidden email]]
Sent: Tuesday, December 11, 2007 5:27 PM
To: [hidden email]
Subject: Hudon fails to build properly

 

Hi,

I am trying to build Hudson from source but it fails, any ideas?

Thanks!!



D:\Projects\hudson\hudson>mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Hudson
[INFO]   Hudson main module
[INFO]   Hudson remoting layer
[INFO]   Hudson Maven PluginManager interceptor
[INFO]   Hudson Maven CLI agent
[INFO]   Hudson core
[INFO]   Hudson JNLP slave agent
[INFO]   Hudson war
[INFO]   Hudson tools
[INFO]   Maven Hudson Plugin
[INFO]   Hudson plugin POM
[INFO]   Hudson Accurev plugin
[INFO]   Hudson batch task plugin
[INFO]   Hudson Build-Publisher plugin
[INFO]   Hudson build timeout plugin
[INFO]   Hudson Clear Case Plug-in
[INFO]   Hudson Clover plugin
[INFO]   codeviation
[INFO]   Hudson Cobertura plugin
[INFO]   Hudson Email Extension Plugin
[INFO]   Hudson Emma plugin
[INFO]   Hudson External-Project plugin
[INFO]   Hudson FindBugs Plug-in
[INFO]   Hudson Gant plugin
[INFO]   Hudson Google Calendar plugin
[INFO]   Hudson hello-world plugin
[INFO]   Hudson IRC Plugin
[INFO]   Hudson Ivy plugin
[INFO]   Hudson Jabber notifier plugin
[INFO]   Hudson JAPEX plugin
[INFO]   Hudson JavaTest report plugin
[INFO]   Hudson java.net uploader plugin
[INFO]   Hudson java.net CVS/SVN build trigger plugin
[INFO]   Hudson JIRA plugin
[INFO]   Hudson JMX Plugin
[INFO]   Hudson JPRT plugin
[INFO]   Hudson JWSDP SQE test report plugin
[INFO]   Hudson Locks and Latches plugin
[INFO]   Maven 1.x snapshot trigger
[INFO]   Hudson Mercurial plugin
[INFO]   Hudson MSBuild Plugin
[INFO]   Hudson NAnt Plugin
[INFO]   Hudson NUnit plugin
[INFO]   Hudson Plot plugin
[INFO]   Hudson Perforce Plugin
[INFO]   Hudson plugin for "Polarion Webclient for SVN"
[INFO]   Hudson Port Allocator Plug-in
[INFO]   Hudson SCP publisher plugin
[INFO]   Hudson SVN 1.3 Compatibility plugin
[INFO]   Hudson Task Scanner Plug-in
[INFO]   Hudson TextFinder plugin
[INFO]   Hudson Edgewall Trac plugin
[INFO]   Hudson Violations plugin
[INFO]   Hudson VMware plugin
[INFO]   Hudson Visual SourceSafe Plug-in
[INFO]   Hudson Xvnc plugin
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\pom.xml to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\hudson\1.3\hudson-1.3.pom
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson main module
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\main\pom.xml to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\main\pom\1.161-SNAPSHOT\pom-1.161-SNAPSHOT.pom
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson remoting layer
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to D:\Projects\hudson\hudson\main\remoting\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to D:\Projects\hudson\hudson\main\remoting\target\test-classes
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar: D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
[INFO] [jar:sign {execution: default}]
[debug] jarsigner executable=[C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe]
[debug] Executing: C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe -verify D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
[info] jar is unsigned. (signatures missing or not parsable)
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\main\remoting\1.161-SNAPSHOT\remot
ing-1.161-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson Maven PluginManager interceptor
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-inter
ceptor\1.161-SNAPSHOT\maven-interceptor-1.161-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson Maven CLI agent
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\Projects\hudson\hudson\main\maven-agent\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running hudson.maven.agent.LaunchTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar to C:\Documents and Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-agent\1.161-SNAPS
HOT\maven-agent-1.161-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hudson core
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.7
[INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [antlr:generate {execution: default}]
[INFO] grammar: D:\Projects\hudson\hudson\main\core\src\main\grammar\crontab.g
[INFO] The grammar is already generated
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
     [echo] The build id is: 1.161-SNAPSHOT (private-12/11/2007 11:23-anders)
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [stapler:apt-compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\Projects\hudson\hudson\main\core\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running hudson.search.SearchTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running hudson.FilePathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running hudson.scm.SubversionSCMTest
[abc def, ghi]
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running hudson.scheduler.CrontabTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running hudson.UtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running hudson.util.LineEndNormalizingWriterTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running hudson.util.IteratorsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running hudson.MarkupTextTest
I fixed <155>issue #155<155>. The rest is trick text: xissue #155 issue #123x
<155>issue #155<155>---<123>issue #123<123>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running hudson.model.FingerprintTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running hudson.util.WriterOutputStreamTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running hudson.model.ResourceListTest
Tests run: 12, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec <<< FAILURE!
Running hudson.util.CopyOnWriteListTest
<hudson.util.CopyOnWriteListTest_-TestData>
  <list1>
    <string>foobar1</string>
  </list1>
  <list2>
    <string>foobar2</string>
  </list2>
</hudson.util.CopyOnWriteListTest_-TestData>@SLTests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec

Results :

Failed tests:
  testSimpleRW(hudson.model.ResourceListTest)
  testSimpleW(hudson.model.ResourceListTest)
  testParentChildW(hudson.model.ResourceListTest)
  testParentChildW3(hudson.model.ResourceListTest)
  testMultiWrite1(hudson.model.ResourceListTest)
  testMultiWriteN(hudson.model.ResourceListTest)

Tests run: 29, Failures: 6, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:425)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Tue Dec 11 23:23:36 CET 2007
[INFO] Final Memory: 22M/40M
[INFO] ------------------------------------------------------------------------

D:\Projects\hudson\hudson>


Express yourself instantly with MSN Messenger! MSN Messenger

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hudon fails to build properly

Erik Ramfelt
In reply to this post by citron
It doesnt build because some unit tests fails, and will stop maven
immediately. To ignore tests add this to the maven comman line
"-Dmaven.test.failure.ignore=true"

Im seeing the see the same failures on my hudson build machine.


//Erik

On Dec 11, 2007 11:26 PM, Anders Viklund <[hidden email]> wrote:

>
>  Hi,
>
> I am trying to build Hudson from source but it fails, any ideas?
>
> Thanks!!
>
>
>
> D:\Projects\hudson\hudson>mvn -e install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Hudson
> [INFO]   Hudson main module
> [INFO]   Hudson remoting layer
> [INFO]   Hudson Maven PluginManager interceptor
> [INFO]   Hudson Maven CLI agent
> [INFO]   Hudson core
> [INFO]   Hudson JNLP slave agent
> [INFO]   Hudson war
> [INFO]   Hudson tools
> [INFO]   Maven Hudson Plugin
> [INFO]   Hudson plugin POM
> [INFO]   Hudson Accurev plugin
> [INFO]   Hudson batch task plugin
> [INFO]   Hudson Build-Publisher plugin
> [INFO]   Hudson build timeout plugin
> [INFO]   Hudson Clear Case Plug-in
> [INFO]   Hudson Clover plugin
> [INFO]   codeviation
> [INFO]   Hudson Cobertura plugin
> [INFO]   Hudson Email Extension Plugin
> [INFO]   Hudson Emma plugin
> [INFO]   Hudson External-Project plugin
> [INFO]   Hudson FindBugs Plug-in
> [INFO]   Hudson Gant plugin
> [INFO]   Hudson Google Calendar plugin
> [INFO]   Hudson hello-world plugin
> [INFO]   Hudson IRC Plugin
> [INFO]   Hudson Ivy plugin
> [INFO]   Hudson Jabber notifier plugin
> [INFO]   Hudson JAPEX plugin
> [INFO]   Hudson JavaTest report plugin
> [INFO]   Hudson java.net uploader plugin
> [INFO]   Hudson java.net CVS/SVN build trigger plugin
> [INFO]   Hudson JIRA plugin
> [INFO]   Hudson JMX Plugin
> [INFO]   Hudson JPRT plugin
> [INFO]   Hudson JWSDP SQE test report plugin
> [INFO]   Hudson Locks and Latches plugin
> [INFO]   Maven 1.x snapshot trigger
> [INFO]   Hudson Mercurial plugin
> [INFO]   Hudson MSBuild Plugin
> [INFO]   Hudson NAnt Plugin
> [INFO]   Hudson NUnit plugin
> [INFO]   Hudson Plot plugin
> [INFO]   Hudson Perforce Plugin
> [INFO]   Hudson plugin for "Polarion Webclient for SVN"
> [INFO]   Hudson Port Allocator Plug-in
> [INFO]   Hudson SCP publisher plugin
> [INFO]   Hudson SVN 1.3 Compatibility plugin
> [INFO]   Hudson Task Scanner Plug-in
> [INFO]   Hudson TextFinder plugin
> [INFO]   Hudson Edgewall Trac plugin
> [INFO]   Hudson Violations plugin
> [INFO]   Hudson VMware plugin
> [INFO]   Hudson Visual SourceSafe Plug-in
> [INFO]   Hudson Xvnc plugin
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Hudson
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing D:\Projects\hudson\hudson\pom.xml to C:\Documents and
> Settings\anders\.m2\repository\org\jvnet\hudson\hudson\1.3\hudson-1.3.pom
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Hudson main module
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing D:\Projects\hudson\hudson\main\pom.xml to C:\Documents and
> Settings\anders\.m2\repository\org\jvnet\hudson\main\pom\1.161-SNAPSHOT\pom-1.161-SNAPSHOT.pom
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Hudson remoting layer
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 1 source file to
> D:\Projects\hudson\hudson\main\remoting\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to
> D:\Projects\hudson\hudson\main\remoting\target\test-classes
> [INFO] [surefire:test]
> [INFO] Tests are skipped.
> [INFO] [jar:jar]
> [INFO] Building jar:
> D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
> [INFO] [jar:sign {execution: default}]
> [debug] jarsigner
> executable=[C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe]
> [debug] Executing: C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe -verify
> D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
> [info] jar is unsigned. (signatures missing or not parsable)
> [INFO] [install:install]
> [INFO] Installing
> D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
> to C:\Documents and
> Settings\anders\.m2\repository\org\jvnet\hudson\main\remoting\1.161-SNAPSHOT\remot
> ing-1.161-SNAPSHOT.jar
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Hudson Maven PluginManager interceptor
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [jar:jar]
> [INFO] Building jar:
> D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing
> D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar
> to C:\Documents and
> Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-inter
> ceptor\1.161-SNAPSHOT\maven-interceptor-1.161-SNAPSHOT.jar
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Hudson Maven CLI agent
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> D:\Projects\hudson\hudson\main\maven-agent\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running hudson.maven.agent.LaunchTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
>
> Results :
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
> D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing
> D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar
> to C:\Documents and
> Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-agent\1.161-SNAPS
> HOT\maven-agent-1.161-SNAPSHOT.jar
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Hudson core
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [antlr:generate {execution: default}]
> [INFO] grammar:
> D:\Projects\hudson\hudson\main\core\src\main\grammar\crontab.g
> [INFO] The grammar is already generated
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
>      [echo] The build id is: 1.161-SNAPSHOT (private-12/11/2007
> 11:23-anders)
> [INFO] Executed tasks
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [stapler:apt-compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> D:\Projects\hudson\hudson\main\core\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running hudson.search.SearchTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
> Running hudson.FilePathTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running hudson.scm.SubversionSCMTest
> [abc def, ghi]
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running hudson.scheduler.CrontabTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running hudson.UtilTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running hudson.util.LineEndNormalizingWriterTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running hudson.util.IteratorsTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running hudson.MarkupTextTest
> I fixed <155>issue #155<155>. The rest is trick text: xissue #155 issue
> #123x
> <155>issue #155<155>---<123>issue #123<123>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running hudson.model.FingerprintTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running hudson.util.WriterOutputStreamTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running hudson.model.ResourceListTest
> Tests run: 12, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> <<< FAILURE!
> Running hudson.util.CopyOnWriteListTest
> <hudson.util.CopyOnWriteListTest_-TestData>
>   <list1>
>     <string>foobar1</string>
>   </list1>
>   <list2>
>     <string>foobar2</string>
>   </list2>
> </hudson.util.CopyOnWriteListTest_-TestData>@SLTests run: 1, Failures: 0,
> Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
>
> Results :
>
> Failed tests:
>   testSimpleRW(hudson.model.ResourceListTest)
>   testSimpleW(hudson.model.ResourceListTest)
>   testParentChildW(hudson.model.ResourceListTest)
>   testParentChildW3(hudson.model.ResourceListTest)
>   testMultiWrite1(hudson.model.ResourceListTest)
>   testMultiWriteN(hudson.model.ResourceListTest)
>
> Tests run: 29, Failures: 6, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> failures.
>         at
> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:425)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Tue Dec 11 23:23:36 CET 2007
> [INFO] Final Memory: 22M/40M
> [INFO]
> ------------------------------------------------------------------------
>
> D:\Projects\hudson\hudson>
>
> ________________________________
> Express yourself instantly with MSN Messenger! MSN Messenger
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hudon fails to build properly

stephenconnolly
Yeah, it's the tests I committed to verify if ResourceList and
Resource are working (which they are not)

Those classes looked to be a tad too smart for their own good, hence
my reluctance to fix them myself, as I'm not sure what else Kohsuke
was having them do... messing around with equals symantics and trying
to compare up a tree of parents with comparisons that can't always
work due to how the equals symantics are implemented.  In any case,
they do not detect read-write conflicts, and while they promise to
allow concurrent writes up to N when you specify N, they: 1. allow
concurrent writes unless N > 1! 2. Under some edge cases, if N > 5
they will allow only 5 concurrent writes, not 1, 2, 3, or 4 and never
more and five is a magic number that I cannot see from the code.

alternatively, for a quicker build you can tell maven to not bother
with running unit tests at all..

the quickest way to do this is with -Dtest=0 which will only run tests
starting with 0... since no java class name can start with a digit, I
think you'll be safe from running any tests ;-)

It's better that the .....test.skip=true or is it ..... skip.test=true
as it will at least compile the tests!

-Stephen.

On Dec 12, 2007 6:37 AM, Erik Ramfelt <[hidden email]> wrote:

> It doesnt build because some unit tests fails, and will stop maven
> immediately. To ignore tests add this to the maven comman line
> "-Dmaven.test.failure.ignore=true"
>
> Im seeing the see the same failures on my hudson build machine.
>
>
> //Erik
>
>
> On Dec 11, 2007 11:26 PM, Anders Viklund <[hidden email]> wrote:
> >
> >  Hi,
> >
> > I am trying to build Hudson from source but it fails, any ideas?
> >
> > Thanks!!
> >
> >
> >
> > D:\Projects\hudson\hudson>mvn -e install
> > + Error stacktraces are turned on.
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO]   Hudson
> > [INFO]   Hudson main module
> > [INFO]   Hudson remoting layer
> > [INFO]   Hudson Maven PluginManager interceptor
> > [INFO]   Hudson Maven CLI agent
> > [INFO]   Hudson core
> > [INFO]   Hudson JNLP slave agent
> > [INFO]   Hudson war
> > [INFO]   Hudson tools
> > [INFO]   Maven Hudson Plugin
> > [INFO]   Hudson plugin POM
> > [INFO]   Hudson Accurev plugin
> > [INFO]   Hudson batch task plugin
> > [INFO]   Hudson Build-Publisher plugin
> > [INFO]   Hudson build timeout plugin
> > [INFO]   Hudson Clear Case Plug-in
> > [INFO]   Hudson Clover plugin
> > [INFO]   codeviation
> > [INFO]   Hudson Cobertura plugin
> > [INFO]   Hudson Email Extension Plugin
> > [INFO]   Hudson Emma plugin
> > [INFO]   Hudson External-Project plugin
> > [INFO]   Hudson FindBugs Plug-in
> > [INFO]   Hudson Gant plugin
> > [INFO]   Hudson Google Calendar plugin
> > [INFO]   Hudson hello-world plugin
> > [INFO]   Hudson IRC Plugin
> > [INFO]   Hudson Ivy plugin
> > [INFO]   Hudson Jabber notifier plugin
> > [INFO]   Hudson JAPEX plugin
> > [INFO]   Hudson JavaTest report plugin
> > [INFO]   Hudson java.net uploader plugin
> > [INFO]   Hudson java.net CVS/SVN build trigger plugin
> > [INFO]   Hudson JIRA plugin
> > [INFO]   Hudson JMX Plugin
> > [INFO]   Hudson JPRT plugin
> > [INFO]   Hudson JWSDP SQE test report plugin
> > [INFO]   Hudson Locks and Latches plugin
> > [INFO]   Maven 1.x snapshot trigger
> > [INFO]   Hudson Mercurial plugin
> > [INFO]   Hudson MSBuild Plugin
> > [INFO]   Hudson NAnt Plugin
> > [INFO]   Hudson NUnit plugin
> > [INFO]   Hudson Plot plugin
> > [INFO]   Hudson Perforce Plugin
> > [INFO]   Hudson plugin for "Polarion Webclient for SVN"
> > [INFO]   Hudson Port Allocator Plug-in
> > [INFO]   Hudson SCP publisher plugin
> > [INFO]   Hudson SVN 1.3 Compatibility plugin
> > [INFO]   Hudson Task Scanner Plug-in
> > [INFO]   Hudson TextFinder plugin
> > [INFO]   Hudson Edgewall Trac plugin
> > [INFO]   Hudson Violations plugin
> > [INFO]   Hudson VMware plugin
> > [INFO]   Hudson Visual SourceSafe Plug-in
> > [INFO]   Hudson Xvnc plugin
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building Hudson
> > [INFO]    task-segment: [install]
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] [enforcer:display-info {execution: default}]
> > [INFO] Maven Version: 2.0.7
> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> > [INFO] [site:attach-descriptor]
> > [INFO] [install:install]
> > [INFO] Installing D:\Projects\hudson\hudson\pom.xml to C:\Documents and
> > Settings\anders\.m2\repository\org\jvnet\hudson\hudson\1.3\hudson-1.3.pom
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building Hudson main module
> > [INFO]    task-segment: [install]
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] [enforcer:display-info {execution: default}]
> > [INFO] Maven Version: 2.0.7
> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> > [INFO] [site:attach-descriptor]
> > [INFO] [install:install]
> > [INFO] Installing D:\Projects\hudson\hudson\main\pom.xml to C:\Documents and
> > Settings\anders\.m2\repository\org\jvnet\hudson\main\pom\1.161-SNAPSHOT\pom-1.161-SNAPSHOT.pom
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building Hudson remoting layer
> > [INFO]    task-segment: [install]
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] [enforcer:display-info {execution: default}]
> > [INFO] Maven Version: 2.0.7
> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Compiling 1 source file to
> > D:\Projects\hudson\hudson\main\remoting\target\classes
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:testCompile]
> > [INFO] Compiling 1 source file to
> > D:\Projects\hudson\hudson\main\remoting\target\test-classes
> > [INFO] [surefire:test]
> > [INFO] Tests are skipped.
> > [INFO] [jar:jar]
> > [INFO] Building jar:
> > D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
> > [INFO] [jar:sign {execution: default}]
> > [debug] jarsigner
> > executable=[C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe]
> > [debug] Executing: C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe -verify
> > D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
> > [info] jar is unsigned. (signatures missing or not parsable)
> > [INFO] [install:install]
> > [INFO] Installing
> > D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
> > to C:\Documents and
> > Settings\anders\.m2\repository\org\jvnet\hudson\main\remoting\1.161-SNAPSHOT\remot
> > ing-1.161-SNAPSHOT.jar
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building Hudson Maven PluginManager interceptor
> > [INFO]    task-segment: [install]
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] [enforcer:display-info {execution: default}]
> > [INFO] Maven Version: 2.0.7
> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:testCompile]
> > [INFO] No sources to compile
> > [INFO] [surefire:test]
> > [INFO] No tests to run.
> > [INFO] [jar:jar]
> > [INFO] Building jar:
> > D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar
> > [INFO] [install:install]
> > [INFO] Installing
> > D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar
> > to C:\Documents and
> > Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-inter
> > ceptor\1.161-SNAPSHOT\maven-interceptor-1.161-SNAPSHOT.jar
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building Hudson Maven CLI agent
> > [INFO]    task-segment: [install]
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] [enforcer:display-info {execution: default}]
> > [INFO] Maven Version: 2.0.7
> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:testCompile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [surefire:test]
> > [INFO] Surefire report directory:
> > D:\Projects\hudson\hudson\main\maven-agent\target\surefire-reports
> >
> > -------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> > Running hudson.maven.agent.LaunchTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> >
> > Results :
> >
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> >
> > [INFO] [jar:jar]
> > [INFO] Building jar:
> > D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar
> > [INFO] [install:install]
> > [INFO] Installing
> > D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar
> > to C:\Documents and
> > Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-agent\1.161-SNAPS
> > HOT\maven-agent-1.161-SNAPSHOT.jar
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building Hudson core
> > [INFO]    task-segment: [install]
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] [enforcer:display-info {execution: default}]
> > [INFO] Maven Version: 2.0.7
> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> > [INFO] [antlr:generate {execution: default}]
> > [INFO] grammar:
> > D:\Projects\hudson\hudson\main\core\src\main\grammar\crontab.g
> > [INFO] The grammar is already generated
> > [INFO] [antrun:run {execution: default}]
> > [INFO] Executing tasks
> >      [echo] The build id is: 1.161-SNAPSHOT (private-12/11/2007
> > 11:23-anders)
> > [INFO] Executed tasks
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [stapler:apt-compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:testCompile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [surefire:test]
> > [INFO] Surefire report directory:
> > D:\Projects\hudson\hudson\main\core\target\surefire-reports
> >
> > -------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> > Running hudson.search.SearchTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
> > Running hudson.FilePathTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> > Running hudson.scm.SubversionSCMTest
> > [abc def, ghi]
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> > Running hudson.scheduler.CrontabTest
> > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> > Running hudson.UtilTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> > Running hudson.util.LineEndNormalizingWriterTest
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> > Running hudson.util.IteratorsTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> > Running hudson.MarkupTextTest
> > I fixed <155>issue #155<155>. The rest is trick text: xissue #155 issue
> > #123x
> > <155>issue #155<155>---<123>issue #123<123>
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> > Running hudson.model.FingerprintTest
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> > Running hudson.util.WriterOutputStreamTest
> > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> > Running hudson.model.ResourceListTest
> > Tests run: 12, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> > <<< FAILURE!
> > Running hudson.util.CopyOnWriteListTest
> > <hudson.util.CopyOnWriteListTest_-TestData>
> >   <list1>
> >     <string>foobar1</string>
> >   </list1>
> >   <list2>
> >     <string>foobar2</string>
> >   </list2>
> > </hudson.util.CopyOnWriteListTest_-TestData>@SLTests run: 1, Failures: 0,
> > Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> >
> > Results :
> >
> > Failed tests:
> >   testSimpleRW(hudson.model.ResourceListTest)
> >   testSimpleW(hudson.model.ResourceListTest)
> >   testParentChildW(hudson.model.ResourceListTest)
> >   testParentChildW3(hudson.model.ResourceListTest)
> >   testMultiWrite1(hudson.model.ResourceListTest)
> >   testMultiWriteN(hudson.model.ResourceListTest)
> >
> > Tests run: 29, Failures: 6, Errors: 0, Skipped: 0
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] There are test failures.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.BuildFailureException: There are test failures.
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> > failures.
> >         at
> > org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:425)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> >         ... 16 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 15 seconds
> > [INFO] Finished at: Tue Dec 11 23:23:36 CET 2007
> > [INFO] Final Memory: 22M/40M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > D:\Projects\hudson\hudson>
> >
> > ________________________________
> > Express yourself instantly with MSN Messenger! MSN Messenger
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hudon fails to build properly

Nicolas Lalevée-2
In reply to this post by David Tai
Le mardi 11 décembre 2007, David Tai a écrit :
> It fails to me too.

You have to build it with java 1.6

Nicolas

>
>
>
> C:\archives\hudson\temp\hudson\hudson\main\core\src\main\java\hudson\Fun
> ctions.java:622: cannot find
>
>  symbol
>
> symbol  : class LockInfo
>
> location: class hudson.Functions
>
>            for (LockInfo li : locks) {
>
>                 ^
>
> C:\archives\hudson\temp\hudson\hudson\main\core\src\main\java\hudson\nod
> e_monitors\DiskSpaceMonitor.
>
> java:63: cannot find symbol
>
> symbol  : method getUsableSpace()
>
> location: class java.io.File
>
>             return f.getUsableSpace();
>
>                     ^
>
> Note: Some input files use or override a deprecated API.
>
> Note: Recompile with -Xlint:deprecation for details.
>
> Note: Some input files use unchecked or unsafe operations.
>
> Note: Recompile with -Xlint:unchecked for details.
>
> 17 errors
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Fatal error compiling
>
>
>
> Embedded error: APT failed: 1
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 37 seconds
>
> [INFO] Finished at: Tue Dec 11 17:22:34 EST 2007
>
> [INFO] Final Memory: 23M/72M
>
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> ________________________________
>
> From: Anders Viklund [mailto:[hidden email]]
> Sent: Tuesday, December 11, 2007 5:27 PM
> To: [hidden email]
> Subject: Hudon fails to build properly
>
>
>
> Hi,
>
> I am trying to build Hudson from source but it fails, any ideas?
>
> Thanks!!
>
>
>
> D:\Projects\hudson\hudson>mvn -e install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Hudson
> [INFO]   Hudson main module
> [INFO]   Hudson remoting layer
> [INFO]   Hudson Maven PluginManager interceptor
> [INFO]   Hudson Maven CLI agent
> [INFO]   Hudson core
> [INFO]   Hudson JNLP slave agent
> [INFO]   Hudson war
> [INFO]   Hudson tools
> [INFO]   Maven Hudson Plugin
> [INFO]   Hudson plugin POM
> [INFO]   Hudson Accurev plugin
> [INFO]   Hudson batch task plugin
> [INFO]   Hudson Build-Publisher plugin
> [INFO]   Hudson build timeout plugin
> [INFO]   Hudson Clear Case Plug-in
> [INFO]   Hudson Clover plugin
> [INFO]   codeviation
> [INFO]   Hudson Cobertura plugin
> [INFO]   Hudson Email Extension Plugin
> [INFO]   Hudson Emma plugin
> [INFO]   Hudson External-Project plugin
> [INFO]   Hudson FindBugs Plug-in
> [INFO]   Hudson Gant plugin
> [INFO]   Hudson Google Calendar plugin
> [INFO]   Hudson hello-world plugin
> [INFO]   Hudson IRC Plugin
> [INFO]   Hudson Ivy plugin
> [INFO]   Hudson Jabber notifier plugin
> [INFO]   Hudson JAPEX plugin
> [INFO]   Hudson JavaTest report plugin
> [INFO]   Hudson java.net uploader plugin
> [INFO]   Hudson java.net CVS/SVN build trigger plugin
> [INFO]   Hudson JIRA plugin
> [INFO]   Hudson JMX Plugin
> [INFO]   Hudson JPRT plugin
> [INFO]   Hudson JWSDP SQE test report plugin
> [INFO]   Hudson Locks and Latches plugin
> [INFO]   Maven 1.x snapshot trigger
> [INFO]   Hudson Mercurial plugin
> [INFO]   Hudson MSBuild Plugin
> [INFO]   Hudson NAnt Plugin
> [INFO]   Hudson NUnit plugin
> [INFO]   Hudson Plot plugin
> [INFO]   Hudson Perforce Plugin
> [INFO]   Hudson plugin for "Polarion Webclient for SVN"
> [INFO]   Hudson Port Allocator Plug-in
> [INFO]   Hudson SCP publisher plugin
> [INFO]   Hudson SVN 1.3 Compatibility plugin
> [INFO]   Hudson Task Scanner Plug-in
> [INFO]   Hudson TextFinder plugin
> [INFO]   Hudson Edgewall Trac plugin
> [INFO]   Hudson Violations plugin
> [INFO]   Hudson VMware plugin
> [INFO]   Hudson Visual SourceSafe Plug-in
> [INFO]   Hudson Xvnc plugin
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building Hudson
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing D:\Projects\hudson\hudson\pom.xml to C:\Documents and
> Settings\anders\.m2\repository\org\jvnet\hudson\hudson\1.3\hudson-1.3.po
> m
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building Hudson main module
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing D:\Projects\hudson\hudson\main\pom.xml to C:\Documents
> and
> Settings\anders\.m2\repository\org\jvnet\hudson\main\pom\1.161-SNAPSHOT\
> pom-1.161-SNAPSHOT.pom
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building Hudson remoting layer
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 1 source file to
> D:\Projects\hudson\hudson\main\remoting\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to
> D:\Projects\hudson\hudson\main\remoting\target\test-classes
> [INFO] [surefire:test]
> [INFO] Tests are skipped.
> [INFO] [jar:jar]
> [INFO] Building jar:
> D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.j
> ar
> [INFO] [jar:sign {execution: default}]
> [debug] jarsigner
> executable=[C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe]
> [debug] Executing: C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe
> -verify
> D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.j
> ar
> [info] jar is unsigned. (signatures missing or not parsable)
> [INFO] [install:install]
> [INFO] Installing
> D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.j
> ar to C:\Documents and
> Settings\anders\.m2\repository\org\jvnet\hudson\main\remoting\1.161-SNAP
> SHOT\remot
> ing-1.161-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building Hudson Maven PluginManager interceptor
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [jar:jar]
> [INFO] Building jar:
> D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-intercepto
> r-1.161-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing
> D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-intercepto
> r-1.161-SNAPSHOT.jar to C:\Documents and
> Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-inter
> ceptor\1.161-SNAPSHOT\maven-interceptor-1.161-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building Hudson Maven CLI agent
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> D:\Projects\hudson\hudson\main\maven-agent\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running hudson.maven.agent.LaunchTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
> sec
>
> Results :
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
> D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAP
> SHOT.jar
> [INFO] [install:install]
> [INFO] Installing
> D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAP
> SHOT.jar to C:\Documents and
> Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-agent\1.161-S
> NAPS
> HOT\maven-agent-1.161-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building Hudson core
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.0.7
> [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [antlr:generate {execution: default}]
> [INFO] grammar:
> D:\Projects\hudson\hudson\main\core\src\main\grammar\crontab.g
> [INFO] The grammar is already generated
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
>      [echo] The build id is: 1.161-SNAPSHOT (private-12/11/2007
> 11:23-anders)
> [INFO] Executed tasks
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [stapler:apt-compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> D:\Projects\hudson\hudson\main\core\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running hudson.search.SearchTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032
> sec
> Running hudson.FilePathTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
> sec
> Running hudson.scm.SubversionSCMTest
> [abc def, ghi]
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031
> sec
> Running hudson.scheduler.CrontabTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
> sec
> Running hudson.UtilTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031
> sec
> Running hudson.util.LineEndNormalizingWriterTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running hudson.util.IteratorsTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
> sec
> Running hudson.MarkupTextTest
> I fixed <155>issue #155<155>. The rest is trick text: xissue #155 issue
> #123x
> <155>issue #155<155>---<123>issue #123<123>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running hudson.model.FingerprintTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
> sec
> Running hudson.util.WriterOutputStreamTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running hudson.model.ResourceListTest
> Tests run: 12, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.031
> sec <<< FAILURE!
> Running hudson.util.CopyOnWriteListTest
> <hudson.util.CopyOnWriteListTest_-TestData>
>   <list1>
>     <string>foobar1</string>
>   </list1>
>   <list2>
>     <string>foobar2</string>
>   </list2>
> </hudson.util.CopyOnWriteListTest_-TestData>@SLTests run: 1, Failures:
> 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
>
> Results :
>
> Failed tests:
>   testSimpleRW(hudson.model.ResourceListTest)
>   testSimpleW(hudson.model.ResourceListTest)
>   testParentChildW(hudson.model.ResourceListTest)
>   testParentChildW3(hudson.model.ResourceListTest)
>   testMultiWrite1(hudson.model.ResourceListTest)
>   testMultiWriteN(hudson.model.ResourceListTest)
>
> Tests run: 29, Failures: 6, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:560)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:143)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> failures.
>         at
> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.j
> ava:425)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:539)
>         ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Tue Dec 11 23:23:36 CET 2007
> [INFO] Final Memory: 22M/40M
> [INFO]
> ------------------------------------------------------------------------
>
> D:\Projects\hudson\hudson>
>
> ________________________________
>
> Express yourself instantly with MSN Messenger! MSN Messenger
> <http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>



--
Nicolas LALEVÉE
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hudon fails to build properly

Kohsuke Kawaguchi
Administrator
In reply to this post by stephenconnolly


Stephen Connolly wrote:
> Yeah, it's the tests I committed to verify if ResourceList and
> Resource are working (which they are not)

Should be all fixed now. I think it was all fairly simple errors.

> Those classes looked to be a tad too smart for their own good, hence
> my reluctance to fix them myself, as I'm not sure what else Kohsuke
> was having them do... messing around with equals symantics and trying
> to compare up a tree of parents with comparisons that can't always
> work due to how the equals symantics are implemented.  In any case,
> they do not detect read-write conflicts, and while they promise to
> allow concurrent writes up to N when you specify N, they: 1. allow
> concurrent writes unless N > 1! 2. Under some edge cases, if N > 5
> they will allow only 5 concurrent writes, not 1, 2, 3, or 4 and never
> more and five is a magic number that I cannot see from the code.
>
> alternatively, for a quicker build you can tell maven to not bother
> with running unit tests at all..
>
> the quickest way to do this is with -Dtest=0 which will only run tests
> starting with 0... since no java class name can start with a digit, I
> think you'll be safe from running any tests ;-)
>
> It's better that the .....test.skip=true or is it ..... skip.test=true
> as it will at least compile the tests!
>
> -Stephen.
>
> On Dec 12, 2007 6:37 AM, Erik Ramfelt <[hidden email]> wrote:
>> It doesnt build because some unit tests fails, and will stop maven
>> immediately. To ignore tests add this to the maven comman line
>> "-Dmaven.test.failure.ignore=true"
>>
>> Im seeing the see the same failures on my hudson build machine.
>>
>>
>> //Erik
>>
>>
>> On Dec 11, 2007 11:26 PM, Anders Viklund <[hidden email]> wrote:
>> >
>> >  Hi,
>> >
>> > I am trying to build Hudson from source but it fails, any ideas?
>> >
>> > Thanks!!
>> >
>> >
>> >
>> > D:\Projects\hudson\hudson>mvn -e install
>> > + Error stacktraces are turned on.
>> > [INFO] Scanning for projects...
>> > [INFO] Reactor build order:
>> > [INFO]   Hudson
>> > [INFO]   Hudson main module
>> > [INFO]   Hudson remoting layer
>> > [INFO]   Hudson Maven PluginManager interceptor
>> > [INFO]   Hudson Maven CLI agent
>> > [INFO]   Hudson core
>> > [INFO]   Hudson JNLP slave agent
>> > [INFO]   Hudson war
>> > [INFO]   Hudson tools
>> > [INFO]   Maven Hudson Plugin
>> > [INFO]   Hudson plugin POM
>> > [INFO]   Hudson Accurev plugin
>> > [INFO]   Hudson batch task plugin
>> > [INFO]   Hudson Build-Publisher plugin
>> > [INFO]   Hudson build timeout plugin
>> > [INFO]   Hudson Clear Case Plug-in
>> > [INFO]   Hudson Clover plugin
>> > [INFO]   codeviation
>> > [INFO]   Hudson Cobertura plugin
>> > [INFO]   Hudson Email Extension Plugin
>> > [INFO]   Hudson Emma plugin
>> > [INFO]   Hudson External-Project plugin
>> > [INFO]   Hudson FindBugs Plug-in
>> > [INFO]   Hudson Gant plugin
>> > [INFO]   Hudson Google Calendar plugin
>> > [INFO]   Hudson hello-world plugin
>> > [INFO]   Hudson IRC Plugin
>> > [INFO]   Hudson Ivy plugin
>> > [INFO]   Hudson Jabber notifier plugin
>> > [INFO]   Hudson JAPEX plugin
>> > [INFO]   Hudson JavaTest report plugin
>> > [INFO]   Hudson java.net uploader plugin
>> > [INFO]   Hudson java.net CVS/SVN build trigger plugin
>> > [INFO]   Hudson JIRA plugin
>> > [INFO]   Hudson JMX Plugin
>> > [INFO]   Hudson JPRT plugin
>> > [INFO]   Hudson JWSDP SQE test report plugin
>> > [INFO]   Hudson Locks and Latches plugin
>> > [INFO]   Maven 1.x snapshot trigger
>> > [INFO]   Hudson Mercurial plugin
>> > [INFO]   Hudson MSBuild Plugin
>> > [INFO]   Hudson NAnt Plugin
>> > [INFO]   Hudson NUnit plugin
>> > [INFO]   Hudson Plot plugin
>> > [INFO]   Hudson Perforce Plugin
>> > [INFO]   Hudson plugin for "Polarion Webclient for SVN"
>> > [INFO]   Hudson Port Allocator Plug-in
>> > [INFO]   Hudson SCP publisher plugin
>> > [INFO]   Hudson SVN 1.3 Compatibility plugin
>> > [INFO]   Hudson Task Scanner Plug-in
>> > [INFO]   Hudson TextFinder plugin
>> > [INFO]   Hudson Edgewall Trac plugin
>> > [INFO]   Hudson Violations plugin
>> > [INFO]   Hudson VMware plugin
>> > [INFO]   Hudson Visual SourceSafe Plug-in
>> > [INFO]   Hudson Xvnc plugin
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] Building Hudson
>> > [INFO]    task-segment: [install]
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] [enforcer:display-info {execution: default}]
>> > [INFO] Maven Version: 2.0.7
>> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
>> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
>> > [INFO] [site:attach-descriptor]
>> > [INFO] [install:install]
>> > [INFO] Installing D:\Projects\hudson\hudson\pom.xml to C:\Documents and
>> > Settings\anders\.m2\repository\org\jvnet\hudson\hudson\1.3\hudson-1.3.pom
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] Building Hudson main module
>> > [INFO]    task-segment: [install]
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] [enforcer:display-info {execution: default}]
>> > [INFO] Maven Version: 2.0.7
>> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
>> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
>> > [INFO] [site:attach-descriptor]
>> > [INFO] [install:install]
>> > [INFO] Installing D:\Projects\hudson\hudson\main\pom.xml to C:\Documents and
>> > Settings\anders\.m2\repository\org\jvnet\hudson\main\pom\1.161-SNAPSHOT\pom-1.161-SNAPSHOT.pom
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] Building Hudson remoting layer
>> > [INFO]    task-segment: [install]
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] [enforcer:display-info {execution: default}]
>> > [INFO] Maven Version: 2.0.7
>> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
>> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
>> > [INFO] [resources:resources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] [compiler:compile]
>> > [INFO] Compiling 1 source file to
>> > D:\Projects\hudson\hudson\main\remoting\target\classes
>> > [INFO] [resources:testResources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] [compiler:testCompile]
>> > [INFO] Compiling 1 source file to
>> > D:\Projects\hudson\hudson\main\remoting\target\test-classes
>> > [INFO] [surefire:test]
>> > [INFO] Tests are skipped.
>> > [INFO] [jar:jar]
>> > [INFO] Building jar:
>> > D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
>> > [INFO] [jar:sign {execution: default}]
>> > [debug] jarsigner
>> > executable=[C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe]
>> > [debug] Executing: C:\Program\Java\jdk1.6.0\jre\..\bin\jarsigner.exe -verify
>> > D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
>> > [info] jar is unsigned. (signatures missing or not parsable)
>> > [INFO] [install:install]
>> > [INFO] Installing
>> > D:\Projects\hudson\hudson\main\remoting\target\remoting-1.161-SNAPSHOT.jar
>> > to C:\Documents and
>> > Settings\anders\.m2\repository\org\jvnet\hudson\main\remoting\1.161-SNAPSHOT\remot
>> > ing-1.161-SNAPSHOT.jar
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] Building Hudson Maven PluginManager interceptor
>> > [INFO]    task-segment: [install]
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] [enforcer:display-info {execution: default}]
>> > [INFO] Maven Version: 2.0.7
>> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
>> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
>> > [INFO] [resources:resources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] [compiler:compile]
>> > [INFO] Nothing to compile - all classes are up to date
>> > [INFO] [resources:testResources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] [compiler:testCompile]
>> > [INFO] No sources to compile
>> > [INFO] [surefire:test]
>> > [INFO] No tests to run.
>> > [INFO] [jar:jar]
>> > [INFO] Building jar:
>> > D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar
>> > [INFO] [install:install]
>> > [INFO] Installing
>> > D:\Projects\hudson\hudson\main\maven-interceptor\target\maven-interceptor-1.161-SNAPSHOT.jar
>> > to C:\Documents and
>> > Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-inter
>> > ceptor\1.161-SNAPSHOT\maven-interceptor-1.161-SNAPSHOT.jar
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] Building Hudson Maven CLI agent
>> > [INFO]    task-segment: [install]
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] [enforcer:display-info {execution: default}]
>> > [INFO] Maven Version: 2.0.7
>> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
>> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
>> > [INFO] [resources:resources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] [compiler:compile]
>> > [INFO] Nothing to compile - all classes are up to date
>> > [INFO] [resources:testResources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] [compiler:testCompile]
>> > [INFO] Nothing to compile - all classes are up to date
>> > [INFO] [surefire:test]
>> > [INFO] Surefire report directory:
>> > D:\Projects\hudson\hudson\main\maven-agent\target\surefire-reports
>> >
>> > -------------------------------------------------------
>> >  T E S T S
>> > -------------------------------------------------------
>> > Running hudson.maven.agent.LaunchTest
>> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
>> >
>> > Results :
>> >
>> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
>> >
>> > [INFO] [jar:jar]
>> > [INFO] Building jar:
>> > D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar
>> > [INFO] [install:install]
>> > [INFO] Installing
>> > D:\Projects\hudson\hudson\main\maven-agent\target\maven-agent-1.161-SNAPSHOT.jar
>> > to C:\Documents and
>> > Settings\anders\.m2\repository\org\jvnet\hudson\main\maven-agent\1.161-SNAPS
>> > HOT\maven-agent-1.161-SNAPSHOT.jar
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] Building Hudson core
>> > [INFO]    task-segment: [install]
>> > [INFO]
>> > ----------------------------------------------------------------------------
>> > [INFO] [enforcer:display-info {execution: default}]
>> > [INFO] Maven Version: 2.0.7
>> > [INFO] JDK Version: 1.6.0-rc normalized as: 1.6.0
>> > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
>> > [INFO] [antlr:generate {execution: default}]
>> > [INFO] grammar:
>> > D:\Projects\hudson\hudson\main\core\src\main\grammar\crontab.g
>> > [INFO] The grammar is already generated
>> > [INFO] [antrun:run {execution: default}]
>> > [INFO] Executing tasks
>> >      [echo] The build id is: 1.161-SNAPSHOT (private-12/11/2007
>> > 11:23-anders)
>> > [INFO] Executed tasks
>> > [INFO] [resources:resources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] [stapler:apt-compile]
>> > [INFO] Nothing to compile - all classes are up to date
>> > [INFO] [resources:testResources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] [compiler:testCompile]
>> > [INFO] Nothing to compile - all classes are up to date
>> > [INFO] [surefire:test]
>> > [INFO] Surefire report directory:
>> > D:\Projects\hudson\hudson\main\core\target\surefire-reports
>> >
>> > -------------------------------------------------------
>> >  T E S T S
>> > -------------------------------------------------------
>> > Running hudson.search.SearchTest
>> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
>> > Running hudson.FilePathTest
>> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
>> > Running hudson.scm.SubversionSCMTest
>> > [abc def, ghi]
>> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
>> > Running hudson.scheduler.CrontabTest
>> > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
>> > Running hudson.UtilTest
>> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
>> > Running hudson.util.LineEndNormalizingWriterTest
>> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>> > Running hudson.util.IteratorsTest
>> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
>> > Running hudson.MarkupTextTest
>> > I fixed <155>issue #155<155>. The rest is trick text: xissue #155 issue
>> > #123x
>> > <155>issue #155<155>---<123>issue #123<123>
>> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>> > Running hudson.model.FingerprintTest
>> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
>> > Running hudson.util.WriterOutputStreamTest
>> > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>> > Running hudson.model.ResourceListTest
>> > Tests run: 12, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
>> > <<< FAILURE!
>> > Running hudson.util.CopyOnWriteListTest
>> > <hudson.util.CopyOnWriteListTest_-TestData>
>> >   <list1>
>> >     <string>foobar1</string>
>> >   </list1>
>> >   <list2>
>> >     <string>foobar2</string>
>> >   </list2>
>> > </hudson.util.CopyOnWriteListTest_-TestData>@SLTests run: 1, Failures: 0,
>> > Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
>> >
>> > Results :
>> >
>> > Failed tests:
>> >   testSimpleRW(hudson.model.ResourceListTest)
>> >   testSimpleW(hudson.model.ResourceListTest)
>> >   testParentChildW(hudson.model.ResourceListTest)
>> >   testParentChildW3(hudson.model.ResourceListTest)
>> >   testMultiWrite1(hudson.model.ResourceListTest)
>> >   testMultiWriteN(hudson.model.ResourceListTest)
>> >
>> > Tests run: 29, Failures: 6, Errors: 0, Skipped: 0
>> >
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] There are test failures.
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Trace
>> > org.apache.maven.BuildFailureException: There are test failures.
>> >         at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
>> >         at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>> >         at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>> >         at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>> >         at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>> >         at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >         at
>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >         at
>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >         at java.lang.reflect.Method.invoke(Method.java:597)
>> >         at
>> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >         at
>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> > Caused by: org.apache.maven.plugin.MojoFailureException: There are test
>> > failures.
>> >         at
>> > org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:425)
>> >         at
>> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>> >         at
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>> >         ... 16 more
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 15 seconds
>> > [INFO] Finished at: Tue Dec 11 23:23:36 CET 2007
>> > [INFO] Final Memory: 22M/40M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> >
>> > D:\Projects\hudson\hudson>
>> >
>> > ________________________________
>> > Express yourself instantly with MSN Messenger! MSN Messenger
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Loading...