db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Caisse <Michelle.Cai...@Sun.COM>
Subject tck test status
Date Fri, 20 May 2005 01:18:14 GMT
Hi,

Below is a summary four test errors that are responsible for 90 out of a 
total of 115 errors when running the tck on jpox/derby.  The fourth one 
listed is a test cleanup problem logged as JIRA JDO-48.  Could the JPOX 
team please take a look at the others?

14 tests fail with  "javax.jdo.JDOUserException: No implementation 
classes found for interface..."
org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections
org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections
org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleInterface
org.apache.jdo.tck.models.fieldtypes.TestHashMapStringKeyCollections
org.apache.jdo.tck.models.fieldtypes.TestHashMapStringValueCollections
org.apache.jdo.tck.models.fieldtypes.TestHashSetCollections
org.apache.jdo.tck.models.fieldtypes.TestHashtableStringKeyCollections
org.apache.jdo.tck.models.fieldtypes.TestHashtableStringValueCollections)javax.j
org.apache.jdo.tck.models.fieldtypes.TestLinkedListCollections
org.apache.jdo.tck.models.fieldtypes.TestListCollections
org.apache.jdo.tck.models.fieldtypes.TestMapStringKeyCollections
org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections
org.apache.jdo.tck.models.fieldtypes.TestSetCollections
org.apache.jdo.tck.models.fieldtypes.TestVectorCollections

18 tests fail:
    [java] 38) 
test(org.apache.jdo.tck.query.Cast)javax.jdo.JDOUserException: Field 
"org.apache.jdo.tck.pc.company.Employee.reviewedProjects" has been 
defined as "mapped-by" the field 
"org.apache.jdo.tck.pc.company.Project.reviewers" yet this is of an 
incorrect type (java.util.Set). The field that is set as the "mapped-by" 
must be of type "org.apache.jdo.tck.pc.company.Employee"
    [java]     at 
org.jpox.store.rdbms.scostore.InverseSetStore.<init>(InverseSetStore.java:141)
    [java]     at 
org.jpox.store.rdbms.RDBMSManager.newStore(RDBMSManager.java:599)
    [java]     at 
org.jpox.store.mapping.CollectionMapping.getSetStore(CollectionMapping.java:79)
    [java]     at 
org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:155)
    [java]     at 
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:305)
    [java]     at 
org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:1673)
    [java]     at org.jpox.store.StoreManager.insert(StoreManager.java:634)
    [java]     at 
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:2940)
    [java]     at 
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:2913)
    [java]     at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:959)
    [java]     at 
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1007)
    [java]     at 
org.jpox.store.rdbms.scostore.InverseSetStore.add(InverseSetStore.java:387)
    [java]     at 
org.jpox.store.rdbms.scostore.InverseSetStore.addAll(InverseSetStore.java:428)
    [java]     at 
org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:155)
    [java]     at 
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:305)
    [java]     at 
org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:1673)
    [java]     at org.jpox.store.StoreManager.insert(StoreManager.java:634)
    [java]     at 
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:2940)
    [java]     at 
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:2913)
    [java]     at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:959)
    [java]     at 
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:995)
    [java]     at 
org.apache.jdo.tck.query.QueryTest.loadCompanyModel(QueryTest.java:122)
    [java]     at org.apache.jdo.tck.query.Cast.test(Cast.java:64)
    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java]     at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:149)
    [java]     at 
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:112)
    [java]     at 
org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:90)

24 tests fail with "A truncation error was encountered trying to shrink 
CHAR '79' to length 1"  (or ... CHAR '65535' to length 1)
[java] 52) 
test(org.apache.jdo.tck.query.IgnoreCacheFalse)javax.jdo.JDODataStoreException: 
Insert request failed: INSERT INTO PRIMITIVETYPES 
(INTNULL,BIGINTEGER,LONGNULL,SHORTNULL,PRIMITIVETYPES,BIGDECIMAL,BOOLEANNULL,DOUBLENOTNULL,BYTENULL,CHARNOTNULL,BOOLEANNOTNULL,FLOATNOTNULL,INTNOTNULL,FLOATNULL,SHORTNOTNULL,LONGNOTNULL,BYTENOTNULL,STRINGNULL,DOUBLENULL,CHARNULL,DATENULL)

VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
    [java]     at 
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:294)
    [java]     at 
org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:1673)
    [java]     at org.jpox.store.StoreManager.insert(StoreManager.java:634)
    [java]     at 
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:2940)
    [java]     at 
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:2913)
    [java]     at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:959)
    [java]     at 
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:995)
    [java]     at 
org.apache.jdo.tck.query.QueryTest.insertPrimitiveTypes(QueryTest.java:212)
    [java]     at 
org.apache.jdo.tck.query.QueryTest.loadPrimitiveTypes(QueryTest.java:179)
    [java]     at 
org.apache.jdo.tck.query.IgnoreCacheFalse.test(IgnoreCacheFalse.java:68)
    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java]     at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:149)
    [java]     at 
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:112)
    [java]     at 
org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:90)
    [java] NestedThrowablesStackTrace:
    [java] ERROR 22001: A truncation error was encountered trying to 
shrink CHAR '79' to length 1.
    [java]     at 
org.apache.derby.iapi.error.StandardException.newException(StandardException.java)
    [java]     at 
org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(SQLChar.java)
    [java]     at 
org.apache.derby.iapi.types.SQLChar.normalize(SQLChar.java)
    [java]     at 
org.apache.derby.iapi.types.SQLChar.normalize(SQLChar.java)
    [java]     at 
org.apache.derby.iapi.types.DataTypeDescriptor.normalize(DataTypeDescriptor.java)
    [java]     at 
org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(NormalizeResultSet.java)
    [java]     at 
org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(NormalizeResultSet.java)
    [java]     at 
org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(DMLWriteResultSet.java)
    [java]     at 
org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java)
    [java]     at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java)
    [java]     at 
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java)
    [java]     at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java)
    [java]     at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(EmbedPreparedStatement.java)
    [java]     at 
org.jpox.store.rdbms.request.Request.executeUpdate(Request.java:69)
    [java]     at 
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:253)
    [java]     at 
org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:1673)
    [java]     at org.jpox.store.StoreManager.insert(StoreManager.java:634)
    [java]     at 
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:2940)
    [java]     at 
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:2913)
    [java]     at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:959)
    [java]     at 
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:995)
    [java]     at 
org.apache.jdo.tck.query.QueryTest.insertPrimitiveTypes(QueryTest.java:212)
    [java]     at 
org.apache.jdo.tck.query.QueryTest.loadPrimitiveTypes(QueryTest.java:179)
    [java]     at 
org.apache.jdo.tck.query.IgnoreCacheFalse.test(IgnoreCacheFalse.java:68)
    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java]     at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:149)
    [java]     at 
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:112)
    [java]     at 
org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:90)

34 tests fail with violation of foreign key constraint (JDO-48) 
test(org.apache.jdo.tck.query.AssignmentPrePostIncrementDecrementNotSupported)javax.jdo.JDODataStoreException:

Delete request failed: DELETE FROM PCPOINT WHERE ID = ?
...    [java] ERROR 23503: DELETE on table 'PCPOINT' caused a violation 
of foreign key constraint 'SQL050519025602280' for key (1167).  The 
statement has been rolled back.

-- Michelle


Mime
View raw message