OpenAPITools / OpenAPITools/openapi-generator
Build error circle_parallel.sh, related to Go: undefined: os.ErrDeadlineExceeded
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with CI/circle_parallel.sh and the GoGinServer generation step that fails while building golang.org/x/net/http2. Check which Go version the CircleCI build uses and compare it with the issue's suggested 1.17.7 upgrade. Done means the GoGinServer step and the affected PR build complete without the os.ErrDeadlineExceeded error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100