mkdir -p classes
mkdir -p classes/gnu/getopt
cp gnu/getopt/*.properties classes/gnu/getopt
/usr/java/jdk1.5.0_07/bin/javac -g  -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare *.java 
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare NFSlib2/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare P2Runtime/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare P2Runtime/UnitTests/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare P2Runtime/experiments/*/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare PicShare/*.java
/usr/java/jdk1.5.0_07/bin/javah -jni -classpath classes/ NiceSocketImpl
gcc -shared -o libnicesock.so -g -O -I . -I /usr/include -I /usr/java/jdk1.5.0_07/include -I /usr/java/jdk1.5.0_07/include/linux NiceSocketImpl.c
NiceSocketImpl.c: In function 'Java_NiceSocketImpl_c_1connect':
NiceSocketImpl.c:124: warning: incompatible implicit declaration of built-in function 'memcpy'
/usr/java/jdk1.5.0_07/bin/javah -jni -classpath classes/ NiceSocketInputStream
gcc -shared -o libnicesockis.so -g -O -I . -I /usr/include -I /usr/java/jdk1.5.0_07/include -I /usr/java/jdk1.5.0_07/include/linux NiceSocketInputStream.c
/usr/java/jdk1.5.0_07/bin/javah -jni -classpath classes/ NiceSocketOutputStream
gcc -shared -o libnicesockos.so -g -O -I . -I /usr/include -I /usr/java/jdk1.5.0_07/include -I /usr/java/jdk1.5.0_07/include/linux NiceSocketOutputStream.c
/usr/java/jdk1.5.0_07/bin/javah -jni -classpath classes/ NiceServerSocket
gcc -shared -o libniceservsock.so -g -O -I . -I /usr/include -I /usr/java/jdk1.5.0_07/include -I /usr/java/jdk1.5.0_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'
g++ -D__NOP2__ -shared -I. -I/usr/include -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I/usr/include -I/usr/include/python2.4  -o libP2JavaWrapper.so P2Runtime/P2JavaWrapper.C -L/usr/lib -L/usr/lib/python2.4/config    
g++ -D__NOP2__ -I. -I/usr/include -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I/usr/include -I/usr/include/python2.4  P2Runtime/P2Server.c -L/usr/lib -L/usr/lib/python2.4/config     -o bin/P2Server
/usr/java/jdk1.5.0_07/bin/rmic -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare:. RMIServerImpl
/usr/java/jdk1.5.0_07/bin/rmic -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare RuntimeRMIServerImpl
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare NFSlib2/*.java 
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/Coda/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/Pangaea/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/Bayou/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/Bayou/experiments/localExp/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/Bayou/experiments/exp1/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/Bayou/experiments/exp2/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/ChainReplication/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/ChainReplication/experiments/exp1/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/ChainReplication/experiments/exp2/*.java	
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/TierStore/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare case-studies/TierStore/experiments/exp1/*.java
/usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -deprecation -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare NFS2Interface/*.java
# utils/junit/sanityCheck.sh
make classes/utils/junit/TestAll.class
make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
mkdir -p classes; /usr/java/jdk1.5.0_07/bin/javac -g   -source 1.4 -d classes -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare utils/junit/TestAll.java
make[1]: Leaving directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
/usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare -Dclass_root=classes -Dtest_type=UNIT junit.textui.TestRunner utils.junit.TestAll 
Loaded test case: PicShareWriteHistoryUnit
Loaded test case: SyncRequestUnit
Loaded test case: PicShareWriterUnit
Loaded test case: OutgoingBodyConnectionUnit
Loaded test case: CoreUnit
Loaded test case: NodeIdUnit
Loaded test case: IncommingConnectionUnit
Loaded test case: DebargoMsgUnit
Loaded test case: AcceptVVUnit
Loaded test case: UnbindMsgUnit
Loaded test case: PSIteratorUnit
Loaded test case: NiceServerSocketUnit
Loaded test case: SplitJoinUnit
Loaded test case: AttachJoinUnit
Loaded test case: DemandReadUnit
Loaded test case: PicShareReaderUnit
Loaded test case: OutgoingConnectionUnit
Loaded test case: ObjReaderWriterUnit
Loaded test case: DataStoreUnit
Loaded test case: ISStatusUnit
Loaded test case: AcceptStampUnit
Loaded test case: PingLatencyUnit
Loaded test case: PicShareReaderGCUnit
Loaded test case: SingleWriterLogUncommittedUnit
Loaded test case: ClientServerUnit
Loaded test case: SubscriptionSetUnit
Loaded test case: InvalListItemUnit
Loaded test case: AllPreciseSetsUnit
Loaded test case: InterestRegionUnit
Loaded test case: ThreeNodeTestUnit
Loaded test case: PersistentTupleInterfaceUnit
Loaded test case: RandomAccessStateUnitMT
Loaded test case: UpdateLogUnit
Loaded test case: StreamIdUnit
Loaded test case: RandomAccessStateUnit
Loaded test case: OutgoingBodyConnectionScanUnit
Loaded test case: PreciseSetUnit
Loaded test case: WorkQueueUnit
Loaded test case: SubscribeBWUnit
Number of test classes found: 39
.rmiregistry started
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
WARNING: InvalReciver -- heartbeats turned off

P2Runtime: started
.rmiregistry started
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Initialized writer 1
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Initialized writer 2
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Initialized reader
WARNING: OutgoingConnection -- heartbeats turned off

Set up subscriptions
AS Phase 1
WARNING: TBD: Sync requests should include in their body the name of the node that is to provide  the sync (not just the node that is requesting the sync. And replies should also include  the node that generated the sync reply (rather than requiring the receiver to get this info from the stream. This is in keeping with our notion that all messages should be self-describing.

WARNING: Don't use the same magic # for different types of connection (Replace this with RECONNECTION_CONNECTION_MAGIC or something) (and fix the receivers)

Receiver VV: AcceptVV:(<"2", -1> <"1", -1> <"0", 9> )
done
AS Phase 2
Receiver VV: AcceptVV:(<"2", -1> <"1", 9> <"0", 9> )
done
AS Phase 3
Receiver VV: AcceptVV:(<"2", -1> <"1", 19> <"0", 9> )
done
VV Phase 1
Receiver VV: AcceptVV:(<"2", -1> <"1", 19> <"0", 19> )
done
VV Phase 2
Receiver VV: AcceptVV:(<"2", -1> <"1", 29> <"0", 19> )
done
VV Phase 3
Receiver VV: AcceptVV:(<"2", -1> <"1", 39> <"0", 19> )
done
rmiregistry terminated
.rmiregistry started
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
P2Runtime: started
dont forget to: rmiregistry terminated
.rmiregistry started
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
P2Runtime: started
Time to do 1000 writes is 9862 ms
dont forget to: rmiregistry terminated
.Testing OutgoingBodyConnection.java...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
OutgoingConnection unable to send to node localhost:9501. Exception: java.net.ConnectException: Connection refused
waiting to send writes...1
waiting to send writes...2
waiting to send writes...3
SenderEvents left:[]
ReceiverEvents left:[informSubscribeBodySucceeded:1:/banana, informSubscribeBodyRemoved:1:/apple, informSubscribeBodyRemoved:1:/banana, informBodyStreamTerminated:1]
WARNING: Core::interruptedException shouldn't happen in current implementation, right?

java.lang.InterruptedException
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1741)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1774)
	at UpdateLog.waitUntilTentativeAppliedInternal(UpdateLog.java:1438)
	at UpdateLog.waitUntilTentativeApplied(UpdateLog.java:1406)
	at Core.applyBody(Core.java:1050)
	at BodyRecvWorker.run(BodyRecvWorker.java:137)
Exception in thread "Thread-107" java.lang.AssertionError
	at Core.applyBody(Core.java:1062)
	at BodyRecvWorker.run(BodyRecvWorker.java:137)
E.CoreUnit::testRecovery ... DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
..DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
..........DBG: MDD -- PersistentLog -- txnNoSync turned on; recovery won't work!
SplitJoinUnitHelper helper-200 stdout: DBG: MDD -- PersistentLog -- txnNoSync turned on; recovery won't work!
SplitJoinUnitHelper helper-300 stdout: DBG: MDD -- PersistentLog -- txnNoSync turned on; recovery won't work!
SplitJoinUnitHelper helper-100 stdout: DBG: MDD -- PersistentLog -- txnNoSync turned on; recovery won't work!
SplitJoinUnitHelper helper-200 stdout: WARNING: InvalReciver -- heartbeats turned off
SplitJoinUnitHelper helper-200 stdout: 
SplitJoinUnitHelper helper-300 stdout: WARNING: InvalReciver -- heartbeats turned off
SplitJoinUnitHelper helper-300 stdout: 
SplitJoinUnitHelper helper-100 stdout: WARNING: OutgoingConnection -- heartbeats turned off
SplitJoinUnitHelper helper-100 stdout: 
SplitJoinUnitHelper helper-100 stdout: WARNING: InvalReciver -- heartbeats turned off
SplitJoinUnitHelper helper-100 stdout: 
SplitJoinUnitHelper helper-200 stdout: WARNING: OutgoingConnection -- heartbeats turned off
SplitJoinUnitHelper helper-200 stdout: 
SplitJoinUnitHelper helper-300 stdout: WARNING: OutgoingConnection -- heartbeats turned off
SplitJoinUnitHelper helper-300 stdout: 
.DBG: MDD -- PersistentLog -- txnNoSync turned on; recovery won't work!
AttachJoinUnitHelper helper-100 stdout: doAlpha
AttachJoinUnitHelper helper-100 stdout: DBG: MDD -- PersistentLog -- txnNoSync turned on; recovery won't work!
AttachJoinUnitHelper helper-200 stdout: doBeta
AttachJoinUnitHelper helper-200 stdout: DBG: MDD -- PersistentLog -- txnNoSync turned on; recovery won't work!
AttachJoinUnitHelper helper-100 stdout: WARNING: InvalReciver -- heartbeats turned off
AttachJoinUnitHelper helper-100 stdout: 
AttachJoinUnitHelper helper-200 stdout: WARNING: OutgoingConnection -- heartbeats turned off
AttachJoinUnitHelper helper-200 stdout: 
AttachJoinUnitHelper helper-200 stdout: WARNING: InvalReciver -- heartbeats turned off
AttachJoinUnitHelper helper-200 stdout: 
AttachJoinUnitHelper helper-100 stdout: WARNING: OutgoingConnection -- heartbeats turned off
AttachJoinUnitHelper helper-100 stdout: 
.rmiregistry started
Client Started
Server stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
Server stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare DemandReadUnit_Server; 
Server Started
Client stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
Client stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare DemandReadUnit_Client; 
Client stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Server stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Client stdout: WARNING: InvalReciver -- heartbeats turned off
Client stdout: 
Client stderr: P2Runtime: started
Server stdout: WARNING: InvalReciver -- heartbeats turned off
Server stdout: 
Server stderr: P2Runtime: started
Server stdout: WARNING: OutgoingConnection -- heartbeats turned off
Server stdout: 
Server stdout: WARNING: Don't use the same magic # for different types of connection (Replace this with RECONNECTION_CONNECTION_MAGIC or something) (and fix the receivers)
Server stdout: 
Client terminated
Server terminated
rmiregistry terminated
.rmiregistry started
writer 0 started
PicShareReaderUnitHelper 0 stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
PicShareReaderUnitHelper 0 stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare PicShareReaderUnitHelper 0; 
PicShareReaderUnitHelper 0 stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
PicShareReaderUnitHelper 0 stdout: WARNING: InvalReciver -- heartbeats turned off
PicShareReaderUnitHelper 0 stdout: 
PicShareReaderUnitHelper 0 stderr: P2Runtime: started
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
P2Runtime: started
PicShareReaderUnitHelper 0 stdout: WARNING: OutgoingConnection -- heartbeats turned off
PicShareReaderUnitHelper 0 stdout: 
PicShareReaderUnitHelper 0 stdout: WARNING: Don't use the same magic # for different types of connection (Replace this with RECONNECTION_CONNECTION_MAGIC or something) (and fix the receivers)
PicShareReaderUnitHelper 0 stdout: 
IncommingConnectionWorker closing stream: terminated because of EOFException java.io.EOFException
RMIClient::subscribeInval(senderID=1 receiverId=100SS= /sZojM1kqYgWYqCmMhUv3LqMzLjkgSOe8/config/*:/sZojM1kqYgWYqCmMhUv3LqMzLjkgSOe8/data/*:/sZojM1kqYgWYqCmMhUv3LqMzLjkgSOe8/metadata/*startvv=AcceptVV:(<"1", 121> <"100", -1> )
java.rmi.ConnectException: Connection refused to host: 128.83.143.28; nested exception is: 
	java.net.ConnectException: Connection refused
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
	at RMIServerImpl_Stub.subscribeInval(Unknown Source)
	at RMIClient.subscribeInval(RMIClient.java:705)
	at RMIClient.subscribeInval(RMIClient.java:657)
	at PendingInvalSubscriptionWorkerThread.issueCommand(PendingInvalSubscriptionWorkerThread.java:96)
	at PendingInvalSubscriptionWorkerThread.run(PendingInvalSubscriptionWorkerThread.java:58)
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:516)
	at java.net.Socket.connect(Socket.java:466)
	at java.net.Socket.<init>(Socket.java:366)
	at java.net.Socket.<init>(Socket.java:179)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
	... 8 more
PicShareReaderUnitHelper 0 stdout: make[1]: Leaving directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
writer 1 started
PicShareReaderUnitHelper 1 stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
PicShareReaderUnitHelper 1 stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare PicShareReaderUnitHelper 1; 
PicShareReaderUnitHelper 1 stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
RMIClient::subscribeInval(senderID=1 receiverId=100SS= /sZojM1kqYgWYqCmMhUv3LqMzLjkgSOe8/config/*:/sZojM1kqYgWYqCmMhUv3LqMzLjkgSOe8/data/*:/sZojM1kqYgWYqCmMhUv3LqMzLjkgSOe8/metadata/*startvv=AcceptVV:(<"1", 121> <"100", -1> )
java.rmi.ConnectException: Connection refused to host: 128.83.143.28; nested exception is: 
	java.net.ConnectException: Connection refused
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
	at RMIServerImpl_Stub.subscribeInval(Unknown Source)
	at RMIClient.subscribeInval(RMIClient.java:705)
	at RMIClient.subscribeInval(RMIClient.java:657)
	at PendingInvalSubscriptionWorkerThread.issueCommand(PendingInvalSubscriptionWorkerThread.java:96)
	at PendingInvalSubscriptionWorkerThread.run(PendingInvalSubscriptionWorkerThread.java:58)
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:516)
	at java.net.Socket.connect(Socket.java:466)
	at java.net.Socket.<init>(Socket.java:366)
	at java.net.Socket.<init>(Socket.java:179)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
	... 8 more
PicShareReaderUnitHelper 1 stdout: WARNING: InvalReciver -- heartbeats turned off
PicShareReaderUnitHelper 1 stdout: 
PicShareReaderUnitHelper 1 stdout: WARNING: OutgoingConnection -- heartbeats turned off
PicShareReaderUnitHelper 1 stdout: 
PicShareReaderUnitHelper 1 stderr: P2Runtime: started
PicShareReaderUnitHelper 1 stdout: WARNING: Don't use the same magic # for different types of connection (Replace this with RECONNECTION_CONNECTION_MAGIC or something) (and fix the receivers)
PicShareReaderUnitHelper 1 stdout: 
IncommingConnectionWorker closing stream: terminated because of EOFException java.io.EOFException
RMIClient::subscribeInval(senderID=1 receiverId=100SS= /sZojM1kqYgWYqCmMhUv3LqMzLjkgSOe8/config/*:/sZojM1kqYgWYqCmMhUv3LqMzLjkgSOe8/data/*:/sZojM1kqYgWYqCmMhUv3LqMzLjkgSOe8/metadata/*startvv=AcceptVV:(<"1", 181> <"100", -1> )
java.rmi.ConnectException: Connection refused to host: 128.83.143.28; nested exception is: 
	java.net.ConnectException: Connection refused
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
	at RMIServerImpl_Stub.subscribeInval(Unknown Source)
	at RMIClient.subscribeInval(RMIClient.java:705)
	at RMIClient.subscribeInval(RMIClient.java:657)
	at PendingInvalSubscriptionWorkerThread.issueCommand(PendingInvalSubscriptionWorkerThread.java:96)
	at PendingInvalSubscriptionWorkerThread.run(PendingInvalSubscriptionWorkerThread.java:58)
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:516)
	at java.net.Socket.connect(Socket.java:466)
	at java.net.Socket.<init>(Socket.java:366)
	at java.net.Socket.<init>(Socket.java:179)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
	... 8 more
PicShareReaderUnitHelper 1 stdout: make[1]: Leaving directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
writer terminated
rmiregistry terminated
.DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
.rmiregistry started
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
.rmiregistry started
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
.DataStoreUnit selftest SUCCEEDS
....PingLatencyUnitHelper  stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
PingLatencyUnitHelper  stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare PingLatencyUnitHelper; 
.rmiregistry started
writer 0 started
PicShareReaderGCUnitHelper arg stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
PicShareReaderGCUnitHelper arg stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare PicShareReaderGCUnitHelper 0; 
barrier 1
PicShareReaderGCUnitHelper arg stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
PicShareReaderGCUnitHelper arg stdout: WARNING: InvalReciver -- heartbeats turned off
PicShareReaderGCUnitHelper arg stdout: 
PicShareReaderGCUnitHelper arg stderr: P2Runtime: started
PicShareReaderGCUnitHelper arg stdout: .........Going to sync stat to disk
writer done writing
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
PicShareReaderGCUnitHelper arg stdout: disk synced
P2Runtime: started
barrier 2
PicShareReaderGCUnitHelper arg stdout: ....WARNING: OutgoingConnection -- heartbeats turned off
PicShareReaderGCUnitHelper arg stdout: 
PicShareReaderGCUnitHelper arg stdout: .WARNING: Don't use the same magic # for different types of connection (Replace this with RECONNECTION_CONNECTION_MAGIC or something) (and fix the receivers)
PicShareReaderGCUnitHelper arg stdout: 
PicShareReaderGCUnitHelper arg stdout: ....Going to sync stat to disk
PicShareReaderGCUnitHelper arg stdout: disk synced
................................................................................................................................................................barrier 3
PicShareReaderGCUnitHelper arg stdout: PicShareReaderGCUnitHelper exiting
PicShareReaderGCUnitHelper arg stderr: OutgoingConnection unable to send to node localhost:6478. Exception: java.io.IOException: UpdateLog time-to-die
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: 
	java.io.EOFException
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
	at RMIServerImpl_Stub.subscribeBody(Unknown Source)
	at RMIClient.subscribeBody(RMIClient.java:283)
	at RMIClient.subscribeBody(RMIClient.java:261)
	at PendingBodySubscriptionWorkerThread.issueCommand(PendingBodySubscriptionWorkerThread.java:74)
	at PendingBodySubscriptionWorkerThread.run(PendingBodySubscriptionWorkerThread.java:54)
Caused by: java.io.EOFException
	at java.io.DataInputStream.readByte(DataInputStream.java:243)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189)
	... 6 more
PicShareReaderGCUnitHelper arg stdout: make[1]: Leaving directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
writer terminated
rmiregistry terminated
...rmiregistry started
Client stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
Client stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare ClientServerUnit_Client; 
Client Started
Server Started
Server stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
Server stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare ClientServerUnit_Server; 
Server stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Client stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Server stdout: WARNING: InvalReciver -- heartbeats turned off
Server stdout: 
Server stderr: P2Runtime: started
Client stdout: WARNING: InvalReciver -- heartbeats turned off
Client stdout: 
Client stderr: P2Runtime: started
Server stdout: WARNING: OutgoingConnection -- heartbeats turned off
Server stdout: 
Server stdout: WARNING: Don't use the same magic # for different types of connection (Replace this with RECONNECTION_CONNECTION_MAGIC or something) (and fix the receivers)
Server stdout: 
Client terminated
........
...rmiregistry started
Initiator started
Initiator stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
Initiator stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare ThreeNodeTestUnit_Initiator; 
Client started
Server started
Client stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
Client stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare ThreeNodeTestUnit_Client; 
Server stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
Server stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare ThreeNodeTestUnit_Server; 
Initiator stdout: ThreeNodeTestUnit_Initiator Starting...
Initiator stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Client stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Server stdout: DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Initiator stdout: WARNING: InvalReciver -- heartbeats turned off
Initiator stdout: 
Initiator stderr: P2Runtime: started
Client stdout: WARNING: InvalReciver -- heartbeats turned off
Client stdout: 
Client stderr: P2Runtime: started
Initiator stdout: Barrier 1 ...
Server stdout: WARNING: InvalReciver -- heartbeats turned off
Server stdout: 
Server stderr: P2Runtime: started
Server stdout: WARNING: OutgoingConnection -- heartbeats turned off
Server stdout: 
Server stdout: WARNING: Don't use the same magic # for different types of connection (Replace this with RECONNECTION_CONNECTION_MAGIC or something) (and fix the receivers)
Server stdout: 
Initiator stdout: ThreeNodeTestUnit_Initiator established subscriptions
Initiator stdout: Barrier 2 ...
Initiator stdout: Barrier 3 ...
Initiator stdout: initiator - inval subs [2->0::/*::0]
Initiator stdout: initiator - body subs 
Initiator stdout: client - inval subs [2->1::/*::0]
Initiator stdout: client - body subs [2->1::/*::0]
Initiator stdout: server - inval subs [2->1::/*::0][2->0::/*::0]
Initiator stdout: server - body subs [2->1::/*::0]
Initiator stdout: ThreeNodeTestUnit_Initiator finished checking subscriptions
Initiator stdout: Barrier 4 ...
Initiator stdout: ThreeNodeTestUnit_Initiator finished reading data
Initiator stdout: Barrier 5 ...
Initiator stdout: initiator - inval subs 
Initiator stdout: client - inval subs [2->1::/*::0]
Initiator stdout: client - body subs 
Initiator stdout: server - inval subs [2->1::/*::0]
Initiator stdout: server - body subs 
Initiator stdout: ThreeServerUnit_Initiator removed subscriptions
Initiator stdout: Barrier 6 ...
Initiator stdout: Barrier 7 ...
Initiator stdout: ThreeServerUnit_Initiator finished initiating DemandReads
Initiator stdout: Barrier 8 ...
Initiator stdout: Barrier 9...
Initiator destroyed
Client destroyed
Server destroyed
rmiregistry terminated
.rmiregistry started
Exception in thread "Thread-225" java.lang.NullPointerException
	at P2Config.getSubTimeout(P2Config.java:194)
	at PendingSubscriptionQueue.getNextAndUpdateTimeout(PendingSubscriptionQueue.java:91)
	at PendingInvalSubscriptionWorkerThread.run(PendingInvalSubscriptionWorkerThread.java:51)
Exception in thread "Thread-221" java.lang.NullPointerException
	at P2Config.getSubTimeout(P2Config.java:194)
	at PendingSubscriptionQueue.getNextAndUpdateTimeout(PendingSubscriptionQueue.java:91)
	at PendingBodySubscriptionWorkerThread.run(PendingBodySubscriptionWorkerThread.java:51)
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
P2Runtime: started
Exception in thread "Thread-584" java.lang.NullPointerException
	at P2Config.getSubTimeout(P2Config.java:194)
	at PendingSubscriptionQueue.getNextAndUpdateTimeout(PendingSubscriptionQueue.java:91)
	at PendingBodySubscriptionWorkerThread.run(PendingBodySubscriptionWorkerThread.java:51)
..DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
Pass test 1.0
Pass Test 1.1
Pass Test 1.2
Pass Test 1.3
Pass Test 1.5
Pass Test 1.6
Pass Test 1.7
Testing multi writers
.DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
.DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
...TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60792288 usedMemory: 71893536
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60779128 usedMemory: 71906696
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60704144 usedMemory: 71981680
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60506208 usedMemory: 72179616
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60729816 usedMemory: 71956008
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60080176 usedMemory: 72605648
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60768120 usedMemory: 71917704
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60768232 usedMemory: 71917592
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60764448 usedMemory: 71921376
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60763160 usedMemory: 71922664
.TotalMemory: 132685824 maxMemory: 266403840 freeMemory: 60768560 usedMemory: 71917264
.TotalMemory: 136044544 maxMemory: 266403840 freeMemory: 64115328 usedMemory: 71929216
.TotalMemory: 136044544 maxMemory: 266403840 freeMemory: 64113512 usedMemory: 71931032
.TotalMemory: 136044544 maxMemory: 266403840 freeMemory: 64109648 usedMemory: 71934896
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 65195600 usedMemory: 75166128
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 65194312 usedMemory: 75167416
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 2.02ms...
RASUnit 13: Overwrite 1 byte file: 2.76ms...
RASUnit 13: Read 1 byte file: 0.48ms...
RASUnit 13: Append 1 byte to file: 6.78ms...RASUnit 13: Delete 2 byte file: 2.3ms....TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68193520 usedMemory: 72168208
Test13 [small file performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 3.36ms...
RASUnit 13: Overwrite 1 byte file: 4.3ms...
RASUnit 13: Read 1 byte file: 0.48ms...
RASUnit 13: Append 1 byte to file: 8.12ms...RASUnit 13: Delete 2 byte file: 2.3ms....TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 67962536 usedMemory: 72399192
Test13 [small file performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 40.4ms...
RASUnit 13: Overwrite 1 byte file: 30.46ms...
RASUnit 13: Read 1 byte file: 0.48ms...
RASUnit 13: Append 1 byte to file: 39.6ms...RASUnit 13: Delete 2 byte file: 44.88ms....TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68142320 usedMemory: 72219408
Test13 [small file performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 13: Create 1 byte file: 4.66ms...
RASUnit 13: Overwrite 1 byte file: 5.12ms...
RASUnit 13: Read 1 byte file: 0.48ms...
RASUnit 13: Append 1 byte to file: 9.12ms...RASUnit 13: Delete 2 byte file: 3.36ms....TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 67907448 usedMemory: 72454280
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE NO_DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 1.76ms...
RASUnit 14: 1 byte overwrite: 2.6ms...
RASUnit 14: 1 byte read: 0.5ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 19.0ms...
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68415696 usedMemory: 71946032
Test14 [small write performance test  NO_SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 3.06ms...
RASUnit 14: 1 byte overwrite: 3.9ms...
RASUnit 14: 1 byte read: 0.62ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 18.0ms...
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68404448 usedMemory: 71957280
Test14 [small write performance test  SYNC_EACH NO_SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 30.98ms...
RASUnit 14: 1 byte overwrite: 29.6ms...
RASUnit 14: 1 byte read: 0.46ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 60.0ms...
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68408848 usedMemory: 71952880
Test14 [small write performance test  NO_SYNC_EACH SYNC_PHASE DO_EXPENSIVE_SANITY_CHECKS ]...RASUnit 14: 1 byte write: 4.42ms...
RASUnit 14: 1 byte overwrite: 5.36ms...
RASUnit 14: 1 byte read: 0.62ms...
RASUnit 14: Delete 1000-byte, 1000-write file: 69.0ms...
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68405816 usedMemory: 71955912
  Test15 WRITE wss: 100000 passes: 20 fSize: 1000 Time: 10514 ms. BW: 0.19022256039566293 MB/s
  Test15 READ wss: 100000 passes: 20 fSize: 1000 Time: 5643 ms. BW: 0.354421407052986 MB/s
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68069488 usedMemory: 72292240
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000 Time: 9855 ms. BW: 0.20294266869609334 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000 Time: 5791 ms. BW: 0.34536349507857017 MB/s
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 66684512 usedMemory: 73677216
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68438792 usedMemory: 71922936
  Test15 WRITE wss: 1000000 passes: 2 fSize: 100000 Time: 2623 ms. BW: 0.7624857033930614 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 100000 Time: 1252 ms. BW: 1.597444089456869 MB/s
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 66963512 usedMemory: 73398216
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 66961400 usedMemory: 73400328
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 66959584 usedMemory: 73402144
  Test15 WRITE wss: 1000000 passes: 2 fSize: 1000000 Time: 755 ms. BW: 2.6490066225165565 MB/s
  Test15 READ wss: 1000000 passes: 2 fSize: 1000000 Time: 498 ms. BW: 4.016064257028113 MB/s
.
TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68496176 usedMemory: 71865552
.TotalMemory: 140361728 maxMemory: 266403840 freeMemory: 68494240 usedMemory: 71867488
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 74293552 usedMemory: 73961168
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 75056528 usedMemory: 73198192
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 76462632 usedMemory: 71792088
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 76460224 usedMemory: 71794496
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 76457560 usedMemory: 71797160
TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 76397272 usedMemory: 71857448
TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 76021264 usedMemory: 72233456
TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 75734408 usedMemory: 72520312
TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 75099624 usedMemory: 73155096
TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 74148088 usedMemory: 74106632
TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 76297400 usedMemory: 71957320
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 76290448 usedMemory: 71964272
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 76303952 usedMemory: 71950768
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 75568840 usedMemory: 72685880
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 75441776 usedMemory: 72812944
.TotalMemory: 148254720 maxMemory: 266403840 freeMemory: 75439840 usedMemory: 72814880
TBD: Write a test that tests reads and writes with offset > 2^32
.Testing OutgoingBodyConnectionScan.java...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
DBG: MDD -- PersistentLog -- txnNoSync turned off; recovery should work...
OutgoingConnection unable to send to node localhost:9388. Exception: java.io.IOException: UpdateLog time-to-die
....DBG: MDD -- PersistentLog -- txnNoSync turned on; recovery won't work!
SubscribeBWUnitHelper only helper stdout: make[1]: Entering directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'
SubscribeBWUnitHelper only helper stdout: /usr/java/jdk1.5.0_07/bin/java -ea -Djava.rmi.server.codebase="file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt1/classes/ file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt2/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/expt3/classes/  file:///home/nalini/tmp/universalreplication-junit/universalReplication/code/experiments/sosp/classes" -Djava.security.policy=/home/nalini/tmp/universalreplication-junit/universalReplication/code/java.security.SecurityPermission -Xmx256m -ea -esa -classpath /home/nalini/tmp/universalreplication-junit/universalReplication/code/classes:/home/nalini/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:./PicShare SubscribeBWUnitHelper; 
SubscribeBWUnitHelper only helper stdout: DBG: MDD -- PersistentLog -- txnNoSync turned on; recovery won't work!
SubscribeBWUnitHelper only helper stdout: WARNING: InvalReciver -- heartbeats turned off
SubscribeBWUnitHelper only helper stdout: 
SubscribeBWUnitHelper only helper stdout: 3 wait for /coarse-data/4/9/9
SubscribeBWUnitHelper only helper stdout: 3 wait for return /coarse-data/4/9/9
SubscribeBWUnitHelper only helper stdout: WARNING: OutgoingConnection -- heartbeats turned off
SubscribeBWUnitHelper only helper stdout: 
SubscribeBWUnitHelper only helper stdout: 4 wait for /fine-dataLOG/4/9/9
SubscribeBWUnitHelper only helper stdout: 4 wait for /fine-dataLOG/4/9/9
SubscribeBWUnitHelper only helper stdout: **********TBD: update helper to only write right number of objects *****
..................................................SubscribeBWUnitHelper only helper stdout: 4 wait for /fine-dataCHECKPOINT/4/9/9
SubscribeBWUnitHelper only helper stdout: 4 wait for /fine-dataCHECKPOINT/4/9/9
SubscribeBWUnitHelper only helper stdout: **********TBD: update helper to only write right number of objects *****
..................................................SubscribeBWUnitHelper only helper stderr: java.io.IOException: UpdateLog time-to-die
SubscribeBWUnitHelper only helper stderr: 	at UpdateLog.getNext(UpdateLog.java:1091)
SubscribeBWUnitHelper only helper stderr: 	at InvalIterator.getNext(InvalIterator.java:269)
SubscribeBWUnitHelper only helper stderr: 	at OutgoingConnectionWorker.run(OutgoingConnection.java:973)
SubscribeBWUnitHelper only helper stderr:  Ignore any exceptions during shutdown: java.io.IOException: UpdateLog time-to-die
SubscribeBWUnitHelper only helper stdout: make[1]: Leaving directory `/home/nalini/tmp/universalreplication-junit/universalReplication/code'

Time: 1,294.996
There was 1 error:
1) testOutgoingBodyConnection(OutgoingBodyConnectionUnit)java.lang.AssertionError: Not all events have gone through
	at OutgoingBodyConnectionUnit.testOutgoingBodyConnection(OutgoingBodyConnectionUnit.java:197)
	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: 98,  Failures: 0,  Errors: 1

make: *** [junittext] Error 1
