TypeError: Converting circular structure to JSON
Hi,
In the context of using github action runners in kubernetes sith scalesets, we recently saw this error happening at checkout.
What is the meaning of the error?
Error: TypeError: Converting circular structure to JSON
--> starting at object with constructor 'ClientRequest'
| property 'socket' -> object with constructor 'TLSSocket'
--- property '_httpMessage' closes the circle
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
Also, If it helps, in the Post step, we see this
env: can't execute '/__e/node20/bin/node': No such file or directory
Error: Error: failed to run script step: command terminated with non-zero exit code: error executing command [sh -e /__w/_temp/f3[5](https://github.com/....EDITED...)1d450-e79e-11ef-bdc3-07b71b06c61b.sh], exit code 127
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
Hi @remidebette , Is there any updates? I met the same issue.
For us it was a corrupted node on our on premisses kubernetes cluster that was prematurely killing the pods. Getting it out and recycling it solved the issue.
But the logs here clearly don't handle this use case and don't help in finding the culprit node
this is happening on our end as well.
IMO, this happens at some random step of a GitHub workflow run, on GHES v3.12.
It even fails on just steps.run with echo hello.
(FYI I am using gha-runner-set v0.11 with kubernetes enabled, along with openebs hostpath volume.)
Created this in the forums to advance https://github.com/orgs/community/discussions/162615