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

Change mirror of kafka download #19645

Merged
merged 2 commits into from
Sep 24, 2020

Conversation

jsoriano
Copy link
Member

@jsoriano jsoriano commented Jul 3, 2020

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 in progress Pull request is currently in progress. :Testing flaky-test Unstable or unreliable test cases. [zube]: In Progress Team:Integrations Label for the Integrations team labels Jul 3, 2020
@jsoriano jsoriano self-assigned this Jul 3, 2020
@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 Jul 3, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jul 3, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [jsoriano commented: jenkins run the tests please]

  • Start Time: 2020-09-24T14:32:36.798+0000

  • Duration: 77 min 9 sec

Test stats 🧪

Test Results
Failed 1
Passed 16033
Skipped 1308
Total 17342

Test errors

Expand to view the tests failures

  • Name: Build and Test / Libbeat / Libbeat oss / TestClientPublishEventKerberosAware – elasticsearch

    • Age: 3
    • Duration: 2.69
    • Error Details: Failed

Steps errors

Expand to view the steps failures

  • Name: Mage build test

    • Description: mage build test

    • Duration: 18 min 15 sec

    • Start Time: 2020-09-24T14:59:49.070+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-24T15:18:16.363+0000

    • log

  • Name: Install Go 1.14.7

    • Description: .ci/scripts/install-go.sh

    • Duration: 1 min 33 sec

    • Start Time: 2020-09-24T15:00:01.061+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-24T15:48:38.216Z] + git config user.email [email protected]
[2020-09-24T15:48:38.216Z] + git config user.name beatsmachine
[2020-09-24T15:48:38.585Z] + .ci/scripts/terraform-cleanup.sh x-pack/metricbeat
[2020-09-24T15:48:38.586Z] + DIRECTORY=x-pack/metricbeat
[2020-09-24T15:48:38.586Z] + FAILED=0
[2020-09-24T15:48:38.586Z] ++ find x-pack/metricbeat -name terraform.tfstate
[2020-09-24T15:48:38.586Z] + exit 0
[2020-09-24T15:48:51.600Z] [INFO] unstashV2: JOB_GCS_BUCKET is set. bucket param got precedency instead.
[2020-09-24T15:48:51.623Z] [INFO] unstashV2: JOB_GCS_CREDENTIALS is set. credentialsId param got precedency instead.
[2020-09-24T15:48:51.686Z] [Google Cloud Storage Plugin] Found 1 files to download from pattern: gs://beats-ci-temp/Beats/beats/PR-19645-4/source/source.tgz
[2020-09-24T15:48:51.705Z] [Google Cloud Storage Plugin] Downloading: Beats/beats/PR-19645-4/source/source.tgz to local path: /var/lib/jenkins/workspace/Beats_beats_PR-19645/source.tgz
[2020-09-24T15:49:03.355Z] + tar --version
[2020-09-24T15:49:03.656Z] + tar -xpf source.tgz
[2020-09-24T15:49:16.227Z] + rm source.tgz
[2020-09-24T15:49:16.241Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats
[2020-09-24T15:49:16.264Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Lint
[2020-09-24T15:49:16.374Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-24T15:49:16.476Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Winlogbeat-oss
[2020-09-24T15:49:16.577Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-09-24T15:49:16.663Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Journalbeat
[2020-09-24T15:49:16.751Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/dockerlogbeat
[2020-09-24T15:49:16.850Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-09-24T15:49:16.954Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Packetbeat-Linux
[2020-09-24T15:49:17.049Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-09-24T15:49:17.163Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-09-24T15:49:17.256Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-09-24T15:49:17.369Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-09-24T15:49:17.475Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Heartbeat-Windows
[2020-09-24T15:49:17.565Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Heartbeat-oss
[2020-09-24T15:49:17.674Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-09-24T15:49:17.779Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-09-24T15:49:17.874Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-09-24T15:49:17.975Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-09-24T15:49:18.075Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-09-24T15:49:18.169Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-09-24T15:49:18.269Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Filebeat-Windows
[2020-09-24T15:49:18.374Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-09-24T15:49:18.463Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Libbeat-x-pack
[2020-09-24T15:49:18.559Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Packetbeat-Windows
[2020-09-24T15:49:18.660Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Functionbeat-Windows
[2020-09-24T15:49:18.752Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-09-24T15:49:18.845Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-Windows
[2020-09-24T15:49:18.933Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Libbeat-oss
[2020-09-24T15:49:19.015Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-09-24T15:49:19.109Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Filebeat-oss
[2020-09-24T15:49:19.215Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Filebeat-x-pack
[2020-09-24T15:49:19.312Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-09-24T15:49:19.473Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-09-24T15:49:19.557Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-09-24T15:49:19.977Z] + cat
[2020-09-24T15:49:19.977Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-24T15:49:19.977Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-24T15:49:28.215Z] runbld>>> runbld started
[2020-09-24T15:49:28.215Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-24T15:49:30.133Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-24T15:49:30.133Z] runbld>>> Matches in the system config:
[2020-09-24T15:49:30.133Z] runbld>>> - Matched ^elastic\+beats
[2020-09-24T15:49:30.133Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-24T15:49:31.526Z] runbld>>> Debug logging enabled.
[2020-09-24T15:49:31.526Z] runbld>>> Storing result
[2020-09-24T15:49:31.795Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-24T15:49:31.795Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200924154931-2539DDED
[2020-09-24T15:49:31.795Z] runbld>>> Adding system facts.
[2020-09-24T15:49:33.185Z] runbld>>> Adding vcs info for the latest commit:  4205bd374ba964881192574d77dee70b1ed6feb1
[2020-09-24T15:49:33.185Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-24T15:49:33.185Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-24T15:49:33.185Z] Processing JUnit reports with runbld...
[2020-09-24T15:49:33.185Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-24T15:49:33.446Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-24T15:49:33.446Z] runbld>>> DURATION: 43ms
[2020-09-24T15:49:33.446Z] runbld>>> STDOUT: 40 bytes
[2020-09-24T15:49:33.446Z] runbld>>> STDERR: 49 bytes
[2020-09-24T15:49:33.446Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-24T15:49:33.446Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-19645
[2020-09-24T15:49:34.829Z] runbld>>> Storing build metadata: 
[2020-09-24T15:49:34.829Z] runbld>>> Adding test report.
[2020-09-24T15:49:34.829Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats
[2020-09-24T15:49:35.401Z] runbld>>> Found 120 test output files
[2020-09-24T15:49:35.974Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-24T15:49:35.974Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-24T15:49:35.974Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-24T15:49:35.974Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-24T15:49:35.974Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-24T15:49:36.919Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-24T15:49:36.919Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19645/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-24T15:49:38.836Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 17185 Skipped: 1071
[2020-09-24T15:49:38.837Z] runbld>>> Storing result
[2020-09-24T15:49:38.837Z] runbld>>> FAILURES: 1
[2020-09-24T15:49:39.409Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-24T15:49:39.409Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200924154931-2539DDED
[2020-09-24T15:49:39.409Z] runbld>>> Email notification disabled by environment variable.
[2020-09-24T15:49:39.409Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-24T15:49:45.098Z] Running on worker-1244230 in /var/lib/jenkins/workspace/Beats_beats_PR-19645
[2020-09-24T15:49:45.221Z] [INFO] getVaultSecret: Getting secrets
[2020-09-24T15:49:45.325Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-24T15:49:47.433Z] + chmod 755 generate-build-data.sh
[2020-09-24T15:49:47.433Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19645/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19645/runs/4 FAILURE 4629231
[2020-09-24T15:49:47.433Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19645/runs/4/steps/?limit=10000 -o steps-info.json
[2020-09-24T15:49:51.553Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19645/runs/4/tests/?status=FAILED -o tests-errors.json
[2020-09-24T15:49:53.007Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19645/runs/4/log/ -o pipeline-log.txt

@jsoriano jsoriano marked this pull request as ready for review September 24, 2020 09:40
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@jsoriano jsoriano added the Team:Automation Label for the Observability productivity team label Sep 24, 2020
@jsoriano
Copy link
Member Author

jenkins run the tests please

@jsoriano
Copy link
Member Author

Failing test is #21295, merging

@jsoriano jsoriano merged commit 1f7f9c5 into elastic:master Sep 24, 2020
@jsoriano jsoriano deleted the kafka-input-docker-test branch September 24, 2020 17:21
jsoriano added a commit to jsoriano/beats that referenced this pull request Sep 24, 2020
jsoriano added a commit to jsoriano/beats that referenced this pull request Sep 24, 2020
jsoriano added a commit that referenced this pull request Sep 24, 2020
jsoriano added a commit that referenced this pull request Sep 25, 2020
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)
v1v added a commit to v1v/beats that referenced this pull request Sep 28, 2020
* upstream/master: (417 commits)
  libbeat/cmd/instance: report cgroup stats (elastic#21113)
  Configurable index template loading (elastic#21212)
  [Ingest Manager] Thread safe sorted set (elastic#21290)
  Change mirror of kafka download (elastic#19645)
  [Ingest manager] Copy Action store on upgrade (elastic#21298)
  [CI] Pipeline 2.0 for monorepos (elastic#20104)
  Stop running agent container as root by default (elastic#21213)
  Stop running auditbeat container as root by default (elastic#21202)
  Fix autodiscover flaky tests (elastic#21242)
  [Ingest Manager] Enabled dev builds (elastic#21241)
  Fix librpm installation in auditbeat build (elastic#21239)
  Fix prometheus default config (elastic#21253)
  Fix dev guide test command (elastic#21254)
  Move aws lambda metricset to GA (elastic#21255)
  [Docs] Typo in table syntax (elastic#20227)
  [ECS] Adds related.hosts to capture all hostnames and host identifiers on an event. (elastic#21160)
  Add recursive split to httpjson (elastic#21214)
  [DOCS] Add beat specific start widgets (elastic#21217)
  Fix timestamp handling in remote_write (elastic#21166)
  Fix aws, azure and googlecloud compute dashboards (elastic#21098)
  ...
v1v added a commit to v1v/beats that referenced this pull request Sep 28, 2020
* upstream/master: (399 commits)
  libbeat/cmd/instance: report cgroup stats (elastic#21113)
  Configurable index template loading (elastic#21212)
  [Ingest Manager] Thread safe sorted set (elastic#21290)
  Change mirror of kafka download (elastic#19645)
  [Ingest manager] Copy Action store on upgrade (elastic#21298)
  [CI] Pipeline 2.0 for monorepos (elastic#20104)
  Stop running agent container as root by default (elastic#21213)
  Stop running auditbeat container as root by default (elastic#21202)
  Fix autodiscover flaky tests (elastic#21242)
  [Ingest Manager] Enabled dev builds (elastic#21241)
  Fix librpm installation in auditbeat build (elastic#21239)
  Fix prometheus default config (elastic#21253)
  Fix dev guide test command (elastic#21254)
  Move aws lambda metricset to GA (elastic#21255)
  [Docs] Typo in table syntax (elastic#20227)
  [ECS] Adds related.hosts to capture all hostnames and host identifiers on an event. (elastic#21160)
  Add recursive split to httpjson (elastic#21214)
  [DOCS] Add beat specific start widgets (elastic#21217)
  Fix timestamp handling in remote_write (elastic#21166)
  Fix aws, azure and googlecloud compute dashboards (elastic#21098)
  ...
v1v added a commit to v1v/beats that referenced this pull request Sep 28, 2020
* upstream/master: (60 commits)
  libbeat/cmd/instance: report cgroup stats (elastic#21113)
  Configurable index template loading (elastic#21212)
  [Ingest Manager] Thread safe sorted set (elastic#21290)
  Change mirror of kafka download (elastic#19645)
  [Ingest manager] Copy Action store on upgrade (elastic#21298)
  [CI] Pipeline 2.0 for monorepos (elastic#20104)
  Stop running agent container as root by default (elastic#21213)
  Stop running auditbeat container as root by default (elastic#21202)
  Fix autodiscover flaky tests (elastic#21242)
  [Ingest Manager] Enabled dev builds (elastic#21241)
  Fix librpm installation in auditbeat build (elastic#21239)
  Fix prometheus default config (elastic#21253)
  Fix dev guide test command (elastic#21254)
  Move aws lambda metricset to GA (elastic#21255)
  [Docs] Typo in table syntax (elastic#20227)
  [ECS] Adds related.hosts to capture all hostnames and host identifiers on an event. (elastic#21160)
  Add recursive split to httpjson (elastic#21214)
  [DOCS] Add beat specific start widgets (elastic#21217)
  Fix timestamp handling in remote_write (elastic#21166)
  Fix aws, azure and googlecloud compute dashboards (elastic#21098)
  ...
@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
Filebeat Filebeat flaky-test Unstable or unreliable test cases. in progress Pull request is currently in progress. libbeat Team:Automation Label for the Observability productivity team Team:Integrations Label for the Integrations team :Testing v7.9.3 v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants