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-5222) Compatibility tests fail to delete database directory
Date Mon, 16 May 2011 12:38:47 GMT

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

Knut Anders Hatlen updated DERBY-5222:

    Attachment: d5222-3a.diff

There are more processes that get started by the compatibility test and that we don't wait
for to complete (for example the process in which the network server runs). Attaching yet
another patch (3a) that waits for all processes started by the compatibility test before moving
on to the next combination. Maybe this isn't what's causing the failures, but it's probably
worth fixing in any case. The compatibility test ran cleanly in my environment with the patch.

> Compatibility tests fail to delete database directory
> -----------------------------------------------------
>                 Key: DERBY-5222
>                 URL: https://issues.apache.org/jira/browse/DERBY-5222
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>         Attachments: d5222-1a-logging.diff, d5222-2a-waitForProc.diff, d5222-3a.diff
> The compatibility tests fail frequently on one platform (Solaris 10, x86 (32-bit), Java
7 ea b131). For example here: http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.7/testing/testlog/sol32/1100759-compatibility_diff.txt
> From what's printed to the console, it looks like it fails to delete the database directory:
> > Failed deleting database dir '/export/home/tmp/jagtmp/autoderbyN_regression/compatibility_3/log/wombat'
> And then, when running the actual test, it fails to create the log directory on that
location (presumably because one already exists):
> Exception in thread "main" java.sql.SQLException: Failed to start database 'wombat' with
class loader sun.misc.Launcher$AppClassLoader@53c015, see the next exception for details.
> (...)
> Caused by: java.sql.SQLException: cannot create log file at directory /export/home/tmp/jagtmp/autoderbyN_regression/compatibility_3/log/wombat/log.
> (...)
> Caused by: ERROR XSLAQ: cannot create log file at directory /export/home/tmp/jagtmp/autoderbyN_regression/compatibility_3/log/wombat/log.
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.getLogDirectory(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.getControlFileName(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.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.raw.data.BaseDataFileFactory.bootLogFactory(Unknown Source)
> 	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFactory(Unknown
> 	at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
> (...)

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message