EntiyBroker Unit test failure

Description

unit test failure with trunk checkout of cafe:

T E S T S
------------------------------------------------------- Running org.sakaiproject.entitybroker.impl.test.EntityProviderManagerImplTest
Sep 18, 2007 9:52:17 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:18 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:18 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:18 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:18 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
Running org.sakaiproject.entitybroker.impl.test.EntityBrokerImplTest
INFO: init
Sep 18, 2007 9:52:18 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:18 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:18 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:18 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:18 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:18 PM org.springframework.test.AbstractSingleSpringContextTests loadContextLocations
INFO: Loading context for locations: hibernate-test.xml,spring-hibernate.xml
Sep 18, 2007 9:52:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [hibernate-test.xml]
Sep 18, 2007 9:52:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [spring-hibernate.xml]
Sep 18, 2007 9:52:18 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.GenericApplicationContext@6e293a: display name [org.springframework.context.support.GenericApplicationContext@6e293a]; startup date [Tue Sep 18 21:52:18 SAST 2007]; root of context hierarchy
Sep 18, 2007 9:52:18 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.GenericApplicationContext@6e293a]: org.springframework.beans.factory.support.DefaultListableBeanFactory@bdb503
Sep 18, 2007 9:52:18 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [hibernate.properties]
Sep 18, 2007 9:52:18 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@bdb503: defining beans [testPropertiesConfigurer,testDataSource,org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory,org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager,org.sakaiproject.entitybroker.impl.test.data.TestDataPreload,org.sakaiproject.entitybroker.dao.impl.EntityBrokerDaoTarget,org.sakaiproject.entitybroker.dao.EntityBrokerDao]; root of factory hierarchy
Sep 18, 2007 9:52:18 PM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
INFO: Loaded JDBC driver: org.hsqldb.jdbcDriver
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.5
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.Environment <clinit>
INFO: loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=org.hsqldb.jdbcDriver, hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider, hibernate.dialect=org.hibernate.dialect.HSQLDialect, hibernate.connection.username=sa, hibernate.hbm2ddl.auto=create, hibernate.connection.url=jdbc:hsqldb:., hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=false, hibernate.connection.password=****}
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: org.sakaiproject.entitybroker.dao.model.EntityProperty -> ENTITY_PROPERTIES
Sep 18, 2007 9:52:18 PM org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactory
INFO: Building new Hibernate SessionFactory
Sep 18, 2007 9:52:18 PM org.hibernate.connection.ConnectionProviderFactory newConnectionProvider
INFO: Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: HSQL Database Engine, version: 1.8.0
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
Sep 18, 2007 9:52:18 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.HSQLDialect
Sep 18, 2007 9:52:18 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
Sep 18, 2007 9:52:18 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: on_close
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL inserts for batching: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
Sep 18, 2007 9:52:18 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {true=1, false=0}
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.EhCacheProvider
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
Sep 18, 2007 9:52:18 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
Sep 18, 2007 9:52:18 PM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Sep 18, 2007 9:52:18 PM net.sf.ehcache.config.ConfigurationFactory parseConfiguration
WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/dhorwitz/.m2/repository/net/sf/ehcache/ehcache/1.3.0/ehcache-1.3.0.jar!/ehcache-failsafe.xml
Sep 18, 2007 9:52:19 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
Sep 18, 2007 9:52:19 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: Running hbm2ddl schema export
Sep 18, 2007 9:52:19 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: exporting generated schema to database
Sep 18, 2007 9:52:19 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: schema export complete
Sep 18, 2007 9:52:19 PM org.springframework.orm.hibernate3.HibernateTransactionManager afterPropertiesSet
INFO: Using DataSource [org.springframework.jdbc.datasource.DriverManagerDataSource@d1e7c2] of Hibernate SessionFactory for HibernateTransactionManager
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.sakaiproject.entitybroker.impl.EntityBrokerImpl init
INFO: init
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.703 sec <<< FAILURE!
Running org.sakaiproject.entitybroker.impl.test.dao.EntityBrokerDaoImplTest
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests startNewTransaction
INFO: Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransactionManager@c72243]; default rollback = true
Sep 18, 2007 9:52:19 PM org.springframework.test.AbstractTransactionalSpringContextTests endTransaction
INFO: Rolled back transaction after test execution
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec
Running org.sakaiproject.entitybroker.impl.test.CoverageCatchAllTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.sakaiproject.entitybroker.impl.test.data.TestDataPreload
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

Failed tests:
testFireEvent(org.sakaiproject.entitybroker.impl.test.EntityBrokerImplTest)

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

[INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE
[INFO] ---------------------

Activity

David Horwitz February 7, 2008 at 11:56 PM

Not see through numerous rebuilds since AZ's fix

Megan May February 7, 2008 at 12:46 PM

David, Can you confirm this is no longer a problem.

Megan May September 27, 2007 at 5:33 PM

Updating fix version to 2.5.0.002 for 2nd tag of QA cycle

Aaron Zeckoski September 18, 2007 at 12:58 PM

Fixed in r35384

Fixed

Details

Priority

Affects versions

Fix versions

Assignee

Reporter

Created September 18, 2007 at 12:53 PM
Updated October 23, 2008 at 7:47 AM
Resolved September 18, 2007 at 12:58 PM

Flag notifications