Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-7031

Errors running upgrade tests from 10.15.1.0 release candidate to 10.16 trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.16.1.1
    • 10.16.1.1
    • Test
    • None
    • Blocker

    Description

      I saw the following errors on the 10.16 trunk when running the upgrade tests starting from 10.15.1.0:

      There were 6 failures:
      1) 10.15.1.0 Upgrade Phase: POST UPGRADE junit.framework.AssertionFailedError: Unexpected result from driver unloading expected:<false> but was:<true>
      	at org.apache.derbyTesting.functionTests.tests.upgradeTests.PhaseChanger.deregisterDriver(PhaseChanger.java:196)
      	at org.apache.derbyTesting.functionTests.tests.upgradeTests.PhaseChanger.tearDown(PhaseChanger.java:147)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
      	at junit.extensions.TestSetup.run(TestSetup.java:25)
      	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      	at junit.extensions.TestSetup.run(TestSetup.java:25)
      2) Upgrade Tests from 10.15.1.0junit.framework.ComparisonFailure: Database shutdown expected:<[08006]> but was:<[XJ004]>
      	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:879)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:277)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.shutdownDatabase(DropDatabaseSetup.java:89)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:54)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
      	at junit.extensions.TestSetup.run(TestSetup.java:25)
      	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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 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: Database 'singleUse/oneuse0' not found.
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:115)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:141)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:225)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:220)
      	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java:3215)
      	at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(EmbedConnection.java:772)
      	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:442)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:660)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:656)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.apache.derby.iapi.jdbc.InternalDriver.getNewEmbedConnection(InternalDriver.java:654)
      	at org.apache.derby.iapi.jdbc.InternalDriver.connect(InternalDriver.java:300)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:778)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:708)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:274)
      	... 77 more
      Caused by: ERROR XJ004: Database 'singleUse/oneuse0' not found.
      	at org.apache.derby.shared.common.error.StandardException.newException(StandardException.java:300)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory.java:170)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:75)
      	... 91 more
      3) Upgrade Tests from 10.15.1.0junit.framework.ComparisonFailure: Database shutdown expected:<[08006]> but was:<[XJ004]>
      	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:879)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:277)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.shutdownDatabase(DropDatabaseSetup.java:89)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:54)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
      	at junit.extensions.TestSetup.run(TestSetup.java:25)
      	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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 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: Database 'singleUse/oneuse1' not found.
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:115)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:141)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:225)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:220)
      	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java:3215)
      	at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(EmbedConnection.java:772)
      	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:442)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:660)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:656)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.apache.derby.iapi.jdbc.InternalDriver.getNewEmbedConnection(InternalDriver.java:654)
      	at org.apache.derby.iapi.jdbc.InternalDriver.connect(InternalDriver.java:300)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:778)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:708)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:274)
      	... 68 more
      Caused by: ERROR XJ004: Database 'singleUse/oneuse1' not found.
      	at org.apache.derby.shared.common.error.StandardException.newException(StandardException.java:300)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory.java:170)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:75)
      	... 82 more
      4) Upgrade Tests from 10.15.1.0junit.framework.ComparisonFailure: Database shutdown expected:<[08006]> but was:<[XJ004]>
      	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:879)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:277)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.shutdownDatabase(DropDatabaseSetup.java:89)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:54)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
      	at junit.extensions.TestSetup.run(TestSetup.java:25)
      	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      	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:58)
      	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:58)
      	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:58)
      	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:58)
      	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 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: Database 'singleUse/oneuse2' not found.
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:115)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:141)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:225)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:220)
      	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java:3215)
      	at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(EmbedConnection.java:772)
      	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:442)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:660)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:656)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.apache.derby.iapi.jdbc.InternalDriver.getNewEmbedConnection(InternalDriver.java:654)
      	at org.apache.derby.iapi.jdbc.InternalDriver.connect(InternalDriver.java:300)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:778)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:708)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:274)
      	... 59 more
      Caused by: ERROR XJ004: Database 'singleUse/oneuse2' not found.
      	at org.apache.derby.shared.common.error.StandardException.newException(StandardException.java:300)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory.java:170)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:75)
      	... 73 more
      5) Upgrade Tests from 10.15.1.0junit.framework.ComparisonFailure: Database shutdown expected:<[08006]> but was:<[XJ004]>
      	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:879)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:277)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.shutdownDatabase(DropDatabaseSetup.java:89)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:54)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
      	at junit.extensions.TestSetup.run(TestSetup.java:25)
      	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      	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:58)
      	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:58)
      	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:58)
      	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 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: Database 'singleUse/oneuse3' not found.
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:115)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:141)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:225)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:220)
      	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java:3215)
      	at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(EmbedConnection.java:772)
      	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:442)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:660)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:656)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.apache.derby.iapi.jdbc.InternalDriver.getNewEmbedConnection(InternalDriver.java:654)
      	at org.apache.derby.iapi.jdbc.InternalDriver.connect(InternalDriver.java:300)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:778)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:708)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:274)
      	... 50 more
      Caused by: ERROR XJ004: Database 'singleUse/oneuse3' not found.
      	at org.apache.derby.shared.common.error.StandardException.newException(StandardException.java:300)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory.java:170)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:75)
      	... 64 more
      6) Upgrade Tests from 10.15.1.0junit.framework.ComparisonFailure: Database shutdown expected:<[08006]> but was:<[XJ004]>
      	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDBCTestCase.java:879)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:277)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.shutdownDatabase(DropDatabaseSetup.java:89)
      	at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:54)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
      	at junit.extensions.TestSetup.run(TestSetup.java:25)
      	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      	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 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: Database 'singleUse/oneuse6' not found.
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:115)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:141)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:225)
      	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:220)
      	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java:3215)
      	at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(EmbedConnection.java:772)
      	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:442)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:660)
      	at org.apache.derby.iapi.jdbc.InternalDriver$1.run(InternalDriver.java:656)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at org.apache.derby.iapi.jdbc.InternalDriver.getNewEmbedConnection(InternalDriver.java:654)
      	at org.apache.derby.iapi.jdbc.InternalDriver.connect(InternalDriver.java:300)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:778)
      	at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(BasicEmbeddedDataSource40.java:708)
      	at org.apache.derbyTesting.junit.JDBCDataSource.shutdownDatabase(JDBCDataSource.java:274)
      	... 23 more
      Caused by: ERROR XJ004: Database 'singleUse/oneuse6' not found.
      	at org.apache.derby.shared.common.error.StandardException.newException(StandardException.java:300)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory.java:170)
      	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:75)
      	... 37 more
      
      FAILURES!!!
      Tests run: 145,  Failures: 6,  Errors: 0
      

      Attachments

        1. derby-7031-01-aa-adjustFor10.15.diff
          1 kB
          Richard N. Hillegas
        2. driverUnloadingTest_withPermission_10_15.policy
          7 kB
          Richard N. Hillegas
        3. driverUnloadingTest_withoutPermission_10_15.policy
          7 kB
          Richard N. Hillegas
        4. DriverUnloadingTest.java
          6 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: