Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
related to #237 Similar to the other migrated experiments I followed same approach as described here #268 > The experiment was executed and verified via the integration test against a self-managed cluster. > > I moved the experiment into the chaos-experiments/camunda-cloud/test/ folder and migrated it, with that approach I was able to execute the experiment with eze and running against my self-managed zell-chaos zeebe cluster. ``` Create ChaosToolkit instance Open workers: [zbchaos, readExperiments]. Handle read experiments job [key: 2251799813685265] Read experiments successful, complete job with: {"experiments":[{"contributions":{"availability":"high","reliability":"high"},"description":"This fake experiment is just to test the integration with Zeebe and zbchaos workers","method":[{"name":"Show again the version","provider":{"arguments":["version"],"path":"zbchaos","timeout":900,"type":"process"},"tolerance":0,"type":"action"}],"rollbacks":[],"steady-state-hypothesis":{"probes":[{"name":"Show version","provider":{"arguments":["version"],"path":"zbchaos","timeout":900,"type":"process"},"tolerance":0,"type":"probe"}],"title":"Zeebe is alive"},"title":"This is a fake experiment","version":"0.1.0"},{"contributions":{"availability":"high","reliability":"high"},"description":"The cpu stress on an abritrary node should not cause any failures. We should be able to start and complete instances.","method":[{"name":"Stress CPU on Broker","provider":{"arguments":["stress","broker","--cpu"],"path":"zbchaos","type":"process"},"type":"action"}],"rollbacks":[],"steady-state-hypothesis":{"probes":[{"name":"All pods should be ready","provider":{"arguments":["verify","readiness"],"path":"zbchaos","timeout":900,"type":"process"},"tolerance":0,"type":"probe"},{"name":"Can deploy process model","provider":{"arguments":["deploy","process"],"path":"zbchaos","timeout":900,"type":"process"},"tolerance":0,"type":"probe"},{"name":"Should be able to create process instances on partition 1","provider":{"arguments":["verify","instance-creation","--partitionId","1"],"path":"zbchaos","timeout":900,"type":"process"},"tolerance":0,"type":"probe"}],"title":"Zeebe is alive"},"title":"CPU stress on an Broker","version":"0.1.0"}]}. Handle zbchaos job [key: 2251799813685328] Running command with args: [version] zbchaos development (commit: HEAD) Handle zbchaos job [key: 2251799813685374] Running command with args: [version] zbchaos development (commit: HEAD) Handle zbchaos job [key: 2251799813685417] Running command with args: [version] zbchaos development (commit: HEAD) Handle zbchaos job [key: 2251799813685508] Running command with args: [verify readiness] Connecting to zell-chaos Running experiment in self-managed environment. All Zeebe nodes are running. Handle zbchaos job [key: 2251799813685551] Running command with args: [deploy process] Connecting to zell-chaos Running experiment in self-managed environment. Successfully created port forwarding tunnel Deploy file bpmn/one_task.bpmn (size: 2526 bytes). Deployed process model bpmn/one_task.bpmn successful with key 2251799813685263. Deployed given process model , under key 2251799813685263! Handle zbchaos job [key: 2251799813685595] Running command with args: [verify instance-creation --partitionId 1] Connecting to zell-chaos Running experiment in self-managed environment. Successfully created port forwarding tunnel Send create process instance command, with BPMN process ID 'benchmark' and version '-1' (-1 means latest) [variables: '', awaitResult: false] Created process instance with key 4503599627370533 on partition 2, required partition 1. Send create process instance command, with BPMN process ID 'benchmark' and version '-1' (-1 means latest) [variables: '', awaitResult: false] Created process instance with key 6755399441055781 on partition 3, required partition 1. Send create process instance command, with BPMN process ID 'benchmark' and version '-1' (-1 means latest) [variables: '', awaitResult: false] Created process instance with key 2251799813685304 on partition 1, required partition 1. The steady-state was successfully verified! Handle zbchaos job [key: 2251799813685642] Running command with args: [stress broker --cpu] Connecting to zell-chaos Running experiment in self-managed environment. Successfully created port forwarding tunnel Found Broker zell-chaos-zeebe-0 as LEADER for partition 1. Put stress on zell-chaos-zeebe-0 Execute ["apt" "-qq" "update"] on pod zell-chaos-zeebe-0 Execute ["apt" "-qq" "install" "-y" "stress" "procps"] on pod zell-chaos-zeebe-0 Execute ["stress" "--timeout" "30" "--cpu" "256"] on pod zell-chaos-zeebe-0 Handle zbchaos job [key: 2251799813685871] Running command with args: [verify readiness] Connecting to zell-chaos Running experiment in self-managed environment. All Zeebe nodes are running. Handle zbchaos job [key: 2251799813685913] Running command with args: [deploy process] Connecting to zell-chaos Running experiment in self-managed environment. Successfully created port forwarding tunnel Deploy file bpmn/one_task.bpmn (size: 2526 bytes). Deployed process model bpmn/one_task.bpmn successful with key 2251799813685263. Deployed given process model , under key 2251799813685263! Handle zbchaos job [key: 2251799813685977] Running command with args: [verify instance-creation --partitionId 1] Connecting to zell-chaos Running experiment in self-managed environment. Successfully created port forwarding tunnel Send create process instance command, with BPMN process ID 'benchmark' and version '-1' (-1 means latest) [variables: '', awaitResult: false] Created process instance with key 4503599627370539 on partition 2, required partition 1. Send create process instance command, with BPMN process ID 'benchmark' and version '-1' (-1 means latest) [variables: '', awaitResult: false] Created process instance with key 6755399441055787 on partition 3, required partition 1. Send create process instance command, with BPMN process ID 'benchmark' and version '-1' (-1 means latest) [variables: '', awaitResult: false] Created process instance with key 2251799813685311 on partition 1, required partition 1. The steady-state was successfully verified! Instance 2251799813685257 [definition 2251799813685253 ] completed --- PASS: Test_ShouldBeAbleToRunExperiments (32.20s) PASS Process finished with the exit code 0 ```
- Loading branch information