You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Kathey Marsden <km...@sbcglobal.net> on 2011/08/23 05:56:01 UTC

weme failures with a sane build

I noticed the following with my sane weme run.  There first might be new 
with

r1160445 | rhillegas | 2011-08-22 23:32:29 +0200 (Mon, 22 Aug 2011) | 1 line

DERBY-5370: Checkin in Brett Bergquist's patch to make Restriction.toSQL() handle more data types.

Does the test need to be disabled with JSR169?

The assertions may exist only with a sane build and may have been there for a while because the nightlies only do insane runs.
I will file an issue tomorrow if it is not something known.



There were 2 errors:
1) 
test_11_5370(org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest)java.sql.SQLException: 
Java exception: 'java.sql.Ref: java.lang.NoC
lassDefFoundError'.
         at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
         at 
org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:142)
         at org.apache.derby.impl.jdbc.Util.javaException(Util.java:299)
         at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:412)
         at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:348)
         at 
org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2290)
         at 
org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
         at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPreparedStatement.java:150)
         at 
org.apache.derby.jdbc.Driver169.newEmbedPreparedStatement(Driver169.java:108)
         at 
org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:1615)
         at 
org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:1443)
         at 
org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.chattyPrepare(GeneratedColumnsHelper.java:166)
         at 
org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.assertResults(GeneratedColumnsHelper.java:357)
         at 
org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest.vet5370positive(RestrictedVTITest.java:1005)
         at 
org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest.test_11_5370(RestrictedVTITest.java:970)
         at 
java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
         at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
Caused by: java.lang.NoClassDefFoundError: java.sql.Ref
         at 
java.lang.reflect.AccessibleObject.getParameterTypesImpl(Native Method)
         at java.lang.reflect.Method.getParameterTypes(Method.java:120)
         at 
org.apache.derby.iapi.services.loader.ClassInspector.resolveMethod(ClassInspector.java:607)
         at 
org.apache.derby.iapi.services.loader.ClassInspector.findPublicMethod(ClassInspector.java:315)
         at 
org.apache.derby.impl.sql.compile.MethodCallNode.resolveMethodCall(MethodCallNode.java:697)
         at 
org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpression(StaticMethodCallNode.java:263)
         at 
org.apache.derby.impl.sql.compile.FromVTI.bindVTITables(FromVTI.java:557)
         at 
org.apache.derby.impl.sql.compile.FromList.bindTables(FromList.java:329)
         at 
org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(SelectNode.java:489)
         at 
org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(DMLStatementNode.java:199)
         at 
org.apache.derby.impl.sql.compile.DMLStatementNode.bind(DMLStatementNode.java:137)
         at 
org.apache.derby.impl.sql.compile.CursorNode.bindStatement(CursorNode.java:253)
         at 
org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:327)
         at 
org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java:93)
         at 
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java:1103)
         at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPreparedStatement.java:131)
         ... 32 more
2) 
test_09_defaultRangeSize(org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest)java.sql.SQLException: 
The exception 'org.apache.de
rby.shared.common.sanity.AssertFailure: ASSERT FAILED Identity being 
changed on a live cacheable. Old uuidString = 
ff45762e-0131-f3dc-5f35-ffff92a7798
d' was thrown while evaluating an expression.
         at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
         at 
org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:142)
         at org.apache.derby.impl.jdbc.Util.seeNextException(Util.java:278)
         at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:407)
         at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:348)
         at 
org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2290)
         at 
org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
         at 
org.apache.derby.impl.jdbc.EmbedResultSet.closeOnTransactionError(EmbedResultSet.java:4409)
         at 
org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:472)
         at 
org.apache.derby.impl.jdbc.EmbedResultSet.next(EmbedResultSet.java:376)
         at 
org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest.getScalarInteger(SequenceGeneratorTest.java:686)
         at 
org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest.vetBumping(SequenceGeneratorTest.java:175)
         at 
org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest.test_09_defaultRangeSize(SequenceGeneratorTest.java:608)
         at 
java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
         at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
Caused by: java.sql.SQLException: Java exception: 'ASSERT FAILED 
Identity being changed on a live cacheable. Old uuidString = 
ff45762e-0131-f3dc-5f35-
ffff92a7798d: org.apache.derby.shared.common.sanity.AssertFailure'.
         at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
         at 
org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:142)
         at org.apache.derby.impl.jdbc.Util.javaException(Util.java:299)
         at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:412)
         ... 62 more
Caused by: org.apache.derby.shared.common.sanity.AssertFailure: ASSERT 
FAILED Identity being changed on a live cacheable. Old uuidString = 
ff45762e-01
31-f3dc-5f35-ffff92a7798d
         at 
org.apache.derby.shared.common.sanity.SanityManager.THROWASSERT(SanityManager.java:162)
         at 
org.apache.derby.shared.common.sanity.SanityManager.THROWASSERT(SanityManager.java:147)
         at 
org.apache.derby.impl.sql.catalog.SequenceUpdater.setIdentity(SequenceUpdater.java:255)
         at 
org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem.java:222)
         at 
org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)
         at org.apache.derby.impl.services.cache.Clock.find(Clock.java:303)
         at 
org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getCurrentValueAndAdvance(DataDictionaryImpl.java:10335)
         at 
org.apache.derby.impl.sql.execute.BaseActivation.getCurrentValueAndAdvance(BaseActivation.java:689)
         at 
org.apache.derby.exe.ac5135f637x0131xf3dcx5f35xffff92a7798d1.e0(Unknown 
Source)
         at 
org.apache.derby.impl.services.reflect.DirectCall.invoke(ReflectGeneratedClass.java:139)
         at 
org.apache.derby.impl.sql.execute.RowResultSet.getNextRowCore(RowResultSet.java:148)
         at 
org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow(BasicNoPutResultSetImpl.java:478)
         at 
org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:432)
         ... 56 more
There was 1 failure:
1) 
test_08_userWrittenAllocators(org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest)junit.framework.ComparisonFailure: 
Unexpected
SQL state. expected:<X[0Y85]> but was:<X[J001]>
         at java.lang.Throwable.<init>(Throwable.java:67)
         at 
junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:13)
         at 
junit.framework.ComparisonFailure.<init>(ComparisonFailure.java:22)
         at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:791)
         at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:826)
         at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:840)
         at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertStatementError(BaseJDBCTestCase.java:1143)
         at 
org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.expectExecutionError(GeneratedColumnsHelper.java:220)
         at 
org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest.test_08_userWrittenAllocators(SequenceGeneratorTest.java:574)
         at 
java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
         at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
         at junit.extensions.TestSetup.run(TestSetup.java:25)
Caused by: java.sql.SQLException: Java exception: 'ASSERT FAILED 
Identity being changed on a live cacheable. Old uuidString = 
ff45762e-0131-f3dc-5f35-
ffff92a7798d: org.apache.derby.shared.common.sanity.AssertFailure'.
         at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
         at 
org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:142)
         at org.apache.derby.impl.jdbc.Util.javaException(Util.java:299)
         at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:412)
         at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:407)
         at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:348)
         at 
org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2290)
         at 
org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
         at 
org.apache.derby.impl.jdbc.EmbedResultSet.closeOnTransactionError(EmbedResultSet.java:4409)
         at 
org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:472)
         at 
org.apache.derby.impl.jdbc.EmbedResultSet.next(EmbedResultSet.java:376)
         at 
org.apache.derbyTesting.junit.JDBC.assertDrainResults(JDBC.java:686)
         at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.fetchAndDiscardAllResults(BaseJDBCTestCase.java:1279)
         at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertStatementError(BaseJDBCTestCase.java:1139)
         ... 54 more
Caused by: org.apache.derby.shared.common.sanity.AssertFailure: ASSERT 
FAILED Identity being changed on a live cacheable. Old uuidString = 
ff45762e-01
31-f3dc-5f35-ffff92a7798d
         at 
org.apache.derby.shared.common.sanity.SanityManager.THROWASSERT(SanityManager.java:162)
         at 
org.apache.derby.shared.common.sanity.SanityManager.THROWASSERT(SanityManager.java:147)
         at 
org.apache.derby.impl.sql.catalog.SequenceUpdater.setIdentity(SequenceUpdater.java:255)
         at 
org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem.java:222)
         at 
org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)
         at org.apache.derby.impl.services.cache.Clock.find(Clock.java:303)
         at 
org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getCurrentValueAndAdvance(DataDictionaryImpl.java:10335)
         at 
org.apache.derby.impl.sql.execute.BaseActivation.getCurrentValueAndAdvance(BaseActivation.java:689)
         at 
org.apache.derby.exe.ac942f362cx0131xf3dcx5f35xffff92a7798d1.e0(Unknown 
Source)
         at 
org.apache.derby.impl.services.reflect.DirectCall.invoke(ReflectGeneratedClass.java:139)
         at 
org.apache.derby.impl.sql.execute.RowResultSet.getNextRowCore(RowResultSet.java:148)
         at 
org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow(BasicNoPutResultSetImpl.java:478)
         at 
org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:432)
         ... 58 more

FAILURES!!!
Tests run: 6291,  Failures: 1,  Errors: 2



Re: weme failures with a sane build

Posted by Rick Hillegas <ri...@oracle.com>.
Thanks, Knut. RestrictedVTITest runs cleanly for me on phoneME after 
disabling the security manager as Kathey indicated. The results you are 
seeing are consistent with what Kathey saw before I disabled that test 
case. I don't expect test_11_5369_5370 to run on small devices.

The issue with sane and insane builds affects another test, 
SequenceGeneratorTest. I have run that test on phoneME (disabling the 
SecurityManager) and I see a version of what Kathey is seeing. However, 
the problem suspends the phoneME VM so the problem plays out differently 
on that platform.

Thanks,
-Rick



On 8/25/11 12:30 AM, Knut Anders Hatlen wrote:
> Rick Hillegas<ri...@oracle.com>  writes:
>
>> On 8/23/11 1:02 PM, Kathey Marsden wrote:
>>> On 8/23/2011 9:15 AM, Rick Hillegas wrote:
>>>> Hi Kathey,
>>>>
>>>> I disabled the new test on JSR169. It uses a table function which
>>>> implements the JDBC 3.0 ResultSet interface. That causes
>>>> ClassNotFoundExceptions on JSR169. Let me know if you are still
>>>> seeing problems with that test.
>>>>
>>> Thanks for taking care of that.
>>>
>>>> The other problem I have not seen before. I run the tests against
>>>> sane jars. Can you reproduce the problem with sane jars on Java 5,
>>>> 6, or 7?
>>>>
>>> I think it is specific to weme and specific to sane builds so may
>>> have been around for some times since the nightlies run with the
>>> insane build.  I filed DERBY-5389. It would be interesting to see if
>>> phoneME has a the same issue with a sane build
>> Yes. It would be great if someone who has a working phoneME
>> environment could try this out. I tried yesterday on my phoneME
>> environment which runs on top of Ubuntu under VirtualBox on my Mac.
>> The test doesn't even run for me in that environment--I get security
>> violations at startup. I could swear that I used to be able to run
>> JUnit tests in that environment. It will take some effort to figure
>> out what is broken.
> Here's what I see in phoneME when I re-enable the test case, *both* with
> sane and insane builds:
>
> 1) test_11_5369_5370(org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest)java.sql.SQLException: Java exception: 'java.sql.Array: java.lang.NoClassDefFoundError'.
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement169.<init>(Unknown Source)
> 	at org.apache.derby.jdbc.Driver169.newEmbedPreparedStatement(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
> 	at org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.chattyPrepare(Unknown Source)
> 	at org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.assertResults(Unknown Source)
> 	at org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest.vet5370positive(Unknown Source)
> 	at org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest.test_11_5369_5370(Unknown Source)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source)
> 	at junit.extensions.TestDecorator.basicRun(Unknown Source)
> 	at junit.extensions.TestSetup$1.protect(Unknown Source)
> 	at junit.extensions.TestSetup.run(Unknown Source)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source)
> 	at sun.misc.CVM.runMain(Unknown Source)
> Caused by: java.lang.NoClassDefFoundError: java.sql.Array
> 	at java.lang.Class.getMethods0(Native Method)
> 	at java.lang.Class.getMethods(Unknown Source)
> 	at org.apache.derby.iapi.services.loader.ClassInspector.findPublicMethod(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.MethodCallNode.resolveMethodCall(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpression(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.FromVTI.bindVTITables(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
> 	at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
> 	at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
> 	at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
> 	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
> 	... 27 more
>


Re: weme failures with a sane build

Posted by Knut Anders Hatlen <kn...@oracle.com>.
Rick Hillegas <ri...@oracle.com> writes:

> On 8/23/11 1:02 PM, Kathey Marsden wrote:
>> On 8/23/2011 9:15 AM, Rick Hillegas wrote:
>>> Hi Kathey,
>>>
>>> I disabled the new test on JSR169. It uses a table function which
>>> implements the JDBC 3.0 ResultSet interface. That causes
>>> ClassNotFoundExceptions on JSR169. Let me know if you are still
>>> seeing problems with that test.
>>>
>> Thanks for taking care of that.
>>
>>> The other problem I have not seen before. I run the tests against
>>> sane jars. Can you reproduce the problem with sane jars on Java 5,
>>> 6, or 7?
>>>
>> I think it is specific to weme and specific to sane builds so may
>> have been around for some times since the nightlies run with the
>> insane build.  I filed DERBY-5389. It would be interesting to see if
>> phoneME has a the same issue with a sane build
> Yes. It would be great if someone who has a working phoneME
> environment could try this out. I tried yesterday on my phoneME
> environment which runs on top of Ubuntu under VirtualBox on my Mac.
> The test doesn't even run for me in that environment--I get security
> violations at startup. I could swear that I used to be able to run
> JUnit tests in that environment. It will take some effort to figure
> out what is broken.

Here's what I see in phoneME when I re-enable the test case, *both* with
sane and insane builds:

1) test_11_5369_5370(org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest)java.sql.SQLException: Java exception: 'java.sql.Array: java.lang.NoClassDefFoundError'.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement169.<init>(Unknown Source)
	at org.apache.derby.jdbc.Driver169.newEmbedPreparedStatement(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
	at org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.chattyPrepare(Unknown Source)
	at org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.assertResults(Unknown Source)
	at org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest.vet5370positive(Unknown Source)
	at org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest.test_11_5369_5370(Unknown Source)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source)
	at junit.extensions.TestDecorator.basicRun(Unknown Source)
	at junit.extensions.TestSetup$1.protect(Unknown Source)
	at junit.extensions.TestSetup.run(Unknown Source)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source)
	at sun.misc.CVM.runMain(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: java.sql.Array
	at java.lang.Class.getMethods0(Native Method)
	at java.lang.Class.getMethods(Unknown Source)
	at org.apache.derby.iapi.services.loader.ClassInspector.findPublicMethod(Unknown Source)
	at org.apache.derby.impl.sql.compile.MethodCallNode.resolveMethodCall(Unknown Source)
	at org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpression(Unknown Source)
	at org.apache.derby.impl.sql.compile.FromVTI.bindVTITables(Unknown Source)
	at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
	at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
	at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
	at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
	at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
	at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
	at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
	... 27 more

-- 
Knut Anders

Re: weme failures with a sane build

Posted by Kathey Marsden <km...@sbcglobal.net>.
On 8/24/2011 5:35 AM, Rick Hillegas wrote:
> On 8/23/11 1:02 PM, Kathey Marsden wrote:
>> On 8/23/2011 9:15 AM, Rick Hillegas wrote:
>>> Hi Kathey,
>>>
>>> I disabled the new test on JSR169. It uses a table function which 
>>> implements the JDBC 3.0 ResultSet interface. That causes 
>>> ClassNotFoundExceptions on JSR169. Let me know if you are still 
>>> seeing problems with that test.
>>>
>> Thanks for taking care of that.
>>
>>> The other problem I have not seen before. I run the tests against 
>>> sane jars. Can you reproduce the problem with sane jars on Java 5, 
>>> 6, or 7?
>>>
>> I think it is specific to weme and specific to sane builds so may 
>> have been around for some times since the nightlies run with the 
>> insane build.  I filed DERBY-5389. It would be interesting to see if 
>> phoneME has a the same issue with a sane build
> Yes. It would be great if someone who has a working phoneME 
> environment could try this out. I tried yesterday on my phoneME 
> environment which runs on top of Ubuntu under VirtualBox on my Mac. 
> The test doesn't even run for me in that environment--I get security 
> violations at startup. I could swear that I used to be able to run 
> JUnit tests in that environment. It will take some effort to figure 
> out what is broken.
>
If you want to bypass security manager for the tests in the short term, 
I think you can run with

-Djava.security.policy="<NONE>"


Re: weme failures with a sane build

Posted by Rick Hillegas <ri...@oracle.com>.
On 8/23/11 1:02 PM, Kathey Marsden wrote:
> On 8/23/2011 9:15 AM, Rick Hillegas wrote:
>> Hi Kathey,
>>
>> I disabled the new test on JSR169. It uses a table function which 
>> implements the JDBC 3.0 ResultSet interface. That causes 
>> ClassNotFoundExceptions on JSR169. Let me know if you are still 
>> seeing problems with that test.
>>
> Thanks for taking care of that.
>
>> The other problem I have not seen before. I run the tests against 
>> sane jars. Can you reproduce the problem with sane jars on Java 5, 6, 
>> or 7?
>>
> I think it is specific to weme and specific to sane builds so may have 
> been around for some times since the nightlies run with the insane 
> build.  I filed DERBY-5389. It would be interesting to see if phoneME 
> has a the same issue with a sane build
Yes. It would be great if someone who has a working phoneME environment 
could try this out. I tried yesterday on my phoneME environment which 
runs on top of Ubuntu under VirtualBox on my Mac. The test doesn't even 
run for me in that environment--I get security violations at startup. I 
could swear that I used to be able to run JUnit tests in that 
environment. It will take some effort to figure out what is broken.

Thanks,
-Rick
>
>
>
>


Re: weme failures with a sane build

Posted by Kathey Marsden <km...@sbcglobal.net>.
On 8/23/2011 9:15 AM, Rick Hillegas wrote:
> Hi Kathey,
>
> I disabled the new test on JSR169. It uses a table function which 
> implements the JDBC 3.0 ResultSet interface. That causes 
> ClassNotFoundExceptions on JSR169. Let me know if you are still seeing 
> problems with that test.
>
Thanks for taking care of that.

> The other problem I have not seen before. I run the tests against sane 
> jars. Can you reproduce the problem with sane jars on Java 5, 6, or 7?
>
I think it is specific to weme and specific to sane builds so may have 
been around for some times since the nightlies run with the insane 
build.  I filed DERBY-5389. It would be interesting to see if phoneME 
has a the same issue with a sane build




Re: weme failures with a sane build

Posted by Rick Hillegas <ri...@oracle.com>.
Hi Kathey,

I disabled the new test on JSR169. It uses a table function which 
implements the JDBC 3.0 ResultSet interface. That causes 
ClassNotFoundExceptions on JSR169. Let me know if you are still seeing 
problems with that test.

The other problem I have not seen before. I run the tests against sane 
jars. Can you reproduce the problem with sane jars on Java 5, 6, or 7?

Thanks,
-Rick

On 8/22/11 8:56 PM, Kathey Marsden wrote:
> I noticed the following with my sane weme run.  There first might be 
> new with
>
> r1160445 | rhillegas | 2011-08-22 23:32:29 +0200 (Mon, 22 Aug 2011) | 
> 1 line
>
> DERBY-5370: Checkin in Brett Bergquist's patch to make 
> Restriction.toSQL() handle more data types.
>
> Does the test need to be disabled with JSR169?
>
> The assertions may exist only with a sane build and may have been 
> there for a while because the nightlies only do insane runs.
> I will file an issue tomorrow if it is not something known.
>
>
>
> There were 2 errors:
> 1) 
> test_11_5370(org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest)java.sql.SQLException: 
> Java exception: 'java.sql.Ref: java.lang.NoC
> lassDefFoundError'.
>         at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
>         at 
> org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:142)
>         at org.apache.derby.impl.jdbc.Util.javaException(Util.java:299)
>         at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:412)
>         at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:348)
>         at 
> org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2290)
>         at 
> org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
>         at 
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPreparedStatement.java:150)
>         at 
> org.apache.derby.jdbc.Driver169.newEmbedPreparedStatement(Driver169.java:108)
>         at 
> org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:1615)
>         at 
> org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:1443)
>         at 
> org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.chattyPrepare(GeneratedColumnsHelper.java:166)
>         at 
> org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.assertResults(GeneratedColumnsHelper.java:357)
>         at 
> org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest.vet5370positive(RestrictedVTITest.java:1005)
>         at 
> org.apache.derbyTesting.functionTests.tests.lang.RestrictedVTITest.test_11_5370(RestrictedVTITest.java:970)
>         at 
> java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
>         at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.NoClassDefFoundError: java.sql.Ref
>         at 
> java.lang.reflect.AccessibleObject.getParameterTypesImpl(Native Method)
>         at java.lang.reflect.Method.getParameterTypes(Method.java:120)
>         at 
> org.apache.derby.iapi.services.loader.ClassInspector.resolveMethod(ClassInspector.java:607)
>         at 
> org.apache.derby.iapi.services.loader.ClassInspector.findPublicMethod(ClassInspector.java:315)
>         at 
> org.apache.derby.impl.sql.compile.MethodCallNode.resolveMethodCall(MethodCallNode.java:697)
>         at 
> org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpression(StaticMethodCallNode.java:263)
>         at 
> org.apache.derby.impl.sql.compile.FromVTI.bindVTITables(FromVTI.java:557)
>         at 
> org.apache.derby.impl.sql.compile.FromList.bindTables(FromList.java:329)
>         at 
> org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(SelectNode.java:489)
>         at 
> org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(DMLStatementNode.java:199)
>         at 
> org.apache.derby.impl.sql.compile.DMLStatementNode.bind(DMLStatementNode.java:137)
>         at 
> org.apache.derby.impl.sql.compile.CursorNode.bindStatement(CursorNode.java:253)
>         at 
> org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:327)
>         at 
> org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java:93)
>         at 
> org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java:1103)
>         at 
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPreparedStatement.java:131)
>         ... 32 more
> 2) 
> test_09_defaultRangeSize(org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest)java.sql.SQLException: 
> The exception 'org.apache.de
> rby.shared.common.sanity.AssertFailure: ASSERT FAILED Identity being 
> changed on a live cacheable. Old uuidString = 
> ff45762e-0131-f3dc-5f35-ffff92a7798
> d' was thrown while evaluating an expression.
>         at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
>         at 
> org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:142)
>         at 
> org.apache.derby.impl.jdbc.Util.seeNextException(Util.java:278)
>         at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:407)
>         at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:348)
>         at 
> org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2290)
>         at 
> org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
>         at 
> org.apache.derby.impl.jdbc.EmbedResultSet.closeOnTransactionError(EmbedResultSet.java:4409)
>         at 
> org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:472)
>         at 
> org.apache.derby.impl.jdbc.EmbedResultSet.next(EmbedResultSet.java:376)
>         at 
> org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest.getScalarInteger(SequenceGeneratorTest.java:686)
>         at 
> org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest.vetBumping(SequenceGeneratorTest.java:175)
>         at 
> org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest.test_09_defaultRangeSize(SequenceGeneratorTest.java:608)
>         at 
> java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
>         at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
> Caused by: java.sql.SQLException: Java exception: 'ASSERT FAILED 
> Identity being changed on a live cacheable. Old uuidString = 
> ff45762e-0131-f3dc-5f35-
> ffff92a7798d: org.apache.derby.shared.common.sanity.AssertFailure'.
>         at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
>         at 
> org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:142)
>         at org.apache.derby.impl.jdbc.Util.javaException(Util.java:299)
>         at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:412)
>         ... 62 more
> Caused by: org.apache.derby.shared.common.sanity.AssertFailure: ASSERT 
> FAILED Identity being changed on a live cacheable. Old uuidString = 
> ff45762e-01
> 31-f3dc-5f35-ffff92a7798d
>         at 
> org.apache.derby.shared.common.sanity.SanityManager.THROWASSERT(SanityManager.java:162)
>         at 
> org.apache.derby.shared.common.sanity.SanityManager.THROWASSERT(SanityManager.java:147)
>         at 
> org.apache.derby.impl.sql.catalog.SequenceUpdater.setIdentity(SequenceUpdater.java:255)
>         at 
> org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem.java:222)
>         at 
> org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)
>         at 
> org.apache.derby.impl.services.cache.Clock.find(Clock.java:303)
>         at 
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getCurrentValueAndAdvance(DataDictionaryImpl.java:10335)
>         at 
> org.apache.derby.impl.sql.execute.BaseActivation.getCurrentValueAndAdvance(BaseActivation.java:689)
>         at 
> org.apache.derby.exe.ac5135f637x0131xf3dcx5f35xffff92a7798d1.e0(Unknown Source) 
>
>         at 
> org.apache.derby.impl.services.reflect.DirectCall.invoke(ReflectGeneratedClass.java:139)
>         at 
> org.apache.derby.impl.sql.execute.RowResultSet.getNextRowCore(RowResultSet.java:148)
>         at 
> org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow(BasicNoPutResultSetImpl.java:478)
>         at 
> org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:432)
>         ... 56 more
> There was 1 failure:
> 1) 
> test_08_userWrittenAllocators(org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest)junit.framework.ComparisonFailure: 
> Unexpected
> SQL state. expected:<X[0Y85]> but was:<X[J001]>
>         at java.lang.Throwable.<init>(Throwable.java:67)
>         at 
> junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:13)
>         at 
> junit.framework.ComparisonFailure.<init>(ComparisonFailure.java:22)
>         at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:791)
>         at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:826)
>         at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:840)
>         at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertStatementError(BaseJDBCTestCase.java:1143)
>         at 
> org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.expectExecutionError(GeneratedColumnsHelper.java:220)
>         at 
> org.apache.derbyTesting.functionTests.tests.lang.SequenceGeneratorTest.test_08_userWrittenAllocators(SequenceGeneratorTest.java:574)
>         at 
> java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
>         at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
> Caused by: java.sql.SQLException: Java exception: 'ASSERT FAILED 
> Identity being changed on a live cacheable. Old uuidString = 
> ff45762e-0131-f3dc-5f35-
> ffff92a7798d: org.apache.derby.shared.common.sanity.AssertFailure'.
>         at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
>         at 
> org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:142)
>         at org.apache.derby.impl.jdbc.Util.javaException(Util.java:299)
>         at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:412)
>         at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:407)
>         at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:348)
>         at 
> org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2290)
>         at 
> org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
>         at 
> org.apache.derby.impl.jdbc.EmbedResultSet.closeOnTransactionError(EmbedResultSet.java:4409)
>         at 
> org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:472)
>         at 
> org.apache.derby.impl.jdbc.EmbedResultSet.next(EmbedResultSet.java:376)
>         at 
> org.apache.derbyTesting.junit.JDBC.assertDrainResults(JDBC.java:686)
>         at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.fetchAndDiscardAllResults(BaseJDBCTestCase.java:1279)
>         at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertStatementError(BaseJDBCTestCase.java:1139)
>         ... 54 more
> Caused by: org.apache.derby.shared.common.sanity.AssertFailure: ASSERT 
> FAILED Identity being changed on a live cacheable. Old uuidString = 
> ff45762e-01
> 31-f3dc-5f35-ffff92a7798d
>         at 
> org.apache.derby.shared.common.sanity.SanityManager.THROWASSERT(SanityManager.java:162)
>         at 
> org.apache.derby.shared.common.sanity.SanityManager.THROWASSERT(SanityManager.java:147)
>         at 
> org.apache.derby.impl.sql.catalog.SequenceUpdater.setIdentity(SequenceUpdater.java:255)
>         at 
> org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem.java:222)
>         at 
> org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)
>         at 
> org.apache.derby.impl.services.cache.Clock.find(Clock.java:303)
>         at 
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getCurrentValueAndAdvance(DataDictionaryImpl.java:10335)
>         at 
> org.apache.derby.impl.sql.execute.BaseActivation.getCurrentValueAndAdvance(BaseActivation.java:689)
>         at 
> org.apache.derby.exe.ac942f362cx0131xf3dcx5f35xffff92a7798d1.e0(Unknown Source) 
>
>         at 
> org.apache.derby.impl.services.reflect.DirectCall.invoke(ReflectGeneratedClass.java:139)
>         at 
> org.apache.derby.impl.sql.execute.RowResultSet.getNextRowCore(RowResultSet.java:148)
>         at 
> org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow(BasicNoPutResultSetImpl.java:478)
>         at 
> org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:432)
>         ... 58 more
>
> FAILURES!!!
> Tests run: 6291,  Failures: 1,  Errors: 2
>
>
>