db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2318) testStreams(org.apache.derbyTesting.functionTests.tests.lang.StreamsTest) failed on weme6.1 jvm/
Date Fri, 25 Jun 2010 23:36:50 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882760#action_12882760
] 

Kathey Marsden commented on DERBY-2318:
---------------------------------------

I am seeing an incarnation of this failure with a new jvm.    I am actually having a tough
time seeing the difference between the two stack traces and it was passing on trunk and failing
on 10.3.  I think I will clean up the whereAmI() method to just get the StackTraceElements
once and then see if if the problem becomes more apparent.


.readerStackLevel:45
java.lang.Throwable
	at org.apache.derbyTesting.functionTests.tests.lang.DummyReader.whereAmI(StreamsTest.java:318)
	at org.apache.derbyTesting.functionTests.tests.lang.DummyReader.read(StreamsTest.java:327)
	at org.apache.derby.iapi.services.io.LimitReader.read(LimitReader.java:57)
	at org.apache.derby.iapi.types.ReaderToUTF8Stream.fillBuffer(ReaderToUTF8Stream.java:244)
	at org.apache.derby.iapi.types.ReaderToUTF8Stream.read(ReaderToUTF8Stream.java:190)
	at java.io.DataInputStream.readToBuff(DataInputStream.java:154)
	at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:410)
	at org.apache.derby.iapi.types.SQLChar.readExternal(SQLChar.java:894)
	at org.apache.derby.iapi.types.SQLChar.getString(SQLChar.java:640)
	at org.apache.derby.iapi.types.SQLVarchar.normalize(SQLVarchar.java:150)
	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(DataTypeDescriptor.java:469)
	at org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(NormalizeResultSet.java:330)
	at org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(NormalizeResultSet.java:189)
	at org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(DMLWriteResultSet.java:127)
	at org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java:496)
	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:370)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1203)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java:1653)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(EmbedPreparedStatement.java:299)
	at org.apache.derbyTesting.functionTests.tests.lang.StreamsTest.insertLongString(StreamsTest.java:267)
	at org.apache.derbyTesting.functionTests.tests.lang.StreamsTest.testStreams(StreamsTest.java:118)
	at java.lang.reflect.Method.invokeImpl(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:228)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:99)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at junit.textui.TestRunner.main(TestRunner.java:138)
readerStackLevel:46
java.lang.Throwable
	at org.apache.derbyTesting.functionTests.tests.lang.DummyReader.whereAmI(StreamsTest.java:318)
	at org.apache.derbyTesting.functionTests.tests.lang.DummyReader.read(StreamsTest.java:327)
	at org.apache.derby.iapi.services.io.LimitReader.read(LimitReader.java:57)
	at org.apache.derby.iapi.types.ReaderToUTF8Stream.fillBuffer(ReaderToUTF8Stream.java:244)
	at org.apache.derby.iapi.types.ReaderToUTF8Stream.read(ReaderToUTF8Stream.java:190)
	at java.io.DataInputStream.readToBuff(DataInputStream.java:154)
	at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:410)
	at org.apache.derby.iapi.types.SQLChar.readExternal(SQLChar.java:894)
	at org.apache.derby.iapi.types.SQLChar.getString(SQLChar.java:640)
	at org.apache.derby.iapi.types.SQLVarchar.normalize(SQLVarchar.java:150)
	at org.apache.derby.iapi.types.DataTypeDescriptor.normalize(DataTypeDescriptor.java:469)
	at org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(NormalizeResultSet.java:330)
	at org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(NormalizeResultSet.java:189)
	at org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(DMLWriteResultSet.java:127)
	at org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java:496)
	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:370)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1203)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java:1653)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(EmbedPreparedStatement.java:299)
	at org.apache.derbyTesting.functionTests.tests.lang.StreamsTest.insertLongString(StreamsTest.java:267)
	at org.apache.derbyTesting.functionTests.tests.lang.StreamsTest.testStreams(StreamsTest.java:123)
	at java.lang.reflect.Method.invokeImpl(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:228)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:99)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at junit.textui.TestRunner.main(TestRunner.java:138)

testStreams used 62 ms F
Time: 3.422
There was 1 failure:
1) testStreams(org.apache.derbyTesting.functionTests.tests.lang.StreamsTest)junit.framework.AssertionFailedError:
FAILED!! level difference not expected since streams are materialized. expected:<45>
but was:<46>
	at org.apache.derbyTesting.functionTests.tests.lang.StreamsTest.testStreams(StreamsTest.java:125)
	at java.lang.reflect.Method.invokeImpl(Native Method)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:99)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)





> testStreams(org.apache.derbyTesting.functionTests.tests.lang.StreamsTest) failed  on
weme6.1 jvm/
> -------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2318
>                 URL: https://issues.apache.org/jira/browse/DERBY-2318
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.3.1.4
>         Environment: Java Version:    J2ME Foundation Specification v1.1
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\weme6.1
>            Reporter: Suresh Thalamati
>            Assignee: Myrna van Lunteren
>            Priority: Minor
>             Fix For: 10.3.1.4
>
>
> Time: 1,021.188
> There was 1 failure:
> 1) testStreams(org.apache.derbyTesting.functionTests.tests.lang.StreamsTest)junit.framework.AssertionFailedError:
FAILED!! level difference not expected since streams are materialized. expected:<48>
but was:<49>
> 	at org.apache.derbyTesting.functionTests.tests.lang.StreamsTest.testStreams(StreamsTest.java:118)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:76)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> FAILURES!!!
> Tests run: 1285,  Failures: 1,  Errors: 0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message