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.x: Change mirror of kafka download #21315

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

jsoriano
Copy link
Member

@jsoriano jsoriano commented Sep 24, 2020

Cherry-pick of PR #19645 to 7.x 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
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 24, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

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

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21315 opened]

  • Start Time: 2020-09-24T17:23:51.595+0000

  • Duration: 71 min 11 sec

Test stats 🧪

Test Results
Failed 6
Passed 20230
Skipped 1862
Total 22098

Test errors

Expand to view the tests failures

  • Name: Build and Test / Elastic Agent Mac OS X / TestFleetGateway – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Elastic Agent Mac OS X / TestFleetGateway/send_no_event_and_receive_no_action – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Elastic Agent Mac OS X / TestFleetGateway/Successfully_connects_and_receives_a_series_of_actions – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Elastic Agent Mac OS X / TestFleetGateway/Periodically_communicates_with_Fleet – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Elastic Agent Mac OS X / TestFleetGateway/send_event_and_receive_no_action – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build and Test / Elastic Agent Mac OS X / TestFleetGateway/Test_the_wait_loop_is_interruptible – application

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

Steps errors

Expand to view the steps failures

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Duration: 13 min 8 sec

    • Start Time: 2020-09-24T17:55:31.933+0000

    • log

  • Name: Recursively delete the current directory from the workspace

    • Description: script returned exit code 1

    • Duration: 1 min 35 sec

    • Start Time: 2020-09-24T18:08:53.550+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-24T18:34:23.746Z] + rm source.tgz
[2020-09-24T18:34:23.784Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats
[2020-09-24T18:34:23.852Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Lint
[2020-09-24T18:34:24.070Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-09-24T18:34:24.296Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-09-24T18:34:24.594Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Winlogbeat-oss
[2020-09-24T18:34:24.801Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-24T18:34:25.064Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-09-24T18:34:25.672Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-09-24T18:34:26.089Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-09-24T18:34:26.523Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-09-24T18:34:26.927Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/dockerlogbeat
[2020-09-24T18:34:27.316Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Journalbeat
[2020-09-24T18:34:27.730Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-09-24T18:34:28.293Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-09-24T18:34:28.708Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-09-24T18:34:29.150Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-09-24T18:34:29.537Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Packetbeat-Linux
[2020-09-24T18:34:30.037Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-09-24T18:34:30.292Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-09-24T18:34:30.487Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-09-24T18:34:30.679Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Heartbeat-Windows
[2020-09-24T18:34:30.895Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-09-24T18:34:31.125Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-09-24T18:34:31.328Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-09-24T18:34:31.515Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-09-24T18:34:31.693Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-09-24T18:34:31.887Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Heartbeat-oss
[2020-09-24T18:34:32.066Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-09-24T18:34:32.236Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-09-24T18:34:32.403Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-09-24T18:34:32.582Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Functionbeat-Windows
[2020-09-24T18:34:32.768Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-09-24T18:34:32.946Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Filebeat-Windows
[2020-09-24T18:34:33.130Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-09-24T18:34:33.295Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Libbeat-x-pack
[2020-09-24T18:34:33.468Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-09-24T18:34:33.638Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Packetbeat-Windows
[2020-09-24T18:34:33.838Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-Windows
[2020-09-24T18:34:34.013Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-09-24T18:34:34.309Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-09-24T18:34:34.489Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-09-24T18:34:34.667Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Filebeat-oss
[2020-09-24T18:34:34.850Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-09-24T18:34:35.027Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-09-24T18:34:35.235Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Filebeat-x-pack
[2020-09-24T18:34:35.445Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Libbeat-oss
[2020-09-24T18:34:35.641Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-09-24T18:34:35.869Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-09-24T18:34:36.081Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-09-24T18:34:36.704Z] + cat
[2020-09-24T18:34:36.704Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-24T18:34:36.704Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-24T18:34:43.303Z] runbld>>> runbld started
[2020-09-24T18:34:43.303Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-24T18:34:45.231Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-24T18:34:45.231Z] runbld>>> Matches in the system config:
[2020-09-24T18:34:45.231Z] runbld>>> - Matched ^elastic\+beats
[2020-09-24T18:34:45.231Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-24T18:34:46.634Z] runbld>>> Debug logging enabled.
[2020-09-24T18:34:46.634Z] runbld>>> Storing result
[2020-09-24T18:34:46.634Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-24T18:34:46.634Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200924183446-8B748318
[2020-09-24T18:34:46.634Z] runbld>>> Adding system facts.
[2020-09-24T18:34:48.037Z] runbld>>> Adding vcs info for the latest commit:  003fa2cc33904d5a14b08bf5dca18a8a967fc20a
[2020-09-24T18:34:48.037Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-24T18:34:48.037Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-24T18:34:48.037Z] Processing JUnit reports with runbld...
[2020-09-24T18:34:48.037Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-24T18:34:48.301Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-24T18:34:48.301Z] runbld>>> DURATION: 42ms
[2020-09-24T18:34:48.301Z] runbld>>> STDOUT: 40 bytes
[2020-09-24T18:34:48.301Z] runbld>>> STDERR: 49 bytes
[2020-09-24T18:34:48.301Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-24T18:34:48.301Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21315
[2020-09-24T18:34:49.254Z] runbld>>> Storing build metadata: 
[2020-09-24T18:34:49.254Z] runbld>>> Adding test report.
[2020-09-24T18:34:49.254Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats
[2020-09-24T18:34:50.202Z] runbld>>> Found 140 test output files
[2020-09-24T18:34:50.779Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-24T18:34:50.779Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-24T18:34:50.779Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-24T18:34:50.779Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-24T18:34:50.779Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-24T18:34:51.727Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-24T18:34:51.727Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21315/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-24T18:34:53.646Z] runbld>>> Test output logs contained: Errors: 0 Failures: 6 Tests: 21943 Skipped: 1578
[2020-09-24T18:34:53.646Z] runbld>>> Storing result
[2020-09-24T18:34:53.646Z] runbld>>> FAILURES: 6
[2020-09-24T18:34:55.037Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-24T18:34:55.037Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200924183446-8B748318
[2020-09-24T18:34:55.300Z] runbld>>> Email notification disabled by environment variable.
[2020-09-24T18:34:55.300Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-24T18:35:01.557Z] Running on worker-395930 in /var/lib/jenkins/workspace/Beats_beats_PR-21315
[2020-09-24T18:35:01.708Z] [INFO] getVaultSecret: Getting secrets
[2020-09-24T18:35:01.814Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-24T18:35:04.135Z] + chmod 755 generate-build-data.sh
[2020-09-24T18:35:04.135Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21315/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21315/runs/1 FAILURE 4271134
[2020-09-24T18:35:04.135Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21315/runs/1/steps/?limit=10000 -o steps-info.json
[2020-09-24T18:35:08.246Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21315/runs/1/tests/?status=FAILED -o tests-errors.json

@jsoriano jsoriano merged commit bb0869b into elastic:7.x Sep 24, 2020
@jsoriano jsoriano deleted the backport_19645_7.x branch September 24, 2020 18:39
@zube zube bot removed the [zube]: Done label Dec 24, 2020
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