You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mike Matrigali (JIRA)" <ji...@apache.org> on 2007/05/11 06:07:15 UTC

[jira] Created: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

intermittent failure in T_RawStoreFactory unit test
---------------------------------------------------

                 Key: DERBY-2635
                 URL: https://issues.apache.org/jira/browse/DERBY-2635
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure
    Affects Versions: 10.3.0.0
         Environment: m2_ibm15:5>sysinfo
------------------ Java Information ------------------
Java Version:    1.5.0
Java Vendor:     IBM Corporation
Java home:       c:\p4\m2\ibm15\jre
Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
/m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
alan.jar
OS name:         Windows XP
OS architecture: x86
OS version:      5.1 build 2600 Service Pack 2
Java user name:  mikem
Java user home:  C:\Documents and Settings\Administrator
Java user dir:   C:\p4\m2
java.specification.name: Java Platform API Specification
java.specification.version: 1.5
--------- Derby Information --------
JRE - JDBC: J2SE 5.0 - JDBC 3.0
[C:\p4\m2\classes] 10.3.0.0 alpha - (1)
            Reporter: Mike Matrigali


I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.


The diff is:
********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
*** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
2 del
< -- Unit Test T_RawStoreFactory finished
2 add
> Shutting down due to unit test failure.
Test Failed.
*** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***

The interesting stack from the derby.log is:
[main] Pass - RawStoreFactory P024^M
2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
^M
    at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
ion.java:309)^M
    at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
353)^M
    at java.security.AccessController.doPrivileged(AccessController.java:242)^M
    at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
ainer.java:812)^M
    at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
tainer4.java:123)^M
    at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
ner.java:476)^M
    at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
iner.java:149)^M
    at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
.java:220)^M
    at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
    at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
    at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
eDataFileFactory.java:810)^M
    at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
    at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
:936)^M
    at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
Factory.java:3722)^M
    at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
awStoreFactory.java:321)^M
    at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
wStoreFactory.java:242)^M
    at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
ltiIterations.java:95)^M
    at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
sts(T_MultiThreadedIterations.java:92)^M
    at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
a:118)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
asicUnitTestManager.java:184)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
asicUnitTestManager.java:246)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
UnitTestManager.java:93)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
1994)^M
    at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
ava:291)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
r.java:1829)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
tor.java:970)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
or.java:402)^M
    at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
a:60)^M
    at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
289)^M
    at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
java:51)^M
============= begin nested exception, level (1) ===========^M
java.nio.channels.ClosedByInterruptException^M
    at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
bleChannel.java:212)^M
    at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
    at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
ava:73)^M
    at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
iner.java:708)^M
    at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
331)^M
    at java.security.AccessController.doPrivileged(AccessController.java:242)^M
    at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
ainer.java:812)^M
    at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
tainer4.java:123)^M
    at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
ner.java:476)^M
    at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
iner.java:149)^M
    at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
.java:220)^M
    at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
    at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
    at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
eDataFileFactory.java:810)^M
    at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
    at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
:936)^M
    at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
Factory.java:3722)^M
    at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
awStoreFactory.java:321)^M
    at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
wStoreFactory.java:242)^M
    at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
ltiIterations.java:95)^M
    at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
sts(T_MultiThreadedIterations.java:92)^M
    at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
a:118)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
asicUnitTestManager.java:184)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
asicUnitTestManager.java:246)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
UnitTestManager.java:93)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
1994)^M
    at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
ava:291)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
r.java:1829)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
tor.java:970)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
or.java:402)^M
    at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
a:60)^M
    at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
289)^M
    at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
java:51)^M
============= end nested exception, level (1) ===========^M
Cleanup action completed^M
============= end nested exception, level (1) ===========^M
Cleanup action completed^M
[main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
0.dat for container^M
org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
ainer^M
    at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
a:73)^M
    at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
wStoreFactory.java:262)^M
    at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
ltiIterations.java:95)^M
    at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
sts(T_MultiThreadedIterations.java:92)^M
    at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
a:118)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
asicUnitTestManager.java:184)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
asicUnitTestManager.java:246)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
UnitTestManager.java:93)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
1994)^M
    at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
ava:291)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
r.java:1829)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
tor.java:970)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
or.java:402)^M
    at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
a:60)^M
    at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
289)^M
    at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
java:51)^M
2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
itTests.store.T_RawStoreFactory' failed^M
2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
Failed 1, Skipped 0.^M
2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
ailure, see log for more information.^M

------------  BEGIN SHUTDOWN ERROR STACK -------------
ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
sk, please check if disk is full.^M
    at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
ion.java:349)^M
    at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
:817)^M
    at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
)^M
    at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
)^M
    at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
    at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
    at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
ataFileFactory.java:1200)^M
    at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
e.java:1521)^M
    at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
360)^M
    at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
    at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
5)^M
    at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
a:349)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
ava:235)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
ava:201)^M
    at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
UnitTestManager.java:103)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
1994)^M
    at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
ava:291)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
r.java:1829)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
tor.java:970)^M
    at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
or.java:402)^M
    at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
a:60)^M
    at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
289)^M
    at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
java:51)^M
============= begin nested exception, level (1) ===========^M




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by Jørgen Løland <Jo...@Sun.COM>.
Mike,

I saw this a few days ago:

T_RawStoreFactory.diff
*** Start: T_RawStoreFactory jdk1.5.0_06 storeall:storeunit 2007-05-08 
11:17:28 ***
1 del
< -- Unit Test T_RawStoreFactory finished
Test Failed.
*** End:   T_RawStoreFactory jdk1.5.0_06 storeall:storeunit 2007-05-08 
11:17:52 ***

However, I also had some other test failures in that test run, and reran 
the tests after fixing those. By then, the T_RawStoreFactory failure had 
disappeared.

Looking at derby.log, the exceptions I got are not equal to yours, but I 
attached the derby.log file from that test run for comparison. It may 
still be relevant.

Some cut'n paste from derby.log. For more information, read the attached 
file.
----8<----
[main] Pass - RawStoreFactory P024
Exception trace:
ERROR 40XL1: A lock could not be obtained within the time requested
(...)
2007-05-08 09:17:38.877 GMT Thread[derby.rawStoreDaemon,5,derby.daemons] 
Cleanup action starting
ERROR 40XL1: A lock could not be obtained within the time requested
(...)
2007-05-08 09:17:40.686 GMT Thread[main,5,main] Cleanup action starting
ERROR XSDA1: An attempt was made to access an out of range slot on a page
(...)
New exception raised during cleanup Exception thrown during an internal 
transaction.
ERROR 40XT5: Exception thrown during an internal transaction.
---->8----





Mike Matrigali (JIRA) wrote:
> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
> 
>                  Key: DERBY-2635
>                  URL: https://issues.apache.org/jira/browse/DERBY-2635
>              Project: Derby
>           Issue Type: Bug
>           Components: Regression Test Failure
>     Affects Versions: 10.3.0.0
>          Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>             Reporter: Mike Matrigali
> 
> 
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> 
> 
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
>> Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> 
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> 
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> 
> 
> 
> 


[jira] Closed: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali closed DERBY-2635.
---------------------------------


> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
>
>                 Key: DERBY-2635
>                 URL: https://issues.apache.org/jira/browse/DERBY-2635
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.0.0
>         Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>            Reporter: Mike Matrigali
>         Assigned To: Knut Anders Hatlen
>             Fix For: 10.3.0.0
>
>         Attachments: derby.log, t_util.diff
>
>
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
> > Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-2635:
--------------------------------------

    Attachment: t_util.diff

Attaching patch which fixes the test by disabling the interrupter thread in sane builds. I have run the test 100 times without seeing the error (without the patch it failed every ~10 runs).

> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
>
>                 Key: DERBY-2635
>                 URL: https://issues.apache.org/jira/browse/DERBY-2635
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.0.0
>         Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>            Reporter: Mike Matrigali
>         Attachments: derby.log, t_util.diff
>
>
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
> > Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-2635:
--------------------------------------

    Component/s: Test

> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
>
>                 Key: DERBY-2635
>                 URL: https://issues.apache.org/jira/browse/DERBY-2635
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Test
>    Affects Versions: 10.3.0.0
>         Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>            Reporter: Mike Matrigali
>         Assigned To: Knut Anders Hatlen
>             Fix For: 10.3.0.0
>
>         Attachments: derby.log, t_util.diff
>
>
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
> > Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren closed DERBY-2635.
-------------------------------------

    Resolution: Fixed

> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
>
>                 Key: DERBY-2635
>                 URL: https://issues.apache.org/jira/browse/DERBY-2635
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Test
>    Affects Versions: 10.3.0.0
>         Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>            Reporter: Mike Matrigali
>         Assigned To: Knut Anders Hatlen
>             Fix For: 10.3.0.0
>
>         Attachments: derby.log, t_util.diff
>
>
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
> > Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-2635.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.3.0.0

Committed revision 537409.

> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
>
>                 Key: DERBY-2635
>                 URL: https://issues.apache.org/jira/browse/DERBY-2635
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.0.0
>         Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>            Reporter: Mike Matrigali
>         Assigned To: Knut Anders Hatlen
>             Fix For: 10.3.0.0
>
>         Attachments: derby.log, t_util.diff
>
>
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
> > Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495044 ] 

Knut Anders Hatlen commented on DERBY-2635:
-------------------------------------------

This could be a side effect of my last patch for DERBY-2107. That patch adds an assert which makes one of the test cases in T_RawStoreFactory fail immediately in sane mode instead of hanging until it is interrupted. Perhaps that is causing an interrupt to be sent to a subsequent test case?

You could try to disable the interrupter thread in T_Util.t_checkGetLatchedPage() in sane builds and see if that makes the problem go away.

> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
>
>                 Key: DERBY-2635
>                 URL: https://issues.apache.org/jira/browse/DERBY-2635
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.0.0
>         Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>            Reporter: Mike Matrigali
>         Attachments: derby.log
>
>
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
> > Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali updated DERBY-2635:
----------------------------------

    Attachment: derby.log

Attaching full derby.log from the failed unit test found in: 
derby/derbyall/storeall/storeunit/storeunit/derby.log

> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
>
>                 Key: DERBY-2635
>                 URL: https://issues.apache.org/jira/browse/DERBY-2635
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.0.0
>         Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>            Reporter: Mike Matrigali
>         Attachments: derby.log
>
>
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
> > Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren reopened DERBY-2635:
---------------------------------------


> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
>
>                 Key: DERBY-2635
>                 URL: https://issues.apache.org/jira/browse/DERBY-2635
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Test
>    Affects Versions: 10.3.0.0
>         Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>            Reporter: Mike Matrigali
>         Assigned To: Knut Anders Hatlen
>             Fix For: 10.3.0.0
>
>         Attachments: derby.log, t_util.diff
>
>
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
> > Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DERBY-2635) intermittent failure in T_RawStoreFactory unit test

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen reassigned DERBY-2635:
-----------------------------------------

    Assignee: Knut Anders Hatlen

> intermittent failure in T_RawStoreFactory unit test
> ---------------------------------------------------
>
>                 Key: DERBY-2635
>                 URL: https://issues.apache.org/jira/browse/DERBY-2635
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.0.0
>         Environment: m2_ibm15:5>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m2\ibm15\jre
> Java classpath:  c:/p4/m2/classes;c:/p4/m2/tools/java/jdbctests.zip;c:/p4/m2/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m2/tools/java/jgl3.1.0.jar;c:/p4/m2/tools/ja
> va/jndi/providerutil.jar;c:/p4/m2/tools/java/jndi/ldap.jar;c:/p4/m2/tools/java/j
> ndi/jndi.jar;c:/p4/m2/tools/java/jnl1.0F.zip;c:/p4/m2/tools/java/junit.jar;c:/p4
> /m2/tools/java/servlet-2_2b.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m2/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m2/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\p4\m2
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\p4\m2\classes] 10.3.0.0 alpha - (1)
>            Reporter: Mike Matrigali
>         Assigned To: Knut Anders Hatlen
>         Attachments: derby.log, t_util.diff
>
>
> I have seen the following intermittent error at least 3 times in my environment.  I am really interest to know if anyone else is seeing it - or maybe I just have
> a flakey disk/hardware.  The underlying problem of an interrupt causing a nio failure I believe is reported somewhere else but I have no idea why this unit
> test is the only thing to see it in my environment - never any other test .  This was encountered when running the entire set of tests, each time.
> The diff is:
> ********* Diff file derbyall/storeall/storeunit/T_RawStoreFactory.diff
> *** Start: T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:27:49 ***
> 2 del
> < -- Unit Test T_RawStoreFactory finished
> 2 add
> > Shutting down due to unit test failure.
> Test Failed.
> *** End:   T_RawStoreFactory jdk1.5.0 storeall:storeunit 2007-05-10 15:28:30 ***
> The interesting stack from the derby.log is:
> [main] Pass - RawStoreFactory P024^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Cleanup action starting^M
> ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\derbya
> ll\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for container
> ^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:309)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 353)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M
> java.nio.channels.ClosedByInterruptException^M
>     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterrupti
> bleChannel.java:212)^M
>     at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:396)^M
>     at org.apache.derby.impl.io.DirRandomAccessFile4.sync(DirRandomAccessFile4.j
> ava:73)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(RAFConta
> iner.java:708)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1
> 331)^M
>     at java.security.AccessController.doPrivileged(AccessController.java:242)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(RAFCont
> ainer.java:812)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(RAFCon
> tainer4.java:123)^M
>     at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(FileContai
> ner.java:476)^M
>     at org.apache.derby.impl.store.raw.data.RAFContainer.createIdentity(RAFConta
> iner.java:149)^M
>     at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(CachedItem
> .java:220)^M
>     at org.apache.derby.impl.services.cache.Clock.addEntry(Clock.java:800)^M
>     at org.apache.derby.impl.services.cache.Clock.create(Clock.java:448)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Bas
> eDataFileFactory.java:810)^M
>     at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Xact.java:1344)^M
>     at org.apache.derbyTesting.unitTests.store.T_Util.t_addContainer(T_Util.java
> :936)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.P030(T_RawStore
> Factory.java:3722)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runEachTest(T_R
> awStoreFactory.java:321)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:242)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> ============= end nested exception, level (1) ===========^M
> Cleanup action completed^M
> [main] FAIL - org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed
> with an exception: ERROR XSDF1: Exception during creation of file C:\p4\m2\syste
> st\out\derby\derbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c1126620700
> 0.dat for container^M
> org.apache.derbyTesting.unitTests.harness.T_Fail: The test failed with an except
> ion: ERROR XSDF1: Exception during creation of file C:\p4\m2\systest\out\derby\d
> erbyall\storeall\storeunit\storeunit\rawStoreTest\seg0\c11266207000.dat for cont
> ainer^M
>     at org.apache.derbyTesting.unitTests.harness.T_Fail.exceptionFail(T_Fail.jav
> a:73)^M
>     at org.apache.derbyTesting.unitTests.store.T_RawStoreFactory.runTestSet(T_Ra
> wStoreFactory.java:262)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiIterations.runTests(T_Mu
> ltiIterations.java:95)^M
>     at org.apache.derbyTesting.unitTests.harness.T_MultiThreadedIterations.runTe
> sts(T_MultiThreadedIterations.java:92)^M
>     at org.apache.derbyTesting.unitTests.harness.T_Generic.Execute(T_Generic.jav
> a:118)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runATest(B
> asicUnitTestManager.java:184)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.runTests(B
> asicUnitTestManager.java:246)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:93)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test 'org.apache.derbyTesting.un
> itTests.store.T_RawStoreFactory' failed^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Test Summary - Run 1, Passed 0,
> Failed 1, Skipped 0.^M
> 2007-05-07 10:40:54.716 GMT Thread[main,5,main] Shutting down due to unit test f
> ailure, see log for more information.^M
> ------------  BEGIN SHUTDOWN ERROR STACK -------------
> ERROR XSDG1: Page Page(0,Container(0, 1178534440927)) could not be written to di
> sk, please check if disk is full.^M
>     at org.apache.derby.iapi.error.StandardException.newException(StandardExcept
> ion.java:349)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.writePage(CachedPage.java
> :817)^M
>     at org.apache.derby.impl.store.raw.data.CachedPage.clean(CachedPage.java:608
> )^M
>     at org.apache.derby.impl.services.cache.CachedItem.clean(CachedItem.java:173
> )^M
>     at org.apache.derby.impl.services.cache.Clock.cleanCache(Clock.java:1381)^M
>     at org.apache.derby.impl.services.cache.Clock.cleanAll(Clock.java:619)^M
>     at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(BaseD
> ataFileFactory.java:1200)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(LogToFil
> e.java:1521)^M
>     at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(LogToFile.java:1
> 360)^M
>     at org.apache.derby.impl.store.raw.RawStore.stop(RawStore.java:337)^M
>     at org.apache.derby.impl.services.monitor.TopService.stop(TopService.java:40
> 5)^M
>     at org.apache.derby.impl.services.monitor.TopService.shutdown(TopService.jav
> a:349)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:235)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(BaseMonitor.j
> ava:201)^M
>     at org.apache.derbyTesting.unitTests.harness.BasicUnitTestManager.boot(Basic
> UnitTestManager.java:103)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:
> 1994)^M
>     at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.j
> ava:291)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonito
> r.java:1829)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.startServices(BaseMoni
> tor.java:970)^M
>     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonit
> or.java:402)^M
>     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(FileMonitor.jav
> a:60)^M
>     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:
> 289)^M
>     at org.apache.derbyTesting.unitTests.harness.UnitTestMain.main(UnitTestMain.
> java:51)^M
> ============= begin nested exception, level (1) ===========^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.