{
    "metadata": {
        "name": "plan-exec-780895",
        "namespace": "testground",
        "selfLink": "/apis/argoproj.io/v1alpha1/namespaces/testground/workflows/plan-exec-780895",
        "uid": "d0ba768f-f5ff-4f75-9bfd-0992677d6fd1",
        "resourceVersion": "912650255",
        "generation": 12,
        "creationTimestamp": "2022-04-12T09:04:23Z",
        "labels": {
            "workflows.argoproj.io/completed": "true",
            "workflows.argoproj.io/phase": "Failed",
            "workflows.argoproj.io/workflow-archiving-status": "Archived"
        },
        "annotations": {
            "testbed": "cdc-testbed-tps-780895-1-224"
        },
        "managedFields": [
            {
                "manager": "tps",
                "operation": "Update",
                "apiVersion": "argoproj.io/v1alpha1",
                "time": "2022-04-12T09:04:23Z",
                "fieldsType": "FieldsV1",
                "fieldsV1": {
                    "f:metadata": {
                        "f:annotations": {
                            ".": {},
                            "f:testbed": {}
                        }
                    },
                    "f:spec": {
                        ".": {},
                        "f:arguments": {},
                        "f:artifactRepositoryRef": {
                            ".": {},
                            "f:configMap": {},
                            "f:key": {}
                        },
                        "f:entrypoint": {},
                        "f:onExit": {},
                        "f:serviceAccountName": {},
                        "f:templates": {}
                    },
                    "f:status": {}
                }
            },
            {
                "manager": "workflow-controller",
                "operation": "Update",
                "apiVersion": "argoproj.io/v1alpha1",
                "time": "2022-04-12T15:06:55Z",
                "fieldsType": "FieldsV1",
                "fieldsV1": {
                    "f:metadata": {
                        "f:labels": {
                            ".": {},
                            "f:workflows.argoproj.io/completed": {},
                            "f:workflows.argoproj.io/phase": {},
                            "f:workflows.argoproj.io/workflow-archiving-status": {}
                        }
                    },
                    "f:spec": {
                        "f:podGC": {
                            ".": {},
                            "f:strategy": {}
                        },
                        "f:ttlStrategy": {
                            ".": {},
                            "f:secondsAfterFailure": {},
                            "f:secondsAfterSuccess": {}
                        }
                    },
                    "f:status": {
                        "f:artifactRepositoryRef": {
                            ".": {},
                            "f:artifactRepository": {
                                ".": {},
                                "f:archiveLogs": {},
                                "f:s3": {
                                    ".": {},
                                    "f:accessKeySecret": {
                                        ".": {},
                                        "f:key": {},
                                        "f:name": {}
                                    },
                                    "f:bucket": {},
                                    "f:endpoint": {},
                                    "f:insecure": {},
                                    "f:keyFormat": {},
                                    "f:secretKeySecret": {
                                        ".": {},
                                        "f:key": {},
                                        "f:name": {}
                                    }
                                }
                            },
                            "f:configMap": {},
                            "f:key": {},
                            "f:namespace": {}
                        },
                        "f:conditions": {},
                        "f:finishedAt": {},
                        "f:nodes": {
                            ".": {},
                            "f:plan-exec-780895": {
                                ".": {},
                                "f:children": {},
                                "f:displayName": {},
                                "f:finishedAt": {},
                                "f:id": {},
                                "f:name": {},
                                "f:outboundNodes": {},
                                "f:phase": {},
                                "f:progress": {},
                                "f:resourcesDuration": {
                                    ".": {},
                                    "f:cpu": {},
                                    "f:memory": {}
                                },
                                "f:startedAt": {},
                                "f:templateName": {},
                                "f:templateScope": {},
                                "f:type": {}
                            },
                            "f:plan-exec-780895-2173032720": {
                                ".": {},
                                "f:boundaryID": {},
                                "f:children": {},
                                "f:displayName": {},
                                "f:finishedAt": {},
                                "f:hostNodeName": {},
                                "f:id": {},
                                "f:name": {},
                                "f:outputs": {
                                    ".": {},
                                    "f:artifacts": {},
                                    "f:exitCode": {},
                                    "f:parameters": {}
                                },
                                "f:phase": {},
                                "f:progress": {},
                                "f:resourcesDuration": {
                                    ".": {},
                                    "f:cpu": {},
                                    "f:memory": {}
                                },
                                "f:startedAt": {},
                                "f:templateName": {},
                                "f:templateScope": {},
                                "f:type": {}
                            },
                            "f:plan-exec-780895-3132170379": {
                                ".": {},
                                "f:boundaryID": {},
                                "f:children": {},
                                "f:displayName": {},
                                "f:finishedAt": {},
                                "f:hostNodeName": {},
                                "f:id": {},
                                "f:inputs": {
                                    ".": {},
                                    "f:parameters": {}
                                },
                                "f:name": {},
                                "f:outputs": {
                                    ".": {},
                                    "f:artifacts": {},
                                    "f:exitCode": {}
                                },
                                "f:phase": {},
                                "f:progress": {},
                                "f:resourcesDuration": {
                                    ".": {},
                                    "f:cpu": {},
                                    "f:memory": {}
                                },
                                "f:startedAt": {},
                                "f:templateName": {},
                                "f:templateScope": {},
                                "f:type": {}
                            },
                            "f:plan-exec-780895-3191657518": {
                                ".": {},
                                "f:boundaryID": {},
                                "f:displayName": {},
                                "f:finishedAt": {},
                                "f:hostNodeName": {},
                                "f:id": {},
                                "f:inputs": {
                                    ".": {},
                                    "f:parameters": {}
                                },
                                "f:name": {},
                                "f:outputs": {
                                    ".": {},
                                    "f:artifacts": {},
                                    "f:exitCode": {}
                                },
                                "f:phase": {},
                                "f:progress": {},
                                "f:resourcesDuration": {
                                    ".": {},
                                    "f:cpu": {},
                                    "f:memory": {}
                                },
                                "f:startedAt": {},
                                "f:templateName": {},
                                "f:templateScope": {},
                                "f:type": {}
                            },
                            "f:plan-exec-780895-3484288729": {
                                ".": {},
                                "f:displayName": {},
                                "f:finishedAt": {},
                                "f:hostNodeName": {},
                                "f:id": {},
                                "f:name": {},
                                "f:outputs": {
                                    ".": {},
                                    "f:artifacts": {},
                                    "f:exitCode": {}
                                },
                                "f:phase": {},
                                "f:progress": {},
                                "f:resourcesDuration": {
                                    ".": {},
                                    "f:cpu": {},
                                    "f:memory": {}
                                },
                                "f:startedAt": {},
                                "f:templateName": {},
                                "f:templateScope": {},
                                "f:type": {}
                            },
                            "f:plan-exec-780895-3632830291": {
                                ".": {},
                                "f:boundaryID": {},
                                "f:children": {},
                                "f:displayName": {},
                                "f:finishedAt": {},
                                "f:hostNodeName": {},
                                "f:id": {},
                                "f:inputs": {
                                    ".": {},
                                    "f:parameters": {}
                                },
                                "f:name": {},
                                "f:outputs": {
                                    ".": {},
                                    "f:artifacts": {},
                                    "f:exitCode": {}
                                },
                                "f:phase": {},
                                "f:progress": {},
                                "f:resourcesDuration": {
                                    ".": {},
                                    "f:cpu": {},
                                    "f:memory": {}
                                },
                                "f:startedAt": {},
                                "f:templateName": {},
                                "f:templateScope": {},
                                "f:type": {}
                            }
                        },
                        "f:outputs": {
                            ".": {},
                            "f:parameters": {}
                        },
                        "f:phase": {},
                        "f:progress": {},
                        "f:resourcesDuration": {
                            ".": {},
                            "f:cpu": {},
                            "f:memory": {}
                        },
                        "f:startedAt": {}
                    }
                }
            }
        ]
    },
    "spec": {
        "templates": [
            {
                "name": "plan-540832-1-setup",
                "inputs": {},
                "outputs": {
                    "parameters": [
                        {
                            "name": "plan-540832-1-setup-output",
                            "valueFrom": {
                                "path": "/tmp/plan-540832-1/output"
                            },
                            "globalName": "testbed-output"
                        },
                        {
                            "name": "upstream",
                            "valueFrom": {
                                "path": "/tmp/plan-540832-1/items/upstream"
                            }
                        },
                        {
                            "name": "downstream",
                            "valueFrom": {
                                "path": "/tmp/plan-540832-1/items/downstream"
                            }
                        },
                        {
                            "name": "workload",
                            "valueFrom": {
                                "path": "/tmp/plan-540832-1/items/workload"
                            }
                        }
                    ]
                },
                "metadata": {
                    "labels": {
                        "planID": "540832",
                        "role": "setUp",
                        "rootPlanExecID": "780895"
                    }
                },
                "container": {
                    "name": "",
                    "image": "hub.pingcap.net/qa/plansetup",
                    "command": ["/bin/bash", "-c"],
                    "args": [
                        "total=1\nallocated=1\niter=0\nwhile true\ndo\n    printenv TESTBED_INPUT_SPEC | tcctl testbed create --wait-timeout=30m --output-spec=\"${TESTBED_OUTPUT_SPEC}\" --credential=\"\" -f - -r http://rms.pingcap.net:30007\n    allocated=$?\n    iter=$(($iter + 1))\n    if [ $allocated = 0 ] || [ $iter -ge $total ]\n    then break\n    fi\n    sleepSeconds=$(( ( $RANDOM % 10 +  10 * $iter ) * 60 ))\n    echo sleep ${sleepSeconds}\n    sleep ${sleepSeconds}\ndone\nif [ $allocated != 0 ]\nthen exit $allocated\nfi"
                    ],
                    "env": [
                        {
                            "name": "TESTBED_INPUT_SPEC",
                            "value": "{\"generateName\":\"cdc-testbed-\",\"items\":[{\"name\":\"upstream\",\"spec\":{\"imagePullPolicy\":\"Always\",\"pd\":{\"baseImage\":\"hub-new.pingcap.net/qa/pd\",\"limits\":{\"cpu\":\"1000m\",\"memory\":\"4Gi\"},\"replicas\":3,\"requests\":{\"cpu\":\"1000m\",\"memory\":\"4Gi\"},\"version\":\"master\"},\"ticdc\":{\"baseImage\":\"hub-new.pingcap.net/qa/ticdc\",\"limits\":{\"cpu\":\"8000m\",\"memory\":\"16Gi\"},\"replicas\":3,\"requests\":{\"cpu\":\"8000m\",\"memory\":\"16Gi\"},\"version\":\"master\"},\"tidb\":{\"baseImage\":\"hub-new.pingcap.net/qa/tidb\",\"limits\":{\"cpu\":\"8000m\",\"memory\":\"16Gi\"},\"replicas\":1,\"requests\":{\"cpu\":\"8000m\",\"memory\":\"16Gi\"},\"version\":\"master\"},\"tikv\":{\"baseImage\":\"hub-new.pingcap.net/qa/tikv\",\"limits\":{\"cpu\":\"8000m\",\"memory\":\"16Gi\"},\"replicas\":3,\"requests\":{\"cpu\":\"8000m\",\"memory\":\"16Gi\"},\"storageClassName\":\"fast-disks\",\"version\":\"master\"},\"version\":\"master\"},\"type\":\"TIDB_CLUSTER\"},{\"name\":\"downstream\",\"spec\":{\"env\":{\"MYSQL_ALLOW_EMPTY_PASSWORD\":\"yes\",\"MYSQL_ROOT_HOST\":\"%\"},\"image\":\"registry-mirror.pingcap.net/mysql/mysql-server:8.0.27-1.2.6-server\",\"port\":3306,\"resources\":{\"requests\":{\"cpu\":\"4000m\",\"memory\":\"4Gi\",\"storage\":\"100Gi\"}},\"storageClassName\":\"fast-disks\",\"volumeMount\":{\"mountPath\":\"/var/lib/mysql\"}},\"type\":\"MYSQL_NODE\"},{\"name\":\"workload\",\"spec\":{\"container\":{\"command\":[\"tail\",\"-f\",\"/dev/null\"],\"image\":\"hub-new.pingcap.net/qa/go-tpc:v1.0.7\",\"name\":\"go-tpc\",\"resources\":{\"requests\":{\"cpu\":\"4000m\",\"memory\":\"4Gi\"}}}},\"type\":\"WORKLOAD_NODE\"}],\"meta\":{\"to\":[{\"name\":\"tipocket-runner\",\"kind\":\"ServiceAccount\",\"namespace\":\"testground\"}],\"accounting\":{\"name\":\"780895\",\"kind\":\"ID\",\"namespace\":\"\"}},\"name\":\"cdc-testbed-tps-780895-1-224\",\"physicalResourceRequest\":{\"cpu\":{\"core\":67},\"memory\":{\"byte\":141733920768}},\"reclaimPolicy\":{\"gcStrategy\":{\"onCompletion\":{\"artifact\":{\"log\":true,\"monitor\":true},\"reserveEnv\":{\"durationOnWorkingHour\":\"0h\",\"scaleDown\":false,\"scaleIn\":false}},\"onFailure\":{\"artifact\":{\"log\":true,\"monitor\":true},\"notification\":{\"feishu\":\"https://open.feishu.cn/open-apis/bot/v2/hook/4f6c6406-c963-4d52-8641-cca17aa734e9\"},\"reserveEnv\":{\"durationOnWorkingHour\":\"1h\",\"scaleDown\":false,\"scaleIn\":false}}},\"lease\":\"24h\"},\"resourcePool\":\"default\",\"rmsUrl\":\"http://rms.pingcap.net:30007\"}"
                        },
                        {
                            "name": "TESTBED_OUTPUT_SPEC",
                            "value": "{\"output\":\"/tmp/plan-540832-1/output\",\"items\":[{\"name\":\"upstream\",\"path\":\"/tmp/plan-540832-1/items/upstream\"},{\"name\":\"downstream\",\"path\":\"/tmp/plan-540832-1/items/downstream\"},{\"name\":\"workload\",\"path\":\"/tmp/plan-540832-1/items/workload\"}]}"
                        },
                        {
                            "name": "TOKEN",
                            "valueFrom": {
                                "secretKeyRef": {
                                    "name": "rms-secret",
                                    "key": "token"
                                }
                            }
                        }
                    ],
                    "resources": {
                        "requests": {
                            "cpu": "100m"
                        }
                    },
                    "imagePullPolicy": "Always"
                }
            },
            {
                "name": "teardown",
                "inputs": {},
                "outputs": {},
                "metadata": {
                    "labels": {
                        "role": "tearDown"
                    }
                },
                "container": {
                    "name": "",
                    "image": "hub.pingcap.net/qa/tcctl",
                    "command": ["/bin/sh", "-c"],
                    "args": [
                        "\nif [ {{workflow.status}} = \"Succeeded\" ]; then\n\ttcctl testbed complete $(printenv TESTBED_SETUP_OUTPUT | jq '.name' -r) --type Success  -r http://rms.pingcap.net:30007\nelse\n\ttcctl testbed complete $(printenv TESTBED_SETUP_OUTPUT | jq '.name' -r) --type Failure  -r http://rms.pingcap.net:30007\nfi\n"
                    ],
                    "env": [
                        {
                            "name": "TESTBED_SETUP_OUTPUT",
                            "value": "{{workflow.outputs.parameters.testbed-output}}"
                        },
                        {
                            "name": "TOKEN",
                            "valueFrom": {
                                "secretKeyRef": {
                                    "name": "rms-secret",
                                    "key": "token"
                                }
                            }
                        }
                    ],
                    "resources": {},
                    "imagePullPolicy": "Always"
                }
            },
            {
                "name": "case-30040-2",
                "inputs": {
                    "parameters": [
                        {
                            "name": "upstream"
                        },
                        {
                            "name": "downstream"
                        },
                        {
                            "name": "workload"
                        },
                        {
                            "name": "case-30040-2-timeout",
                            "default": ""
                        }
                    ]
                },
                "outputs": {
                    "artifacts": [
                        {
                            "name": "archive",
                            "path": "/tmp/case-30040-2",
                            "optional": true
                        },
                        {
                            "name": "output",
                            "path": "/tmp/case-30040-2.out",
                            "archive": {
                                "none": {}
                            },
                            "optional": true
                        }
                    ]
                },
                "metadata": {
                    "labels": {
                        "caseExecID": "1131485",
                        "caseID": "30040",
                        "role": "case",
                        "rootPlanExecID": "780895"
                    }
                },
                "container": {
                    "name": "",
                    "image": "hub.pingcap.net/lixia02/latest",
                    "command": ["/bin/sh", "-c", "/case --spec manifests/tikv_unavailable_sync.yaml"],
                    "workingDir": "/",
                    "env": [
                        {
                            "name": "TI_ARCHIVE",
                            "value": "/tmp/case-30040-2"
                        },
                        {
                            "name": "TI_CASE_EXEC_ID",
                            "value": "1131485"
                        },
                        {
                            "name": "TI_OUTPUT",
                            "value": "/tmp/case-30040-2.out"
                        },
                        {
                            "name": "TI_PARAM_RES_downstream",
                            "value": "{{inputs.parameters.downstream}}"
                        },
                        {
                            "name": "TI_PARAM_RES_upstream",
                            "value": "{{inputs.parameters.upstream}}"
                        },
                        {
                            "name": "TI_PARAM_RES_workload",
                            "value": "{{inputs.parameters.workload}}"
                        }
                    ],
                    "resources": {},
                    "imagePullPolicy": "Always"
                },
                "timeout": "{{inputs.parameters.case-30040-2-timeout}}"
            },
            {
                "name": "case-600098-3",
                "inputs": {
                    "parameters": [
                        {
                            "name": "upstream"
                        },
                        {
                            "name": "downstream"
                        },
                        {
                            "name": "workload"
                        },
                        {
                            "name": "case-600098-3-timeout",
                            "default": ""
                        }
                    ]
                },
                "outputs": {
                    "artifacts": [
                        {
                            "name": "archive",
                            "path": "/tmp/case-600098-3",
                            "optional": true
                        },
                        {
                            "name": "output",
                            "path": "/tmp/case-600098-3.out",
                            "archive": {
                                "none": {}
                            },
                            "optional": true
                        }
                    ]
                },
                "metadata": {
                    "labels": {
                        "caseExecID": "1131486",
                        "caseID": "600098",
                        "role": "case",
                        "rootPlanExecID": "780895"
                    }
                },
                "container": {
                    "name": "",
                    "image": "hub.pingcap.net/lixia02/latest",
                    "command": ["/bin/sh", "-c", "/case --spec manifests/cdc_tikv_region_split_sync.yaml"],
                    "workingDir": "/",
                    "env": [
                        {
                            "name": "TI_ARCHIVE",
                            "value": "/tmp/case-600098-3"
                        },
                        {
                            "name": "TI_CASE_EXEC_ID",
                            "value": "1131486"
                        },
                        {
                            "name": "TI_OUTPUT",
                            "value": "/tmp/case-600098-3.out"
                        },
                        {
                            "name": "TI_PARAM_RES_downstream",
                            "value": "{{inputs.parameters.downstream}}"
                        },
                        {
                            "name": "TI_PARAM_RES_upstream",
                            "value": "{{inputs.parameters.upstream}}"
                        },
                        {
                            "name": "TI_PARAM_RES_workload",
                            "value": "{{inputs.parameters.workload}}"
                        }
                    ],
                    "resources": {},
                    "imagePullPolicy": "Always"
                },
                "timeout": "{{inputs.parameters.case-600098-3-timeout}}"
            },
            {
                "name": "case-30035-4",
                "inputs": {
                    "parameters": [
                        {
                            "name": "downstream"
                        },
                        {
                            "name": "workload"
                        },
                        {
                            "name": "upstream"
                        },
                        {
                            "name": "case-30035-4-timeout",
                            "default": ""
                        }
                    ]
                },
                "outputs": {
                    "artifacts": [
                        {
                            "name": "archive",
                            "path": "/tmp/case-30035-4",
                            "optional": true
                        },
                        {
                            "name": "output",
                            "path": "/tmp/case-30035-4.out",
                            "archive": {
                                "none": {}
                            },
                            "optional": true
                        }
                    ]
                },
                "metadata": {
                    "labels": {
                        "caseExecID": "1131487",
                        "caseID": "30035",
                        "role": "case",
                        "rootPlanExecID": "780895"
                    }
                },
                "container": {
                    "name": "",
                    "image": "hub.pingcap.net/lixia02/latest",
                    "command": ["/bin/sh", "-c", "/case --spec manifests/network_negative_sync.yaml"],
                    "workingDir": "/",
                    "env": [
                        {
                            "name": "TI_ARCHIVE",
                            "value": "/tmp/case-30035-4"
                        },
                        {
                            "name": "TI_CASE_EXEC_ID",
                            "value": "1131487"
                        },
                        {
                            "name": "TI_OUTPUT",
                            "value": "/tmp/case-30035-4.out"
                        },
                        {
                            "name": "TI_PARAM_RES_downstream",
                            "value": "{{inputs.parameters.downstream}}"
                        },
                        {
                            "name": "TI_PARAM_RES_upstream",
                            "value": "{{inputs.parameters.upstream}}"
                        },
                        {
                            "name": "TI_PARAM_RES_workload",
                            "value": "{{inputs.parameters.workload}}"
                        }
                    ],
                    "resources": {},
                    "imagePullPolicy": "Always"
                },
                "timeout": "{{inputs.parameters.case-30035-4-timeout}}"
            },
            {
                "name": "plan-540832-1",
                "inputs": {},
                "outputs": {},
                "metadata": {},
                "dag": {
                    "target": "tikv-unavailable-sync cdc-tikv-region-split-sync network-negative-sync",
                    "tasks": [
                        {
                            "name": "plan-540832-1-setup",
                            "template": "plan-540832-1-setup",
                            "arguments": {}
                        },
                        {
                            "name": "tikv-unavailable-sync",
                            "template": "case-30040-2",
                            "arguments": {
                                "parameters": [
                                    {
                                        "name": "upstream",
                                        "value": "{{tasks.plan-540832-1-setup.outputs.parameters.upstream}}"
                                    },
                                    {
                                        "name": "downstream",
                                        "value": "{{tasks.plan-540832-1-setup.outputs.parameters.downstream}}"
                                    },
                                    {
                                        "name": "workload",
                                        "value": "{{tasks.plan-540832-1-setup.outputs.parameters.workload}}"
                                    }
                                ]
                            },
                            "depends": "plan-540832-1-setup"
                        },
                        {
                            "name": "cdc-tikv-region-split-sync",
                            "template": "case-600098-3",
                            "arguments": {
                                "parameters": [
                                    {
                                        "name": "upstream",
                                        "value": "{{tasks.plan-540832-1-setup.outputs.parameters.upstream}}"
                                    },
                                    {
                                        "name": "downstream",
                                        "value": "{{tasks.plan-540832-1-setup.outputs.parameters.downstream}}"
                                    },
                                    {
                                        "name": "workload",
                                        "value": "{{tasks.plan-540832-1-setup.outputs.parameters.workload}}"
                                    }
                                ]
                            },
                            "depends": "plan-540832-1-setup && (tikv-unavailable-sync.Succeeded || tikv-unavailable-sync.Failed || tikv-unavailable-sync.Skipped)"
                        },
                        {
                            "name": "network-negative-sync",
                            "template": "case-30035-4",
                            "arguments": {
                                "parameters": [
                                    {
                                        "name": "upstream",
                                        "value": "{{tasks.plan-540832-1-setup.outputs.parameters.upstream}}"
                                    },
                                    {
                                        "name": "downstream",
                                        "value": "{{tasks.plan-540832-1-setup.outputs.parameters.downstream}}"
                                    },
                                    {
                                        "name": "workload",
                                        "value": "{{tasks.plan-540832-1-setup.outputs.parameters.workload}}"
                                    }
                                ]
                            },
                            "depends": "plan-540832-1-setup && (cdc-tikv-region-split-sync.Succeeded || cdc-tikv-region-split-sync.Failed || cdc-tikv-region-split-sync.Skipped)"
                        }
                    ],
                    "failFast": false
                }
            }
        ],
        "entrypoint": "plan-540832-1",
        "arguments": {},
        "serviceAccountName": "tipocket-runner",
        "artifactRepositoryRef": {
            "configMap": "artifact-repositories",
            "key": "default"
        },
        "onExit": "teardown",
        "ttlStrategy": {
            "secondsAfterSuccess": 172800,
            "secondsAfterFailure": 604800
        },
        "podGC": {
            "strategy": "OnPodSuccess"
        }
    },
    "status": {
        "phase": "Failed",
        "startedAt": "2022-04-12T09:04:23Z",
        "finishedAt": "2022-04-12T10:11:33Z",
        "progress": "2/2",
        "nodes": {
            "plan-exec-750886": {
                "id": "plan-exec-750886",
                "name": "plan-exec-750886",
                "displayName": "plan-exec-750886",
                "type": "DAG",
                "templateName": "plan-540832-1",
                "templateScope": "local/plan-exec-750886",
                "phase": "Failed",
                "startedAt": "2022-04-12T09:04:23Z",
                "finishedAt": "2022-04-12T10:11:10Z",
                "progress": "1/1",
                "resourcesDuration": {
                    "cpu": 3602,
                    "memory": 3602
                },
                "children": ["plan-exec-750886-2732637499"],
                "outboundNodes": [
                    "plan-exec-750886-469447232",
                    "plan-exec-750886-2732069794",
                    "plan-exec-750886-3158725953"
                ]
            },
            "plan-exec-750886-2732069794": {
                "id": "plan-exec-750886-2732069794",
                "name": "plan-exec-750886.cdc-tikv-region-split-sync",
                "displayName": "cdc-tikv-region-split-sync",
                "type": "Skipped",
                "templateName": "case-600098-3",
                "templateScope": "local/plan-exec-750886",
                "phase": "Omitted",
                "boundaryID": "plan-exec-750886",
                "message": "omitted: depends condition not met",
                "startedAt": "2022-04-12T10:11:10Z",
                "finishedAt": "2022-04-12T10:11:10Z",
                "children": ["plan-exec-750886-3158725953"]
            },
            "plan-exec-750886-2732637499": {
                "id": "plan-exec-750886-2732637499",
                "name": "plan-exec-750886.plan-540832-1-setup",
                "displayName": "plan-540832-1-setup",
                "type": "Pod",
                "templateName": "plan-540832-1-setup",
                "templateScope": "local/plan-exec-750886",
                "phase": "Failed",
                "boundaryID": "plan-exec-750886",
                "message": "Error (exit code 124)",
                "startedAt": "2022-04-12T09:04:23Z",
                "finishedAt": "2022-04-12T10:11:00Z",
                "progress": "1/1",
                "resourcesDuration": {
                    "cpu": 3602,
                    "memory": 3602
                },
                "outputs": {
                    "parameters": [
                        {
                            "name": "plan-540832-1-setup-output",
                            "value": "{\"name\":\"cdc-testbed-tps-780895-1-224\"}",
                            "valueFrom": {
                                "path": "/tmp/plan-540832-1/output"
                            },
                            "globalName": "testbed-output"
                        },
                        {
                            "name": "upstream",
                            "valueFrom": {
                                "path": "/tmp/plan-540832-1/items/upstream"
                            }
                        },
                        {
                            "name": "downstream",
                            "valueFrom": {
                                "path": "/tmp/plan-540832-1/items/downstream"
                            }
                        },
                        {
                            "name": "workload",
                            "valueFrom": {
                                "path": "/tmp/plan-540832-1/items/workload"
                            }
                        }
                    ],
                    "artifacts": [
                        {
                            "name": "main-logs",
                            "s3": {
                                "key": "2022-04-12/plan-exec-750886/plan-exec-750886-2732637499/main.log"
                            }
                        }
                    ],
                    "exitCode": "124"
                },
                "children": [
                    "plan-exec-750886-469447232",
                    "plan-exec-750886-2732069794",
                    "plan-exec-750886-3158725953"
                ],
                "hostNodeName": "idc-5-86"
            },
            "plan-exec-750886-3158725953": {
                "id": "plan-exec-750886-3158725953",
                "name": "plan-exec-750886.network-negative-sync",
                "displayName": "network-negative-sync",
                "type": "Skipped",
                "templateName": "case-30035-4",
                "templateScope": "local/plan-exec-750886",
                "phase": "Omitted",
                "boundaryID": "plan-exec-750886",
                "message": "omitted: depends condition not met",
                "startedAt": "2022-04-12T10:11:10Z",
                "finishedAt": "2022-04-12T10:11:10Z"
            },
            "plan-exec-750886-3443871388": {
                "id": "plan-exec-750886-3443871388",
                "name": "plan-exec-750886.onExit",
                "displayName": "plan-exec-750886.onExit",
                "type": "Pod",
                "templateName": "teardown",
                "templateScope": "local/plan-exec-750886",
                "phase": "Succeeded",
                "startedAt": "2022-04-12T10:11:10Z",
                "finishedAt": "2022-04-12T10:11:23Z",
                "progress": "1/1",
                "resourcesDuration": {
                    "cpu": 21,
                    "memory": 21
                },
                "outputs": {
                    "artifacts": [
                        {
                            "name": "main-logs",
                            "s3": {
                                "key": "2022-04-12/plan-exec-750886/plan-exec-750886-3443871388/main.log"
                            }
                        }
                    ],
                    "exitCode": "0"
                },
                "hostNodeName": "172.16.6.22"
            },
            "plan-exec-750886-469447232": {
                "id": "plan-exec-750886-469447232",
                "name": "plan-exec-750886.tikv-unavailable-sync",
                "displayName": "tikv-unavailable-sync",
                "type": "Skipped",
                "templateName": "case-30040-2",
                "templateScope": "local/plan-exec-750886",
                "phase": "Omitted",
                "boundaryID": "plan-exec-750886",
                "message": "omitted: depends condition not met",
                "startedAt": "2022-04-12T10:11:10Z",
                "finishedAt": "2022-04-12T10:11:10Z",
                "children": ["plan-exec-750886-2732069794"]
            }
        },
        "outputs": {
            "parameters": [
                {
                    "name": "testbed-output",
                    "value": "{\"name\":\"cdc-testbed-tps-780895-1-224\"}"
                }
            ]
        },
        "conditions": [
            {
                "type": "PodRunning",
                "status": "False"
            },
            {
                "type": "Completed",
                "status": "True"
            }
        ],
        "resourcesDuration": {
            "cpu": 3623,
            "memory": 3623
        },
        "artifactRepositoryRef": {
            "configMap": "artifact-repositories",
            "key": "default",
            "namespace": "testground",
            "artifactRepository": {
                "archiveLogs": true,
                "s3": {
                    "endpoint": "minio.pingcap.net:9000",
                    "bucket": "test-infra",
                    "insecure": true,
                    "accessKeySecret": {
                        "name": "minio-cred",
                        "key": "accesskey"
                    },
                    "secretKeySecret": {
                        "name": "minio-cred",
                        "key": "secretkey"
                    },
                    "keyFormat": "{{workflow.creationTimestamp.Y}}-{{workflow.creationTimestamp.m}}-{{workflow.creationTimestamp.d}}/{{workflow.name}}/{{pod.name}}"
                }
            }
        }
    }
}
