db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4453) OnlineBackupTest1 nightly test failed with "java.io.EOFException: Reached end of file while attempting to read a whole page."
Date Tue, 24 Nov 2009 20:11:39 GMT

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

Mike Matrigali updated DERBY-4453:
----------------------------------


is there anything in the top path starting at extinout/onlinebackuptest1?  >From the complete
derby.log that I got from the above link I can tell that the failure occurs while
trying to boot an online backup made by the onlinebackuptest1.  It looks like this backup
goes to  extinout/onlinebackuptest1.  If you still have this and can post it, it may be
useful.  

Here is an inline version of the derby.log failure:

----------------------------------------------------------------
2009-11-20 23:13:19.658 GMT:
 Booting Derby version The Apache Software Foundation - Apache Derby - 10.6.0.0 alpha - (882732):
instance a816c00e-0125-13df-009f-ffffe0436f6b
on database directory /export/home/tmp/os136789/testingDerbyTinderBox/SunOS-5.10_i86pc-i386/derbyall/derbyall/storeall/storemore/OnlineBackupTest1/wom
bat

Database Class Loader started - derby.database.classpath=''

2009-11-20 23:14:25.309 GMT:
Shutting down instance a816c00e-0125-13df-009f-ffffe0436f6b
----------------------------------------------------------------
----------------------------------------------------------------
2009-11-20 23:14:25.681 GMT:
 Booting Derby version The Apache Software Foundation - Apache Derby - 10.6.0.0 alpha - (882732):
instance 82d8ac35-0125-13df-009f-ffffe0436f6b
on database directory /export/home/tmp/os136789/testingDerbyTinderBox/SunOS-5.10_i86pc-i386/derbyall/derbyall/storeall/storemore/OnlineBackupTest1/wom
bat


------------  BEGIN SHUTDOWN ERROR STACK -------------

ERROR XSLA7: Cannot redo operation null in the log.
    at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
    at org.apache.derby.impl.store.raw.log.FileLogger.redo(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogToFile.recover(Unknown Source)
    at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
    at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
    at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
    at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
    at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
    at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown
Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
    at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
    at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:207)
    at org.apache.derbyTesting.functionTests.util.TestUtil.getConnection(TestUtil.java:836)
    at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.restoreFromBackup(OnlineBackup.java:176)
    at org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1.runTest(OnlineBackupTest1.java:155)
    at org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1.main(OnlineBackupTest1.java:52)
Caused by: ERROR XSDG0: Page Page(3,Container(0, 40768)) could not be read from disk.
    at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
    at org.apache.derby.impl.store.raw.data.CachedPage.readPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unknown Source)
    at org.apache.derby.impl.services.cache.ConcurrentCache.find(Unknown Source)
    at org.apache.derby.impl.store.raw.data.FileContainer.getAnyPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.BaseContainer.getAnyPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.BaseContainerHandle.getAnyPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.PageBasicOperation.findpage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown Source)
    ... 34 more
Caused by: java.io.EOFException: Reached end of file while attempting to read a whole page.
    at org.apache.derby.impl.store.raw.data.RAFContainer4.readFull(Unknown Source)
    at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage0(Unknown Source)
    at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage(Unknown Source)
    ... 42 more
============= begin nested exception, level (1) ===========
ERROR XSDG0: Page Page(3,Container(0, 40768)) could not be read from disk.
    at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
    at org.apache.derby.impl.store.raw.data.CachedPage.readPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unknown Source)
    at org.apache.derby.impl.services.cache.ConcurrentCache.find(Unknown Source)
    at org.apache.derby.impl.store.raw.data.FileContainer.getAnyPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.BaseContainer.getAnyPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.BaseContainerHandle.getAnyPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.PageBasicOperation.findpage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown Source)
    at org.apache.derby.impl.store.raw.log.FileLogger.redo(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogToFile.recover(Unknown Source)
    at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
    at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
    at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
    at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
    at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
    at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown
Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
    at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
    at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:207)
    at org.apache.derbyTesting.functionTests.util.TestUtil.getConnection(TestUtil.java:836)
    at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.restoreFromBackup(OnlineBackup.java:176)
    at org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1.runTest(OnlineBackupTest1.java:155)
    at org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1.main(OnlineBackupTest1.java:52)
Caused by: java.io.EOFException: Reached end of file while attempting to read a whole page.
    at org.apache.derby.impl.store.raw.data.RAFContainer4.readFull(Unknown Source)
    at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage0(Unknown Source)
    at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage(Unknown Source)
    ... 42 more
============= end nested exception, level (1) ===========
============= begin nested exception, level (2) ===========
java.io.EOFException: Reached end of file while attempting to read a whole page.
    at org.apache.derby.impl.store.raw.data.RAFContainer4.readFull(Unknown Source)
    at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage0(Unknown Source)
    at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.CachedPage.readPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unknown Source)
    at org.apache.derby.impl.services.cache.ConcurrentCache.find(Unknown Source)
    at org.apache.derby.impl.store.raw.data.FileContainer.getAnyPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.BaseContainer.getAnyPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.BaseContainerHandle.getAnyPage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.PageBasicOperation.findpage(Unknown Source)
    at org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown Source)
    at org.apache.derby.impl.store.raw.log.FileLogger.redo(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogToFile.recover(Unknown Source)
    at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
    at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
    at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
    at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
    at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
    at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
    at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown
Source)
    at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
    at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
    at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:207)
    at org.apache.derbyTesting.functionTests.util.TestUtil.getConnection(TestUtil.java:836)
    at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.restoreFromBackup(OnlineBackup.java:176)
    at org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1.runTest(OnlineBackupTest1.java:155)
    at org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1.main(OnlineBackupTest1.java:52)
============= end nested exception, level (2) ===========


------------  END SHUTDOWN ERROR STACK -------------

> OnlineBackupTest1 nightly test failed with "java.io.EOFException: Reached end of file
while attempting to read a whole page."
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4453
>                 URL: https://issues.apache.org/jira/browse/DERBY-4453
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.6.0.0
>         Environment: ------------------ Java Information ------------------
> Java Version:    1.6.0_15
> Java Vendor:     Sun Microsystems Inc.
> Java home:       /usr/local/java/jdk1.6.0_15/jre
> Java classpath:  /home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derby.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyclient.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbytools.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbynet.jar:/home/os136789/Apache/TinderBox_Derby/db2jcc/lib/db2jcc.jar:/home/os136789/Apache/TinderBox_Derby/db2jcc/lib/db2jcc_license_c.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyTesting.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyrun.jar:/home/os136789/Apache/TinderBox_Derby/trunk/tools/java/jakarta-oro-2.0.8.jar:/home/os136789/Apache/TinderBox_Derby/trunk/tools/java/junit.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyLocale_de_DE.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyLocale_es.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyLocale_fr.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyLocale_it.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyLocale_ja_JP.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyLocale_ko_KR.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyLocale_pt_BR.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyLocale_zh_CN.jar:/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyLocale_zh_TW.jar:/usr/local/share/java/xalan/serializer.jar:/usr/local/share/java/xalan/xalan.jar:/usr/local/share/java/xalan/xercesImpl.jar:/usr/local/share/java/xalan/xml-apis.jar:/usr/local/share/java/xalan/xsltc.jar
> OS name:         SunOS
> OS architecture: x86
> OS version:      5.10
> Java user name:  os136789
> Java user home:  /home/os136789
> Java user dir:   /export/home/tmp/os136789/testingDerbyTinderBox/SunOS-5.10_i86pc-i386/derbyall
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.6
> --------- Derby Information --------
> JRE - JDBC: Java SE 6 - JDBC 4.0
> [/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derby.jar] 10.6.0.0 alpha -
(882732)
> [/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbytools.jar] 10.6.0.0 alpha
- (882732)
> [/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbynet.jar] 10.6.0.0 alpha
- (882732)
> [/home/os136789/Apache/TinderBox_Derby/trunk/jars/insane/derbyclient.jar] 10.6.0.0 alpha
- (882732)
> [/home/os136789/Apache/TinderBox_Derby/db2jcc/lib/db2jcc.jar] 2.4 - (17)
> [/home/os136789/Apache/TinderBox_Derby/db2jcc/lib/db2jcc_license_c.jar] 2.4 - (17)
>            Reporter: Mike Matrigali
>
> Online backup test failed in nightly tinderbox run:
> http://dbtg.foundry.sun.com/derby/test/tinderbox_trunk16/jvm1.6/testing/testlog/SunOS-5.10_i86pc-i386/882732-derbyall_diff.txt
> Failure Details:
> ********* Diff file derbyall/derbynetmats/DerbyNet/jdbcapi/derbyStress.diff
> *** Start: derbyStress jdk1.6.0_15 DerbyNet derbynetmats:jdbcapi 2009-11-21 00:07:40
***
> Test skipped: listed in DerbyNet.exclude file, skipping test: jdbcapi/derbyStress.java
> *** End:   derbyStress jdk1.6.0_15 DerbyNet derbynetmats:jdbcapi 2009-11-21 00:07:40
***
> ********* Diff file derbyall/storeall/storemore/OnlineBackupTest1.diff
> *** Start: OnlineBackupTest1 jdk1.6.0_15 storeall:storemore 2009-11-21 00:13:18 ***
> 6 del
> < Restored From the Backup
> 7 del
> < Consistency Check is Done
> 8 del
> < database shutdown properly
> 9 del
> < End Online Backup Test1
> 9 add
> > ERROR XJ040: Failed to start database 'wombat', see the next exception for details.
> > ERROR XSDG0: Page Page(3,Container(0, 40768)) could not be read from disk.
> > java.sql.SQLException: Failed to start database 'wombat', see the next exception
for details.
> > Caused by: java.sql.SQLException: Failed to start database 'wombat', see the next
exception for details.
> > 	... 16 more
> > Caused by: java.sql.SQLException: Page Page(3,Container(0, 40768)) could not be
read from disk.
> > 	... 13 more
> > Caused by: ERROR XSDG0: Page Page(3,Container(0, 40768)) could not be read from
disk.
> > 	... 13 more
> > Caused by: java.io.EOFException: Reached end of file while attempting to read a
whole page.
> > 	... 42 more
> Test Failed.
> *** End:   OnlineBackupTest1 jdk1.6.0_15 storeall:storemore 2009-11-21 00:14:25 ***
> ********* Diff file derbyall/derbynetclientmats/DerbyNetClient/encodingTests/TestEnc.diff
> *** Start: TestEnc jdk1.6.0_15 DerbyNetClient derbynetclientmats:encodingTests 2009-11-21
00:20:39 ***
> derbyTesting.encoding can only be used with jdk15, skipping test
> *** End:   TestEnc jdk1.6.0_15 DerbyNetClient derbynetclientmats:encodingTests 2009-11-21
00:20:39 ***
> ------------------------------------------------------

-- 
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