litmuschaos / github-chaos-actions Goto Github PK
View Code? Open in Web Editor NEWGithub actions to trigger chaos on your review apps
Home Page: https://hub.litmuschaos.io/
Github actions to trigger chaos on your review apps
Home Page: https://hub.litmuschaos.io/
When try to use the chaos-actions on GKE cluster, it always encounter this issue of executable file not found.
time="2022-10-05T10:34:03Z" level=info msg="exit status 1: Unable to connect to the server: getting credentials: exec: exec: "gke-gcloud-auth-plugin": executable file not found in $PATH\n"
time="2022-10-05T10:34:03Z" level=info msg="Error: exit status 1"
Full log below:
/usr/bin/docker run --name e350d5da05cd70441190ed46c7bafd8425_3f6ee7 --label 5364e3 --workdir /github/workspace --rm -e "KUBE_CONFIG_DATA" -e "INSTALL_LITMUS" -e "APP_NS" -e "APP_LABEL" -e "APP_KIND" -e "EXPERIMENT_NAME" -e "EXPERIMENT_IMAGE" -e "EXPERIMENT_IMAGE_TAG" -e "IMAGE_PULL_POLICY" -e "TARGET_CONTAINER" -e "TOTAL_CHAOS_DURATION" -e "CHAOS_INTERVAL" -e "CONTAINER_RUNTIME" -e "LITMUS_CLEANUP" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/litmus-chaos-test/litmus-chaos-test":"/github/workspace" 5364e3:50d5da05cd70441190ed46c7bafd8425
Cloning into 'chaos-ci-lib'...
Note: switching to 'af07034b6c4875217ee785e6e552eae57e6b0286'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Random Seed: 1664966043
Will run 1 of 1 specs
I1005 10:34:03.782150 3866 install-litmus_test.go:50] [PreReq]: Getting the ENVs for the test
time="2022-10-05T10:34:03Z" level=info msg="Installing Litmus ..."
time="2022-10-05T10:34:03Z" level=info msg="Updating ChaosOperator Image ..."
time="2022-10-05T10:34:03Z" level=info msg="Updating Chaos Runner Image ..."
time="2022-10-05T10:34:03Z" level=info msg="exit status 1: Unable to connect to the server: getting credentials: exec: exec: "gke-gcloud-auth-plugin": executable file not found in $PATH\n"
time="2022-10-05T10:34:03Z" level=info msg="Error: exit status 1"
STEP: [PreChaos]: Getting kubeconfig and generate clientset
STEP: [PreChaos]: Fetching all default ENVs
STEP: Installing Litmus
โข Failure [0.109 seconds]
BDD of Litmus installation
/github/home/go/src/github.com/litmuschaos/chaos-ci-lib/litmus/install-litmus_test.go:33
Check for the Litmus components
/github/home/go/src/github.com/litmuschaos/chaos-ci-lib/litmus/install-litmus_test.go:36
Should check for creation of Litmus [It]
/github/home/go/src/github.com/litmuschaos/chaos-ci-lib/litmus/install-litmus_test.go:38
Litmus installation failed, due to {fail to apply litmus installation file, err: exit status 1}
Expected
<*errors.fundamental | 0xc0001241e0>: {
msg: "fail to apply litmus installation file, err: exit status 1",
stack: [0xfe52[25](https://github.com/BingweiH/litmus-chaos-test/actions/runs/3189114833/jobs/5202554715#step:3:26), 0x1034bff, 0xfeb[29](https://github.com/BingweiH/litmus-chaos-test/actions/runs/3189114833/jobs/5202554715#step:3:30)1, 0xfeac85, 0xfea35b, 0xfed809, 0xfed1f2, 0xff9651, 0xff9376, 0xff89c5, 0xffae05, 0x1005489, 0x10052aa, 0x10[34](https://github.com/BingweiH/litmus-chaos-test/actions/runs/3189114833/jobs/5202554715#step:3:35)9a5, 0x516b4b, 0x46dcc1],
}
to be nil
/github/home/go/src/github.com/litmuschaos/chaos-ci-lib/litmus/install-litmus_test.go:56
Summarizing 1 Failure:
[Fail] BDD of Litmus installation Check for the Litmus components [It] Should check for creation of Litmus
/github/home/go/src/github.com/litmuschaos/chaos-ci-lib/litmus/install-litmus_test.go:56
Ran 1 of 1 Specs in 0.113 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: TestInstallLitmus (0.11s)
FAIL
FAIL command-line-arguments 0.140s
FAIL
10mins + chaos-duration
inside the entrypoint.shA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.