Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error circle_parallel.sh, related to Go: undefined: os.ErrDeadlineExceeded #11664

Open
kthoms opened this issue Feb 19, 2022 · 2 comments

Comments

@kthoms
Copy link
Contributor

kthoms commented Feb 19, 2022

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:
odeke-em/drive#1128

Suggest a fix

Upgrade Go to latest (currently 1.17.7)

@bamapookie
Copy link
Contributor

This is affecting my PR #11627 as well.

@wing328
Copy link
Member

wing328 commented Feb 20, 2022

please ignore that build failure for the time being, i'll try to fix it later

kthoms pushed a commit to kthoms/openapi-generator that referenced this issue Feb 24, 2022
Builds were failing with error:
  src/golang.org/x/net/http2/transport.go:417:45: undefined: os.ErrDeadlineExceeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants