mkdir -p classes
javac -g  -source 1.4 -deprecation -d classes -classpath /u/dahlin/tmp/universalreplication-junit/universalReplication/code/classes:/u/dahlin/tmp/universalreplication-junit/universalReplication/code:./experiments/expt1/classes:./experiments/sosp/classes:./experiments/expt2/classes:./experiments/expt3/classes:./experiments/sosp/PlanetLabExp/classes:sdims.jar:./je-1.7.1/lib/je.jar:FreePastry-1.4.01.jar:./jars/junit.jar *.java 
/public/share/src/jdk1.5.0_02/bin//rmic -d classes -classpath /u/dahlin/tmp/universalreplication-junit/universalReplication/code/classes:/u/dahlin/tmp/universalreplication-junit/universalReplication/code:./experiments/expt1/classes:./experiments/sosp/classes:./experiments/expt2/classes:./experiments/expt3/classes:./experiments/sosp/PlanetLabExp/classes:sdims.jar:./je-1.7.1/lib/je.jar:FreePastry-1.4.01.jar:./jars/junit.jar:. RMIServerImpl
javah -jni -classpath classes/ NiceSocketImpl
gcc -shared -o libnicesock.so -g -O -I . -I /lusr/java2/include -I /lusr/java2/include/linux -I /usr/include -I /usr/java/j2sdk1.4.2_07/include -I /usr/java/j2sdk1.4.2_07/include/linux NiceSocketImpl.c
NiceSocketImpl.c: In function 'nativeNiceSocketImpl_c_1socket':
NiceSocketImpl.c:91: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
NiceSocketImpl.c: In function 'Java_NiceSocketImpl_c_1connect':
NiceSocketImpl.c:123: warning: incompatible implicit declaration of built-in function 'memcpy'
javah -jni -classpath classes/ NiceSocketInputStream
gcc -shared -o libnicesockis.so -g -O -I . -I /lusr/java2/include -I /lusr/java2/include/linux -I /usr/include -I /usr/java/j2sdk1.4.2_07/include -I /usr/java/j2sdk1.4.2_07/include/linux NiceSocketInputStream.c
javah -jni -classpath classes/ NiceSocketOutputStream
gcc -shared -o libnicesockos.so -g -O -I . -I /lusr/java2/include -I /lusr/java2/include/linux -I /usr/include -I /usr/java/j2sdk1.4.2_07/include -I /usr/java/j2sdk1.4.2_07/include/linux NiceSocketOutputStream.c
javah -jni -classpath classes/ NiceServerSocket
gcc -shared -o libniceservsock.so -g -O -I . -I /lusr/java2/include -I /lusr/java2/include/linux -I /usr/include -I /usr/java/j2sdk1.4.2_07/include -I /usr/java/j2sdk1.4.2_07/include/linux NiceServerSocket.c
NiceServerSocket.c: In function 'Java_NiceServerSocket_c_1makeServerSocket':
NiceServerSocket.c:51: warning: incompatible implicit declaration of built-in function 'bzero'
NiceServerSocket.c:56: warning: incompatible implicit declaration of built-in function 'strcpy'
NiceServerSocket.c:61: warning: incompatible implicit declaration of built-in function 'bcopy'
NiceServerSocket.c: In function 'setSendBufferSize':
NiceServerSocket.c:140: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
utils/junit/sanityCheck.sh
make classes/utils/junit/TestAll.class
make[1]: Entering directory `/v/filer2/dahlin/tmp/universalreplication-junit/universalReplication/code'
mkdir -p classes; javac -g  -source 1.4 -d classes -classpath /u/dahlin/tmp/universalreplication-junit/universalReplication/code/classes:/u/dahlin/tmp/universalreplication-junit/universalReplication/code:./experiments/expt1/classes:./experiments/sosp/classes:./experiments/expt2/classes:./experiments/expt3/classes:./experiments/sosp/PlanetLabExp/classes:sdims.jar:./je-1.7.1/lib/je.jar:FreePastry-1.4.01.jar:./jars/junit.jar utils/junit/TestAll.java
make[1]: Leaving directory `/v/filer2/dahlin/tmp/universalreplication-junit/universalReplication/code'
java -ea -classpath /u/dahlin/tmp/universalreplication-junit/universalReplication/code/classes:/u/dahlin/tmp/universalreplication-junit/universalReplication/code:./experiments/expt1/classes:./experiments/sosp/classes:./experiments/expt2/classes:./experiments/expt3/classes:./experiments/sosp/PlanetLabExp/classes:sdims.jar:./je-1.7.1/lib/je.jar:FreePastry-1.4.01.jar:./jars/junit.jar -Dclass_root=classes -Dtest_type=UNIT junit.textui.TestRunner utils.junit.TestAll
Loaded test case: AcceptStampUnit
Loaded test case: AcceptVVUnit
Loaded test case: InvalListItemUnit
Loaded test case: NiceServerSocketUnit
Loaded test case: NodeIdUnit
Loaded test case: RandomAccessStateUnit
Loaded test case: RandomAccessStateUnitMT
Loaded test case: UnbindMsgUnit
Loaded test case: WorkQueueUnit
Number of test classes found: 9
.......TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1759840 usedMemory: 271776
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1714976 usedMemory: 316640
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1750400 usedMemory: 281216
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802168 usedMemory: 229448
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1737416 usedMemory: 294200
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802288 usedMemory: 229328
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1786712 usedMemory: 244904
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1786056 usedMemory: 245560
.TotalMemory: 5103616 maxMemory: 66650112 freeMemory: 4674296 usedMemory: 429320
.TotalMemory: 4796416 maxMemory: 66650112 freeMemory: 4362104 usedMemory: 434312
.TotalMemory: 2043904 maxMemory: 66650112 freeMemory: 1800264 usedMemory: 243640
.TotalMemory: 8634368 maxMemory: 66650112 freeMemory: 8090152 usedMemory: 544216
.TotalMemory: 7950336 maxMemory: 66650112 freeMemory: 7403872 usedMemory: 546464
.TotalMemory: 31993856 maxMemory: 66650112 freeMemory: 31734776 usedMemory: 259080
.TotalMemory: 19841024 maxMemory: 66650112 freeMemory: 19587888 usedMemory: 253136
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.166ms...
RASUnit 13: Overwrite 1 byte file: 3.932ms...
RASUnit 13: Read 1 byte file: 1.384ms...
RASUnit 13: Append 1 byte to file: 3.129ms...RASUnit 13: Delete 2 byte file: 3.116ms....TotalMemory: 2535424 maxMemory: 66650112 freeMemory: 2212256 usedMemory: 323168
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.596ms...
RASUnit 13: Overwrite 1 byte file: 5.243ms...
RASUnit 13: Read 1 byte file: 1.367ms...
RASUnit 13: Append 1 byte to file: 4.551ms...RASUnit 13: Delete 2 byte file: 3.295ms....TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2438600 usedMemory: 240184
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 12.286ms...
RASUnit 13: Overwrite 1 byte file: 11.051ms...
RASUnit 13: Read 1 byte file: 1.569ms...
RASUnit 13: Append 1 byte to file: 10.457ms...RASUnit 13: Delete 2 byte file: 10.562ms....TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2438048 usedMemory: 240736
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.734ms...
RASUnit 13: Overwrite 1 byte file: 5.372ms...
RASUnit 13: Read 1 byte file: 1.411ms...
RASUnit 13: Append 1 byte to file: 4.684ms...RASUnit 13: Delete 2 byte file: 3.345ms....TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2438704 usedMemory: 240080
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.892ms...
RASUnit 14: 1 byte overwrite: 3.744ms...
RASUnit 14: 1 byte read: 1.398ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 373.0ms...
.TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2438912 usedMemory: 239872
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.312ms...
RASUnit 14: 1 byte overwrite: 5.031ms...
RASUnit 14: 1 byte read: 1.548ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 371.0ms...
.TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2438720 usedMemory: 240064
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 9.495ms...
RASUnit 14: 1 byte overwrite: 10.447ms...
RASUnit 14: 1 byte read: 1.382ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 402.0ms...
.TotalMemory: 2330624 maxMemory: 66650112 freeMemory: 2090048 usedMemory: 240576
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.366ms...
RASUnit 14: 1 byte overwrite: 5.252ms...
RASUnit 14: 1 byte read: 1.386ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 406.0ms...
.TotalMemory: 2330624 maxMemory: 66650112 freeMemory: 2092120 usedMemory: 238504
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 134694 ms. BW: 0.1484847134987453 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 42809 ms. BW: 0.46719147842743347 MB/s
.TotalMemory: 2330624 maxMemory: 66650112 freeMemory: 2087992 usedMemory: 242632
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 135292 ms. BW: 0.14782840079236023 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44493 ms. BW: 0.4495089115141708 MB/s
.TotalMemory: 4071424 maxMemory: 66650112 freeMemory: 3830952 usedMemory: 240472
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 139927 ms. BW: 0.14293167151443253 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57248 ms. BW: 0.34935718278367806 MB/s
.TotalMemory: 4681728 maxMemory: 66650112 freeMemory: 4441848 usedMemory: 239880
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 23268 ms. BW: 0.8595495960116899 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 100000 Time: 15707 ms. BW: 1.2733176290825747 MB/s
.TotalMemory: 4681728 maxMemory: 66650112 freeMemory: 4449552 usedMemory: 232176
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 23595 ms. BW: 0.8476372112735749 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17135 ms. BW: 1.1672016340822877 MB/s
.TotalMemory: 5451776 maxMemory: 66650112 freeMemory: 5038520 usedMemory: 413256
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6341 ms. BW: 3.154076644062451 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2396 ms. BW: 8.347245409015025 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66304368 usedMemory: 345744
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 781 ms. BW: 2.560819462227913 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 373 ms. BW: 5.361930294906166 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1634640 usedMemory: 401072
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1787328 usedMemory: 248384
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1791744 usedMemory: 243968
INCompressor caught: com.sleepycat.je.DatabaseException: fetchTarget of 0x1a/0xf4b9e IN=1379960 state=0 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001a.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
com.sleepycat.je.DatabaseException: fetchTarget of 0x1a/0xf4b9e IN=1379960 state=0 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001a.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
	at com.sleepycat.je.tree.IN.fetchTargetInternal(IN.java:547)
	at com.sleepycat.je.tree.IN.fetchTargetIgnoreKnownDeleted(IN.java:523)
	at com.sleepycat.je.tree.BIN.compress(BIN.java:600)
	at com.sleepycat.je.incomp.INCompressor.compressBin(INCompressor.java:436)
	at com.sleepycat.je.incomp.INCompressor.doCompress(INCompressor.java:349)
	at com.sleepycat.je.incomp.INCompressor.onWakeup(INCompressor.java:272)
	at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:178)
	at java.lang.Thread.run(Thread.java:595)
Caused by: com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001a.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
	at com.sleepycat.je.log.FileManager.makeFileHandle(FileManager.java:616)
	at com.sleepycat.je.log.FileManager.getFileHandle(FileManager.java:505)
	at com.sleepycat.je.log.LogManager.getLogSource(LogManager.java:618)
	at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:473)
	at com.sleepycat.je.log.LogManager.get(LogManager.java:600)
	at com.sleepycat.je.tree.IN.fetchTargetInternal(IN.java:533)
	... 7 more
Caused by: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
	at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:584)
	at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:482)
	at com.sleepycat.je.log.FileManager.readAndValidateFileHeader(FileManager.java:651)
	at com.sleepycat.je.log.FileManager.makeFileHandle(FileManager.java:590)
	... 12 more
Caused by: java.nio.BufferUnderflowException
	at java.nio.Buffer.nextGetIndex(Buffer.java:398)
	at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:117)
	at com.sleepycat.je.log.LogUtils.getUnsignedInt(LogUtils.java:57)
	at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:512)
	... 15 more
RandomAccessState::applyInvalTransaction exception: com.sleepycat.je.DatabaseException: fetchTarget of 0x1a/0xf4c7a IN=1379973 state=0 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001a.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
com.sleepycat.je.DatabaseException: fetchTarget of 0x1a/0xf4c7a IN=1379973 state=0 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001a.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
	at com.sleepycat.je.tree.IN.fetchTargetInternal(IN.java:547)
	at com.sleepycat.je.tree.IN.fetchTarget(IN.java:517)
	at com.sleepycat.je.tree.Tree.searchSubTree(Tree.java:1493)
	at com.sleepycat.je.tree.Tree.search(Tree.java:1297)
	at com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:1573)
	at com.sleepycat.je.Cursor.searchInternal(Cursor.java:1059)
	at com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:1031)
	at com.sleepycat.je.Cursor.search(Cursor.java:910)
	at com.sleepycat.je.Cursor.getSearchKey(Cursor.java:500)
	at RandomAccessState.updateVV(RandomAccessState.java:996)
	at RandomAccessState.applyInvalTransaction(RandomAccessState.java:706)
	at RandomAccessState.applyBody(RandomAccessState.java:830)
	at RandomAccessStateUnit.doBodyNoCheckReturn(RandomAccessStateUnit.java:3600)
	at RandomAccessStateUnit.doBody(RandomAccessStateUnit.java:3576)
	at RandomAccessStateUnit.doTest18(RandomAccessStateUnit.java:2158)
	at RandomAccessStateUnit.test18a(RandomAccessStateUnit.java:2116)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at junit.textui.TestRunner.main(TestRunner.java:138)
Caused by: com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001a.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
	at com.sleepycat.je.log.FileManager.makeFileHandle(FileManager.java:616)
	at com.sleepycat.je.log.FileManager.getFileHandle(FileManager.java:505)
	at com.sleepycat.je.log.LogManager.getLogSource(LogManager.java:618)
	at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:473)
	at com.sleepycat.je.log.LogManager.get(LogManager.java:600)
	at com.sleepycat.je.tree.IN.fetchTargetInternal(IN.java:533)
	... 32 more
Caused by: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
	at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:584)
	at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:482)
	at com.sleepycat.je.log.FileManager.readAndValidateFileHeader(FileManager.java:651)
	at com.sleepycat.je.log.FileManager.makeFileHandle(FileManager.java:590)
	... 37 more
Caused by: java.nio.BufferUnderflowException
	at java.nio.Buffer.nextGetIndex(Buffer.java:398)
	at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:117)
	at com.sleepycat.je.log.LogUtils.getUnsignedInt(LogUtils.java:57)
	at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:512)
	... 40 more
RandomAccessState::applyInvalTransaction aborted
com.sleepycat.je.DatabaseException: fetchTarget of 0x1a/0xf4c7a IN=1379973 state=0 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001a.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
	at com.sleepycat.je.tree.IN.fetchTargetInternal(IN.java:547)
	at com.sleepycat.je.tree.IN.fetchTarget(IN.java:517)
	at com.sleepycat.je.tree.Tree.searchSubTree(Tree.java:1493)
	at com.sleepycat.je.tree.Tree.search(Tree.java:1297)
	at com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:1573)
	at com.sleepycat.je.Cursor.searchInternal(Cursor.java:1059)
	at com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:1031)
	at com.sleepycat.je.Cursor.search(Cursor.java:910)
	at com.sleepycat.je.Cursor.getSearchKey(Cursor.java:500)
	at RandomAccessState.updateVV(RandomAccessState.java:996)
	at RandomAccessState.applyInvalTransaction(RandomAccessState.java:706)
	at RandomAccessState.applyBody(RandomAccessState.java:830)
	at RandomAccessStateUnit.doBodyNoCheckReturn(RandomAccessStateUnit.java:3600)
	at RandomAccessStateUnit.doBody(RandomAccessStateUnit.java:3576)
	at RandomAccessStateUnit.doTest18(RandomAccessStateUnit.java:2158)
	at RandomAccessStateUnit.test18a(RandomAccessStateUnit.java:2116)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at junit.textui.TestRunner.main(TestRunner.java:138)
Caused by: com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001a.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
	at com.sleepycat.je.log.FileManager.makeFileHandle(FileManager.java:616)
	at com.sleepycat.je.log.FileManager.getFileHandle(FileManager.java:505)
	at com.sleepycat.je.log.LogManager.getLogSource(LogManager.java:618)
	at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:473)
	at com.sleepycat.je.log.LogManager.get(LogManager.java:600)
	at com.sleepycat.je.tree.IN.fetchTargetInternal(IN.java:533)
	... 32 more
Caused by: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
	at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:584)
	at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:482)
	at com.sleepycat.je.log.FileManager.readAndValidateFileHeader(FileManager.java:651)
	at com.sleepycat.je.log.FileManager.makeFileHandle(FileManager.java:590)
	... 37 more
Caused by: java.nio.BufferUnderflowException
	at java.nio.Buffer.nextGetIndex(Buffer.java:398)
	at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:117)
	at com.sleepycat.je.log.LogUtils.getUnsignedInt(LogUtils.java:57)
	at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:512)
	... 40 more
com.sleepycat.je.latch.LatchException: Latch(IN1379973) already held
	at com.sleepycat.je.latch.Latch.acquire(Latch.java:99)
	at com.sleepycat.je.tree.IN.latch(IN.java:247)
	at com.sleepycat.je.recovery.Checkpointer.selectDirtyINs(Checkpointer.java:570)
	at com.sleepycat.je.recovery.Checkpointer.doCheckpoint(Checkpointer.java:375)
	at com.sleepycat.je.dbi.EnvironmentImpl.invokeCheckpoint(EnvironmentImpl.java:858)
	at com.sleepycat.je.Environment.sync(Environment.java:711)
	at RandomAccessState.close(RandomAccessState.java:315)
	at RandomAccessStateUnit.tearDown(RandomAccessStateUnit.java:76)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at junit.textui.TestRunner.main(TestRunner.java:138)
E.TotalMemory: 14815232 maxMemory: 66650112 freeMemory: 13402056 usedMemory: 1413176
E.TotalMemory: 10993664 maxMemory: 66650112 freeMemory: 9552352 usedMemory: 1441312
E.
TotalMemory: 11517952 maxMemory: 66650112 freeMemory: 7114496 usedMemory: 4403456
E.TotalMemory: 11517952 maxMemory: 66650112 freeMemory: 7108632 usedMemory: 4409320
E.TotalMemory: 11517952 maxMemory: 66650112 freeMemory: 7107544 usedMemory: 4410408
E.TotalMemory: 11517952 maxMemory: 66650112 freeMemory: 7101760 usedMemory: 4416192
E.TotalMemory: 11583488 maxMemory: 66650112 freeMemory: 7161512 usedMemory: 4421976
E.TotalMemory: 11583488 maxMemory: 66650112 freeMemory: 7155728 usedMemory: 4427760
E.TotalMemory: 11583488 maxMemory: 66650112 freeMemory: 7152280 usedMemory: 4431208
E.E..
Time: 5,282.21
There were 11 errors:
1) test18a(RandomAccessStateUnit)java.lang.AssertionError
	at RandomAccessState.applyBody(RandomAccessState.java:851)
	at RandomAccessStateUnit.doBodyNoCheckReturn(RandomAccessStateUnit.java:3600)
	at RandomAccessStateUnit.doBody(RandomAccessStateUnit.java:3576)
	at RandomAccessStateUnit.doTest18(RandomAccessStateUnit.java:2158)
	at RandomAccessStateUnit.test18a(RandomAccessStateUnit.java:2116)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2) test18b(RandomAccessStateUnit)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnit.setUp(RandomAccessStateUnit.java:70)
3) test19(RandomAccessStateUnit)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnit.setUp(RandomAccessStateUnit.java:70)
4) test20(RandomAccessStateUnit)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnit.setUp(RandomAccessStateUnit.java:70)
5) test21(RandomAccessStateUnit)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnit.setUp(RandomAccessStateUnit.java:70)
6) test22(RandomAccessStateUnit)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnit.setUp(RandomAccessStateUnit.java:70)
7) test23(RandomAccessStateUnit)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnit.setUp(RandomAccessStateUnit.java:70)
8) test24(RandomAccessStateUnit)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnit.setUp(RandomAccessStateUnit.java:70)
9) test23a(RandomAccessStateUnit)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnit.setUp(RandomAccessStateUnit.java:70)
10) test25(RandomAccessStateUnit)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnit.setUp(RandomAccessStateUnit.java:70)
11) testX16(RandomAccessStateUnitMT)java.lang.AssertionError
	at com.sleepycat.je.dbi.CursorImpl.putLN(CursorImpl.java:778)
	at com.sleepycat.je.dbi.CursorImpl.putNoOverwrite(CursorImpl.java:837)
	at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:776)
	at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:711)
	at com.sleepycat.je.Cursor.putInternal(Cursor.java:671)
	at com.sleepycat.je.Database.putInternal(Database.java:495)
	at com.sleepycat.je.Database.putNoOverwrite(Database.java:457)
	at com.sleepycat.bind.serial.StoredClassCatalog.<init>(StoredClassCatalog.java:122)
	at RandomAccessState.<init>(RandomAccessState.java:218)
	at RandomAccessStateUnitMT.setUp(RandomAccessStateUnitMT.java:54)
	at utils.junit.MultiThreadedTestCase.run(MultiThreadedTestCase.java:87)

FAILURES!!!
Tests run: 50,  Failures: 0,  Errors: 11

make: *** [junittext] Error 1
