In my experience (as maintainer of that plugin and a frequent user until a year or so ago) those errors are usually caused by networking issues or rate limits on the remote repository manager.
Unfortunately the plugin does not report back to the GoCD API the details of what is going on so that it can appear in the server console logs - so you get these generic errors that the process fork returned an error code, but not the stderr or log stream which is not so helpful. See https://github.com/TWChennai/gocd-git-path-material-plugin/issues/26 for the context and a suggested workaround or check out the plugin-specific log files from an agent when it happens (it's usually a good idea to look in the plugin repo GitHub issues for plugin-specific challenges) What you may find if you have many materials using this plugin in a polling mode and many parallel jobs is that you are getting rate limited by GitHub. Just a guess though. -chad On Fri, 12 Aug 2022, 23:23 Sifu Tian, <[email protected]> wrote: > Hi Folks, > > I keep getting this error on various pipelines. Its not consistent but > frequent enough to be annoying. > > I confirmed the materials are parsed and up to date. > Any thoughts on why this is happening? > > > Material qa.cypress.automation checkout failed: The plugin sent a response > that could not be understood by Go. Plugin returned with code '500' and the > following response: '"checkout failed due to [RuntimeException: Exception > (Process exited with an error: 128 (Exit value: 128)) Occurred: [git, > clone, --branch=master, https://github.com/Cypressrx/cypress, > /go/pipelines/Cypress-Qa-Build] - null], rootCause [ExecuteException: > Process exited with an error: 128 (Exit value: 128)]"' > > The plugin sent a response that could not be understood by Go. Plugin > returned with code '500' and the following response: '"checkout failed due > to [RuntimeException: Exception (Process exited with an error: 128 (Exit > value: 128)) Occurred: [git, clone, --branch=master, > https://github.com/cypressrx/cypress, /go/pipelines/Cypress-Qa-Build] - > null], rootCause [ExecuteException: Process exited with an error: 128 (Exit > value: 128)]"' > > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/64296719-5516-4ba1-bf27-5e274c011b55n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/64296719-5516-4ba1-bf27-5e274c011b55n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAA1RwH83BMsa2W%3DR%3DPME0G153e5kJahftBUhnETUpo0LBVLTLg%40mail.gmail.com.
