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: 1751632 usedMemory: 279984
TBD: Remove chain from BodyMsg

.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1803056 usedMemory: 228560
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1738464 usedMemory: 293152
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802776 usedMemory: 228840
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1737248 usedMemory: 294368
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: 1736560 usedMemory: 295056
.TotalMemory: 4997120 maxMemory: 66650112 freeMemory: 4760064 usedMemory: 237056
.TotalMemory: 4702208 maxMemory: 66650112 freeMemory: 4261104 usedMemory: 441104
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1793424 usedMemory: 242288
.TotalMemory: 8687616 maxMemory: 66650112 freeMemory: 8447856 usedMemory: 239760
.TotalMemory: 7966720 maxMemory: 66650112 freeMemory: 7725344 usedMemory: 241376
F.TotalMemory: 35303424 maxMemory: 66650112 freeMemory: 35027320 usedMemory: 276104
.TotalMemory: 31973376 maxMemory: 66650112 freeMemory: 31695400 usedMemory: 277976
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.148ms...
RASUnit 13: Overwrite 1 byte file: 3.971ms...
RASUnit 13: Read 1 byte file: 1.377ms...
RASUnit 13: Append 1 byte to file: 3.126ms...RASUnit 13: Delete 2 byte file: 3.16ms....TotalMemory: 2719744 maxMemory: 66650112 freeMemory: 2443752 usedMemory: 275992
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.617ms...
RASUnit 13: Overwrite 1 byte file: 5.429ms...
RASUnit 13: Read 1 byte file: 1.392ms...
RASUnit 13: Append 1 byte to file: 4.569ms...RASUnit 13: Delete 2 byte file: 3.18ms....TotalMemory: 2719744 maxMemory: 66650112 freeMemory: 2480704 usedMemory: 239040
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 10.786ms...
RASUnit 13: Overwrite 1 byte file: 10.363ms...
RASUnit 13: Read 1 byte file: 1.254ms...
RASUnit 13: Append 1 byte to file: 9.259ms...RASUnit 13: Delete 2 byte file: 9.234ms....TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2345000 usedMemory: 239576
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.65ms...
RASUnit 13: Overwrite 1 byte file: 5.468ms...
RASUnit 13: Read 1 byte file: 1.432ms...
RASUnit 13: Append 1 byte to file: 4.626ms...RASUnit 13: Delete 2 byte file: 3.31ms....TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2345408 usedMemory: 239168
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.899ms...
RASUnit 14: 1 byte overwrite: 3.788ms...
RASUnit 14: 1 byte read: 1.402ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 398.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.324ms...
RASUnit 14: 1 byte overwrite: 5.216ms...
RASUnit 14: 1 byte read: 1.392ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 398.0ms...
.TotalMemory: 2584576 maxMemory: 66650112 freeMemory: 2346472 usedMemory: 238104
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 8.296ms...
RASUnit 14: 1 byte overwrite: 9.559ms...
RASUnit 14: 1 byte read: 1.403ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 408.0ms...
.TotalMemory: 2445312 maxMemory: 66650112 freeMemory: 2207048 usedMemory: 238264
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.93ms...
RASUnit 14: 1 byte overwrite: 5.637ms...
RASUnit 14: 1 byte read: 1.41ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 409.0ms...
.TotalMemory: 2445312 maxMemory: 66650112 freeMemory: 2206856 usedMemory: 238456
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 133247 ms. BW: 0.15009718792918414 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 43295 ms. BW: 0.46194710705624203 MB/s
.TotalMemory: 2445312 maxMemory: 66650112 freeMemory: 2203952 usedMemory: 241360
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 133542 ms. BW: 0.14976561680969283 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44743 ms. BW: 0.4469972956663612 MB/s
.TotalMemory: 4071424 maxMemory: 66650112 freeMemory: 3659712 usedMemory: 411712
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 136870 ms. BW: 0.1461240593263681 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57041 ms. BW: 0.35062498904296907 MB/s
.TotalMemory: 4710400 maxMemory: 66650112 freeMemory: 4471064 usedMemory: 239336
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 22320 ms. BW: 0.8960573476702509 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: 14971 ms. BW: 1.3359161044686394 MB/s
.TotalMemory: 4710400 maxMemory: 66650112 freeMemory: 4287560 usedMemory: 422840
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 22365 ms. BW: 0.8942544153811759 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17169 ms. BW: 1.1648902090977926 MB/s
.TotalMemory: 5115904 maxMemory: 66650112 freeMemory: 4703992 usedMemory: 411912
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6817 ms. BW: 2.933841865923427 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2400 ms. BW: 8.333333333333334 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66390040 usedMemory: 260072
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 699 ms. BW: 2.8612303290414878 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 374 ms. BW: 5.347593582887701 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1635864 usedMemory: 399848
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1788360 usedMemory: 247352
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1784616 usedMemory: 251096
.TotalMemory: 6295552 maxMemory: 66650112 freeMemory: 5913304 usedMemory: 382248
.TotalMemory: 5398528 maxMemory: 66650112 freeMemory: 5074408 usedMemory: 324120
F.
TotalMemory: 4055040 maxMemory: 66650112 freeMemory: 3815192 usedMemory: 239848
F.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1793712 usedMemory: 242000
F..
Time: 16,434.994
There were 4 failures:
1) test0(RandomAccessStateUnit)junit.framework.AssertionFailedError: Possible memory leak in RandomAccessState: start=565344 end=22680520
	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
