Viewing Result of a Litmus Experiment
Litmus test results are captured in the Litmus custom resource along with test metadata. The custom resource name is the same as the litmusbook job name (in some cases followed by a user-specific tag if the RUN_ID ENV is specified in the container spec of ansible-runner). Upon job completion, the results can be viewed using kubectl commands
Kubectl get litmusresult <custom resource name> -o custom-columns=:spec.testStatus.result
An example spec (pruned) of a litmus result custom resource:
apiVersion: litmus.io/v1alpha1
kind: LitmusResult
metadata:
name: storage-volume-replica-failure
namespace: litmus
spec:
testMetadata:
app: percona
chaostype: openebs/jiva_replica_pod_failure
testStatus:
phase: completed
result: Pass