We are using GitLab for CI and Gradle is our build tool.
We were getting below error in test stage. However, we solved it by changing the runner. earlier we used dind runner for pipeline execution where we got below error. By using docker runner we fixed the issue.
But Now I need to find out RCA. Can anyone guide me what is exit value 255 means? what is the RCA for this issue? There is nothing else mentioned in logs so I’m not able to figure out RCA.
Exit codes per-se do not have any meaning.
It is almost always just in context of the thing you execute what it could mean.
If you for example have a test that calls System.exit(255) that could cause that.
Maybe try increasing the log level using --info or --debug to get more information about what is happening.