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 
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
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
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: 1763256 usedMemory: 268360
TBD: Fix security bug: RandomAccessState assumes inval length < 2^31-1.

GCForcer worker thread exits b/c GCForcer.killWorker called
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1665216 usedMemory: 366400
PERFORMANCE WARNING: RandomAccessState::removeOverlappingPerRangeBody() reads body before discarding it. Any way to convince BerkeleyDB to let us read keys w/o bodies?

GCForcer worker thread exits b/c GCForcer.killWorker called
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1751144 usedMemory: 280472
TBD: Remove chain from BodyMsg

.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802480 usedMemory: 229136
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1738128 usedMemory: 293488
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802176 usedMemory: 229440
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1736776 usedMemory: 294840
TBD: We do not garbage collect old perObjState after delete (see comment in RandomAccessState::delete())

PERFORMANCE WARNING: RandomAccessState::delete does O(size of file) work since I don't know how to access all of the perRangeData records w/o reading them all

.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1736192 usedMemory: 295424
.TotalMemory: 4997120 maxMemory: 66650112 freeMemory: 4759504 usedMemory: 237616
.TotalMemory: 4702208 maxMemory: 66650112 freeMemory: 4261120 usedMemory: 441088
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1793024 usedMemory: 242688
.TotalMemory: 8695808 maxMemory: 66650112 freeMemory: 8455224 usedMemory: 240584
.TotalMemory: 7970816 maxMemory: 66650112 freeMemory: 7728664 usedMemory: 242152
.TotalMemory: 32055296 maxMemory: 66650112 freeMemory: 31796016 usedMemory: 259280
.TotalMemory: 19877888 maxMemory: 66650112 freeMemory: 19625016 usedMemory: 252872
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.112ms...
RASUnit 13: Overwrite 1 byte file: 3.906ms...
RASUnit 13: Read 1 byte file: 1.366ms...
RASUnit 13: Append 1 byte to file: 3.063ms...RASUnit 13: Delete 2 byte file: 3.107ms....TotalMemory: 2551808 maxMemory: 66650112 freeMemory: 2224088 usedMemory: 327720
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.488ms...
RASUnit 13: Overwrite 1 byte file: 5.284ms...
RASUnit 13: Read 1 byte file: 1.373ms...
RASUnit 13: Append 1 byte to file: 4.434ms...RASUnit 13: Delete 2 byte file: 3.085ms....TotalMemory: 2707456 maxMemory: 66650112 freeMemory: 2467440 usedMemory: 240016
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 10.977ms...
RASUnit 13: Overwrite 1 byte file: 10.287ms...
RASUnit 13: Read 1 byte file: 1.398ms...
RASUnit 13: Append 1 byte to file: 9.132ms...RASUnit 13: Delete 2 byte file: 9.259ms....TotalMemory: 2576384 maxMemory: 66650112 freeMemory: 2335520 usedMemory: 240864
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.535ms...
RASUnit 13: Overwrite 1 byte file: 5.347ms...
RASUnit 13: Read 1 byte file: 1.42ms...
RASUnit 13: Append 1 byte to file: 4.496ms...RASUnit 13: Delete 2 byte file: 3.256ms....TotalMemory: 2576384 maxMemory: 66650112 freeMemory: 2335800 usedMemory: 240584
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.842ms...
RASUnit 14: 1 byte overwrite: 3.711ms...
RASUnit 14: 1 byte read: 1.388ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 384.0ms...
.TotalMemory: 2576384 maxMemory: 66650112 freeMemory: 2337408 usedMemory: 238976
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.209ms...
RASUnit 14: 1 byte overwrite: 5.326ms...
RASUnit 14: 1 byte read: 1.998ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 384.0ms...
.TotalMemory: 2576384 maxMemory: 66650112 freeMemory: 2337160 usedMemory: 239224
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 8.265ms...
RASUnit 14: 1 byte overwrite: 9.417ms...
RASUnit 14: 1 byte read: 1.382ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 397.0ms...
.TotalMemory: 2445312 maxMemory: 66650112 freeMemory: 2205896 usedMemory: 239416
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.228ms...
RASUnit 14: 1 byte overwrite: 5.14ms...
RASUnit 14: 1 byte read: 1.389ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 411.0ms...
.TotalMemory: 2445312 maxMemory: 66650112 freeMemory: 2205776 usedMemory: 239536
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 130905 ms. BW: 0.15278255223253503 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 43183 ms. BW: 0.46314521918347495 MB/s
.TotalMemory: 2445312 maxMemory: 66650112 freeMemory: 2202840 usedMemory: 242472
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 132136 ms. BW: 0.15135920566688865 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44602 ms. BW: 0.44841038518452087 MB/s
.TotalMemory: 4071424 maxMemory: 66650112 freeMemory: 3658608 usedMemory: 412816
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 134956 ms. BW: 0.14819644921307684 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57125 ms. BW: 0.350109409190372 MB/s
.TotalMemory: 4722688 maxMemory: 66650112 freeMemory: 4482952 usedMemory: 239736
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 22406 ms. BW: 0.8926180487369455 MB/s
PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: GCForcer payCharge -- caller blocks b/c gc not done yet

PERFORMANCE WARNING: Future GCForcer warnings suppressed

  Test15 READ wss: 1000000 passes: 20 fSize: 100000 Time: 15862 ms. BW: 1.2608750472828143 MB/s
.TotalMemory: 4722688 maxMemory: 66650112 freeMemory: 4298976 usedMemory: 423712
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 22489 ms. BW: 0.8893236693494597 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17610 ms. BW: 1.135718341851221 MB/s
.TotalMemory: 4599808 maxMemory: 66650112 freeMemory: 4186696 usedMemory: 413112
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6971 ms. BW: 2.869028833739779 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2330 ms. BW: 8.583690987124463 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66303480 usedMemory: 346632
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 704 ms. BW: 2.840909090909091 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 378 ms. BW: 5.291005291005291 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1635456 usedMemory: 400256
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1787968 usedMemory: 247744
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1792464 usedMemory: 243248
.TotalMemory: 9723904 maxMemory: 66650112 freeMemory: 9347680 usedMemory: 376224
E.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66289664 usedMemory: 360448
F.
TotalMemory: 60203008 maxMemory: 66650112 freeMemory: 59954016 usedMemory: 248992
F.TotalMemory: 36765696 maxMemory: 66650112 freeMemory: 36520440 usedMemory: 245256
F...
Time: 14,821.825
There was 1 error:
1) test18b(RandomAccessStateUnit)java.lang.OutOfMemoryError: Java heap space
There were 3 failures:
1) test19(RandomAccessStateUnit)junit.framework.AssertionFailedError: TBD: Write a test of the shipRAS function -- create a  bunch of files and make sure the thing we ship has the  right stuff in it (and doesn't have the wrong stuff in it!)
	at RandomAccessStateUnit.test19(RandomAccessStateUnit.java:2194)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2) test20(RandomAccessStateUnit)junit.framework.AssertionFailedError: TBD: Write a test of the updateRAS function -- create a  bunch of files and make sure the thing we ship has the  right stuff in it (and doesn't have the wrong stuff in it!)
	at RandomAccessStateUnit.test20(RandomAccessStateUnit.java:2204)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
3) test21(RandomAccessStateUnit)junit.framework.AssertionFailedError: TBD: Write a test that tests reads and writes with offset > 2^32
	at RandomAccessStateUnit.test21(RandomAccessStateUnit.java:2213)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

FAILURES!!!
Tests run: 45,  Failures: 3,  Errors: 1

make: *** [junittext] Error 1
