db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6229) StressMultiTest fails with ERROR 08006: Database 'singleUse/oneuse193' shutdown.
Date Thu, 30 May 2013 13:44:20 GMT

     [ https://issues.apache.org/jira/browse/DERBY-6229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen updated DERBY-6229:
--------------------------------------

    Attachment: derby.log

Attaching derby.log from the failed run. There were some ugly-looking exceptions:

------------  Begin Shutdown Error Stack -------------

ERROR XSLA3: Log Corrupted, has invalid data in the log stream.
	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:271)
	at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.java:217)
	at org.apache.derby.impl.store.raw.log.FileLogger.undo(FileLogger.java:938)
	at org.apache.derby.impl.store.raw.xact.Xact.abort(Xact.java:965)
	at org.apache.derby.impl.store.access.RAMTransaction.abort(RAMTransaction.java:1961)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doRollback(GenericLanguageConnectionContext.java:1767)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userRollback(GenericLanguageConnectionContext.java:1675)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.rollback(TransactionResourceImpl.java:245)
	at org.apache.derby.impl.jdbc.EmbedConnection.rollback(EmbedConnection.java:1948)
	at org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.roll(StressMultiTest.java:529)
	at org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.run(StressMultiTest.java:410)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.EOFException
	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:759)
	at org.apache.derby.impl.store.raw.log.Scan.getNextRecordBackward(Scan.java:350)
	at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.java:204)
	... 10 more
============= begin nested exception, level (1) ===========
java.io.EOFException
	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:759)
	at org.apache.derby.impl.store.raw.log.Scan.getNextRecordBackward(Scan.java:350)
	at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.java:204)
	at org.apache.derby.impl.store.raw.log.FileLogger.undo(FileLogger.java:938)
	at org.apache.derby.impl.store.raw.xact.Xact.abort(Xact.java:965)
	at org.apache.derby.impl.store.access.RAMTransaction.abort(RAMTransaction.java:1961)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doRollback(GenericLanguageConnectionContext.java:1767)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userRollback(GenericLanguageConnectionContext.java:1675)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.rollback(TransactionResourceImpl.java:245)
	at org.apache.derby.impl.jdbc.EmbedConnection.rollback(EmbedConnection.java:1948)
	at org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.roll(StressMultiTest.java:529)
	at org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.run(StressMultiTest.java:410)
	at java.lang.Thread.run(Thread.java:662)
============= end nested exception, level (1) ===========


------------  End Shutdown Error Stack -------------
                
> StressMultiTest fails with ERROR 08006: Database 'singleUse/oneuse193' shutdown.
> --------------------------------------------------------------------------------
>
>                 Key: DERBY-6229
>                 URL: https://issues.apache.org/jira/browse/DERBY-6229
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: Linux x86 (32bits)/ JDK 1.6 
>            Reporter: Dag H. Wanvik
>            Priority: Minor
>         Attachments: derby.log
>
>
> Saw this on regression tests for 10.10.
> Cf. http://download.java.net/javadesktop/derby/javadb-5577223-report/javadb-task-3656269.html
> junit.framework.AssertionFailedError: Caused by: 
> java.sql.SQLNonTransientConnectionException: Database 'singleUse/oneuse193' shutdown.
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:77)
> 	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:327)
> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:424)
> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:353)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2400)
> 	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:85)
> 	at org.apache.derby.impl.jdbc.EmbedResultSet.closeOnTransactionError(EmbedResultSet.java:4434)
> 	at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:475)
> 	at org.apache.derby.impl.jdbc.EmbedResultSet.next(EmbedResultSet.java:379)
> 	at org.apache.derbyTesting.junit.JDBC.assertDrainResults(JDBC.java:740)
> 	at org.apache.derbyTesting.junit.JDBC.assertDrainResults(JDBC.java:717)
> 	at org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.select(StressMultiTest.java:556)
> 	at org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.run(StressMultiTest.java:429)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: java.sql.SQLException: Database 'singleUse/oneuse193' shutdown.
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:42)
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:126)
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:71)
> Caused by: ERROR 08006: Database 'singleUse/oneuse193' shutdown.
> 	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:278)
> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.shutdownDatabaseException(TransactionResourceImpl.java:225)
> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:347)
> 	at org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest.handleException(StressMultiTest.java:351)
> 	at org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest.access$200(StressMultiTest.java:70)
> 	at org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.run(StressMultiTest.java:445)
> 	at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message