question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Seeing different behaviour between `chaos validate` and `chaos run` when based on a URL

See original GitHub issue

When I run chaos run with a valid URL to a experiment resource on GitHub I get the following:

export APPLICATION_ENTRYPOINT_URL=http://192.168.99.100:32474; 
            export SERVICE_NAME=my-service; \
                   chaos run https://raw.githubusercontent.com/open-chaos/experiment-catalog/master/kubernetes/kill_microservice/kill_microservice.json
[2019-09-27 10:52:35 INFO] Validating the experiment's syntax
[2019-09-27 10:52:35 ERROR] could not find Python module 'chaosk8s.actions' in activity 'kill-microservice'

That is entirely fine, as the experiment appears to be being downloaded and the complaint that I don’t have the Kubernetes extension in this virtual environment is sound.

However when I do the same with chaos validate I get a different output:

export APPLICATION_ENTRYPOINT_URL=http://192.168.99.100:32474; \
            export SERVICE_NAME=my-service; \
                   chaos validate https://raw.githubusercontent.com/open-chaos/experiment-catalog/master/kubernetes/kill_microservice/kill_microservice.json
Usage: chaos validate [OPTIONS] PATH
Try "chaos validate --help" for help.

Error: Invalid value for "PATH": Path "https://raw.githubusercontent.com/open-chaos/experiment-catalog/master/kubernetes/kill_microservice/kill_microservice.json" does not exist.

This feels like the toolkit can’t access the resource?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Lawouachcommented, Sep 27, 2019

Sure. We could also assume you want to knwo if validation failed as well.

Please, open an issue on chaostoolkit-lib for this 😃

0reactions
github-actions[bot]commented, Aug 22, 2021

This Issue was closed because it was not reactivated after 7 days of being marked Stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Analysing Chaos Workflows with Litmus Portal
With chaos-engineering in the view, analysing results of complex tests and workflows over a specific time duration is a great value add to...
Read more >
A simple method for detecting chaos in nature
It is relatively simple to determine if a simulated system is chaotic: just run the simulation a few times, with very slightly different...
Read more >
Detecting & Categorizing Chaos · DynamicalSystems.jl
Detecting & Categorizing Chaos. Being able to detect and distinguish chaotic from regular behavior is crucial in the study of dynamical systems.
Read more >
Principles of chaos engineering
We learn about the behavior of a distributed system by observing it during a controlled experiment. We call this Chaos Engineering.
Read more >
What is Chaos Engineering? SREs and Leaders Define the ...
Chaos Engineering makes development teams think about the system that runs where failures are simply another day in the office: production.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found