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] Add resilience when donwloading dependencies with Make test #23544

Closed
2 tasks
v1v opened this issue Jan 18, 2021 · 1 comment
Closed
2 tasks

[build] Add resilience when donwloading dependencies with Make test #23544

v1v opened this issue Jan 18, 2021 · 1 comment
Labels
Stalled Team:Automation Label for the Observability productivity team

Comments

@v1v
Copy link
Member

v1v commented Jan 18, 2021

What

#21614 was a fix to retry to download dependencies, but it seems in some cases we still face the issue.

[2021-01-14T15:32:43.998Z] go get github.com/elastic/beats/v7@cc3169932b137f522c2ff392c035336ce979af1a: github.com/elastic/beats/v7@cc3169932b137f522c2ff392c035336ce979af1a: invalid version: Get "https://proxy.golang.org/github.com/elastic/beats/v7/@v/cc3169932b137f522c2ff392c035336ce979af1a.info": net/http: TLS handshake timeout
[2021-01-14T15:32:43.998Z] Error: running "go get -d -u github.com/elastic/beats/v7@cc3169932b137f522c2ff392c035336ce979af1a" failed with exit code 1
[2021-01-14T15:32:43.998Z] error while getting required beats version
[2021-01-14T15:32:43.998Z] github.com/elastic/beats/v7/generator/common/beatgen.Generate
[2021-01-14T15:32:43.998Z] 	/var/lib/jenkins/workspace/Beats_beats_7.10/src/github.com/elastic/beats/generator/common/beatgen/beatgen.go:126
[2021-01-14T15:32:43.998Z] main.GenerateCustomBeat
[2021-01-14T15:32:43.998Z] 	/var/lib/jenkins/workspace/Beats_beats_7.10/src/github.com/elastic/beats/magefile.go:51
[2021-01-14T15:32:43.998Z] main.main.func18
[2021-01-14T15:32:43.998Z] 	/var/lib/jenkins/workspace/Beats_beats_7.10/src/github.com/elastic/beats/mage_output_file.go:476
[2021-01-14T15:32:43.998Z] main.main.func12.1
[2021-01-14T15:32:43.998Z] 	/var/lib/jenkins/workspace/Beats_beats_7.10/src/github.com/elastic/beats/mage_output_file.go:270
[2021-01-14T15:32:43.998Z] runtime.goexit
[2021-01-14T15:32:43.998Z] 	/var/lib/jenkins/workspace/Beats_beats_7.10/.gvm/versions/go1.14.12.darwin.amd64/src/runtime/asm_amd64.s:1373
[2021-01-14T15:32:43.998Z] make: *** [prepare-test] Error 1

What command did it run?

$ make -C generator/_templates/metricbeat test

image

image

Actions

  • Does the make supports any specific goals to download all the dependencies?
  • If so, let's split the make with some retry within the CI
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jan 18, 2021
@andresrc andresrc added the Team:Automation Label for the Observability productivity team label Jan 20, 2021
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jan 20, 2021
@botelastic
Copy link

botelastic bot commented Dec 21, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Dec 21, 2021
@botelastic botelastic bot closed this as completed Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stalled Team:Automation Label for the Observability productivity team
Projects
None yet
Development

No branches or pull requests

2 participants