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 
/public/share/src/jdk1.5.0_02/bin//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
NiceSocketImpl.c: In function 'nativeNiceSocketImpl_c_1socket':
NiceSocketImpl.c:92: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
NiceSocketImpl.c: In function 'Java_NiceSocketImpl_c_1connect':
NiceSocketImpl.c:124: warning: incompatible implicit declaration of built-in function 'memcpy'
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
NiceServerSocket.c: In function 'Java_NiceServerSocket_c_1makeServerSocket':
NiceServerSocket.c:51: warning: incompatible implicit declaration of built-in function 'bzero'
NiceServerSocket.c:56: warning: incompatible implicit declaration of built-in function 'strcpy'
NiceServerSocket.c:61: warning: incompatible implicit declaration of built-in function 'bcopy'
NiceServerSocket.c: In function 'setSendBufferSize':
NiceServerSocket.c:140: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
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: StreamIdUnit
Loaded test case: UnbindMsgUnit
Loaded test case: WorkQueueUnit
Number of test classes found: 10
.......TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1751168 usedMemory: 280448
GCForcer worker thread exits b/c GCForcer.killWorker called
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1719728 usedMemory: 311888
GCForcer worker thread exits b/c GCForcer.killWorker called
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1750288 usedMemory: 281328
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1801512 usedMemory: 230104
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1736664 usedMemory: 294952
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1801168 usedMemory: 230448
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1786008 usedMemory: 245608
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1785216 usedMemory: 246400
.TotalMemory: 5214208 maxMemory: 66650112 freeMemory: 4782280 usedMemory: 431928
.TotalMemory: 4898816 maxMemory: 66650112 freeMemory: 4461640 usedMemory: 437176
.TotalMemory: 2052096 maxMemory: 66650112 freeMemory: 1807928 usedMemory: 244168
.TotalMemory: 8622080 maxMemory: 66650112 freeMemory: 8077120 usedMemory: 544960
.TotalMemory: 7942144 maxMemory: 66650112 freeMemory: 7394984 usedMemory: 547160
.TotalMemory: 31997952 maxMemory: 66650112 freeMemory: 31737288 usedMemory: 260664
.TotalMemory: 19841024 maxMemory: 66650112 freeMemory: 19586640 usedMemory: 254384
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.167ms...
RASUnit 13: Overwrite 1 byte file: 3.934ms...
RASUnit 13: Read 1 byte file: 1.389ms...
RASUnit 13: Append 1 byte to file: 3.127ms...RASUnit 13: Delete 2 byte file: 3.125ms....TotalMemory: 2535424 maxMemory: 66650112 freeMemory: 2217008 usedMemory: 318416
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.604ms...
RASUnit 13: Overwrite 1 byte file: 5.27ms...
RASUnit 13: Read 1 byte file: 1.376ms...
RASUnit 13: Append 1 byte to file: 4.571ms...RASUnit 13: Delete 2 byte file: 3.299ms....TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2438120 usedMemory: 240664
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 12.228ms...
RASUnit 13: Overwrite 1 byte file: 11.081ms...
RASUnit 13: Read 1 byte file: 1.415ms...
RASUnit 13: Append 1 byte to file: 10.147ms...RASUnit 13: Delete 2 byte file: 10.436ms....TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2437248 usedMemory: 241536
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.739ms...
RASUnit 13: Overwrite 1 byte file: 5.353ms...
RASUnit 13: Read 1 byte file: 1.418ms...
RASUnit 13: Append 1 byte to file: 4.685ms...RASUnit 13: Delete 2 byte file: 3.371ms....TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2437720 usedMemory: 241064
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.894ms...
RASUnit 14: 1 byte overwrite: 3.752ms...
RASUnit 14: 1 byte read: 1.417ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 375.0ms...
.TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2438304 usedMemory: 240480
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.329ms...
RASUnit 14: 1 byte overwrite: 5.072ms...
RASUnit 14: 1 byte read: 1.399ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 376.0ms...
.TotalMemory: 2678784 maxMemory: 66650112 freeMemory: 2439616 usedMemory: 239168
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 9.544ms...
RASUnit 14: 1 byte overwrite: 10.406ms...
RASUnit 14: 1 byte read: 1.397ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 420.0ms...
.TotalMemory: 2371584 maxMemory: 66650112 freeMemory: 2131744 usedMemory: 239840
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.376ms...
RASUnit 14: 1 byte overwrite: 5.28ms...
RASUnit 14: 1 byte read: 1.404ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 405.0ms...
.TotalMemory: 2371584 maxMemory: 66650112 freeMemory: 2132912 usedMemory: 238672
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 135107 ms. BW: 0.1480308200167275 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 43266 ms. BW: 0.4622567373919475 MB/s
.TotalMemory: 2371584 maxMemory: 66650112 freeMemory: 2128208 usedMemory: 243376
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 135520 ms. BW: 0.14757969303423848 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44879 ms. BW: 0.4456427282247822 MB/s
.TotalMemory: 4075520 maxMemory: 66650112 freeMemory: 3661600 usedMemory: 413920
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 140149 ms. BW: 0.14270526368365097 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 58135 ms. BW: 0.3440268340930593 MB/s
.TotalMemory: 4665344 maxMemory: 66650112 freeMemory: 4424712 usedMemory: 240632
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 23528 ms. BW: 0.8500510030601837 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 100000 Time: 15974 ms. BW: 1.2520345561537498 MB/s
.TotalMemory: 4665344 maxMemory: 66650112 freeMemory: 4241552 usedMemory: 423792
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 24242 ms. BW: 0.8250144377526607 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17358 ms. BW: 1.1522064754003918 MB/s
.TotalMemory: 5156864 maxMemory: 66650112 freeMemory: 4742944 usedMemory: 413920
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6488 ms. BW: 3.082614056720099 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2320 ms. BW: 8.620689655172415 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66303856 usedMemory: 346256
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 785 ms. BW: 2.5477707006369426 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 378 ms. BW: 5.291005291005291 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1633952 usedMemory: 401760
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1786640 usedMemory: 249072
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1791048 usedMemory: 244664
.TotalMemory: 8355840 maxMemory: 66650112 freeMemory: 7972416 usedMemory: 383424
.TotalMemory: 3760128 maxMemory: 66650112 freeMemory: 3435600 usedMemory: 324528
E.
TotalMemory: 3588096 maxMemory: 66650112 freeMemory: 3253176 usedMemory: 334920
E.TotalMemory: 2969600 maxMemory: 66650112 freeMemory: 2716616 usedMemory: 252984
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1780296 usedMemory: 255416
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1778240 usedMemory: 257472
E.TotalMemory: 4612096 maxMemory: 66650112 freeMemory: 4187016 usedMemory: 425080
E.TotalMemory: 4534272 maxMemory: 66650112 freeMemory: 4143992 usedMemory: 390280
E.TotalMemory: 3301376 maxMemory: 66650112 freeMemory: 3053160 usedMemory: 248216
F.....
Time: 17,229.262
There were 7 errors:
1) test19(RandomAccessStateUnit)java.lang.AssertionError
	at RandomAccessState.shipRAS(RandomAccessState.java:3042)
	at RandomAccessStateUnit.test19(RandomAccessStateUnit.java:2289)
	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)java.lang.AssertionError
	at RandomAccessState.updateRAS(RandomAccessState.java:3308)
	at RandomAccessStateUnit.doUpdateRASWithListOfObjects(RandomAccessStateUnit.java:2936)
	at RandomAccessStateUnit.test20(RandomAccessStateUnit.java:2834)
	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)java.lang.AssertionError
	at RandomAccessState.shipRAS(RandomAccessState.java:3042)
	at RandomAccessStateUnit.test21(RandomAccessStateUnit.java:3010)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
4) test22(RandomAccessStateUnit)java.lang.AssertionError
	at RandomAccessState.shipRAS(RandomAccessState.java:3042)
	at RandomAccessStateUnit.test22(RandomAccessStateUnit.java:3124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
5) test23(RandomAccessStateUnit)java.lang.AssertionError
	at RandomAccessState.shipRAS(RandomAccessState.java:3042)
	at RandomAccessStateUnit.test23(RandomAccessStateUnit.java:3208)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
6) test24(RandomAccessStateUnit)java.lang.AssertionError
	at RandomAccessState.shipRAS(RandomAccessState.java:3042)
	at RandomAccessStateUnit.test24(RandomAccessStateUnit.java:3311)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
7) test23a(RandomAccessStateUnit)java.lang.AssertionError
	at RandomAccessState.shipRAS(RandomAccessState.java:3042)
	at RandomAccessStateUnit.test23a(RandomAccessStateUnit.java:3380)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
There was 1 failure:
1) test25(RandomAccessStateUnit)junit.framework.AssertionFailedError: TBD: Write a test that tests reads and writes with offset > 2^32
	at RandomAccessStateUnit.test25(RandomAccessStateUnit.java:3475)
	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: 52,  Failures: 1,  Errors: 7

make: *** [junittext] Error 1
