mkdir -p classes
mkdir -p classes/gnu/getopt
cp gnu/getopt/*.properties classes/gnu/getopt
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
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:./P2Runtime P2Runtime/*.java
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: 1797776 usedMemory: 233840
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1670352 usedMemory: 361264
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1750016 usedMemory: 281600
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1801448 usedMemory: 230168
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1736768 usedMemory: 294848
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1801200 usedMemory: 230416
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1786072 usedMemory: 245544
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1785208 usedMemory: 246408
.TotalMemory: 4980736 maxMemory: 66650112 freeMemory: 4550264 usedMemory: 430472
.TotalMemory: 4689920 maxMemory: 66650112 freeMemory: 4446192 usedMemory: 243728
.TotalMemory: 2052096 maxMemory: 66650112 freeMemory: 1807552 usedMemory: 244544
.TotalMemory: 8749056 maxMemory: 66650112 freeMemory: 8204264 usedMemory: 544792
.TotalMemory: 8056832 maxMemory: 66650112 freeMemory: 7509704 usedMemory: 547128
.TotalMemory: 32026624 maxMemory: 66650112 freeMemory: 31766216 usedMemory: 260408
.TotalMemory: 19861504 maxMemory: 66650112 freeMemory: 19607048 usedMemory: 254456
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.169ms...
RASUnit 13: Overwrite 1 byte file: 3.947ms...
RASUnit 13: Read 1 byte file: 1.393ms...
RASUnit 13: Append 1 byte to file: 3.139ms...RASUnit 13: Delete 2 byte file: 3.128ms....TotalMemory: 2551808 maxMemory: 66650112 freeMemory: 2228480 usedMemory: 323328
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.608ms...
RASUnit 13: Overwrite 1 byte file: 5.246ms...
RASUnit 13: Read 1 byte file: 1.381ms...
RASUnit 13: Append 1 byte to file: 4.555ms...RASUnit 13: Delete 2 byte file: 3.289ms....TotalMemory: 2711552 maxMemory: 66650112 freeMemory: 2470936 usedMemory: 240616
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 12.308ms...
RASUnit 13: Overwrite 1 byte file: 11.223ms...
RASUnit 13: Read 1 byte file: 1.412ms...
RASUnit 13: Append 1 byte to file: 10.7ms...RASUnit 13: Delete 2 byte file: 11.45ms....TotalMemory: 2568192 maxMemory: 66650112 freeMemory: 2326552 usedMemory: 241640
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.775ms...
RASUnit 13: Overwrite 1 byte file: 5.523ms...
RASUnit 13: Read 1 byte file: 1.427ms...
RASUnit 13: Append 1 byte to file: 4.663ms...RASUnit 13: Delete 2 byte file: 3.318ms....TotalMemory: 2568192 maxMemory: 66650112 freeMemory: 2326776 usedMemory: 241416
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.882ms...
RASUnit 14: 1 byte overwrite: 3.729ms...
RASUnit 14: 1 byte read: 1.411ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 365.0ms...
.TotalMemory: 2568192 maxMemory: 66650112 freeMemory: 2327592 usedMemory: 240600
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.281ms...
RASUnit 14: 1 byte overwrite: 5.04ms...
RASUnit 14: 1 byte read: 1.569ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 364.0ms...
.TotalMemory: 2568192 maxMemory: 66650112 freeMemory: 2327408 usedMemory: 240784
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 9.353ms...
RASUnit 14: 1 byte overwrite: 10.379ms...
RASUnit 14: 1 byte read: 1.408ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 398.0ms...
.TotalMemory: 2363392 maxMemory: 66650112 freeMemory: 2121944 usedMemory: 241448
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.341ms...
RASUnit 14: 1 byte overwrite: 5.242ms...
RASUnit 14: 1 byte read: 1.409ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 396.0ms...
.TotalMemory: 2363392 maxMemory: 66650112 freeMemory: 2121792 usedMemory: 241600
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 134670 ms. BW: 0.14851117546595383 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 43601 ms. BW: 0.4587050755716612 MB/s
.TotalMemory: 2363392 maxMemory: 66650112 freeMemory: 2120336 usedMemory: 243056
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 136668 ms. BW: 0.1463400357069687 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 45371 ms. BW: 0.44081020916444424 MB/s
.TotalMemory: 4210688 maxMemory: 66650112 freeMemory: 3969456 usedMemory: 241232
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 140635 ms. BW: 0.1422121093611121 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57726 ms. BW: 0.3464643314970724 MB/s
.TotalMemory: 4714496 maxMemory: 66650112 freeMemory: 4473752 usedMemory: 240744
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 23678 ms. BW: 0.8446659346228567 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 100000 Time: 16105 ms. BW: 1.2418503570319777 MB/s
.TotalMemory: 4714496 maxMemory: 66650112 freeMemory: 4481560 usedMemory: 232936
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 24062 ms. BW: 0.831186102568365 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17517 ms. BW: 1.1417480162128217 MB/s
.TotalMemory: 5283840 maxMemory: 66650112 freeMemory: 5050832 usedMemory: 233008
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6482 ms. BW: 3.08546744831842 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2315 ms. BW: 8.639308855291576 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66303840 usedMemory: 346272
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 810 ms. BW: 2.4691358024691357 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 373 ms. BW: 5.361930294906166 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1633216 usedMemory: 402496
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1787896 usedMemory: 247816
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1783824 usedMemory: 251888
.TotalMemory: 6303744 maxMemory: 66650112 freeMemory: 5920232 usedMemory: 383512
E.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66314080 usedMemory: 336032
E.
TotalMemory: 60203008 maxMemory: 66650112 freeMemory: 59825752 usedMemory: 377256
E.TotalMemory: 36765696 maxMemory: 66650112 freeMemory: 36490928 usedMemory: 274768
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1764200 usedMemory: 271512
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1757016 usedMemory: 278696
E.TotalMemory: 4628480 maxMemory: 66650112 freeMemory: 4203216 usedMemory: 425264
E.TotalMemory: 4628480 maxMemory: 66650112 freeMemory: 4379992 usedMemory: 248488
E.TotalMemory: 3321856 maxMemory: 66650112 freeMemory: 3073264 usedMemory: 248592
F.....
Time: 16,228.253
There were 8 errors:
1) test18b(RandomAccessStateUnit)java.lang.OutOfMemoryError: Java heap space
2) 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)
3) 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)
4) 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)
5) 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)
6) 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)
7) 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)
8) 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: 8

make: *** [junittext] Error 1
