Revision: 15674
Author: [email protected]
Date: Wed Dec  8 05:46:44 2010
Log: Update Issue 1874

Adding all non regression tests to hudson
http://code.google.com/p/mobicents/source/detail?r=15674

Modified:
/trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/auto-clustering-failover-test.sh /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/auto-prepare-example.sh /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/b2bua/call-forwarding-receiver-early.xml /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/b2bua/custom-call-forwarding-receiver-early.xml /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/proxy/location-service-receiver-early.xml

=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/auto-clustering-failover-test.sh Sun Dec 5 16:23:56 2010 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/auto-clustering-failover-test.sh Wed Dec 8 05:46:44 2010
@@ -68,6 +68,32 @@

 ./auto-run-test.sh custom-b2bua-tcp-tcp result.txt

+#Kill the app servers
+./auto-kill-process-tree.sh `cat $config1.pid` $config1
+./auto-kill-process-tree.sh `cat $config2.pid` $config2
+
+sleep 10
+
+##################################
+# Test Custom B2BUA Early Dialog Failover
+##################################
+echo "Test Custom B2BUA Early Dialog Failover"
+echo "================================"
+./auto-prepare-example.sh custom-b2bua-early $config1
+./auto-prepare-example.sh custom-b2bua-early $config2
+
+./auto-start-jboss-server.sh $config2 $config2.pid 1 custom-b2bua-early
+
+#Wait to boot
+sleep $HALFSTARTSLEEP
+
+./auto-start-jboss-server.sh $config1 $config1.pid 0 custom-b2bua-early
+
+#Wait to boot
+sleep $HALFSTARTSLEEP
+
+./auto-run-test.sh custom-b2bua-early result.txt
+
 #Kill the app servers
 ./auto-kill-process-tree.sh `cat $config1.pid` $config1
 ./auto-kill-process-tree.sh `cat $config2.pid` $config2
@@ -108,6 +134,32 @@

 ./auto-run-test.sh b2bua-remote-send-bye-no-ring result.txt

+#Kill the app servers
+./auto-kill-process-tree.sh `cat $config1.pid` $config1
+./auto-kill-process-tree.sh `cat $config2.pid` $config2
+
+sleep 10
+
+##################################
+# Test b2bua Early Dialog Failover
+##################################
+echo "Test b2bua early dialog failover"
+echo "================================"
+./auto-prepare-example.sh b2bua-early $config1
+./auto-prepare-example.sh b2bua-early $config2
+
+./auto-start-jboss-server.sh $config2 $config2.pid 0 b2bua-early
+
+#Wait to boot
+sleep $HALFSTARTSLEEP
+
+./auto-start-jboss-server.sh $config1 $config1.pid 0 b2bua-early
+
+#Wait to boot
+sleep $HALFSTARTSLEEP
+
+./auto-run-test.sh b2bua-early result.txt
+
 #Kill the app servers
 ./auto-kill-process-tree.sh `cat $config1.pid` $config1
 ./auto-kill-process-tree.sh `cat $config2.pid` $config2
@@ -147,6 +199,33 @@

 sleep 10

+##################################
+# Test proxy early failover
+##################################
+echo "Test proxy aerly failover"
+echo "================================"
+./auto-prepare-example.sh proxy-early $config1
+./auto-prepare-example.sh proxy-early $config2
+
+./auto-start-jboss-server.sh $config2 $config2.pid 1 proxy-early
+
+#Wait to boot
+sleep $HALFSTARTSLEEP
+
+./auto-start-jboss-server.sh $config1 $config1.pid 0 proxy-early
+
+#Wait to boot
+sleep $HALFSTARTSLEEP
+
+./auto-run-test.sh proxy-early result.txt
+
+#Kill the app servers
+./auto-kill-process-tree.sh `cat $config1.pid` $config1
+./auto-kill-process-tree.sh `cat $config2.pid` $config2
+
+sleep 10
+
+
 ##################################
 # Test UAS
 ##################################
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/auto-prepare-example.sh Mon Nov 22 11:42:53 2010 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/auto-prepare-example.sh Wed Dec 8 05:46:44 2010
@@ -11,6 +11,14 @@
cp $EXAMPLES_HOME/location-service-distributable/target/location-service-distributable-*.war $JBOSS_HOME/server/$config/deploy cp $EXAMPLES_HOME/location-service-distributable/distributable-location-service-dar.properties $JBOSS_HOME/server/$config/conf/dars/mobicents-dar.properties
                    ;;
+           proxy-early)
+                       echo "Distributed example used is proxy early failover"
+ mvn clean install -f $EXAMPLES_HOME/location-service-distributable/pom.xml + rm -rf $JBOSS_HOME/server/$config/deploy/location-service-distributable-*.war + cp $EXAMPLES_HOME/location-service-distributable/target/location-service-distributable-*.war $JBOSS_HOME/server/$config/deploy + cp $EXAMPLES_HOME/location-service-distributable/distributable-location-service-dar.properties $JBOSS_HOME/server/$config/conf/dars/mobicents-dar.properties + cp setup/jboss-5/mss-sip-stack-jboss-early-failover.properties $JBOSS_HOME/server/$config/conf/mss-sip-stack.properties
+                   ;;
            b2bua)
                    echo "Distributed example used is b2bua"
mvn clean install -f $EXAMPLES_HOME/call-forwarding-distributable/pom.xml
@@ -18,13 +26,29 @@
cp $EXAMPLES_HOME/call-forwarding-distributable/target/call-forwarding-distributable-*.war $JBOSS_HOME/server/$config/deploy cp $EXAMPLES_HOME/call-forwarding-distributable/distributable-call-forwarding-dar.properties $JBOSS_HOME/server/$config/conf/dars/mobicents-dar.properties
                    ;;
+           b2bua-early)
+                   echo "Distributed example used is b2bua early failover"
+ mvn clean install -f $EXAMPLES_HOME/call-forwarding-distributable/pom.xml + rm -rf $JBOSS_HOME/server/$config/deploy/call-forwarding-distributable-*.war + cp $EXAMPLES_HOME/call-forwarding-distributable/target/call-forwarding-distributable-*.war $JBOSS_HOME/server/$config/deploy + cp $EXAMPLES_HOME/call-forwarding-distributable/distributable-call-forwarding-dar.properties $JBOSS_HOME/server/$config/conf/dars/mobicents-dar.properties + cp setup/jboss-5/mss-sip-stack-jboss-early-failover.properties $JBOSS_HOME/server/$config/conf/mss-sip-stack.properties
+                   ;;
            custom-b2bua)
-                   echo "Distributed example used is b2bua"
+                   echo "Distributed example used is custom b2bua"
mvn clean install -f $EXAMPLES_HOME/custom-call-forwarding-distributable/pom.xml rm -rf $JBOSS_HOME/server/$config/deploy/custom-call-forwarding-distributable-*.war cp $EXAMPLES_HOME/custom-call-forwarding-distributable/target/custom-call-forwarding-distributable-*.war $JBOSS_HOME/server/$config/deploy cp $EXAMPLES_HOME/custom-call-forwarding-distributable/distributable-call-forwarding-dar.properties $JBOSS_HOME/server/$config/conf/dars/mobicents-dar.properties
                    ;;
+           custom-b2bua-early)
+                   echo "Distributed example used is custom b2bua early 
failover"
+ mvn clean install -f $EXAMPLES_HOME/custom-call-forwarding-distributable/pom.xml + rm -rf $JBOSS_HOME/server/$config/deploy/custom-call-forwarding-distributable-*.war + cp $EXAMPLES_HOME/custom-call-forwarding-distributable/target/custom-call-forwarding-distributable-*.war $JBOSS_HOME/server/$config/deploy + cp $EXAMPLES_HOME/custom-call-forwarding-distributable/distributable-call-forwarding-dar.properties $JBOSS_HOME/server/$config/conf/dars/mobicents-dar.properties + cp setup/jboss-5/mss-sip-stack-jboss-early-failover.properties $JBOSS_HOME/server/$config/conf/mss-sip-stack.properties
+                   ;;
            c2c)
                        echo "Distributed example used is Click To call"
mvn clean install -f .$EXAMPLES_HOME/click2call-distributable/pom.xml
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/b2bua/call-forwarding-receiver-early.xml Mon Dec 6 10:10:16 2010 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/b2bua/call-forwarding-receiver-early.xml Wed Dec 8 05:46:44 2010
@@ -23,6 +23,9 @@
     ]]>
   </send>

+<action>
+<exec command="./killserver.sh all.pid 2 &"/>
+</action>
   <pause milliseconds="6000"/>

   <send retrans="500">
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/b2bua/custom-call-forwarding-receiver-early.xml Tue Dec 7 13:56:19 2010 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/b2bua/custom-call-forwarding-receiver-early.xml Wed Dec 8 05:46:44 2010
@@ -23,6 +23,9 @@
     ]]>
   </send>

+<action>
+<exec command="./killserver.sh all.pid 2 &"/>
+</action>
   <pause milliseconds="6000"/>

   <send retrans="500">
=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/proxy/location-service-receiver-early.xml Mon Dec 6 10:10:16 2010 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/proxy/location-service-receiver-early.xml Wed Dec 8 05:46:44 2010
@@ -23,6 +23,9 @@
     ]]>
   </send>

+<action>
+<exec command="./killserver.sh all.pid 2 &"/>
+</action>
   <pause milliseconds="6000"/>

   <send retrans="500">

Reply via email to