db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <rick.hille...@oracle.com>
Subject instability in StreamingColumnTest
Date Mon, 26 Apr 2010 20:00:44 GMT
I saw the following error in StreamingColumnTest when run as part of the 
full JUnit suite on the 10.6 branch. I did not see this error when I ran 
that test standalone on that branch or on the trunk. Has anyone else 
seen this instability?

1) 
testDerby500_verifyVarcharStreams(org.apache.derbyTesting.functionTests.tests.store.StreamingColumnTest)junit.framework.ComparisonFailure:

Unexpected SQL state. expected:<X[N017]> but was:<X[J001]>
    at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:762)
    at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:797)
    at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:797)
    at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:811)
    at 
org.apache.derbyTesting.functionTests.tests.store.StreamingColumnTest.testDerby500_verifyVarcharStreams(StreamingColumnTest.java:1565)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
    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 
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: 'Stream read error on 
client side when transferring user data to server.: java.io.IOException'.
    at 
org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:46)
    at 
org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:358)
    at 
org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:367)
    at 
org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:367)
    at 
org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedStatement.java:403)
    at 
org.apache.derbyTesting.functionTests.tests.store.StreamingColumnTest.testDerby500_verifyVarcharStreams(StreamingColumnTest.java:1555)
    ... 53 more
Caused by: org.apache.derby.client.am.SqlException: Java exception: 
'Stream read error on client side when transferring user data to 
server.: java.io.IOException'.
    at 
org.apache.derby.client.am.Statement.completeExecute(Statement.java:1601)
    at 
org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(NetStatementReply.java:322)
    at 
org.apache.derby.client.net.NetStatementReply.readExecute(NetStatementReply.java:71)
    at 
org.apache.derby.client.net.StatementReply.readExecute(StatementReply.java:55)
    at 
org.apache.derby.client.net.NetPreparedStatement.readExecute_(NetPreparedStatement.java:189)
    at 
org.apache.derby.client.am.PreparedStatement.readExecute(PreparedStatement.java:1797)
    at 
org.apache.derby.client.am.PreparedStatement.flowExecute(PreparedStatement.java:2094)
    at 
org.apache.derby.client.am.PreparedStatement.executeUpdateX(PreparedStatement.java:408)
    at 
org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedStatement.java:394)
    ... 54 more


Mime
View raw message