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: 1714920 usedMemory: 316696
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1750808 usedMemory: 280808
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802288 usedMemory: 229328
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1737456 usedMemory: 294160
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802024 usedMemory: 229592
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1786344 usedMemory: 245272
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1786008 usedMemory: 245608
.TotalMemory: 5607424 maxMemory: 66650112 freeMemory: 5145144 usedMemory: 462280
.TotalMemory: 5275648 maxMemory: 66650112 freeMemory: 4763080 usedMemory: 512568
.TotalMemory: 2125824 maxMemory: 66650112 freeMemory: 1859600 usedMemory: 266224
.TotalMemory: 8720384 maxMemory: 66650112 freeMemory: 8175712 usedMemory: 544672
.TotalMemory: 7995392 maxMemory: 66650112 freeMemory: 7753056 usedMemory: 242336
.TotalMemory: 32051200 maxMemory: 66650112 freeMemory: 31790752 usedMemory: 260448
.TotalMemory: 19873792 maxMemory: 66650112 freeMemory: 19620456 usedMemory: 253336
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.144ms...
RASUnit 13: Overwrite 1 byte file: 3.896ms...
RASUnit 13: Read 1 byte file: 1.364ms...
RASUnit 13: Append 1 byte to file: 3.1ms...RASUnit 13: Delete 2 byte file: 3.083ms....TotalMemory: 2617344 maxMemory: 66650112 freeMemory: 2295016 usedMemory: 322328
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.521ms...
RASUnit 13: Overwrite 1 byte file: 5.148ms...
RASUnit 13: Read 1 byte file: 1.353ms...
RASUnit 13: Append 1 byte to file: 4.473ms...RASUnit 13: Delete 2 byte file: 3.238ms....TotalMemory: 2617344 maxMemory: 66650112 freeMemory: 2377496 usedMemory: 239848
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 12.232ms...
RASUnit 13: Overwrite 1 byte file: 11.061ms...
RASUnit 13: Read 1 byte file: 1.383ms...
RASUnit 13: Append 1 byte to file: 10.17ms...RASUnit 13: Delete 2 byte file: 10.498ms....TotalMemory: 2617344 maxMemory: 66650112 freeMemory: 2376576 usedMemory: 240768
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.648ms...
RASUnit 13: Overwrite 1 byte file: 5.412ms...
RASUnit 13: Read 1 byte file: 1.385ms...
RASUnit 13: Append 1 byte to file: 4.593ms...RASUnit 13: Delete 2 byte file: 3.097ms....TotalMemory: 2617344 maxMemory: 66650112 freeMemory: 2376672 usedMemory: 240672
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.853ms...
RASUnit 14: 1 byte overwrite: 3.688ms...
RASUnit 14: 1 byte read: 1.382ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 364.0ms...
.TotalMemory: 2617344 maxMemory: 66650112 freeMemory: 2377472 usedMemory: 239872
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.26ms...
RASUnit 14: 1 byte overwrite: 4.988ms...
RASUnit 14: 1 byte read: 1.533ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 367.0ms...
.TotalMemory: 2617344 maxMemory: 66650112 freeMemory: 2377248 usedMemory: 240096
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 9.361ms...
RASUnit 14: 1 byte overwrite: 10.268ms...
RASUnit 14: 1 byte read: 1.371ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 399.0ms...
.TotalMemory: 2473984 maxMemory: 66650112 freeMemory: 2233520 usedMemory: 240464
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.283ms...
RASUnit 14: 1 byte overwrite: 5.142ms...
RASUnit 14: 1 byte read: 1.366ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 394.0ms...
.TotalMemory: 2473984 maxMemory: 66650112 freeMemory: 2233344 usedMemory: 240640
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 132301 ms. BW: 0.1511704371093189 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 42408 ms. BW: 0.47160913035276364 MB/s
.TotalMemory: 2473984 maxMemory: 66650112 freeMemory: 2231320 usedMemory: 242664
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 134209 ms. BW: 0.149021302595206 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44136 ms. BW: 0.4531448250860975 MB/s
.TotalMemory: 4071424 maxMemory: 66650112 freeMemory: 3830928 usedMemory: 240496
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 138090 ms. BW: 0.14483307987544355 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 56187 ms. BW: 0.3559542242867567 MB/s
.TotalMemory: 4530176 maxMemory: 66650112 freeMemory: 4118416 usedMemory: 411760
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 23296 ms. BW: 0.8585164835164835 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 100000 Time: 14433 ms. BW: 1.3857132959190743 MB/s
.TotalMemory: 4530176 maxMemory: 66650112 freeMemory: 4106448 usedMemory: 423728
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 23530 ms. BW: 0.8499787505312367 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 16948 ms. BW: 1.180080245456691 MB/s
.TotalMemory: 4960256 maxMemory: 66650112 freeMemory: 4728008 usedMemory: 232248
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 7078 ms. BW: 2.8256569652444194 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2357 ms. BW: 8.485362749257531 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66304304 usedMemory: 345808
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 782 ms. BW: 2.557544757033248 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 364 ms. BW: 5.4945054945054945 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1789032 usedMemory: 246680
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1788376 usedMemory: 247336
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1784320 usedMemory: 251392
INCompressor caught: com.sleepycat.je.DatabaseException: fetchTarget of 0x1c/0x3d639e IN=1379959 state=2 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001c.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
com.sleepycat.je.DatabaseException: fetchTarget of 0x1c/0x3d639e IN=1379959 state=2 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001c.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/0000001c.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 0x1c/0x3d4f96 IN=1379969 state=0 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001c.jdb: com.sleepycat.je.DatabaseException: java.nio.BufferUnderflowException
com.sleepycat.je.DatabaseException: fetchTarget of 0x1c/0x3d4f96 IN=1379969 state=0 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001c.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/0000001c.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 0x1c/0x3d4f96 IN=1379969 state=0 com.sleepycat.je.DatabaseException: Couldn't open file test/RandomAccessStateTest.db/0000001c.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/0000001c.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(IN1379969) 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: 14827520 maxMemory: 66650112 freeMemory: 13413392 usedMemory: 1414128
E.TotalMemory: 11001856 maxMemory: 66650112 freeMemory: 9557600 usedMemory: 1444256
E.
TotalMemory: 11526144 maxMemory: 66650112 freeMemory: 5117344 usedMemory: 6408800
E.TotalMemory: 11526144 maxMemory: 66650112 freeMemory: 7118280 usedMemory: 4407864
E.TotalMemory: 11526144 maxMemory: 66650112 freeMemory: 7116768 usedMemory: 4409376
E.TotalMemory: 11591680 maxMemory: 66650112 freeMemory: 7176520 usedMemory: 4415160
E.TotalMemory: 11591680 maxMemory: 66650112 freeMemory: 7170736 usedMemory: 4420944
E.TotalMemory: 11591680 maxMemory: 66650112 freeMemory: 7164952 usedMemory: 4426728
E.TotalMemory: 11591680 maxMemory: 66650112 freeMemory: 7161504 usedMemory: 4430176
E.E..
Time: 5,258.535
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
