You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by Continuum VMBuild Server <co...@apache.org> on 2008/01/20 05:37:28 UTC

[continuum] BUILD FAILURE: Sling - Event Support

Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=39142&projectId=303

Build statistics:
  State: Failed
  Previous State: Ok
  Started at: Sat 19 Jan 2008 20:36:56 -0800
  Finished at: Sat 19 Jan 2008 20:37:22 -0800
  Total time: 26s
  Build Trigger: Schedule
  Build Number: 23
  Exit code: 1
  Building machine hostname: vmbuild.apache.org
  Operating system : Linux(unknown)
  Java Home version : 
          java version "1.6.0"
          Java(TM) SE Runtime Environment (build 1.6.0-b105)
          Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
        
  Builder version :
          Maven version: 2.0.7
          Java version: 1.6.0
          OS name: "linux" version: "2.6.20-16-server" arch: "i386"
    
****************************************************************************
SCM Changes:
****************************************************************************
Changed: cziegeler @ Thu 17 Jan 2008 08:44:40 -0800
Comment: Fix bugs in cleanup tasks (query was wrong) and TimedEventHandler is invoked either by a timed event or periodically.
Files changed:
  /incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/DistributingEventHandler.java ( 612861 )
  /incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java ( 612861 )
  /incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/TimedEventHandler.java ( 612861 )

Changed: cziegeler @ Thu 17 Jan 2008 10:17:48 -0800
Comment: More debug logging improvements.
Files changed:
  /incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java ( 612907 )
  /incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/DistributingEventHandler.java ( 612907 )
  /incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java ( 612907 )

Changed: cziegeler @ Fri 18 Jan 2008 09:00:19 -0800
Comment: Move session creation into same thread which is using the session.
Files changed:
  /incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java ( 613204 )

Changed: cziegeler @ Fri 18 Jan 2008 09:16:36 -0800
Comment: Add missing throws clause.
Files changed:
  /incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java ( 613205 )

****************************************************************************
Dependencies Changes:
****************************************************************************
org.apache.sling:org.apache.sling.api:2.0.0-incubator-SNAPSHOT

org.apache.sling:org.apache.sling.jcr.api:2.0.0-incubator-SNAPSHOT

org.apache.sling:org.apache.sling.scheduler:2.0.0-incubator-SNAPSHOT

org.apache.sling:sling:1-incubator-SNAPSHOT


****************************************************************************
Build Defintion:
****************************************************************************
POM filename: pom.xml
Goals: clean install   
Arguments: --batch-mode --non-recursive
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: DEFAULT_SCHEDULE
Description: 


****************************************************************************
Test Summary:
****************************************************************************
Tests: 10
Failures: 8
Total time: 10571

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-1
[INFO] ----------------------------------------------------------------------------
[INFO] Building Sling - Event Support
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/continuum/data/working-directory/303/target
[INFO] Deleting directory /home/continuum/data/working-directory/303/target/classes
[INFO] Deleting directory /home/continuum/data/working-directory/303/target/test-classes
[INFO] Deleting directory /home/continuum/data/working-directory/303/target/site
[INFO] snapshot org.apache.sling:org.apache.sling.scheduler:2.0.0-incubator-SNAPSHOT: checking for updates from apache.snapshots
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 8 source files to /home/continuum/data/working-directory/303/target/classes
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] Generating 8 MetaType Descriptors to /home/continuum/data/working-directory/303/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml
[INFO] Writing abstract service descriptor /home/continuum/data/working-directory/303/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml with 1 entries.
[INFO] Generating 3 Service Component Descriptors to /home/continuum/data/working-directory/303/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 4 source files to /home/continuum/data/working-directory/303/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /home/continuum/data/working-directory/303/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.event.impl.DistributingEventHandlerTest
349 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Starting repository...
375 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target/repository/repository
572 [main] INFO org.apache.jackrabbit.core.nodetype.NodeTypeRegistry - no custom node type definitions found
578 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target/repository/version
4188 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Database: Apache Derby / 10.2.1.6 - (452058)
4188 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
5323 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target/repository/version/blobs
5414 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - initializing workspace 'default'...
5415 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target/repository/workspaces/default
7047 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Database: Apache Derby / 10.2.1.6 - (452058)
7048 [main] INFO org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager - Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
7800 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target/repository/workspaces/default/blobs
7940 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - workspace 'default' initialized
8078 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target/repository/repository/index
9076 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index initialized: target/repository/repository/index Version: 2
9078 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - LocalFileSystem initialized at path target/repository/workspaces/default/index
9082 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index initialized: target/repository/workspaces/default/index Version: 2
9085 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Repository started
9952 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Shutting down repository...
9984 [Thread-11] ERROR org.apache.sling.event.impl.DistributingEventHandler - Error during session starting.
javax.jcr.RepositoryException: this session has been closed
	at org.apache.jackrabbit.core.SessionImpl.sanityCheck(SessionImpl.java:358)
	at org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:154)
	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1075)
	at org.apache.sling.event.impl.AbstractRepositoryEventHandler.createRepositoryPath(AbstractRepositoryEventHandler.java:223)
	at org.apache.sling.event.impl.AbstractRepositoryEventHandler.startSession(AbstractRepositoryEventHandler.java:180)
	at org.apache.sling.event.impl.DistributingEventHandler.startSession(DistributingEventHandler.java:171)
	at org.apache.sling.event.impl.AbstractRepositoryEventHandler$1.run(AbstractRepositoryEventHandler.java:119)
10020 [Thread-9] ERROR org.apache.sling.event.impl.DistributingEventHandler - Error during session starting.
javax.jcr.InvalidItemStateException: f714c5f0-38b0-4a36-a64c-7293d6aa7525 has been modified externally
	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1248)
	at org.apache.sling.event.impl.AbstractRepositoryEventHandler.createRepositoryPath(AbstractRepositoryEventHandler.java:223)
	at org.apache.sling.event.impl.AbstractRepositoryEventHandler.startSession(AbstractRepositoryEventHandler.java:180)
	at org.apache.sling.event.impl.DistributingEventHandler.startSession(DistributingEventHandler.java:171)
	at org.apache.sling.event.impl.AbstractRepositoryEventHandler$1.run(AbstractRepositoryEventHandler.java:119)
10020 [Thread-10] ERROR org.apache.sling.event.impl.DistributingEventHandler - Error during session starting.
javax.jcr.InvalidItemStateException: f714c5f0-38b0-4a36-a64c-7293d6aa7525 has been modified externally
	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1248)
	at org.apache.sling.event.impl.AbstractRepositoryEventHandler.createRepositoryPath(AbstractRepositoryEventHandler.java:223)
	at org.apache.sling.event.impl.AbstractRepositoryEventHandler.startSession(AbstractRepositoryEventHandler.java:180)
	at org.apache.sling.event.impl.DistributingEventHandler.startSession(DistributingEventHandler.java:171)
	at org.apache.sling.event.impl.AbstractRepositoryEventHandler$1.run(AbstractRepositoryEventHandler.java:119)
10030 [IndexMerger] INFO org.apache.jackrabbit.core.query.lucene.IndexMerger - IndexMerger terminated
10050 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index closed: target/repository/repository/index
10050 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - shutting down workspace 'default'...
10050 [main] INFO org.apache.jackrabbit.core.observation.ObservationDispatcher - Notification of EventListeners stopped.
10051 [IndexMerger] INFO org.apache.jackrabbit.core.query.lucene.IndexMerger - IndexMerger terminated
10062 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index closed: target/repository/workspaces/default/index
10317 [main] INFO org.apache.jackrabbit.core.persistence.db.DerbyPersistenceManager - Database 'target/repository/workspaces/default/db' shutdown.
10318 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - workspace 'default' has been shutdown
Tests run: 8, Failures: 2, Errors: 6, Skipped: 0, Time elapsed: 10.57 sec <<< FAILURE!
Running org.apache.sling.event.EventUtilTest
10418 [main] INFO org.apache.jackrabbit.core.persistence.db.DerbyPersistenceManager - Database 'target/repository/version/db' shutdown.
10419 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Repository has been shutdown
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec

Results :

Failed tests: 
  testSetup(org.apache.sling.event.impl.DistributingEventHandlerTest)
  testPathCreation(org.apache.sling.event.impl.DistributingEventHandlerTest)

Tests in error: 
  testWriteEvent(org.apache.sling.event.impl.DistributingEventHandlerTest)
  testWriteEvent(org.apache.sling.event.impl.DistributingEventHandlerTest)
  testWriteEventPlusAppId(org.apache.sling.event.impl.DistributingEventHandlerTest)
  testWriteEventPlusAppId(org.apache.sling.event.impl.DistributingEventHandlerTest)
  testSetup(org.apache.sling.event.impl.DistributingEventHandlerTest)
  testPathCreation(org.apache.sling.event.impl.DistributingEventHandlerTest)

Tests run: 10, Failures: 2, Errors: 6, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Sat Jan 19 20:37:21 PST 2008
[INFO] Final Memory: 13M/26M
[INFO] ------------------------------------------------------------------------

****************************************************************************