diff --git a/crm/pengine/testcases/inc10.dot b/crm/pengine/testcases/inc10.dot new file mode 100644 index 0000000000..d7e55974ef --- /dev/null +++ b/crm/pengine/testcases/inc10.dot @@ -0,0 +1,151 @@ +digraph "g" { + size = "30,30" +"ocfs2:1_monitor_10000 xen-3" [ style="dashed" color="blue" fontcolor="black" ] +"child_DoFencing:1_monitor_5000 xen-3" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:3_monitor_10000 xen-1" [ style="dashed" color="blue" fontcolor="black" ] +"child_DoFencing:3_monitor_5000 xen-1" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:0_monitor_10000 xen-4" [ style="dashed" color="blue" fontcolor="black" ] +"child_DoFencing:0_monitor_5000 xen-4" [ style="dashed" color="blue" fontcolor="black" ] +"probe_complete" [ style="dashed" color="blue" fontcolor="orange" ] +"probe_complete xen-4" [ style="dashed" color="blue" fontcolor="black" ] +"probe_complete xen-3" [ style="dashed" color="blue" fontcolor="black" ] +"probe_complete xen-2" [ style="dashed" color="blue" fontcolor="black" ] +"probe_complete xen-1" [ style="dashed" color="blue" fontcolor="black" ] +"child_DoFencing:0_stop_0 xen-4" [ style="dashed" color="blue" fontcolor="black" ] +"child_DoFencing:0_start_0 xen-4" [ style="dashed" color="blue" fontcolor="black" ] +"child_DoFencing:1_stop_0 xen-3" [ style="dashed" color="blue" fontcolor="black" ] +"child_DoFencing:1_start_0 xen-3" [ style="dashed" color="blue" fontcolor="black" ] +"child_DoFencing:2_stop_0 xen-2" [ style=bold color="green" fontcolor="black" ] +"child_DoFencing:3_stop_0 xen-1" [ style="dashed" color="blue" fontcolor="black" ] +"child_DoFencing:3_start_0 xen-1" [ style="dashed" color="blue" fontcolor="black" ] +"DoFencing_start_0" [ style="dashed" color="blue" fontcolor="orange" ] +"DoFencing_running_0" [ style="dashed" color="blue" fontcolor="orange" ] +"DoFencing_stop_0" [ style=bold color="green" fontcolor="orange" ] +"DoFencing_stopped_0" [ style=bold color="green" fontcolor="orange" ] +"ocfs2:0_stop_0 xen-4" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:0_start_0 xen-4" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:1_stop_0 xen-3" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:1_start_0 xen-3" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:2_stop_0 xen-2" [ style=bold color="green" fontcolor="black" ] +"ocfs2:3_stop_0 xen-1" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:3_start_0 xen-1" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2-clone_start_0" [ style="dashed" color="blue" fontcolor="orange" ] +"ocfs2-clone_running_0" [ style="dashed" color="blue" fontcolor="orange" ] +"ocfs2-clone_pre_notify_start_0" [ style="dashed" color="blue" fontcolor="orange" ] +"ocfs2-clone_confirmed-pre_notify_start_0" [ style="dashed" color="blue" fontcolor="orange" ] +"ocfs2-clone_post_notify_start_0" [ style="dashed" color="blue" fontcolor="orange" ] +"ocfs2-clone_confirmed-post_notify_start_0" [ style="dashed" color="blue" fontcolor="orange" ] +"ocfs2-clone_stop_0" [ style=bold color="green" fontcolor="orange" ] +"ocfs2-clone_stopped_0" [ style=bold color="green" fontcolor="orange" ] +"ocfs2-clone_pre_notify_stop_0" [ style=bold color="green" fontcolor="orange" ] +"ocfs2-clone_confirmed-pre_notify_stop_0" [ style=bold color="green" fontcolor="orange" ] +"ocfs2-clone_post_notify_stop_0" [ style=bold color="green" fontcolor="orange" ] +"ocfs2-clone_confirmed-post_notify_stop_0" [ style=bold color="green" fontcolor="orange" ] +"ocfs2:0_pre_notify_start_0 xen-4" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:0_post_notify_start_0 xen-4" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:0_pre_notify_stop_0 xen-4" [ style=bold color="green" fontcolor="black" ] +"ocfs2:0_post_notify_stop_0 xen-4" [ style=bold color="green" fontcolor="black" ] +"ocfs2:1_pre_notify_start_0 xen-3" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:1_post_notify_start_0 xen-3" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:1_pre_notify_stop_0 xen-3" [ style=bold color="green" fontcolor="black" ] +"ocfs2:1_post_notify_stop_0 xen-3" [ style=bold color="green" fontcolor="black" ] +"ocfs2:2_pre_notify_stop_0 xen-2" [ style=bold color="green" fontcolor="black" ] +"ocfs2:3_pre_notify_start_0 xen-1" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:3_post_notify_start_0 xen-1" [ style="dashed" color="blue" fontcolor="black" ] +"ocfs2:3_pre_notify_stop_0 xen-1" [ style=bold color="green" fontcolor="black" ] +"ocfs2:3_post_notify_stop_0 xen-1" [ style=bold color="green" fontcolor="black" ] +"ocfs2:1_start_0 xen-3" -> "ocfs2:1_monitor_10000 xen-3" [ style = dashed] +"ocfs2-clone_confirmed-post_notify_start_0" -> "ocfs2:1_monitor_10000 xen-3" [ style = dashed] +"ocfs2-clone_confirmed-post_notify_stop_0" -> "ocfs2:1_monitor_10000 xen-3" [ style = dashed] +"child_DoFencing:1_start_0 xen-3" -> "child_DoFencing:1_monitor_5000 xen-3" [ style = dashed] +"ocfs2:3_start_0 xen-1" -> "ocfs2:3_monitor_10000 xen-1" [ style = dashed] +"ocfs2-clone_confirmed-post_notify_start_0" -> "ocfs2:3_monitor_10000 xen-1" [ style = dashed] +"ocfs2-clone_confirmed-post_notify_stop_0" -> "ocfs2:3_monitor_10000 xen-1" [ style = dashed] +"child_DoFencing:3_start_0 xen-1" -> "child_DoFencing:3_monitor_5000 xen-1" [ style = dashed] +"ocfs2:0_start_0 xen-4" -> "ocfs2:0_monitor_10000 xen-4" [ style = dashed] +"ocfs2-clone_confirmed-post_notify_start_0" -> "ocfs2:0_monitor_10000 xen-4" [ style = dashed] +"ocfs2-clone_confirmed-post_notify_stop_0" -> "ocfs2:0_monitor_10000 xen-4" [ style = dashed] +"child_DoFencing:0_start_0 xen-4" -> "child_DoFencing:0_monitor_5000 xen-4" [ style = dashed] +"probe_complete xen-4" -> "probe_complete" [ style = dashed] +"probe_complete xen-3" -> "probe_complete" [ style = dashed] +"probe_complete xen-2" -> "probe_complete" [ style = dashed] +"probe_complete xen-1" -> "probe_complete" [ style = dashed] +"DoFencing_stop_0" -> "child_DoFencing:0_stop_0 xen-4" [ style = dashed] +"child_DoFencing:0_stop_0 xen-4" -> "child_DoFencing:0_start_0 xen-4" [ style = dashed] +"DoFencing_start_0" -> "child_DoFencing:0_start_0 xen-4" [ style = dashed] +"DoFencing_stop_0" -> "child_DoFencing:1_stop_0 xen-3" [ style = dashed] +"child_DoFencing:1_stop_0 xen-3" -> "child_DoFencing:1_start_0 xen-3" [ style = dashed] +"DoFencing_start_0" -> "child_DoFencing:1_start_0 xen-3" [ style = dashed] +"DoFencing_stop_0" -> "child_DoFencing:2_stop_0 xen-2" [ style = bold] +"DoFencing_stop_0" -> "child_DoFencing:3_stop_0 xen-1" [ style = dashed] +"child_DoFencing:3_stop_0 xen-1" -> "child_DoFencing:3_start_0 xen-1" [ style = dashed] +"DoFencing_start_0" -> "child_DoFencing:3_start_0 xen-1" [ style = dashed] +"DoFencing_stop_0" -> "DoFencing_start_0" [ style = dashed] +"DoFencing_stopped_0" -> "DoFencing_start_0" [ style = dashed] +"DoFencing_start_0" -> "DoFencing_running_0" [ style = dashed] +"child_DoFencing:0_start_0 xen-4" -> "DoFencing_running_0" [ style = dashed] +"child_DoFencing:1_start_0 xen-3" -> "DoFencing_running_0" [ style = dashed] +"child_DoFencing:3_start_0 xen-1" -> "DoFencing_running_0" [ style = dashed] +"child_DoFencing:0_stop_0 xen-4" -> "DoFencing_stopped_0" [ style = dashed] +"child_DoFencing:1_stop_0 xen-3" -> "DoFencing_stopped_0" [ style = dashed] +"child_DoFencing:2_stop_0 xen-2" -> "DoFencing_stopped_0" [ style = bold] +"child_DoFencing:3_stop_0 xen-1" -> "DoFencing_stopped_0" [ style = dashed] +"DoFencing_stop_0" -> "DoFencing_stopped_0" [ style = bold] +"ocfs2-clone_stop_0" -> "ocfs2:0_stop_0 xen-4" [ style = dashed] +"ocfs2:0_stop_0 xen-4" -> "ocfs2:0_start_0 xen-4" [ style = dashed] +"ocfs2-clone_start_0" -> "ocfs2:0_start_0 xen-4" [ style = dashed] +"ocfs2-clone_stop_0" -> "ocfs2:1_stop_0 xen-3" [ style = dashed] +"ocfs2:1_stop_0 xen-3" -> "ocfs2:1_start_0 xen-3" [ style = dashed] +"ocfs2-clone_start_0" -> "ocfs2:1_start_0 xen-3" [ style = dashed] +"ocfs2-clone_stop_0" -> "ocfs2:2_stop_0 xen-2" [ style = bold] +"ocfs2-clone_stop_0" -> "ocfs2:3_stop_0 xen-1" [ style = dashed] +"ocfs2:3_stop_0 xen-1" -> "ocfs2:3_start_0 xen-1" [ style = dashed] +"ocfs2-clone_start_0" -> "ocfs2:3_start_0 xen-1" [ style = dashed] +"ocfs2-clone_stop_0" -> "ocfs2-clone_start_0" [ style = dashed] +"ocfs2-clone_stopped_0" -> "ocfs2-clone_start_0" [ style = dashed] +"ocfs2-clone_confirmed-pre_notify_start_0" -> "ocfs2-clone_start_0" [ style = dashed] +"ocfs2-clone_confirmed-post_notify_stop_0" -> "ocfs2-clone_start_0" [ style = dashed] +"ocfs2-clone_start_0" -> "ocfs2-clone_running_0" [ style = dashed] +"ocfs2:0_start_0 xen-4" -> "ocfs2-clone_running_0" [ style = dashed] +"ocfs2:1_start_0 xen-3" -> "ocfs2-clone_running_0" [ style = dashed] +"ocfs2:3_start_0 xen-1" -> "ocfs2-clone_running_0" [ style = dashed] +"ocfs2-clone_confirmed-post_notify_stop_0" -> "ocfs2-clone_pre_notify_start_0" [ style = dashed] +"ocfs2-clone_pre_notify_start_0" -> "ocfs2-clone_confirmed-pre_notify_start_0" [ style = dashed] +"ocfs2:0_pre_notify_start_0 xen-4" -> "ocfs2-clone_confirmed-pre_notify_start_0" [ style = dashed] +"ocfs2:1_pre_notify_start_0 xen-3" -> "ocfs2-clone_confirmed-pre_notify_start_0" [ style = dashed] +"ocfs2:3_pre_notify_start_0 xen-1" -> "ocfs2-clone_confirmed-pre_notify_start_0" [ style = dashed] +"ocfs2-clone_running_0" -> "ocfs2-clone_post_notify_start_0" [ style = dashed] +"ocfs2-clone_post_notify_start_0" -> "ocfs2-clone_confirmed-post_notify_start_0" [ style = dashed] +"ocfs2:0_post_notify_start_0 xen-4" -> "ocfs2-clone_confirmed-post_notify_start_0" [ style = dashed] +"ocfs2:1_post_notify_start_0 xen-3" -> "ocfs2-clone_confirmed-post_notify_start_0" [ style = dashed] +"ocfs2:3_post_notify_start_0 xen-1" -> "ocfs2-clone_confirmed-post_notify_start_0" [ style = dashed] +"ocfs2-clone_confirmed-pre_notify_stop_0" -> "ocfs2-clone_stop_0" [ style = bold] +"ocfs2:0_stop_0 xen-4" -> "ocfs2-clone_stopped_0" [ style = dashed] +"ocfs2:1_stop_0 xen-3" -> "ocfs2-clone_stopped_0" [ style = dashed] +"ocfs2:2_stop_0 xen-2" -> "ocfs2-clone_stopped_0" [ style = bold] +"ocfs2:3_stop_0 xen-1" -> "ocfs2-clone_stopped_0" [ style = dashed] +"ocfs2-clone_stop_0" -> "ocfs2-clone_stopped_0" [ style = bold] +"ocfs2-clone_pre_notify_stop_0" -> "ocfs2-clone_confirmed-pre_notify_stop_0" [ style = bold] +"ocfs2:0_pre_notify_stop_0 xen-4" -> "ocfs2-clone_confirmed-pre_notify_stop_0" [ style = bold] +"ocfs2:1_pre_notify_stop_0 xen-3" -> "ocfs2-clone_confirmed-pre_notify_stop_0" [ style = bold] +"ocfs2:2_pre_notify_stop_0 xen-2" -> "ocfs2-clone_confirmed-pre_notify_stop_0" [ style = bold] +"ocfs2:3_pre_notify_stop_0 xen-1" -> "ocfs2-clone_confirmed-pre_notify_stop_0" [ style = bold] +"ocfs2-clone_stopped_0" -> "ocfs2-clone_post_notify_stop_0" [ style = bold] +"ocfs2-clone_post_notify_stop_0" -> "ocfs2-clone_confirmed-post_notify_stop_0" [ style = bold] +"ocfs2:0_post_notify_stop_0 xen-4" -> "ocfs2-clone_confirmed-post_notify_stop_0" [ style = bold] +"ocfs2:1_post_notify_stop_0 xen-3" -> "ocfs2-clone_confirmed-post_notify_stop_0" [ style = bold] +"ocfs2:3_post_notify_stop_0 xen-1" -> "ocfs2-clone_confirmed-post_notify_stop_0" [ style = bold] +"ocfs2-clone_pre_notify_start_0" -> "ocfs2:0_pre_notify_start_0 xen-4" [ style = dashed] +"ocfs2-clone_post_notify_start_0" -> "ocfs2:0_post_notify_start_0 xen-4" [ style = dashed] +"ocfs2-clone_pre_notify_stop_0" -> "ocfs2:0_pre_notify_stop_0 xen-4" [ style = bold] +"ocfs2-clone_post_notify_stop_0" -> "ocfs2:0_post_notify_stop_0 xen-4" [ style = bold] +"ocfs2-clone_pre_notify_start_0" -> "ocfs2:1_pre_notify_start_0 xen-3" [ style = dashed] +"ocfs2-clone_post_notify_start_0" -> "ocfs2:1_post_notify_start_0 xen-3" [ style = dashed] +"ocfs2-clone_pre_notify_stop_0" -> "ocfs2:1_pre_notify_stop_0 xen-3" [ style = bold] +"ocfs2-clone_post_notify_stop_0" -> "ocfs2:1_post_notify_stop_0 xen-3" [ style = bold] +"ocfs2-clone_pre_notify_stop_0" -> "ocfs2:2_pre_notify_stop_0 xen-2" [ style = bold] +"ocfs2-clone_pre_notify_start_0" -> "ocfs2:3_pre_notify_start_0 xen-1" [ style = dashed] +"ocfs2-clone_post_notify_start_0" -> "ocfs2:3_post_notify_start_0 xen-1" [ style = dashed] +"ocfs2-clone_pre_notify_stop_0" -> "ocfs2:3_pre_notify_stop_0 xen-1" [ style = bold] +"ocfs2-clone_post_notify_stop_0" -> "ocfs2:3_post_notify_stop_0 xen-1" [ style = bold] +} diff --git a/crm/pengine/testcases/inc10.exp b/crm/pengine/testcases/inc10.exp new file mode 100644 index 0000000000..5245497857 --- /dev/null +++ b/crm/pengine/testcases/inc10.exp @@ -0,0 +1,235 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/pengine/testcases/inc10.xml b/crm/pengine/testcases/inc10.xml new file mode 100644 index 0000000000..6dcae403f4 --- /dev/null +++ b/crm/pengine/testcases/inc10.xml @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +