dev@jersey.java.net

Build failed in Hudson: Jersey #2405

From: Hudson <hudson-admins_at_sun.com>
Date: Fri, 30 Oct 2009 09:29:20 -0700 (PDT)

See <http://hudson.sfbay/job/Jersey/2405/>

------------------------------------------
[...truncated 14630 lines...]
[INFO] [clean:clean]
[INFO] Deleting directory <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target>
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 9 source files to <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target/classes>
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[bookmark] in [<http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target/bookmark]>
[INFO] Processing war project
[INFO] Webapp assembled in[59 msecs]
[INFO] Building war: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target/bookmark.war>
[INFO] [xslt:transform {execution: update-gf-deps}]
[INFO] # of XML files: 1
[INFO] transform, srcFile: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/pom.xml,> destFile: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target/gf-pom-file/pom.xml>
[INFO] [assembly:attached {execution: make-assembly}]
[INFO] Reading assembly descriptor: src/main/assembly/src.xml
[INFO] Reading assembly descriptor: src/main/assembly/glassfish.xml
[INFO] Building zip: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target/bookmark-project.zip>
[INFO] Building zip: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target/bookmark-gf-project.zip>
[INFO] [install:install]
[INFO] Installing <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target/bookmark.war> to /files/hudson/.m2/repository/com/sun/jersey/samples/bookmark/1.1.5-ea-SNAPSHOT/bookmark-1.1.5-ea-SNAPSHOT.war
[INFO] Installing <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target/bookmark-project.zip> to /files/hudson/.m2/repository/com/sun/jersey/samples/bookmark/1.1.5-ea-SNAPSHOT/bookmark-1.1.5-ea-SNAPSHOT-project.zip
[INFO] Installing <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark/target/bookmark-gf-project.zip> to /files/hudson/.m2/repository/com/sun/jersey/samples/bookmark/1.1.5-ea-SNAPSHOT/bookmark-1.1.5-ea-SNAPSHOT-gf-project.zip
[INFO] ------------------------------------------------------------------------
[INFO] Building Bookmark WebApp EM - Jersey sample
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target>
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 9 source files to <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target/classes>
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[bookmark-em] in [<http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target/bookmark-em]>
[INFO] Processing war project
[INFO] Webapp assembled in[24 msecs]
[INFO] Building war: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target/bookmark-em.war>
[INFO] [xslt:transform {execution: update-gf-deps}]
[INFO] # of XML files: 1
[INFO] transform, srcFile: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/pom.xml,> destFile: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target/gf-pom-file/pom.xml>
[INFO] [assembly:attached {execution: make-assembly}]
[INFO] Reading assembly descriptor: src/main/assembly/src.xml
[INFO] Reading assembly descriptor: src/main/assembly/glassfish.xml
[INFO] Building zip: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target/bookmark-em-project.zip>
[INFO] Building zip: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target/bookmark-em-gf-project.zip>
[INFO] [install:install]
[INFO] Installing <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target/bookmark-em.war> to /files/hudson/.m2/repository/com/sun/jersey/samples/bookmark-em/1.1.5-ea-SNAPSHOT/bookmark-em-1.1.5-ea-SNAPSHOT.war
[INFO] Installing <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target/bookmark-em-project.zip> to /files/hudson/.m2/repository/com/sun/jersey/samples/bookmark-em/1.1.5-ea-SNAPSHOT/bookmark-em-1.1.5-ea-SNAPSHOT-project.zip
[INFO] Installing <http://hudson.sfbay/job/Jersey/ws/jersey/samples/bookmark-em/target/bookmark-em-gf-project.zip> to /files/hudson/.m2/repository/com/sun/jersey/samples/bookmark-em/1.1.5-ea-SNAPSHOT/bookmark-em-1.1.5-ea-SNAPSHOT-gf-project.zip
[INFO] ------------------------------------------------------------------------
[INFO] Building Entity provider -- Jersey sample
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory <http://hudson.sfbay/job/Jersey/ws/jersey/samples/entity-provider/target>
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 7 source files to <http://hudson.sfbay/job/Jersey/ws/jersey/samples/entity-provider/target/classes>
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to <http://hudson.sfbay/job/Jersey/ws/jersey/samples/entity-provider/target/test-classes>
[INFO] [surefire:test]
[INFO] Surefire report directory: <http://hudson.sfbay/job/Jersey/ws/jersey/samples/entity-provider/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.sun.jersey.samples.entityprovider.MainTest
Oct 30, 2009 9:29:16 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer <init>
INFO: Creating Grizzly Web Container configured at the base URI http://localhost:9998/
Oct 30, 2009 9:29:17 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer start
INFO: Starting the Grizzly Web Container...
Oct 30, 2009 9:29:18 AM com.sun.grizzly.http.SelectorThread$3 onException
SEVERE: Exception during starting the controller
java.net.BindException: Address already in use: 9998=com.sun.grizzly.http.SelectorThreadHandler_at_111b910
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:355)
        at com.sun.grizzly.Controller.doSelect(Controller.java:348)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1144)
        at com.sun.grizzly.Controller.start(Controller.java:951)
        at com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1161)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
        at java.lang.Thread.run(Thread.java:595)
Oct 30, 2009 9:29:18 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer stop
INFO: Stopping the Grizzly Web Container...
Oct 30, 2009 9:29:18 AM com.sun.grizzly.Controller handleSelectException
SEVERE: doSelect exception
java.net.BindException: Address already in use: 9998=com.sun.grizzly.http.SelectorThreadHandler_at_111b910
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:355)
        at com.sun.grizzly.Controller.doSelect(Controller.java:348)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1144)
        at com.sun.grizzly.Controller.start(Controller.java:951)
        at com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1161)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
        at java.lang.Thread.run(Thread.java:595)
Oct 30, 2009 9:29:18 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer <init>
INFO: Creating Grizzly Web Container configured at the base URI http://localhost:9998/
Oct 30, 2009 9:29:18 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer start
INFO: Starting the Grizzly Web Container...
Oct 30, 2009 9:29:18 AM com.sun.grizzly.http.SelectorThread$3 onException
SEVERE: Exception during starting the controller
java.net.BindException: Address already in use: 9998=com.sun.grizzly.http.SelectorThreadHandler_at_1a897a9
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:355)
        at com.sun.grizzly.Controller.doSelect(Controller.java:348)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1144)
        at com.sun.grizzly.Controller.start(Controller.java:951)
        at com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1161)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
        at java.lang.Thread.run(Thread.java:595)
Oct 30, 2009 9:29:18 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer stop
INFO: Stopping the Grizzly Web Container...
Oct 30, 2009 9:29:18 AM com.sun.grizzly.Controller handleSelectException
SEVERE: doSelect exception
java.net.BindException: Address already in use: 9998=com.sun.grizzly.http.SelectorThreadHandler_at_1a897a9
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:355)
        at com.sun.grizzly.Controller.doSelect(Controller.java:348)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1144)
        at com.sun.grizzly.Controller.start(Controller.java:951)
        at com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1161)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
        at java.lang.Thread.run(Thread.java:595)
Oct 30, 2009 9:29:18 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer <init>
INFO: Creating Grizzly Web Container configured at the base URI http://localhost:9998/
Oct 30, 2009 9:29:18 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer start
INFO: Starting the Grizzly Web Container...
Oct 30, 2009 9:29:18 AM com.sun.grizzly.http.SelectorThread$3 onException
SEVERE: Exception during starting the controller
java.net.BindException: Address already in use: 9998=com.sun.grizzly.http.SelectorThreadHandler_at_1a85d38
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:355)
        at com.sun.grizzly.Controller.doSelect(Controller.java:348)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1144)
        at com.sun.grizzly.Controller.start(Controller.java:951)
        at com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1161)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
        at java.lang.Thread.run(Thread.java:595)
Oct 30, 2009 9:29:18 AM com.sun.grizzly.Controller handleSelectException
SEVERE: doSelect exception
java.net.BindException: Address already in use: 9998=com.sun.grizzly.http.SelectorThreadHandler_at_1a85d38
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:355)
        at com.sun.grizzly.Controller.doSelect(Controller.java:348)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1144)
        at com.sun.grizzly.Controller.start(Controller.java:951)
        at com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1161)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
        at java.lang.Thread.run(Thread.java:595)
Oct 30, 2009 9:29:18 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer stop
INFO: Stopping the Grizzly Web Container...
Oct 30, 2009 9:29:19 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer <init>
INFO: Creating Grizzly Web Container configured at the base URI http://localhost:9998/
Oct 30, 2009 9:29:19 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer start
INFO: Starting the Grizzly Web Container...
Oct 30, 2009 9:29:19 AM com.sun.grizzly.http.SelectorThread$3 onException
SEVERE: Exception during starting the controller
java.net.BindException: Address already in use: 9998=com.sun.grizzly.http.SelectorThreadHandler_at_14dd758
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:355)
        at com.sun.grizzly.Controller.doSelect(Controller.java:348)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1144)
        at com.sun.grizzly.Controller.start(Controller.java:951)
        at com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1161)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
        at java.lang.Thread.run(Thread.java:595)
Oct 30, 2009 9:29:19 AM com.sun.jersey.test.framework.spi.container.grizzly.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer stop
INFO: Stopping the Grizzly Web Container...
Oct 30, 2009 9:29:19 AM com.sun.grizzly.Controller handleSelectException
SEVERE: doSelect exception
java.net.BindException: Address already in use: 9998=com.sun.grizzly.http.SelectorThreadHandler_at_14dd758
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:355)
        at com.sun.grizzly.Controller.doSelect(Controller.java:348)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
        at com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1144)
        at com.sun.grizzly.Controller.start(Controller.java:951)
        at com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1161)
        at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
        at java.lang.Thread.run(Thread.java:595)
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 3.055 sec <<< FAILURE!

Results :

Tests in error:
  testApplicationWadl(com.sun.jersey.samples.entityprovider.MainTest)
  testPropertiesResource(com.sun.jersey.samples.entityprovider.MainTest)
  testGetOnDataResource(com.sun.jersey.samples.entityprovider.MainTest)
  testPostOnDataResource(com.sun.jersey.samples.entityprovider.MainTest)

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

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://hudson.sfbay/job/Jersey/ws/jersey/samples/entity-provider/target/surefire-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to <http://hudson.sfbay/job/Jersey/ws/jersey/samples/entity-provider/target/surefire-reports> for the individual test results.
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        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:585)
        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.

Please refer to <http://hudson.sfbay/job/Jersey/ws/jersey/samples/entity-provider/target/surefire-reports> for the individual test results.
        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 minutes 56 seconds
[INFO] Finished at: Fri Oct 30 09:29:19 PDT 2009
[INFO] Final Memory: 53M/170M
[INFO] ------------------------------------------------------------------------