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

Cherry-pick #19645 to 7.9: Change mirror of kafka download #21316

Merged
merged 2 commits into from
Sep 25, 2020

Conversation

jsoriano
Copy link
Member

@jsoriano jsoriano commented Sep 24, 2020

Cherry-pick of PR #19645 to 7.9 branch. Original message:

What does this PR do?

Change mirror used to download Kafka and add retries, this is the same mirror and retry mechanism used in metricbeat.

Why is it important?

Try to stabilize build of this image in CI.

@jsoriano jsoriano added [zube]: In Review backport Team:Automation Label for the Observability productivity team Team:Integrations Label for the Integrations team labels Sep 24, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Sep 24, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Sep 24, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21316 updated]

  • Start Time: 2020-09-24T18:41:48.650+0000

  • Duration: 76 min 23 sec

Test stats 🧪

Test Results
Failed 2
Passed 17356
Skipped 1759
Total 19117

Test errors

Expand to view the tests failures

  • Name: Build and Test / Libbeat / Libbeat oss / TestOutputReload – pipeline

    • Age: 1
    • Duration: 35.13
    • Error Details: Failed
  • Name: Build and Test / Libbeat / Libbeat oss / TestOutputReload/network_client – pipeline

    • Age: 1
    • Duration: 18.93
    • Error Details: Failed

Steps errors

Expand to view the steps failures

  • Name: Mage build test

    • Description: mage build test

    • Duration: 5 min 5 sec

    • Start Time: 2020-09-24T19:10:15.371+0000

    • log

  • Name: Notifies GitHub of the status of a Pull Request

    • Description: script returned exit code 1

    • Duration: 0 min 1 sec

    • Start Time: 2020-09-24T19:15:26.682+0000

    • log

  • Name: Make test

    • Description: make -C generator/_templates/beat test

    • Duration: 3 min 52 sec

    • Start Time: 2020-09-24T19:26:40.353+0000

    • log

  • Name: Notifies GitHub of the status of a Pull Request

    • Description: script returned exit code 2

    • Duration: 0 min 1 sec

    • Start Time: 2020-09-24T19:29:36.161+0000

    • log

  • Name: Make test

    • Description: make -C generator/_templates/beat test

    • Duration: 2 min 20 sec

    • Start Time: 2020-09-24T19:34:23.136+0000

    • log

  • Name: Recursively delete the current directory from the workspace

    • Description: script returned exit code 2

    • Duration: 0 min 19 sec

    • Start Time: 2020-09-24T19:36:51.617+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-24T19:57:27.750Z] + tar -xpf source.tgz
[2020-09-24T19:57:40.337Z] + rm source.tgz
[2020-09-24T19:57:40.352Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats
[2020-09-24T19:57:40.376Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Lint
[2020-09-24T19:57:40.468Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Winlogbeat-oss
[2020-09-24T19:57:40.569Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-24T19:57:40.748Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-09-24T19:57:40.852Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/dockerlogbeat
[2020-09-24T19:57:40.943Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-09-24T19:57:41.074Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Journalbeat
[2020-09-24T19:57:41.181Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-09-24T19:57:41.275Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Libbeat-oss
[2020-09-24T19:57:41.366Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Packetbeat-Linux
[2020-09-24T19:57:41.463Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-09-24T19:57:41.557Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-09-24T19:57:41.653Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Heartbeat-oss
[2020-09-24T19:57:41.769Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-09-24T19:57:41.875Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Heartbeat-Windows
[2020-09-24T19:57:41.967Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-09-24T19:57:42.056Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-09-24T19:57:42.145Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-09-24T19:57:42.228Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-09-24T19:57:42.326Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Libbeat-x-pack
[2020-09-24T19:57:42.415Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-09-24T19:57:42.503Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-09-24T19:57:42.595Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-09-24T19:57:42.692Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Filebeat-Windows
[2020-09-24T19:57:42.788Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Functionbeat-Windows
[2020-09-24T19:57:42.889Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Packetbeat-Windows
[2020-09-24T19:57:42.975Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-09-24T19:57:43.059Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-09-24T19:57:43.159Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-09-24T19:57:43.262Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-Windows
[2020-09-24T19:57:43.367Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-09-24T19:57:43.465Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-09-24T19:57:43.568Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-09-24T19:57:43.677Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-09-24T19:57:43.777Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-09-24T19:57:43.881Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-09-24T19:57:43.991Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-09-24T19:57:44.110Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-09-24T19:57:44.219Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Filebeat-x-pack
[2020-09-24T19:57:44.332Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Filebeat-oss
[2020-09-24T19:57:44.449Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-09-24T19:57:44.564Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-09-24T19:57:44.676Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-09-24T19:57:44.812Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-09-24T19:57:44.932Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-09-24T19:57:45.044Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-09-24T19:57:45.501Z] + cat
[2020-09-24T19:57:45.501Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-24T19:57:45.501Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-24T19:57:53.669Z] runbld>>> runbld started
[2020-09-24T19:57:53.669Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-24T19:57:54.621Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-24T19:57:54.884Z] runbld>>> Matches in the system config:
[2020-09-24T19:57:54.884Z] runbld>>> - Matched ^elastic\+beats
[2020-09-24T19:57:54.884Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-24T19:57:56.276Z] runbld>>> Debug logging enabled.
[2020-09-24T19:57:56.276Z] runbld>>> Storing result
[2020-09-24T19:57:56.276Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-24T19:57:56.276Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200924195755-6DB580C3
[2020-09-24T19:57:56.277Z] runbld>>> Adding system facts.
[2020-09-24T19:57:57.671Z] runbld>>> Adding vcs info for the latest commit:  c1da1dfc4515ae88a55f8800215381990ff7acb1
[2020-09-24T19:57:57.671Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-24T19:57:57.671Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-24T19:57:57.671Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-24T19:57:57.671Z] Processing JUnit reports with runbld...
[2020-09-24T19:57:58.245Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-24T19:57:58.245Z] runbld>>> DURATION: 34ms
[2020-09-24T19:57:58.245Z] runbld>>> STDOUT: 40 bytes
[2020-09-24T19:57:58.245Z] runbld>>> STDERR: 49 bytes
[2020-09-24T19:57:58.245Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-24T19:57:58.245Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21316
[2020-09-24T19:57:59.197Z] runbld>>> Storing build metadata: 
[2020-09-24T19:57:59.197Z] runbld>>> Adding test report.
[2020-09-24T19:57:59.197Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats
[2020-09-24T19:58:00.141Z] runbld>>> Found 137 test output files
[2020-09-24T19:58:00.718Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-24T19:58:00.718Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-24T19:58:00.718Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-24T19:58:00.718Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-24T19:58:00.718Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-24T19:58:01.755Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-24T19:58:01.755Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21316/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-24T19:58:04.324Z] runbld>>> Test output logs contained: Errors: 0 Failures: 2 Tests: 18966 Skipped: 1501
[2020-09-24T19:58:04.324Z] runbld>>> Storing result
[2020-09-24T19:58:04.324Z] runbld>>> FAILURES: 2
[2020-09-24T19:58:04.900Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-24T19:58:04.900Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200924195755-6DB580C3
[2020-09-24T19:58:05.166Z] runbld>>> Email notification disabled by environment variable.
[2020-09-24T19:58:05.166Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-24T19:58:10.668Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21316
[2020-09-24T19:58:10.779Z] [INFO] getVaultSecret: Getting secrets
[2020-09-24T19:58:10.869Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-24T19:58:11.673Z] + chmod 755 generate-build-data.sh
[2020-09-24T19:58:11.673Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21316/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21316/runs/2 FAILURE 4582764
[2020-09-24T19:58:11.673Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21316/runs/2/steps/?limit=10000 -o steps-info.json
[2020-09-24T19:58:16.868Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21316/runs/2/tests/?status=FAILED -o tests-errors.json
[2020-09-24T19:58:16.868Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21316/runs/2/log/ -o pipeline-log.txt

@jsoriano
Copy link
Member Author

Issue in lint job is fixed by #21311

@jsoriano
Copy link
Member Author

Failures not related, merging.

@jsoriano jsoriano merged commit a374fa2 into elastic:7.9 Sep 25, 2020
@jsoriano jsoriano deleted the backport_19645_7.9 branch September 25, 2020 09:09
v1v added a commit to v1v/beats that referenced this pull request Sep 28, 2020
* upstream/7.9:
  Change mirror of kafka download (elastic#19645) (elastic#21316)
  Update versions in Kubernetes manifests (elastic#21311)
@zube zube bot removed the [zube]: Done label Dec 24, 2020
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Automation Label for the Observability productivity team Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants