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
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: 1806160 usedMemory: 225456
GCForcer worker thread exits b/c GCForcer.killWorker called
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1678344 usedMemory: 353272
GCForcer worker thread exits b/c GCForcer.killWorker called
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1750104 usedMemory: 281512
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1801568 usedMemory: 230048
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1736848 usedMemory: 294768
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1801296 usedMemory: 230320
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1785976 usedMemory: 245640
.TotalMemory: 2031616 maxMemory: 66650112 freeMemory: 1785264 usedMemory: 246352
.TotalMemory: 5132288 maxMemory: 66650112 freeMemory: 4701088 usedMemory: 431200
.TotalMemory: 4825088 maxMemory: 66650112 freeMemory: 4388544 usedMemory: 436544
.TotalMemory: 2052096 maxMemory: 66650112 freeMemory: 1807752 usedMemory: 244344
.TotalMemory: 8761344 maxMemory: 66650112 freeMemory: 8216320 usedMemory: 545024
.TotalMemory: 8065024 maxMemory: 66650112 freeMemory: 7517656 usedMemory: 547368
.TotalMemory: 32014336 maxMemory: 66650112 freeMemory: 31754056 usedMemory: 260280
.TotalMemory: 19853312 maxMemory: 66650112 freeMemory: 19598968 usedMemory: 254344
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.143ms...
RASUnit 13: Overwrite 1 byte file: 3.92ms...
RASUnit 13: Read 1 byte file: 1.373ms...
RASUnit 13: Append 1 byte to file: 3.098ms...RASUnit 13: Delete 2 byte file: 3.089ms....TotalMemory: 2551808 maxMemory: 66650112 freeMemory: 2229520 usedMemory: 322288
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.548ms...
RASUnit 13: Overwrite 1 byte file: 5.174ms...
RASUnit 13: Read 1 byte file: 1.362ms...
RASUnit 13: Append 1 byte to file: 4.497ms...RASUnit 13: Delete 2 byte file: 3.29ms....TotalMemory: 2711552 maxMemory: 66650112 freeMemory: 2471232 usedMemory: 240320
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 12.324ms...
RASUnit 13: Overwrite 1 byte file: 11.064ms...
RASUnit 13: Read 1 byte file: 1.398ms...
RASUnit 13: Append 1 byte to file: 10.101ms...RASUnit 13: Delete 2 byte file: 10.492ms....TotalMemory: 2568192 maxMemory: 66650112 freeMemory: 2326696 usedMemory: 241496
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.657ms...
RASUnit 13: Overwrite 1 byte file: 5.412ms...
RASUnit 13: Read 1 byte file: 1.407ms...
RASUnit 13: Append 1 byte to file: 4.635ms...RASUnit 13: Delete 2 byte file: 3.123ms....TotalMemory: 2568192 maxMemory: 66650112 freeMemory: 2327016 usedMemory: 241176
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 2.865ms...
RASUnit 14: 1 byte overwrite: 3.695ms...
RASUnit 14: 1 byte read: 1.391ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 367.0ms...
.TotalMemory: 2568192 maxMemory: 66650112 freeMemory: 2327648 usedMemory: 240544
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.254ms...
RASUnit 14: 1 byte overwrite: 4.984ms...
RASUnit 14: 1 byte read: 1.553ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 365.0ms...
.TotalMemory: 2568192 maxMemory: 66650112 freeMemory: 2327480 usedMemory: 240712
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 9.275ms...
RASUnit 14: 1 byte overwrite: 10.176ms...
RASUnit 14: 1 byte read: 1.384ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 398.0ms...
.TotalMemory: 2355200 maxMemory: 66650112 freeMemory: 2113752 usedMemory: 241448
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.314ms...
RASUnit 14: 1 byte overwrite: 5.215ms...
RASUnit 14: 1 byte read: 1.389ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 410.0ms...
.TotalMemory: 2355200 maxMemory: 66650112 freeMemory: 2113880 usedMemory: 241320
  Test15 WRITE wss: 100000 passes: 200 fSize: 1000 Time: 133556 ms. BW: 0.1497499176375453 MB/s
  Test15 READ wss: 100000 passes: 200 fSize: 1000 Time: 43139 ms. BW: 0.4636176081967593 MB/s
.TotalMemory: 2355200 maxMemory: 66650112 freeMemory: 2114192 usedMemory: 241008
  Test15 WRITE wss: 1000000 passes: 20 fSize: 1000 Time: 134747 ms. BW: 0.14842631004771906 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 1000 Time: 44762 ms. BW: 0.4468075599839149 MB/s
.TotalMemory: 4096000 maxMemory: 66650112 freeMemory: 3682424 usedMemory: 413576
  Test15 WRITE wss: 10000000 passes: 2 fSize: 1000 Time: 139522 ms. BW: 0.143346568999871 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 1000 Time: 57728 ms. BW: 0.3464523281596452 MB/s
.TotalMemory: 4804608 maxMemory: 66650112 freeMemory: 4390904 usedMemory: 413704
  Test15 WRITE wss: 1000000 passes: 20 fSize: 100000 Time: 23652 ms. BW: 0.8455944529003889 MB/s
  Test15 READ wss: 1000000 passes: 20 fSize: 100000 Time: 15803 ms. BW: 1.2655824843384167 MB/s
.TotalMemory: 4804608 maxMemory: 66650112 freeMemory: 4380208 usedMemory: 424400
  Test15 WRITE wss: 10000000 passes: 2 fSize: 100000 Time: 23950 ms. BW: 0.8350730688935282 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 100000 Time: 17082 ms. BW: 1.1708230886313078 MB/s
.TotalMemory: 5038080 maxMemory: 66650112 freeMemory: 4624176 usedMemory: 413904
  Test15 WRITE wss: 10000000 passes: 2 fSize: 10000000 Time: 7241 ms. BW: 2.7620494406849883 MB/s
  Test15 READ wss: 10000000 passes: 2 fSize: 10000000 Time: 2378 ms. BW: 8.410428931875526 MB/s
.TotalMemory: 66650112 maxMemory: 66650112 freeMemory: 66303928 usedMemory: 346184
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 806 ms. BW: 2.4813895781637716 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 376 ms. BW: 5.319148936170213 MB/s
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1633368 usedMemory: 402344
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1787984 usedMemory: 247728
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1783864 usedMemory: 251848
.TotalMemory: 6303744 maxMemory: 66650112 freeMemory: 5920320 usedMemory: 383424
.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1712464 usedMemory: 323248
E.
TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1788944 usedMemory: 246768
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1782680 usedMemory: 253032
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1779992 usedMemory: 255720
E.TotalMemory: 2035712 maxMemory: 66650112 freeMemory: 1777856 usedMemory: 257856
E.TotalMemory: 4628480 maxMemory: 66650112 freeMemory: 4202728 usedMemory: 425752
E.TotalMemory: 4628480 maxMemory: 66650112 freeMemory: 4238440 usedMemory: 390040
E.TotalMemory: 3289088 maxMemory: 66650112 freeMemory: 3040848 usedMemory: 248240
F.....
Time: 17,219.649
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
