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: 1763120 usedMemory: 268496
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: 1665272 usedMemory: 366344
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: 1751128 usedMemory: 280488
TBD: Remove chain from BodyMsg

.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802480 usedMemory: 229136
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1738144 usedMemory: 293472
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1802272 usedMemory: 229344
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1736936 usedMemory: 294680
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: 1736504 usedMemory: 295112
.TotalMemory: 4997120 maxMemory: 66650112 freeMemory: 4759632 usedMemory: 237488
.TotalMemory: 4702208 maxMemory: 66650112 freeMemory: 4261320 usedMemory: 440888
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1792816 usedMemory: 242896
.TotalMemory: 8699904 maxMemory: 66650112 freeMemory: 8145712 usedMemory: 554192
.TotalMemory: 7974912 maxMemory: 66650112 freeMemory: 7732848 usedMemory: 242064
.TotalMemory: 31977472 maxMemory: 66650112 freeMemory: 31718160 usedMemory: 259312
.TotalMemory: 19832832 maxMemory: 66650112 freeMemory: 19579992 usedMemory: 252840
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.107ms...
RASUnit 13: Overwrite 1 byte file: 3.894ms...
RASUnit 13: Read 1 byte file: 1.369ms...
RASUnit 13: Append 1 byte to file: 3.071ms...RASUnit 13: Delete 2 byte file: 3.118ms....TotalMemory: 2531328 maxMemory: 66650112 freeMemory: 2211200 usedMemory: 320128
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.481ms...
RASUnit 13: Overwrite 1 byte file: 5.294ms...
RASUnit 13: Read 1 byte file: 1.346ms...
RASUnit 13: Append 1 byte to file: 4.453ms...RASUnit 13: Delete 2 byte file: 3.086ms....TotalMemory: 2674688 maxMemory: 66650112 freeMemory: 2434368 usedMemory: 240320
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 10.771ms...
RASUnit 13: Overwrite 1 byte file: 10.329ms...
RASUnit 13: Read 1 byte file: 1.389ms...
RASUnit 13: Append 1 byte to file: 9.093ms...RASUnit 13: Delete 2 byte file: 9.549ms....TotalMemory: 2543616 maxMemory: 66650112 freeMemory: 2302648 usedMemory: 240968
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.55ms...
RASUnit 13: Overwrite 1 byte file: 5.369ms...
RASUnit 13: Read 1 byte file: 1.222ms...
RASUnit 13: Append 1 byte to file: 4.7ms...RASUnit 13: Delete 2 byte file: 3.268ms....TotalMemory: 2543616 maxMemory: 66650112 freeMemory: 2303048 usedMemory: 240568
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.834ms...
RASUnit 14: 1 byte overwrite: 3.715ms...
RASUnit 14: 1 byte read: 1.383ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 394.0ms...
.TotalMemory: 2543616 maxMemory: 66650112 freeMemory: 2304392 usedMemory: 239224
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.205ms...
RASUnit 14: 1 byte overwrite: 5.13ms...
RASUnit 14: 1 byte read: 1.378ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 383.0ms...
.TotalMemory: 2543616 maxMemory: 66650112 freeMemory: 2304224 usedMemory: 239392
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 8.29ms...
RASUnit 14: 1 byte overwrite: 9.477ms...
RASUnit 14: 1 byte read: 1.373ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 397.0ms...
.TotalMemory: 2326528 maxMemory: 66650112 freeMemory: 2086888 usedMemory: 239640
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.24ms...
RASUnit 14: 1 byte overwrite: 5.14ms...
RASUnit 14: 1 byte read: 1.374ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 397.0ms...
.TotalMemory: 2326528 maxMemory: 66650112 freeMemory: 2086808 usedMemory: 239720
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 131535 ms. BW: 0.15205078496217736 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 42769 ms. BW: 0.46762842245551683 MB/s
.TotalMemory: 2326528 maxMemory: 66650112 freeMemory: 2086072 usedMemory: 240456
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 132271 ms. BW: 0.15120472363556636 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44647 ms. BW: 0.44795842945774633 MB/s
.TotalMemory: 4096000 maxMemory: 66650112 freeMemory: 3683096 usedMemory: 412904
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 135138 ms. BW: 0.14799686246651572 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57079 ms. BW: 0.35039156257117327 MB/s
.TotalMemory: 4632576 maxMemory: 66650112 freeMemory: 4207064 usedMemory: 425512
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 22358 ms. BW: 0.8945343948474819 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: 15957 ms. BW: 1.2533684276493076 MB/s
.TotalMemory: 4632576 maxMemory: 66650112 freeMemory: 4209392 usedMemory: 423184
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 22378 ms. BW: 0.893734918223255 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17562 ms. BW: 1.1388224575788635 MB/s
.TotalMemory: 4796416 maxMemory: 66650112 freeMemory: 4383104 usedMemory: 413312
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6949 ms. BW: 2.8781119585551878 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2316 ms. BW: 8.635578583765112 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66304760 usedMemory: 345352
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 701 ms. BW: 2.8530670470756063 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 379 ms. BW: 5.277044854881266 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1635232 usedMemory: 400480
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1787744 usedMemory: 247968
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1792240 usedMemory: 243472
.TotalMemory: 6295552 maxMemory: 66650112 freeMemory: 5912952 usedMemory: 382600
.TotalMemory: 3420160 maxMemory: 66650112 freeMemory: 3097928 usedMemory: 322232
F.
TotalMemory: 3284992 maxMemory: 66650112 freeMemory: 2956440 usedMemory: 328552
F.TotalMemory: 2785280 maxMemory: 66650112 freeMemory: 2542712 usedMemory: 242568
F...PERFORMANCE WARNING: Work Queue test is falling behind (100 pending requests)

PERFORMANCE WARNING: Work Queue test is falling behind (100 pending requests)

PERFORMANCE WARNING: Work Queue test is falling behind (200 pending requests)

PERFORMANCE WARNING: Work Queue test is falling behind (200 pending requests)

PERFORMANCE WARNING: Work Queue test is falling behind (300 pending requests)

PERFORMANCE WARNING: Work Queue test is falling behind (300 pending requests)

PERFORMANCE WARNING: Work Queue test is falling behind (300 pending requests)

PERFORMANCE WARNING: Work Queue test is falling behind (300 pending requests)

PERFORMANCE WARNING: Work Queue test is falling behind (400 pending requests)

PERFORMANCE WARNING: Work Queue test is falling behind (400 pending requests)


Time: 16,527.649
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: 0

make: *** [junittext] Error 1
