dev@jersey.java.net

Build failed in Hudson: Jersey #2169

From: Hudson <hudson-admins_at_sun.com>
Date: Sat, 1 Aug 2009 06:01:56 -0700 (PDT)

See <http://hudson.sfbay/job/Jersey/2169/changes>

Changes:

[bsnaresh] Modified the sample tests according to the new test framework

------------------------------------------
[...truncated 9409 lines...]
[INFO] Surefire report directory: /home/hudson/workspace/Jersey/jersey/samples/entity-provider/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.sun.jersey.samples.entityprovider.MainTest
Aug 1, 2009 6:01:15 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  com.sun.jersey.samples.entityprovider
Aug 1, 2009 6:01:16 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Root resource classes found:
  class com.sun.jersey.samples.entityprovider.resources.PropertiesResource
  class com.sun.jersey.samples.entityprovider.resources.MapResource
Aug 1, 2009 6:01:16 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Provider classes found:
  class com.sun.jersey.samples.entityprovider.FormReader
  class com.sun.jersey.samples.entityprovider.FormWriter
  class com.sun.jersey.samples.entityprovider.PropertiesProvider
Aug 1, 2009 6:01:16 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer <init>
INFO: Creating low level grizzly container configured at the base URI http://localhost:9998/
Aug 1, 2009 6:01:16 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.2-ea-SNAPSHOT 08/01/2009 05:52 AM'
Aug 1, 2009 6:01:17 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer start
INFO: Starting low level grizzly container
Aug 1, 2009 6:01:18 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer stop
INFO: Stopping low level grizzly container
Aug 1, 2009 6:01:19 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  com.sun.jersey.samples.entityprovider
Aug 1, 2009 6:01:19 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Root resource classes found:
  class com.sun.jersey.samples.entityprovider.resources.PropertiesResource
  class com.sun.jersey.samples.entityprovider.resources.MapResource
Aug 1, 2009 6:01:19 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Provider classes found:
  class com.sun.jersey.samples.entityprovider.FormReader
  class com.sun.jersey.samples.entityprovider.FormWriter
  class com.sun.jersey.samples.entityprovider.PropertiesProvider
Aug 1, 2009 6:01:19 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer <init>
INFO: Creating low level grizzly container configured at the base URI http://localhost:9998/
Aug 1, 2009 6:01:19 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.2-ea-SNAPSHOT 08/01/2009 05:52 AM'
Aug 1, 2009 6:01:19 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer start
INFO: Starting low level grizzly container
Aug 1, 2009 6:01:20 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer stop
INFO: Stopping low level grizzly container
Aug 1, 2009 6:01:20 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  com.sun.jersey.samples.entityprovider
Aug 1, 2009 6:01:20 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Root resource classes found:
  class com.sun.jersey.samples.entityprovider.resources.PropertiesResource
  class com.sun.jersey.samples.entityprovider.resources.MapResource
Aug 1, 2009 6:01:20 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Provider classes found:
  class com.sun.jersey.samples.entityprovider.FormReader
  class com.sun.jersey.samples.entityprovider.FormWriter
  class com.sun.jersey.samples.entityprovider.PropertiesProvider
Aug 1, 2009 6:01:20 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer <init>
INFO: Creating low level grizzly container configured at the base URI http://localhost:9998/
Aug 1, 2009 6:01:20 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.2-ea-SNAPSHOT 08/01/2009 05:52 AM'
Aug 1, 2009 6:01:20 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer start
INFO: Starting low level grizzly container
Aug 1, 2009 6:01:20 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer stop
INFO: Stopping low level grizzly container
Aug 1, 2009 6:01:21 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  com.sun.jersey.samples.entityprovider
Aug 1, 2009 6:01:21 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Root resource classes found:
  class com.sun.jersey.samples.entityprovider.resources.PropertiesResource
  class com.sun.jersey.samples.entityprovider.resources.MapResource
Aug 1, 2009 6:01:21 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Provider classes found:
  class com.sun.jersey.samples.entityprovider.FormReader
  class com.sun.jersey.samples.entityprovider.FormWriter
  class com.sun.jersey.samples.entityprovider.PropertiesProvider
Aug 1, 2009 6:01:21 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer <init>
INFO: Creating low level grizzly container configured at the base URI http://localhost:9998/
Aug 1, 2009 6:01:21 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.2-ea-SNAPSHOT 08/01/2009 05:52 AM'
Aug 1, 2009 6:01:21 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer start
INFO: Starting low level grizzly container
Aug 1, 2009 6:01:21 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer stop
INFO: Stopping low level grizzly container
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.158 sec

Results :

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

[INFO] [jar:jar]
[INFO] Building jar: /home/hudson/workspace/Jersey/jersey/samples/entity-provider/target/entity-provider-1.1.2-ea-SNAPSHOT.jar
[INFO] [assembly:attached {execution: make-assembly}]
[INFO] Reading assembly descriptor: src/main/assembly/src.xml
[INFO] Building zip: /home/hudson/workspace/Jersey/jersey/samples/entity-provider/target/entity-provider-1.1.2-ea-SNAPSHOT-project.zip
[INFO] [install:install]
[INFO] Installing /home/hudson/workspace/Jersey/jersey/samples/entity-provider/target/entity-provider-1.1.2-ea-SNAPSHOT.jar to /home/hudson/.m2/repository/com/sun/jersey/samples/entity-provider/1.1.2-ea-SNAPSHOT/entity-provider-1.1.2-ea-SNAPSHOT.jar
[INFO] Installing /home/hudson/workspace/Jersey/jersey/samples/entity-provider/target/entity-provider-1.1.2-ea-SNAPSHOT-project.zip to /home/hudson/.m2/repository/com/sun/jersey/samples/entity-provider/1.1.2-ea-SNAPSHOT/entity-provider-1.1.2-ea-SNAPSHOT-project.zip
[INFO] ------------------------------------------------------------------------
[INFO] Building Extended WADL WebApp - Jersey sample
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/target
[INFO] [jaxb:generate {execution: default}]
[INFO] The <includeBindings> setting was not defined, assuming *.xjb.
[INFO] schemaDirectory: /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/src/main/xsd
[INFO] includeSchemas: [**/*.xsd]
[INFO] excludeSchemas: null
[INFO] includeBindings: [*.xjb]
[INFO] excludeBindings: null
[INFO] generatePackage: com.sun.jersey.samples.extendedwadl.model
[INFO] generateDirectory: /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/target/generated-sources/xjc
[INFO] readOnly: false
[INFO] extension: true
[INFO] catalog: null
[INFO] removeOldOutput: false
[INFO] strict: false
[INFO] verbose: true
[INFO] pom dependency: /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/pom.xml
[INFO] /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/target/generated-sources/xjc/com/sun/jersey/samples/extendedwadl/model is not found and thus excluded from the dependency check
[INFO] Schema dependency: /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/src/main/xsd/schema.xsd
[INFO] XJC compile
[INFO] build id of XJC is 2.0.2-b01-fcs
[INFO] Checking timestamp of /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/src/main/xsd/schema.xsd
[INFO] Checking timestamp of /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/pom.xml
[INFO] Checking timestamp of /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/src/main/xsd/schema.xsd
[INFO] the last modified time of the inputs is 1248510792000
[INFO] the last modified time of the outputs is -9223372036854775808
[INFO] Compiling file:/home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/src/main/xsd/schema.xsd
[INFO] Writing output to /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/target/generated-sources/xjc
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 8 source files to /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/target/classes
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [javadoc:javadoc {execution: default}]
Loading source files for package com.sun.jersey.samples.extendedwadl.resources...
Constructing Javadoc information...
[WARNING] Javadoc Warnings
[WARNING] Aug 1, 2009 6:01:27 AM com.sun.jersey.wadl.resourcedoc.ResourceDoclet start
[WARNING] INFO: Wrote /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/target/classes/resourcedoc.xml
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.sun.jersey.samples.extendedwadl.ExtendedWadlWebappTest
Aug 1, 2009 6:01:29 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  com.sun.jersey.samples.extendedwadl.resources
Aug 1, 2009 6:01:29 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Root resource classes found:
  class com.sun.jersey.samples.extendedwadl.resources.ItemsResource
Aug 1, 2009 6:01:29 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Provider classes found:
Aug 1, 2009 6:01:29 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer <init>
INFO: Creating low level grizzly container configured at the base URI http://localhost:9998/
Aug 1, 2009 6:01:29 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.2-ea-SNAPSHOT 08/01/2009 05:52 AM'
Aug 1, 2009 6:01:31 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer start
INFO: Starting low level grizzly container
Aug 1, 2009 6:01:32 AM com.sun.jersey.test.framework.spi.container.grizzly.GrizzlyTestContainerFactory$GrizzlyTestContainer stop
INFO: Stopping low level grizzly container
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.378 sec <<< FAILURE!

Results :

Failed tests:
  testExtendedWadl(com.sun.jersey.samples.extendedwadl.ExtendedWadlWebappTest)

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

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

Please refer to /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/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 /home/hudson/workspace/Jersey/jersey/samples/extended-wadl-webapp/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: 9 minutes 38 seconds
[INFO] Finished at: Sat Aug 01 06:01:33 PDT 2009
[INFO] Final Memory: 56M/105M
[INFO] ------------------------------------------------------------------------