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: 1663808 usedMemory: 367808
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1741600 usedMemory: 290016
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1798936 usedMemory: 232680
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1734104 usedMemory: 297512
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1798584 usedMemory: 233032
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1783368 usedMemory: 248248
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1782592 usedMemory: 249024
.TotalMemory: 5001216 maxMemory: 66650112 freeMemory: 4567104 usedMemory: 434112
.TotalMemory: 4706304 maxMemory: 66650112 freeMemory: 4266768 usedMemory: 439536
.TotalMemory: 2056192 maxMemory: 66650112 freeMemory: 1809344 usedMemory: 246848
.TotalMemory: 8728576 maxMemory: 66650112 freeMemory: 8181064 usedMemory: 547512
.TotalMemory: 8036352 maxMemory: 66650112 freeMemory: 7486488 usedMemory: 549864
.TotalMemory: 31981568 maxMemory: 66650112 freeMemory: 31718440 usedMemory: 263128
.TotalMemory: 19832832 maxMemory: 66650112 freeMemory: 19575744 usedMemory: 257088
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.108ms...
RASUnit 13: Overwrite 1 byte file: 3.907ms...
RASUnit 13: Read 1 byte file: 1.374ms...
RASUnit 13: Append 1 byte to file: 3.068ms...RASUnit 13: Delete 2 byte file: 3.108ms....TotalMemory: 2555904 maxMemory: 66650112 freeMemory: 2233112 usedMemory: 322792
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.522ms...
RASUnit 13: Overwrite 1 byte file: 5.296ms...
RASUnit 13: Read 1 byte file: 1.359ms...
RASUnit 13: Append 1 byte to file: 4.458ms...RASUnit 13: Delete 2 byte file: 3.109ms....TotalMemory: 2711552 maxMemory: 66650112 freeMemory: 2467912 usedMemory: 243640
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 12.665ms...
RASUnit 13: Overwrite 1 byte file: 11.548ms...
RASUnit 13: Read 1 byte file: 1.404ms...
RASUnit 13: Append 1 byte to file: 10.574ms...RASUnit 13: Delete 2 byte file: 11.259ms....TotalMemory: 2560000 maxMemory: 66650112 freeMemory: 2315728 usedMemory: 244272
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.629ms...
RASUnit 13: Overwrite 1 byte file: 5.441ms...
RASUnit 13: Read 1 byte file: 1.407ms...
RASUnit 13: Append 1 byte to file: 4.59ms...RASUnit 13: Delete 2 byte file: 3.311ms....TotalMemory: 2560000 maxMemory: 66650112 freeMemory: 2316120 usedMemory: 243880
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.847ms...
RASUnit 14: 1 byte overwrite: 3.717ms...
RASUnit 14: 1 byte read: 1.391ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 383.0ms...
.TotalMemory: 2560000 maxMemory: 66650112 freeMemory: 2317488 usedMemory: 242512
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.231ms...
RASUnit 14: 1 byte overwrite: 5.13ms...
RASUnit 14: 1 byte read: 1.385ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 383.0ms...
.TotalMemory: 2560000 maxMemory: 66650112 freeMemory: 2317352 usedMemory: 242648
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 9.508ms...
RASUnit 14: 1 byte overwrite: 10.881ms...
RASUnit 14: 1 byte read: 1.391ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 403.0ms...
.TotalMemory: 2355200 maxMemory: 66650112 freeMemory: 2112328 usedMemory: 242872
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.285ms...
RASUnit 14: 1 byte overwrite: 5.215ms...
RASUnit 14: 1 byte read: 1.396ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 406.0ms...
.TotalMemory: 2355200 maxMemory: 66650112 freeMemory: 2112184 usedMemory: 243016
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 133187 ms. BW: 0.1501648058744472 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 43219 ms. BW: 0.462759434507971 MB/s
.TotalMemory: 2355200 maxMemory: 66650112 freeMemory: 2109224 usedMemory: 245976
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 134247 ms. BW: 0.14897912057625123 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44804 ms. BW: 0.4463887152932774 MB/s
.TotalMemory: 4079616 maxMemory: 66650112 freeMemory: 3663472 usedMemory: 416144
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 139711 ms. BW: 0.14315265082921172 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57556 ms. BW: 0.3474876641879213 MB/s
.TotalMemory: 4816896 maxMemory: 66650112 freeMemory: 4387880 usedMemory: 429016
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 19828 ms. BW: 1.0086746015735324 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 100000 Time: 16177 ms. BW: 1.236323174877913 MB/s
.TotalMemory: 4816896 maxMemory: 66650112 freeMemory: 4389512 usedMemory: 427384
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 23824 ms. BW: 0.8394895903290799 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17574 ms. BW: 1.1380448389666553 MB/s
.TotalMemory: 4804608 maxMemory: 66650112 freeMemory: 4387936 usedMemory: 416672
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 6547 ms. BW: 3.054834275240568 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2103 ms. BW: 9.51022349025202 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66386312 usedMemory: 263800
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 809 ms. BW: 2.4721878862793574 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 377 ms. BW: 5.305039787798409 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1631224 usedMemory: 404488
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1783912 usedMemory: 251800
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1779840 usedMemory: 255872
.TotalMemory: 8359936 maxMemory: 66650112 freeMemory: 8120824 usedMemory: 239112
Exception in thread "INCompressor" java.lang.AssertionError
	at com.sleepycat.je.dbi.INList.removeLatchAlreadyHeld(INList.java:138)
	at com.sleepycat.je.tree.IN.accountForSubtreeRemoval(IN.java:1592)
	at com.sleepycat.je.tree.Tree.accountForSubtreeRemoval(Tree.java:2625)
	at com.sleepycat.je.tree.Tree.delete(Tree.java:329)
	at com.sleepycat.je.incomp.INCompressor.compressBin(INCompressor.java:461)
	at com.sleepycat.je.incomp.INCompressor.doCompress(INCompressor.java:349)
	at com.sleepycat.je.incomp.INCompressor.onWakeup(INCompressor.java:272)
	at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:178)
	at java.lang.Thread.run(Thread.java:595)
.TotalMemory: 3162112 maxMemory: 66650112 freeMemory: 2838368 usedMemory: 323744
E.
TotalMemory: 3162112 maxMemory: 66650112 freeMemory: 2827848 usedMemory: 334264
E.TotalMemory: 2711552 maxMemory: 66650112 freeMemory: 2370944 usedMemory: 340608
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1778144 usedMemory: 257568
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1775744 usedMemory: 259968
E.TotalMemory: 4689920 maxMemory: 66650112 freeMemory: 4261288 usedMemory: 428632
E.TotalMemory: 4558848 maxMemory: 66650112 freeMemory: 4165528 usedMemory: 393320
E.TotalMemory: 3338240 maxMemory: 66650112 freeMemory: 3087320 usedMemory: 250920
F.....
Time: 17,246.139
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
