Build error circle_parallel.sh, related to Go: undefined: os.ErrDeadlineExceeded
Created by: kthoms
Description
A build error occurs on different PR builds on node2 in step ./CI/circle_parallel.sh
, e.g.
https://app.circleci.com/pipelines/github/OpenAPITools/openapi-generator/15810/workflows/daabea56-d168-44e2-be62-f08650dc0d39/jobs/31570
# golang.org/x/net/http2
/home/circleci/.go_workspace/src/golang.org/x/net/http2/transport.go:417:45: undefined: os.ErrDeadlineExceeded
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (go-get) on project GoGinServer: Command execution failed. Process exited with an error: 2 (Exit value: 2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :GoGinServer
Related issues/PRs
Similar issue is reported here: https://github.com/odeke-em/drive/issues/1128
Suggest a fix
Upgrade Go to latest (currently 1.17.7)