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: 1659592 usedMemory: 372024
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: 1751808 usedMemory: 279808
TBD: Remove chain from BodyMsg

.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1803008 usedMemory: 228608
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1738496 usedMemory: 293120
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802776 usedMemory: 228840
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1736920 usedMemory: 294696
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: 1736512 usedMemory: 295104
.TotalMemory: 4997120 maxMemory: 66650112 freeMemory: 4760016 usedMemory: 237104
.TotalMemory: 4702208 maxMemory: 66650112 freeMemory: 4260528 usedMemory: 441680
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1793320 usedMemory: 242392
.TotalMemory: 8687616 maxMemory: 66650112 freeMemory: 8447416 usedMemory: 240200
.TotalMemory: 7966720 maxMemory: 66650112 freeMemory: 7724904 usedMemory: 241816
F.TotalMemory: 35303424 maxMemory: 66650112 freeMemory: 35026688 usedMemory: 276736
.TotalMemory: 31973376 maxMemory: 66650112 freeMemory: 31694792 usedMemory: 278584
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.096ms...
RASUnit 13: Overwrite 1 byte file: 3.918ms...
RASUnit 13: Read 1 byte file: 1.362ms...
RASUnit 13: Append 1 byte to file: 3.073ms...RASUnit 13: Delete 2 byte file: 3.111ms....TotalMemory: 2719744 maxMemory: 66650112 freeMemory: 2480472 usedMemory: 239272
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.502ms...
RASUnit 13: Overwrite 1 byte file: 5.297ms...
RASUnit 13: Read 1 byte file: 1.359ms...
RASUnit 13: Append 1 byte to file: 4.468ms...RASUnit 13: Delete 2 byte file: 3.118ms....TotalMemory: 2719744 maxMemory: 66650112 freeMemory: 2480632 usedMemory: 239112
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 10.772ms...
RASUnit 13: Overwrite 1 byte file: 10.157ms...
RASUnit 13: Read 1 byte file: 1.386ms...
RASUnit 13: Append 1 byte to file: 9.006ms...RASUnit 13: Delete 2 byte file: 9.11ms....TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2344512 usedMemory: 240064
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.536ms...
RASUnit 13: Overwrite 1 byte file: 5.345ms...
RASUnit 13: Read 1 byte file: 1.383ms...
RASUnit 13: Append 1 byte to file: 4.508ms...RASUnit 13: Delete 2 byte file: 3.249ms....TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2345120 usedMemory: 239456
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.848ms...
RASUnit 14: 1 byte overwrite: 3.698ms...
RASUnit 14: 1 byte read: 1.385ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 384.0ms...
.TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2346376 usedMemory: 238200
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.201ms...
RASUnit 14: 1 byte overwrite: 5.1ms...
RASUnit 14: 1 byte read: 1.369ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 385.0ms...
.TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2346136 usedMemory: 238440
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 8.192ms...
RASUnit 14: 1 byte overwrite: 9.372ms...
RASUnit 14: 1 byte read: 1.381ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 395.0ms...
.TotalMemory: 2449408 maxMemory: 66650112 freeMemory: 2210824 usedMemory: 238584
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.225ms...
RASUnit 14: 1 byte overwrite: 5.133ms...
RASUnit 14: 1 byte read: 1.374ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 398.0ms...
.TotalMemory: 2449408 maxMemory: 66650112 freeMemory: 2210632 usedMemory: 238776
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 130345 ms. BW: 0.15343895047757874 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 43647 ms. BW: 0.4582216418081426 MB/s
.TotalMemory: 2449408 maxMemory: 66650112 freeMemory: 2207568 usedMemory: 241840
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 131272 ms. BW: 0.15235541471143885 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44267 ms. BW: 0.4518038267784128 MB/s
.TotalMemory: 4091904 maxMemory: 66650112 freeMemory: 3680192 usedMemory: 411712
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 134477 ms. BW: 0.1487243171694788 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57043 ms. BW: 0.3506126956857108 MB/s
.TotalMemory: 4751360 maxMemory: 66650112 freeMemory: 4511736 usedMemory: 239624
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 22269 ms. BW: 0.8981094795455566 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: 16028 ms. BW: 1.2478163214374844 MB/s
.TotalMemory: 4620288 maxMemory: 66650112 freeMemory: 4197504 usedMemory: 422784
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 22305 ms. BW: 0.8966599417171038 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17496 ms. BW: 1.1431184270690444 MB/s
.TotalMemory: 4947968 maxMemory: 66650112 freeMemory: 4535144 usedMemory: 412824
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6828 ms. BW: 2.9291154071470418 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2426 ms. BW: 8.244023083264633 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66390040 usedMemory: 260072
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 702 ms. BW: 2.849002849002849 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 374 ms. BW: 5.347593582887701 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1635360 usedMemory: 400352
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1788032 usedMemory: 247680
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1784328 usedMemory: 251384
.TotalMemory: 8351744 maxMemory: 66650112 freeMemory: 7969528 usedMemory: 382216
.TotalMemory: 4825088 maxMemory: 66650112 freeMemory: 4498864 usedMemory: 326224
F.
TotalMemory: 4546560 maxMemory: 66650112 freeMemory: 4306696 usedMemory: 239864
F.TotalMemory: 3543040 maxMemory: 66650112 freeMemory: 3300896 usedMemory: 242144
F..
Time: 16,431.765
There were 4 failures:
1) test0(RandomAccessStateUnit)junit.framework.AssertionFailedError: Possible memory leak in RandomAccessState: start=564584 end=22348912
	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
