rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <hud...@hudson.apache.org>
Subject Build failed in Jenkins: rave-project-trunk #53
Date Wed, 25 May 2011 17:05:18 GMT
See <https://builds.apache.org/hudson/job/rave-project-trunk/53/changes>

Changes:

[jcian] Server side support for saving user preferences (RAVE-27)

https://issues.apache.org/jira/browse/RAVE-27

[mfranklin] Added client side components of widget store (Supports RAVE-32)

------------------------------------------
[...truncated 570 lines...]
DEBUG: org.apache.rave.portal.web.api.rest.WidgetApi - GET received for all widgets
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.rave.portal.service.PageServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.rave.portal.service.RegionServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.rave.portal.service.RegionWidgetServiceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.rave.portal.service.WidgetServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.rave.portal.service.UserServiceTest
DEBUG: org.apache.rave.portal.service.impl.DefaultUserService - loadUserByUsername called
with: 1234
DEBUG: org.apache.rave.portal.service.impl.DefaultUserService - loadUserByUsername called
with: 1234
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.apache.rave.portal.util.LocalizationUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 sec
Running org.apache.rave.portal.model.PageTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.rave.portal.model.util.InternationalStringTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.rave.portal.model.util.ModelUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.rave.portal.model.UserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec

Results :

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

INFO : org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@1372656:
startup date [Wed May 25 10:05:00 PDT 2011]; root of context hierarchy
INFO : org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@1372656:
startup date [Wed May 25 10:05:00 PDT 2011]; root of context hierarchy
INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons
in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d9e282: defining
beans [dataSource,org.h2.tools.Server-WebServer,openSocialWidgetRenderer,w3cWidgetRenderer,wookieWidgetService,jpaPageRepository,jpaWidgetRepository,jpaUserRepository,jpaRegionRepository,jpaRegionWidgetRepository,homeController,widgetStoreController,defaultRenderService,pageApi,regionWidgetApi,widgetApi,defaultWidgetService,defaultRegionWidgetService,userService,defaultPageService,defaultRegionService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,dataSourcePopulator,entityManagerFactory];
root of factory hierarchy
INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons
in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d9e282: defining
beans [dataSource,org.h2.tools.Server-WebServer,openSocialWidgetRenderer,w3cWidgetRenderer,wookieWidgetService,jpaPageRepository,jpaWidgetRepository,jpaUserRepository,jpaRegionRepository,jpaRegionWidgetRepository,homeController,widgetStoreController,defaultRenderService,pageApi,regionWidgetApi,widgetApi,defaultWidgetService,defaultRegionWidgetService,userService,defaultPageService,defaultRegionService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,dataSourcePopulator,entityManagerFactory];
root of factory hierarchy
INFO : org.apache.rave.orm.jpa.PopulatedLocalContainerEntityManagerFactory - Closing JPA EntityManagerFactory
for persistence unit 'ravePersistenceUnit'
INFO : org.apache.rave.orm.jpa.PopulatedLocalContainerEntityManagerFactory - Closing JPA EntityManagerFactory
for persistence unit 'ravePersistenceUnit'
[JENKINS] Recording test results
[INFO] [INFO] Executing Jasmine Specs

[INFO] --- jasmine-maven-plugin:1.0.2-beta-2:test (default) @ rave-portal ---
May 25, 2011 10:05:14 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
May 25, 2011 10:05:14 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
May 25, 2011 10:05:14 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
May 25, 2011 10:05:14 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
May 25, 2011 10:05:14 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
May 25, 2011 10:05:14 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
May 25, 2011 10:05:14 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
May 25, 2011 10:05:14 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
May 25, 2011 10:05:14 AM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
[INFO] 
-------------------------------------------------------
 J A S M I N E   S P E C S
-------------------------------------------------------
[INFO] 
Rave API
  rpc
    addWidgetToPage
      posts the correct values to RPC service for adding a widget to the page <<<
FAILURE!
        * Passed.
        * Passed.
        * Passed.
        * Passed.
        * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 53)
    moveWidget
      posts the correct values to RPC service for adding a widget to the page <<<
FAILURE!
        * Passed.
        * Passed.
        * Passed.
        * Passed.
        * Passed.
        * Passed.
        * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)
    Error handling
      displays the appropriate alert when invalid parameters are passed <<< FAILURE!
        * Passed.
        * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)
      displays the appropriate alert when a server error occurs <<< FAILURE!
        * Passed.
        * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)

Rave OpenSocial
  is OpenSocial
  Init
    initializes the OpenSocial container machinery
    Initializes the RPC Hooks Correctly
  Container
    initializes the container if not already done
    returns the same reference if already initialized
  RPC Hooks
    resizes Iframe if argument is less than height
    resizes Iframe to max if height is greater than max
    (resize) does not throw error if DOM element is null
    set title changes the title DOM node
    set title does not throw error if DOM element is null

Rave
  initProviders
    initializes all providers
  registerProvider
    throws error when invalid provider passed
  initWidgets
    calls the appropriate providers
  createWidgetMap
    builds a map keyed by type
    builds a map that has widgets under an Unknown key
    builds a map with no entries
  initDragAndDrop
    Initializes jQuery sortable when init is called
    Posts when dragging is stopped <<< FAILURE!
      * Passed.
      * Passed.
      * Passed.
      * Passed.
      * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)
    displays the appropriate alert when invalid parameters are passed <<< FAILURE!
      * Passed.
      * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)
    displays the appropriate alert when a server error occurs <<< FAILURE!
      * Passed.
      * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)
  getObjectIdFromDomId
    returns the regionwidgetId from the bodyElementId when the body Id is 3 digits
    returns the regionwidgetId from the ElementId when the  Id is 2 digits
    returns the regionwidgetId from the ElementId when the  Id is 1 digits
    returns the regionId from the ElementId when the  Id is 1 digits
    returns null when the DOM element's id is invalid

Rave Wookie
  Is W3C Widget
  Verify null widgets results in clean return
    Tests null argument
    Tests uncreated list
    Tests empty list
  Create Wookie Widgets
    initializes wookie widgets

7 failures:

  1.) Rave API rpc addWidgetToPage it posts the correct values to RPC service for adding a
widget to the page <<< FAILURE!
    * Passed.
    * Passed.
    * Passed.
    * Passed.
    * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 53)

  2.) Rave API rpc moveWidget it posts the correct values to RPC service for adding a widget
to the page <<< FAILURE!
    * Passed.
    * Passed.
    * Passed.
    * Passed.
    * Passed.
    * Passed.
    * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)

  3.) Rave API rpc Error handling it displays the appropriate alert when invalid parameters
are passed <<< FAILURE!
    * Passed.
    * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)

  4.) Rave API rpc Error handling it displays the appropriate alert when a server error occurs
<<< FAILURE!
    * Passed.
    * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)

  5.) Rave initDragAndDrop it Posts when dragging is stopped <<< FAILURE!
    * Passed.
    * Passed.
    * Passed.
    * Passed.
    * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)

  6.) Rave initDragAndDrop it displays the appropriate alert when invalid parameters are passed
<<< FAILURE!
    * Passed.
    * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)

  7.) Rave initDragAndDrop it displays the appropriate alert when a server error occurs <<<
FAILURE!
    * Passed.
    * TypeError: Cannot call method "error" of undefined in <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/target/jasmine/src/rave_api.js>
(line 40)

Results: 34 specs, 7 failures

mojoFailed com.github.searls:jasmine-maven-plugin:1.0.2-beta-2(default)
projectFailed org.apache.rave:rave-portal:0.1-incubating-SNAPSHOT
[JENKINS] Archiving <https://builds.apache.org/hudson/job/rave-project-trunk/ws/trunk/rave-portal/pom.xml>
to /home/hudson/hudson/jobs/rave-project-trunk/modules/org.apache.rave$rave-portal/builds/2011-05-25_17-01-36/archive/org.apache.rave/rave-portal/0.1-incubating-SNAPSHOT/rave-portal-0.1-incubating-SNAPSHOT.pom
sessionEnded
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Rave :: rave-project ....................... SUCCESS [10.120s]
[INFO] Apache Rave :: rave-shindig ....................... SUCCESS [17.045s]
[INFO] Apache Rave :: rave-portal ........................ FAILURE [25.911s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:28.230s
[INFO] Finished at: Wed May 25 10:05:16 PDT 2011
[INFO] Final Memory: 37M/117M
[INFO] ------------------------------------------------------------------------
maven builder waiting
mavenExecutionResult exceptions not empty
message : Failed to execute goal com.github.searls:jasmine-maven-plugin:1.0.2-beta-2:test
(default) on project rave-portal: There were Jasmine spec failures.
cause : There were Jasmine spec failures.
Stack trace : 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.searls:jasmine-maven-plugin:1.0.2-beta-2:test
(default) on project rave-portal: There were Jasmine spec failures.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
	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.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:128)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:75)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:270)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.maven.plugin.MojoFailureException: There were Jasmine spec failures.
	at com.github.searls.jasmine.TestMojo.throwAnySpecFailures(TestMojo.java:71)
	at com.github.searls.jasmine.TestMojo.run(TestMojo.java:34)
	at com.github.searls.jasmine.AbstractJasmineMojo.execute(AbstractJasmineMojo.java:190)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 27 more
Sending e-mails to: rave-commits@incubator.apache.org
channel stopped
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released


Mime
View raw message