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 
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
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
/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
/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 RuntimeRMIServerImpl
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: 1794312 usedMemory: 237304
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1663856 usedMemory: 367760
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1742216 usedMemory: 289400
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1799000 usedMemory: 232616
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1734128 usedMemory: 297488
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1798584 usedMemory: 233032
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1783432 usedMemory: 248184
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1782584 usedMemory: 249032
.TotalMemory: 5103616 maxMemory: 66650112 freeMemory: 4669872 usedMemory: 433744
.TotalMemory: 4796416 maxMemory: 66650112 freeMemory: 4357256 usedMemory: 439160
.TotalMemory: 2060288 maxMemory: 66650112 freeMemory: 1813352 usedMemory: 246936
.TotalMemory: 8728576 maxMemory: 66650112 freeMemory: 8485152 usedMemory: 243424
.TotalMemory: 8003584 maxMemory: 66650112 freeMemory: 7757808 usedMemory: 245776
.TotalMemory: 31977472 maxMemory: 66650112 freeMemory: 31713592 usedMemory: 263880
.TotalMemory: 19832832 maxMemory: 66650112 freeMemory: 19575984 usedMemory: 256848
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.119ms...
RASUnit 13: Overwrite 1 byte file: 3.92ms...
RASUnit 13: Read 1 byte file: 1.371ms...
RASUnit 13: Append 1 byte to file: 3.1ms...RASUnit 13: Delete 2 byte file: 3.141ms....TotalMemory: 2621440 maxMemory: 66650112 freeMemory: 2295776 usedMemory: 325664
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.517ms...
RASUnit 13: Overwrite 1 byte file: 5.322ms...
RASUnit 13: Read 1 byte file: 1.363ms...
RASUnit 13: Append 1 byte to file: 4.481ms...RASUnit 13: Delete 2 byte file: 3.107ms....TotalMemory: 2621440 maxMemory: 66650112 freeMemory: 2377888 usedMemory: 243552
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 12.793ms...
RASUnit 13: Overwrite 1 byte file: 11.598ms...
RASUnit 13: Read 1 byte file: 1.395ms...
RASUnit 13: Append 1 byte to file: 10.502ms...RASUnit 13: Delete 2 byte file: 11.214ms....TotalMemory: 2621440 maxMemory: 66650112 freeMemory: 2377248 usedMemory: 244192
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.648ms...
RASUnit 13: Overwrite 1 byte file: 5.447ms...
RASUnit 13: Read 1 byte file: 1.403ms...
RASUnit 13: Append 1 byte to file: 4.6ms...RASUnit 13: Delete 2 byte file: 3.337ms....TotalMemory: 2621440 maxMemory: 66650112 freeMemory: 2377624 usedMemory: 243816
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.866ms...
RASUnit 14: 1 byte overwrite: 3.733ms...
RASUnit 14: 1 byte read: 1.4ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 391.0ms...
.TotalMemory: 2621440 maxMemory: 66650112 freeMemory: 2378984 usedMemory: 242456
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.243ms...
RASUnit 14: 1 byte overwrite: 5.144ms...
RASUnit 14: 1 byte read: 1.385ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 390.0ms...
.TotalMemory: 2621440 maxMemory: 66650112 freeMemory: 2378856 usedMemory: 242584
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 9.535ms...
RASUnit 14: 1 byte overwrite: 10.702ms...
RASUnit 14: 1 byte read: 1.382ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 414.0ms...
.TotalMemory: 2334720 maxMemory: 66650112 freeMemory: 2091888 usedMemory: 242832
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.303ms...
RASUnit 14: 1 byte overwrite: 5.207ms...
RASUnit 14: 1 byte read: 1.383ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 409.0ms...
.TotalMemory: 2334720 maxMemory: 66650112 freeMemory: 2091696 usedMemory: 243024
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 133336 ms. BW: 0.1499970000599988 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 43165 ms. BW: 0.4633383528321557 MB/s
.TotalMemory: 2334720 maxMemory: 66650112 freeMemory: 2091160 usedMemory: 243560
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 134874 ms. BW: 0.14828654892714682 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44885 ms. BW: 0.44558315695666706 MB/s
.TotalMemory: 4100096 maxMemory: 66650112 freeMemory: 3683408 usedMemory: 416688
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 139563 ms. BW: 0.14330445748515008 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57579 ms. BW: 0.34734885982736763 MB/s
.TotalMemory: 4771840 maxMemory: 66650112 freeMemory: 4334912 usedMemory: 436928
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 19809 ms. BW: 1.009642081881973 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 100000 Time: 15544 ms. BW: 1.2866700977869274 MB/s
.TotalMemory: 4771840 maxMemory: 66650112 freeMemory: 4344640 usedMemory: 427200
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 24256 ms. BW: 0.8245382585751979 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17272 ms. BW: 1.1579434923575729 MB/s
.TotalMemory: 4665344 maxMemory: 66650112 freeMemory: 4248760 usedMemory: 416584
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6552 ms. BW: 3.0525030525030523 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2230 ms. BW: 8.968609865470851 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66386072 usedMemory: 264040
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 786 ms. BW: 2.544529262086514 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 378 ms. BW: 5.291005291005291 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1631288 usedMemory: 404424
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1783976 usedMemory: 251736
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1779920 usedMemory: 255792
.TotalMemory: 6303744 maxMemory: 66650112 freeMemory: 5917656 usedMemory: 386088
.TotalMemory: 5537792 maxMemory: 66650112 freeMemory: 5211656 usedMemory: 326136
E.
TotalMemory: 5206016 maxMemory: 66650112 freeMemory: 4709992 usedMemory: 496024
E.TotalMemory: 3997696 maxMemory: 66650112 freeMemory: 3513960 usedMemory: 483736
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1778048 usedMemory: 257664
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1775880 usedMemory: 259832
E.TotalMemory: 4681728 maxMemory: 66650112 freeMemory: 4253008 usedMemory: 428720
E.TotalMemory: 4538368 maxMemory: 66650112 freeMemory: 4145456 usedMemory: 392912
E.TotalMemory: 3301376 maxMemory: 66650112 freeMemory: 3050368 usedMemory: 251008
F.....
Time: 17,244.003
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
