get-gke-credentials icon indicating copy to clipboard operation
get-gke-credentials copied to clipboard

Unclear what went wrong (massive stack trace)

Open sourishkrout opened this issue 2 years ago • 1 comments

TL;DR

CI job stopped working due to what was likely an intermittent error (resolved itself after some time) on GCP/GKE's side. Unclear what happened since GH action just traced its own source code.

Expected behavior

An error message that includes an indicator of what went wrong, even if it just surfaces the upstream error message.

At the minimum, it'd be great not to trace all of the source file. Turns out there wasn't a needle in this haystack.

Observed behavior

Appears on error the GitHub action traces it's own source file? Fwiw, the "stack trace" contains no trace of an underlying error.

Action YAML

https://github.com/stateful/linkerd-website/actions/runs/4545065193/workflow

Log output

https://gist.github.com/sourishkrout/03222ab313752d3aa5ac59224ac348a6

Additional information

No response

sourishkrout avatar Mar 30 '23 19:03 sourishkrout

Hi @sourishkrout - we do our best to catch errors and return human friendly ones. The entire function is wrapped in a try-catch. Unfortunately this error was thrown before it made it to our code execution (it's like GitHub Actions failed to parse the javascript). I don't really think there's anything we can do here, since it never executed our code.

sethvargo avatar Mar 30 '23 19:03 sethvargo

Closing due to lack of response.

sethvargo avatar May 28 '24 15:05 sethvargo