commit fe3e8bf6ece8eeb90c8c1c738b7961e6413762fc Author: Andrew Beekhof Date: Fri Apr 11 08:16:33 2014 +1000 PE: Repair regression tests diff --git a/pengine/test10/unfence-definition.exp b/pengine/test10/unfence-definition.exp index f023a0b..392c286 100644 --- a/pengine/test10/unfence-definition.exp +++ b/pengine/test10/unfence-definition.exp @@ -1,14 +1,14 @@ - + - + - + @@ -28,7 +28,7 @@ - + @@ -41,7 +41,7 @@ - + @@ -54,7 +54,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -89,7 +89,7 @@ - + @@ -108,7 +108,7 @@ - + @@ -127,7 +127,7 @@ - + @@ -135,7 +135,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -162,7 +162,7 @@ - + @@ -180,12 +180,12 @@ - + - + @@ -199,7 +199,7 @@ - + @@ -224,7 +224,7 @@ - + @@ -240,7 +240,7 @@ - + @@ -262,7 +262,7 @@ - + @@ -271,7 +271,7 @@ - + @@ -296,7 +296,7 @@ - + @@ -304,7 +304,7 @@ - + @@ -319,7 +319,7 @@ - + @@ -327,7 +327,7 @@ - + @@ -348,12 +348,12 @@ - + - + @@ -369,7 +369,7 @@ - + @@ -377,7 +377,7 @@ - + @@ -389,7 +389,7 @@ - + @@ -404,7 +404,7 @@ - + @@ -416,7 +416,7 @@ - + @@ -424,7 +424,7 @@ - + @@ -442,7 +442,7 @@ - + @@ -462,37 +462,37 @@ - - - + + + - - - - - - - + - + - - - + + + - + - + + + + + + + diff --git a/pengine/test10/unfence-definition.scores b/pengine/test10/unfence-definition.scores new file mode 100644 index 0000000..a4b5fb1 --- /dev/null +++ b/pengine/test10/unfence-definition.scores @@ -0,0 +1,77 @@ +Allocation scores: +clone_color: clvmd-clone allocation score on virt-1: 0 +clone_color: clvmd-clone allocation score on virt-2: 0 +clone_color: clvmd-clone allocation score on virt-3: 0 +clone_color: clvmd-clone allocation score on virt-4: 0 +clone_color: clvmd:0 allocation score on virt-1: 1 +clone_color: clvmd:0 allocation score on virt-2: 0 +clone_color: clvmd:0 allocation score on virt-3: 0 +clone_color: clvmd:0 allocation score on virt-4: 0 +clone_color: clvmd:1 allocation score on virt-1: 0 +clone_color: clvmd:1 allocation score on virt-2: 0 +clone_color: clvmd:1 allocation score on virt-3: 0 +clone_color: clvmd:1 allocation score on virt-4: 0 +clone_color: clvmd:2 allocation score on virt-1: 0 +clone_color: clvmd:2 allocation score on virt-2: 0 +clone_color: clvmd:2 allocation score on virt-3: 0 +clone_color: clvmd:2 allocation score on virt-4: 0 +clone_color: clvmd:3 allocation score on virt-1: 0 +clone_color: clvmd:3 allocation score on virt-2: 0 +clone_color: clvmd:3 allocation score on virt-3: 0 +clone_color: clvmd:3 allocation score on virt-4: 0 +clone_color: dlm-clone allocation score on virt-1: 0 +clone_color: dlm-clone allocation score on virt-2: 0 +clone_color: dlm-clone allocation score on virt-3: 0 +clone_color: dlm-clone allocation score on virt-4: 0 +clone_color: dlm:0 allocation score on virt-1: 1 +clone_color: dlm:0 allocation score on virt-2: 0 +clone_color: dlm:0 allocation score on virt-3: 0 +clone_color: dlm:0 allocation score on virt-4: 0 +clone_color: dlm:1 allocation score on virt-1: 0 +clone_color: dlm:1 allocation score on virt-2: 1 +clone_color: dlm:1 allocation score on virt-3: 0 +clone_color: dlm:1 allocation score on virt-4: 0 +clone_color: dlm:2 allocation score on virt-1: 0 +clone_color: dlm:2 allocation score on virt-2: 0 +clone_color: dlm:2 allocation score on virt-3: 0 +clone_color: dlm:2 allocation score on virt-4: 0 +clone_color: dlm:3 allocation score on virt-1: 0 +clone_color: dlm:3 allocation score on virt-2: 0 +clone_color: dlm:3 allocation score on virt-3: 0 +clone_color: dlm:3 allocation score on virt-4: 0 +native_color: clvmd:0 allocation score on virt-1: 1 +native_color: clvmd:0 allocation score on virt-2: -INFINITY +native_color: clvmd:0 allocation score on virt-3: -INFINITY +native_color: clvmd:0 allocation score on virt-4: -INFINITY +native_color: clvmd:1 allocation score on virt-1: -INFINITY +native_color: clvmd:1 allocation score on virt-2: 0 +native_color: clvmd:1 allocation score on virt-3: -INFINITY +native_color: clvmd:1 allocation score on virt-4: -INFINITY +native_color: clvmd:2 allocation score on virt-1: -INFINITY +native_color: clvmd:2 allocation score on virt-2: -INFINITY +native_color: clvmd:2 allocation score on virt-3: 0 +native_color: clvmd:2 allocation score on virt-4: -INFINITY +native_color: clvmd:3 allocation score on virt-1: -INFINITY +native_color: clvmd:3 allocation score on virt-2: -INFINITY +native_color: clvmd:3 allocation score on virt-3: -INFINITY +native_color: clvmd:3 allocation score on virt-4: -INFINITY +native_color: dlm:0 allocation score on virt-1: 1 +native_color: dlm:0 allocation score on virt-2: -INFINITY +native_color: dlm:0 allocation score on virt-3: 0 +native_color: dlm:0 allocation score on virt-4: -INFINITY +native_color: dlm:1 allocation score on virt-1: 0 +native_color: dlm:1 allocation score on virt-2: 1 +native_color: dlm:1 allocation score on virt-3: 0 +native_color: dlm:1 allocation score on virt-4: -INFINITY +native_color: dlm:2 allocation score on virt-1: -INFINITY +native_color: dlm:2 allocation score on virt-2: -INFINITY +native_color: dlm:2 allocation score on virt-3: 0 +native_color: dlm:2 allocation score on virt-4: -INFINITY +native_color: dlm:3 allocation score on virt-1: -INFINITY +native_color: dlm:3 allocation score on virt-2: -INFINITY +native_color: dlm:3 allocation score on virt-3: -INFINITY +native_color: dlm:3 allocation score on virt-4: -INFINITY +native_color: fencing allocation score on virt-1: 0 +native_color: fencing allocation score on virt-2: 0 +native_color: fencing allocation score on virt-3: 0 +native_color: fencing allocation score on virt-4: 0 diff --git a/pengine/test10/unfence-definition.summary b/pengine/test10/unfence-definition.summary index 3e4b66b..3d65029 100644 --- a/pengine/test10/unfence-definition.summary +++ b/pengine/test10/unfence-definition.summary @@ -35,8 +35,8 @@ Executing cluster transition: * Resource action: dlm stop on virt-1 * Pseudo action: dlm-clone_stopped_0 * Fencing virt-3 (on) - * Pseudo action: all_stopped * Fencing virt-1 (on) + * Pseudo action: all_stopped * Resource action: fencing monitor on virt-3 * Pseudo action: dlm-clone_start_0 * Resource action: fencing start on virt-1 diff --git a/pengine/test10/unfence-definition.xml b/pengine/test10/unfence-definition.xml new file mode 100644 index 0000000..5d77931 --- /dev/null +++ b/pengine/test10/unfence-definition.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/unfence-parameters.exp b/pengine/test10/unfence-parameters.exp index 8ff3016..31b0371 100644 --- a/pengine/test10/unfence-parameters.exp +++ b/pengine/test10/unfence-parameters.exp @@ -1,9 +1,9 @@ - + - + @@ -16,7 +16,7 @@ - + @@ -29,12 +29,12 @@ - + - + @@ -51,7 +51,7 @@ - + @@ -73,7 +73,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -120,7 +120,7 @@ - + @@ -136,7 +136,7 @@ - + @@ -158,7 +158,7 @@ - + @@ -166,7 +166,7 @@ - + @@ -184,7 +184,7 @@ - + @@ -196,7 +196,7 @@ - + @@ -217,12 +217,12 @@ - + - + @@ -239,7 +239,7 @@ - + @@ -264,7 +264,7 @@ - + @@ -280,7 +280,7 @@ - + @@ -305,7 +305,7 @@ - + @@ -314,7 +314,7 @@ - + @@ -339,7 +339,7 @@ - + @@ -347,7 +347,7 @@ - + @@ -362,7 +362,7 @@ - + @@ -370,7 +370,7 @@ - + @@ -391,12 +391,12 @@ - + - + @@ -415,7 +415,7 @@ - + @@ -423,7 +423,7 @@ - + @@ -435,7 +435,7 @@ - + @@ -450,7 +450,7 @@ - + @@ -462,7 +462,7 @@ - + @@ -470,7 +470,7 @@ - + @@ -488,7 +488,7 @@ - + @@ -509,7 +509,7 @@ - + @@ -526,8 +526,23 @@ - - + + + + + + + + + + + + + + + + + @@ -548,19 +563,4 @@ - - - - - - - - - - - - - - - diff --git a/pengine/test10/unfence-parameters.scores b/pengine/test10/unfence-parameters.scores new file mode 100644 index 0000000..a4b5fb1 --- /dev/null +++ b/pengine/test10/unfence-parameters.scores @@ -0,0 +1,77 @@ +Allocation scores: +clone_color: clvmd-clone allocation score on virt-1: 0 +clone_color: clvmd-clone allocation score on virt-2: 0 +clone_color: clvmd-clone allocation score on virt-3: 0 +clone_color: clvmd-clone allocation score on virt-4: 0 +clone_color: clvmd:0 allocation score on virt-1: 1 +clone_color: clvmd:0 allocation score on virt-2: 0 +clone_color: clvmd:0 allocation score on virt-3: 0 +clone_color: clvmd:0 allocation score on virt-4: 0 +clone_color: clvmd:1 allocation score on virt-1: 0 +clone_color: clvmd:1 allocation score on virt-2: 0 +clone_color: clvmd:1 allocation score on virt-3: 0 +clone_color: clvmd:1 allocation score on virt-4: 0 +clone_color: clvmd:2 allocation score on virt-1: 0 +clone_color: clvmd:2 allocation score on virt-2: 0 +clone_color: clvmd:2 allocation score on virt-3: 0 +clone_color: clvmd:2 allocation score on virt-4: 0 +clone_color: clvmd:3 allocation score on virt-1: 0 +clone_color: clvmd:3 allocation score on virt-2: 0 +clone_color: clvmd:3 allocation score on virt-3: 0 +clone_color: clvmd:3 allocation score on virt-4: 0 +clone_color: dlm-clone allocation score on virt-1: 0 +clone_color: dlm-clone allocation score on virt-2: 0 +clone_color: dlm-clone allocation score on virt-3: 0 +clone_color: dlm-clone allocation score on virt-4: 0 +clone_color: dlm:0 allocation score on virt-1: 1 +clone_color: dlm:0 allocation score on virt-2: 0 +clone_color: dlm:0 allocation score on virt-3: 0 +clone_color: dlm:0 allocation score on virt-4: 0 +clone_color: dlm:1 allocation score on virt-1: 0 +clone_color: dlm:1 allocation score on virt-2: 1 +clone_color: dlm:1 allocation score on virt-3: 0 +clone_color: dlm:1 allocation score on virt-4: 0 +clone_color: dlm:2 allocation score on virt-1: 0 +clone_color: dlm:2 allocation score on virt-2: 0 +clone_color: dlm:2 allocation score on virt-3: 0 +clone_color: dlm:2 allocation score on virt-4: 0 +clone_color: dlm:3 allocation score on virt-1: 0 +clone_color: dlm:3 allocation score on virt-2: 0 +clone_color: dlm:3 allocation score on virt-3: 0 +clone_color: dlm:3 allocation score on virt-4: 0 +native_color: clvmd:0 allocation score on virt-1: 1 +native_color: clvmd:0 allocation score on virt-2: -INFINITY +native_color: clvmd:0 allocation score on virt-3: -INFINITY +native_color: clvmd:0 allocation score on virt-4: -INFINITY +native_color: clvmd:1 allocation score on virt-1: -INFINITY +native_color: clvmd:1 allocation score on virt-2: 0 +native_color: clvmd:1 allocation score on virt-3: -INFINITY +native_color: clvmd:1 allocation score on virt-4: -INFINITY +native_color: clvmd:2 allocation score on virt-1: -INFINITY +native_color: clvmd:2 allocation score on virt-2: -INFINITY +native_color: clvmd:2 allocation score on virt-3: 0 +native_color: clvmd:2 allocation score on virt-4: -INFINITY +native_color: clvmd:3 allocation score on virt-1: -INFINITY +native_color: clvmd:3 allocation score on virt-2: -INFINITY +native_color: clvmd:3 allocation score on virt-3: -INFINITY +native_color: clvmd:3 allocation score on virt-4: -INFINITY +native_color: dlm:0 allocation score on virt-1: 1 +native_color: dlm:0 allocation score on virt-2: -INFINITY +native_color: dlm:0 allocation score on virt-3: 0 +native_color: dlm:0 allocation score on virt-4: -INFINITY +native_color: dlm:1 allocation score on virt-1: 0 +native_color: dlm:1 allocation score on virt-2: 1 +native_color: dlm:1 allocation score on virt-3: 0 +native_color: dlm:1 allocation score on virt-4: -INFINITY +native_color: dlm:2 allocation score on virt-1: -INFINITY +native_color: dlm:2 allocation score on virt-2: -INFINITY +native_color: dlm:2 allocation score on virt-3: 0 +native_color: dlm:2 allocation score on virt-4: -INFINITY +native_color: dlm:3 allocation score on virt-1: -INFINITY +native_color: dlm:3 allocation score on virt-2: -INFINITY +native_color: dlm:3 allocation score on virt-3: -INFINITY +native_color: dlm:3 allocation score on virt-4: -INFINITY +native_color: fencing allocation score on virt-1: 0 +native_color: fencing allocation score on virt-2: 0 +native_color: fencing allocation score on virt-3: 0 +native_color: fencing allocation score on virt-4: 0 diff --git a/pengine/test10/unfence-parameters.summary b/pengine/test10/unfence-parameters.summary index 5276cba..2bd499c 100644 --- a/pengine/test10/unfence-parameters.summary +++ b/pengine/test10/unfence-parameters.summary @@ -37,8 +37,8 @@ Executing cluster transition: * Pseudo action: dlm-clone_stopped_0 * Fencing virt-3 (on) * Fencing virt-2 (on) - * Pseudo action: all_stopped * Fencing virt-1 (on) + * Pseudo action: all_stopped * Resource action: fencing monitor on virt-3 * Resource action: fencing start on virt-1 * Pseudo action: dlm-clone_start_0 diff --git a/pengine/test10/unfence-parameters.xml b/pengine/test10/unfence-parameters.xml new file mode 100644 index 0000000..f660100 --- /dev/null +++ b/pengine/test10/unfence-parameters.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/unfence-startup.exp b/pengine/test10/unfence-startup.exp index a0661e7..6319b13 100644 --- a/pengine/test10/unfence-startup.exp +++ b/pengine/test10/unfence-startup.exp @@ -1,9 +1,9 @@ - + - + @@ -16,7 +16,7 @@ - + @@ -35,7 +35,7 @@ - + @@ -43,7 +43,7 @@ - + @@ -58,7 +58,7 @@ - + @@ -71,7 +71,7 @@ - + @@ -90,7 +90,7 @@ - + @@ -99,7 +99,7 @@ - + @@ -124,7 +124,7 @@ - + @@ -132,7 +132,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -165,7 +165,7 @@ - + @@ -173,7 +173,7 @@ - + @@ -185,7 +185,7 @@ - + @@ -200,7 +200,7 @@ - + @@ -212,7 +212,7 @@ - + @@ -220,7 +220,7 @@ - + @@ -238,7 +238,7 @@ - + @@ -253,7 +253,7 @@ - + diff --git a/pengine/test10/unfence-startup.scores b/pengine/test10/unfence-startup.scores new file mode 100644 index 0000000..a4b5fb1 --- /dev/null +++ b/pengine/test10/unfence-startup.scores @@ -0,0 +1,77 @@ +Allocation scores: +clone_color: clvmd-clone allocation score on virt-1: 0 +clone_color: clvmd-clone allocation score on virt-2: 0 +clone_color: clvmd-clone allocation score on virt-3: 0 +clone_color: clvmd-clone allocation score on virt-4: 0 +clone_color: clvmd:0 allocation score on virt-1: 1 +clone_color: clvmd:0 allocation score on virt-2: 0 +clone_color: clvmd:0 allocation score on virt-3: 0 +clone_color: clvmd:0 allocation score on virt-4: 0 +clone_color: clvmd:1 allocation score on virt-1: 0 +clone_color: clvmd:1 allocation score on virt-2: 0 +clone_color: clvmd:1 allocation score on virt-3: 0 +clone_color: clvmd:1 allocation score on virt-4: 0 +clone_color: clvmd:2 allocation score on virt-1: 0 +clone_color: clvmd:2 allocation score on virt-2: 0 +clone_color: clvmd:2 allocation score on virt-3: 0 +clone_color: clvmd:2 allocation score on virt-4: 0 +clone_color: clvmd:3 allocation score on virt-1: 0 +clone_color: clvmd:3 allocation score on virt-2: 0 +clone_color: clvmd:3 allocation score on virt-3: 0 +clone_color: clvmd:3 allocation score on virt-4: 0 +clone_color: dlm-clone allocation score on virt-1: 0 +clone_color: dlm-clone allocation score on virt-2: 0 +clone_color: dlm-clone allocation score on virt-3: 0 +clone_color: dlm-clone allocation score on virt-4: 0 +clone_color: dlm:0 allocation score on virt-1: 1 +clone_color: dlm:0 allocation score on virt-2: 0 +clone_color: dlm:0 allocation score on virt-3: 0 +clone_color: dlm:0 allocation score on virt-4: 0 +clone_color: dlm:1 allocation score on virt-1: 0 +clone_color: dlm:1 allocation score on virt-2: 1 +clone_color: dlm:1 allocation score on virt-3: 0 +clone_color: dlm:1 allocation score on virt-4: 0 +clone_color: dlm:2 allocation score on virt-1: 0 +clone_color: dlm:2 allocation score on virt-2: 0 +clone_color: dlm:2 allocation score on virt-3: 0 +clone_color: dlm:2 allocation score on virt-4: 0 +clone_color: dlm:3 allocation score on virt-1: 0 +clone_color: dlm:3 allocation score on virt-2: 0 +clone_color: dlm:3 allocation score on virt-3: 0 +clone_color: dlm:3 allocation score on virt-4: 0 +native_color: clvmd:0 allocation score on virt-1: 1 +native_color: clvmd:0 allocation score on virt-2: -INFINITY +native_color: clvmd:0 allocation score on virt-3: -INFINITY +native_color: clvmd:0 allocation score on virt-4: -INFINITY +native_color: clvmd:1 allocation score on virt-1: -INFINITY +native_color: clvmd:1 allocation score on virt-2: 0 +native_color: clvmd:1 allocation score on virt-3: -INFINITY +native_color: clvmd:1 allocation score on virt-4: -INFINITY +native_color: clvmd:2 allocation score on virt-1: -INFINITY +native_color: clvmd:2 allocation score on virt-2: -INFINITY +native_color: clvmd:2 allocation score on virt-3: 0 +native_color: clvmd:2 allocation score on virt-4: -INFINITY +native_color: clvmd:3 allocation score on virt-1: -INFINITY +native_color: clvmd:3 allocation score on virt-2: -INFINITY +native_color: clvmd:3 allocation score on virt-3: -INFINITY +native_color: clvmd:3 allocation score on virt-4: -INFINITY +native_color: dlm:0 allocation score on virt-1: 1 +native_color: dlm:0 allocation score on virt-2: -INFINITY +native_color: dlm:0 allocation score on virt-3: 0 +native_color: dlm:0 allocation score on virt-4: -INFINITY +native_color: dlm:1 allocation score on virt-1: 0 +native_color: dlm:1 allocation score on virt-2: 1 +native_color: dlm:1 allocation score on virt-3: 0 +native_color: dlm:1 allocation score on virt-4: -INFINITY +native_color: dlm:2 allocation score on virt-1: -INFINITY +native_color: dlm:2 allocation score on virt-2: -INFINITY +native_color: dlm:2 allocation score on virt-3: 0 +native_color: dlm:2 allocation score on virt-4: -INFINITY +native_color: dlm:3 allocation score on virt-1: -INFINITY +native_color: dlm:3 allocation score on virt-2: -INFINITY +native_color: dlm:3 allocation score on virt-3: -INFINITY +native_color: dlm:3 allocation score on virt-4: -INFINITY +native_color: fencing allocation score on virt-1: 0 +native_color: fencing allocation score on virt-2: 0 +native_color: fencing allocation score on virt-3: 0 +native_color: fencing allocation score on virt-4: 0