db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject 10.4 -> 10.5 hard upgrade run
Date Mon, 06 Apr 2009 16:56:59 GMT
I hard upgraded a 10.4.2.0  database to 10.5.1.0 (RC) and ran 10.5 tests 
against it.  I hit only two instances of  DERBY-4127 and one replication 
failure which seems familar and I think is a known  intermittent issue, 
but I couldn't find an exact match in Jira.  The test 
testReplication_Local_StateTest_part1 passed on rerun. Should I file an 
issue for this or am I just putting in the wrong search criteria?

Thanks

Kathey



1) 
testGetColumnsReadOnly(org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest)java.lang.ArrayIndexOutOfBoundsException
    at org.apache.derby.client.net.NetCursor.readFdocaBytes(Unknown Source)
    at org.apache.derby.client.net.NetCursor.parseSQLCAXGRP(Unknown Source)
    at org.apache.derby.client.net.NetCursor.parseSQLCAGRP(Unknown Source)
    at org.apache.derby.client.net.NetCursor.parseSQLCARD(Unknown Source)
    at 
org.apache.derby.client.net.NetCursor.calculateColumnOffsetsForRow_(Unknown 
Source)
    at org.apache.derby.client.am.Cursor.stepNext(Unknown Source)
    at 
org.apache.derby.client.net.NetCursor.scanDataBufferForEndOfData(Unknown 
Source)
    at org.apache.derby.client.net.NetResultSet.preClose_(Unknown Source)
    at org.apache.derby.client.am.ResultSet.closeX(Unknown Source)
    at org.apache.derby.client.am.ResultSet.close(Unknown Source)
    at 
org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.crossCheckGetColumnsAndResultSetMetaData(DatabaseMetaDataTest.java:1692)
    at 
org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.testGetColumnsReadOnly(DatabaseMetaDataTest.java:1389)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:105)
    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 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)
2) 
testGetColumnsModify(org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest)java.lang.ArrayIndexOutOfBoundsException
    at org.apache.derby.client.net.NetCursor.readFdocaBytes(Unknown Source)
    at org.apache.derby.client.net.NetCursor.parseSQLCAXGRP(Unknown Source)
    at org.apache.derby.client.net.NetCursor.parseSQLCAGRP(Unknown Source)
    at org.apache.derby.client.net.NetCursor.parseSQLCARD(Unknown Source)
    at 
org.apache.derby.client.net.NetCursor.calculateColumnOffsetsForRow_(Unknown 
Source)
    at org.apache.derby.client.am.Cursor.stepNext(Unknown Source)
    at 
org.apache.derby.client.net.NetCursor.scanDataBufferForEndOfData(Unknown 
Source)
    at org.apache.derby.client.net.NetResultSet.preClose_(Unknown Source)
    at org.apache.derby.client.am.ResultSet.closeX(Unknown Source)
    at org.apache.derby.client.am.ResultSet.close(Unknown Source)
    at 
org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.crossCheckGetColumnsAndResultSetMetaData(DatabaseMetaDataTest.java:1692)
    at 
org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.testGetColumnsReadOnly(DatabaseMetaDataTest.java:1389)
    at 
org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.testGetColumnsModify(DatabaseMetaDataTest.java:1406)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:105)
    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 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)
There was 1 failure:
1) 
testReplication_Local_StateTest_part1(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1)junit.framework.ComparisonFailure:

Unexpected SQL state. expected:<...20> but was:<...07>
    at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:760)
    at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:809)
    at 
org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.failOver_direct(ReplicationRun.java:1381)
    at 
org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.failOver(ReplicationRun.java:1302)
    at 
org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1.testReplication_Local_StateTest_part1(ReplicationRun_Local_StateTest_part1.java:160)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:105)
    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)
Caused by: java.sql.SQLException: DERBY SQL error: SQLCODE: -1, 
SQLSTATE: XRE07, SQLERRMC: Could not perform operation because the 
database is not in replication master mode.
    at 
org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown 
Source)
    at org.apache.derby.client.am.SqlException.getSQLException(Unknown 
Source)
    at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:316)
    at java.sql.DriverManager.getConnection(DriverManager.java:273)
    at 
org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.failOver_direct(ReplicationRun.java:1368)
    ... 28 more
Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: 
SQLCODE: -1, SQLSTATE: XRE07, SQLERRMC: Could not perform operation 
because the database is not in replication master mode.
    at org.apache.derby.client.am.Connection.completeSqlca(Unknown Source)
    at 
org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(Unknown 
Source)
    at 
org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Unknown 
Source)
    at 
org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(Unknown 
Source)
    at 
org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Unknown 
Source)
    at 
org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown 
Source)
    at 
org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown 
Source)
    at 
org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(Unknown 
Source)
    at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
    at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
    at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
    at 
org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown 
Source)
    ... 32 more

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


Mime
View raw message