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 *.java 
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
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: WorkQueueUnit
Number of test classes found: 8
.......TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1766464 usedMemory: 265152
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: 1659536 usedMemory: 372080
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: 1751680 usedMemory: 279936
TBD: Remove chain from BodyMsg

.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1803128 usedMemory: 228488
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1738720 usedMemory: 292896
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802776 usedMemory: 228840
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1739952 usedMemory: 291664
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: 1739408 usedMemory: 292208
.TotalMemory: 4968448 maxMemory: 66650112 freeMemory: 4547632 usedMemory: 420816
.TotalMemory: 4689920 maxMemory: 66650112 freeMemory: 4208392 usedMemory: 481528
.TotalMemory: 2113536 maxMemory: 66650112 freeMemory: 1848976 usedMemory: 264560
.TotalMemory: 8708096 maxMemory: 66650112 freeMemory: 8164240 usedMemory: 543856
.TotalMemory: 8019968 maxMemory: 66650112 freeMemory: 7474456 usedMemory: 545512
F.TotalMemory: 35303424 maxMemory: 66650112 freeMemory: 35028312 usedMemory: 275112
.TotalMemory: 31973376 maxMemory: 66650112 freeMemory: 31696336 usedMemory: 277040
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.08ms...
RASUnit 13: Overwrite 1 byte file: 3.897ms...
RASUnit 13: Read 1 byte file: 1.376ms...
RASUnit 13: Append 1 byte to file: 3.06ms...RASUnit 13: Delete 2 byte file: 3.13ms....TotalMemory: 2719744 maxMemory: 66650112 freeMemory: 2480552 usedMemory: 239192
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.469ms...
RASUnit 13: Overwrite 1 byte file: 5.263ms...
RASUnit 13: Read 1 byte file: 1.35ms...
RASUnit 13: Append 1 byte to file: 4.41ms...RASUnit 13: Delete 2 byte file: 3.118ms....TotalMemory: 2719744 maxMemory: 66650112 freeMemory: 2480600 usedMemory: 239144
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 12.147ms...
RASUnit 13: Overwrite 1 byte file: 11.23ms...
RASUnit 13: Read 1 byte file: 1.396ms...
RASUnit 13: Append 1 byte to file: 10.177ms...RASUnit 13: Delete 2 byte file: 10.801ms....TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2344848 usedMemory: 239728
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.511ms...
RASUnit 13: Overwrite 1 byte file: 5.317ms...
RASUnit 13: Read 1 byte file: 1.388ms...
RASUnit 13: Append 1 byte to file: 4.486ms...RASUnit 13: Delete 2 byte file: 3.27ms....TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2345136 usedMemory: 239440
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.82ms...
RASUnit 14: 1 byte overwrite: 3.702ms...
RASUnit 14: 1 byte read: 1.39ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 384.0ms...
.TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2346648 usedMemory: 237928
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.199ms...
RASUnit 14: 1 byte overwrite: 5.077ms...
RASUnit 14: 1 byte read: 1.374ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 382.0ms...
.TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2346360 usedMemory: 238216
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 9.411ms...
RASUnit 14: 1 byte overwrite: 10.414ms...
RASUnit 14: 1 byte read: 1.381ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 393.0ms...
.TotalMemory: 2449408 maxMemory: 66650112 freeMemory: 2211048 usedMemory: 238360
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.187ms...
RASUnit 14: 1 byte overwrite: 5.101ms...
RASUnit 14: 1 byte read: 1.378ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 392.0ms...
.TotalMemory: 2449408 maxMemory: 66650112 freeMemory: 2210832 usedMemory: 238576
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 130701 ms. BW: 0.15302101743674493 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 42769 ms. BW: 0.46762842245551683 MB/s
.TotalMemory: 2449408 maxMemory: 66650112 freeMemory: 2207960 usedMemory: 241448
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 130854 ms. BW: 0.1528420988277011 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44446 ms. BW: 0.4499842505512307 MB/s
.TotalMemory: 4091904 maxMemory: 66650112 freeMemory: 3851888 usedMemory: 240016
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 134272 ms. BW: 0.14895138226882745 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 56045 ms. BW: 0.3568560977785708 MB/s
.TotalMemory: 4739072 maxMemory: 66650112 freeMemory: 4299120 usedMemory: 439952
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 22468 ms. BW: 0.8901548869503294 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: 15580 ms. BW: 1.2836970474967908 MB/s
.TotalMemory: 4599808 maxMemory: 66650112 freeMemory: 4177136 usedMemory: 422672
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 22341 ms. BW: 0.8952150754218701 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17167 ms. BW: 1.1650259218267607 MB/s
.TotalMemory: 4677632 maxMemory: 66650112 freeMemory: 4445800 usedMemory: 231832
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6875 ms. BW: 2.909090909090909 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2392 ms. BW: 8.361204013377927 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66304688 usedMemory: 345424
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 722 ms. BW: 2.770083102493075 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 370 ms. BW: 5.405405405405405 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1789944 usedMemory: 245768
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1789288 usedMemory: 246424
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1785480 usedMemory: 250232
.TotalMemory: 8388608 maxMemory: 66650112 freeMemory: 8006360 usedMemory: 382248
.TotalMemory: 3817472 maxMemory: 66650112 freeMemory: 3495520 usedMemory: 321952
F.
TotalMemory: 3641344 maxMemory: 66650112 freeMemory: 3400504 usedMemory: 240840
F.TotalMemory: 2998272 maxMemory: 66650112 freeMemory: 2755448 usedMemory: 242824
F..
Time: 16,490.43
There were 4 failures:
1) test0(RandomAccessStateUnit)junit.framework.AssertionFailedError: Possible memory leak in RandomAccessState: start=878280 end=23677152
	at RandomAccessStateUnit.test0(RandomAccessStateUnit.java:145)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2) 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:2191)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
3) 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:2201)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
4) test21(RandomAccessStateUnit)junit.framework.AssertionFailedError: TBD: Write a test that tests reads and writes with offset > 2^32
	at RandomAccessStateUnit.test21(RandomAccessStateUnit.java:2210)
	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: 44,  Failures: 4,  Errors: 0

make: *** [junittext] Error 1
