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: 1665760 usedMemory: 365856
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: 1747144 usedMemory: 284472
TBD: Remove chain from BodyMsg

.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1803056 usedMemory: 228560
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1733952 usedMemory: 297664
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802776 usedMemory: 228840
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1740616 usedMemory: 291000
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: 1740128 usedMemory: 291488
.TotalMemory: 4997120 maxMemory: 66650112 freeMemory: 4779464 usedMemory: 217656
.TotalMemory: 4710400 maxMemory: 66650112 freeMemory: 4245064 usedMemory: 465336
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1771112 usedMemory: 264600
.TotalMemory: 8617984 maxMemory: 66650112 freeMemory: 8378328 usedMemory: 239656
.TotalMemory: 7901184 maxMemory: 66650112 freeMemory: 7659848 usedMemory: 241336
F.TotalMemory: 35307520 maxMemory: 66650112 freeMemory: 35031192 usedMemory: 276328
.TotalMemory: 31977472 maxMemory: 66650112 freeMemory: 31699280 usedMemory: 278192
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.117ms...
RASUnit 13: Overwrite 1 byte file: 3.922ms...
RASUnit 13: Read 1 byte file: 1.365ms...
RASUnit 13: Append 1 byte to file: 3.078ms...RASUnit 13: Delete 2 byte file: 3.142ms....TotalMemory: 2719744 maxMemory: 66650112 freeMemory: 2480752 usedMemory: 238992
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.544ms...
RASUnit 13: Overwrite 1 byte file: 5.333ms...
RASUnit 13: Read 1 byte file: 1.363ms...
RASUnit 13: Append 1 byte to file: 4.483ms...RASUnit 13: Delete 2 byte file: 3.148ms....TotalMemory: 2719744 maxMemory: 66650112 freeMemory: 2480688 usedMemory: 239056
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 10.783ms...
RASUnit 13: Overwrite 1 byte file: 10.322ms...
RASUnit 13: Read 1 byte file: 1.411ms...
RASUnit 13: Append 1 byte to file: 9.138ms...RASUnit 13: Delete 2 byte file: 9.292ms....TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2344808 usedMemory: 239768
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.601ms...
RASUnit 13: Overwrite 1 byte file: 5.387ms...
RASUnit 13: Read 1 byte file: 1.237ms...
RASUnit 13: Append 1 byte to file: 4.697ms...RASUnit 13: Delete 2 byte file: 3.287ms....TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2345080 usedMemory: 239496
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.871ms...
RASUnit 14: 1 byte overwrite: 3.736ms...
RASUnit 14: 1 byte read: 1.401ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 388.0ms...
.TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2346528 usedMemory: 238048
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.248ms...
RASUnit 14: 1 byte overwrite: 5.155ms...
RASUnit 14: 1 byte read: 1.384ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 388.0ms...
.TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2346320 usedMemory: 238256
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 8.283ms...
RASUnit 14: 1 byte overwrite: 9.477ms...
RASUnit 14: 1 byte read: 1.218ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 561.0ms...
.TotalMemory: 2449408 maxMemory: 66650112 freeMemory: 2211776 usedMemory: 237632
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.29ms...
RASUnit 14: 1 byte overwrite: 6.199ms...
RASUnit 14: 1 byte read: 1.424ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 402.0ms...
.TotalMemory: 2449408 maxMemory: 66650112 freeMemory: 2210840 usedMemory: 238568
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 131408 ms. BW: 0.15219773529769878 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 43080 ms. BW: 0.46425255338904364 MB/s
.TotalMemory: 2449408 maxMemory: 66650112 freeMemory: 2207760 usedMemory: 241648
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 132541 ms. BW: 0.1508967036615085 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44586 ms. BW: 0.44857130040819987 MB/s
.TotalMemory: 4091904 maxMemory: 66650112 freeMemory: 3851952 usedMemory: 239952
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 135681 ms. BW: 0.1474045739639301 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57455 ms. BW: 0.3480985118788617 MB/s
.TotalMemory: 4685824 maxMemory: 66650112 freeMemory: 4271424 usedMemory: 414400
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 22301 ms. BW: 0.8968207703690417 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: 16077 ms. BW: 1.2440131865397772 MB/s
.TotalMemory: 4685824 maxMemory: 66650112 freeMemory: 4262424 usedMemory: 423400
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 22387 ms. BW: 0.8933756197793362 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17484 ms. BW: 1.1439029970258523 MB/s
.TotalMemory: 4947968 maxMemory: 66650112 freeMemory: 4535168 usedMemory: 412800
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6976 ms. BW: 2.86697247706422 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2322 ms. BW: 8.613264427217915 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66305328 usedMemory: 344784
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 703 ms. BW: 2.844950213371266 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 376 ms. BW: 5.319148936170213 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1635760 usedMemory: 399952
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1788256 usedMemory: 247456
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1792784 usedMemory: 242928
.TotalMemory: 8396800 maxMemory: 66650112 freeMemory: 8014584 usedMemory: 382216
.TotalMemory: 5349376 maxMemory: 66650112 freeMemory: 5022776 usedMemory: 326600
F.
TotalMemory: 5021696 maxMemory: 66650112 freeMemory: 4690144 usedMemory: 331552
F.TotalMemory: 3829760 maxMemory: 66650112 freeMemory: 3495992 usedMemory: 333768
F..
Time: 16,501.686
There were 4 failures:
1) test0(RandomAccessStateUnit)junit.framework.AssertionFailedError: Possible memory leak in RandomAccessState: start=573744 end=22238080
	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
