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

[Elastic Agent] Fix docker provider builder #21118

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

blakerouse
Copy link
Contributor

What does this PR do?

Fixes issue where the docker provider was not updated to take a logger as the first parameter of the builder function.

Why is it important?

So it works and building of elastic-agent is not broken.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

@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 16, 2020
@elasticmachine
Copy link
Collaborator

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21118 opened]

  • Start Time: 2020-09-16T16:54:25.327+0000

  • Duration: 118 min 41 sec

Test stats 🧪

Test Results
Failed 0
Passed 1388
Skipped 4
Total 1392

Steps errors

Expand to view the steps failures

  • Name: Install python3:3.8

    • Description:

    • Duration: 17 min 46 sec

    • Start Time: 2020-09-16T17:42:38.358+0000

    • log

  • Name: Install python3:3.8

    • Description:

    • Duration: 16 min 16 sec

    • Start Time: 2020-09-16T17:59:29.331+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-16T18:23:41.141Z] c1e54eec4b57: Retrying in 15 seconds
[2020-09-16T18:23:41.714Z] c1e54eec4b57: Retrying in 14 seconds
[2020-09-16T18:23:43.102Z] c1e54eec4b57: Retrying in 13 seconds
[2020-09-16T18:23:44.046Z] c1e54eec4b57: Retrying in 12 seconds
[2020-09-16T18:23:44.991Z] c1e54eec4b57: Retrying in 11 seconds
[2020-09-16T18:23:45.934Z] c1e54eec4b57: Retrying in 10 seconds
[2020-09-16T18:23:46.877Z] c1e54eec4b57: Retrying in 9 seconds
[2020-09-16T18:23:47.820Z] c1e54eec4b57: Retrying in 8 seconds
[2020-09-16T18:23:48.760Z] c1e54eec4b57: Retrying in 7 seconds
[2020-09-16T18:23:49.700Z] c1e54eec4b57: Retrying in 6 seconds
[2020-09-16T18:23:51.087Z] c1e54eec4b57: Retrying in 5 seconds
[2020-09-16T18:23:52.031Z] c1e54eec4b57: Retrying in 4 seconds
[2020-09-16T18:23:52.973Z] c1e54eec4b57: Retrying in 3 seconds
[2020-09-16T18:23:53.914Z] c1e54eec4b57: Retrying in 2 seconds
[2020-09-16T18:23:54.854Z] c1e54eec4b57: Retrying in 1 second
[2020-09-16T18:50:32.572Z] c1e54eec4b57: Retrying in 20 seconds
[2020-09-16T18:50:32.572Z] c1e54eec4b57: Retrying in 19 seconds
[2020-09-16T18:50:32.573Z] c1e54eec4b57: Retrying in 18 seconds
[2020-09-16T18:50:32.573Z] c1e54eec4b57: Retrying in 17 seconds
[2020-09-16T18:50:32.573Z] c1e54eec4b57: Retrying in 16 seconds
[2020-09-16T18:50:33.513Z] c1e54eec4b57: Retrying in 15 seconds
[2020-09-16T18:50:34.454Z] c1e54eec4b57: Retrying in 14 seconds
[2020-09-16T18:50:35.395Z] c1e54eec4b57: Retrying in 13 seconds
[2020-09-16T18:50:36.777Z] c1e54eec4b57: Retrying in 12 seconds
[2020-09-16T18:50:37.716Z] c1e54eec4b57: Retrying in 11 seconds
[2020-09-16T18:50:38.658Z] c1e54eec4b57: Retrying in 10 seconds
[2020-09-16T18:50:39.597Z] c1e54eec4b57: Retrying in 9 seconds
[2020-09-16T18:50:40.536Z] c1e54eec4b57: Retrying in 8 seconds
[2020-09-16T18:50:41.475Z] c1e54eec4b57: Retrying in 7 seconds
[2020-09-16T18:50:42.415Z] c1e54eec4b57: Retrying in 6 seconds
[2020-09-16T18:50:43.796Z] c1e54eec4b57: Retrying in 5 seconds
[2020-09-16T18:50:44.367Z] c1e54eec4b57: Retrying in 4 seconds
[2020-09-16T18:50:45.748Z] c1e54eec4b57: Retrying in 3 seconds
[2020-09-16T18:50:46.688Z] c1e54eec4b57: Retrying in 2 seconds
[2020-09-16T18:50:47.628Z] c1e54eec4b57: Retrying in 1 second
[2020-09-16T18:50:59.853Z] docker: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/c1/c1e54eec4b5786500c19795d1fc604aa7302aee307edfe0554a5c07108b77d48/data?verify=1600285248-zKAfBA2t%2FGCYSEJOVXc9ylhd5lo%3D: net/http: TLS handshake timeout.
[2020-09-16T18:50:59.853Z] See 'docker run --help'.
[2020-09-16T18:51:00.187Z] + python .ci/scripts/pre_archive_test.py
[2020-09-16T18:51:00.188Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2020-09-16T18:51:00.213Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21118/src/github.com/elastic/beats/build
[2020-09-16T18:51:00.280Z] Recording test results
[2020-09-16T18:51:01.157Z] Stashed 1 file(s)
[2020-09-16T18:51:01.181Z] Archiving artifacts
[2020-09-16T18:51:01.699Z] + python .ci/scripts/search_system_tests.py
[2020-09-16T18:51:01.766Z] [INFO] system-tests=''. If no empty then let's create a tarball
[2020-09-16T18:51:19.760Z] [INFO] unstashV2: JOB_GCS_BUCKET is set. bucket param got precedency instead.
[2020-09-16T18:51:19.798Z] [INFO] unstashV2: JOB_GCS_CREDENTIALS is set. credentialsId param got precedency instead.
[2020-09-16T18:51:19.881Z] [Google Cloud Storage Plugin] Found 1 files to download from pattern: gs://beats-ci-temp/Beats/beats/PR-21118-1/source/source.tgz
[2020-09-16T18:51:19.902Z] [Google Cloud Storage Plugin] Downloading: Beats/beats/PR-21118-1/source/source.tgz to local path: /var/lib/jenkins/workspace/Beats_beats_PR-21118/source.tgz
[2020-09-16T18:51:29.898Z] + tar --version
[2020-09-16T18:51:30.226Z] + tar -xpf source.tgz
[2020-09-16T18:51:42.831Z] + rm source.tgz
[2020-09-16T18:51:42.857Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21118/src/github.com/elastic/beats
[2020-09-16T18:51:42.910Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21118/src/github.com/elastic/beats/Lint
[2020-09-16T18:51:43.076Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21118/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-09-16T18:51:43.250Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21118/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-16T18:51:43.790Z] + cat
[2020-09-16T18:51:43.790Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-16T18:51:43.790Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-16T18:51:51.951Z] runbld>>> runbld started
[2020-09-16T18:51:51.951Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-16T18:51:53.345Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-16T18:51:53.345Z] runbld>>> Matches in the system config:
[2020-09-16T18:51:53.345Z] runbld>>> - Matched ^elastic\+beats
[2020-09-16T18:51:53.345Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-16T18:51:54.740Z] runbld>>> Debug logging enabled.
[2020-09-16T18:51:54.740Z] runbld>>> Storing result
[2020-09-16T18:51:54.740Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-16T18:51:54.740Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200916185154-B20E433F
[2020-09-16T18:51:54.740Z] runbld>>> Adding system facts.
[2020-09-16T18:51:55.694Z] runbld>>> Adding vcs info for the latest commit:  e6b31c8b6764f3225ffc48f68c9958eff7dcd916
[2020-09-16T18:51:55.694Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-16T18:51:55.694Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-16T18:51:55.958Z] Processing JUnit reports with runbld...
[2020-09-16T18:51:55.958Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-16T18:51:56.225Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-16T18:51:56.225Z] runbld>>> DURATION: 18ms
[2020-09-16T18:51:56.225Z] runbld>>> STDOUT: 40 bytes
[2020-09-16T18:51:56.225Z] runbld>>> STDERR: 49 bytes
[2020-09-16T18:51:56.225Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-16T18:51:56.225Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21118
[2020-09-16T18:51:57.181Z] runbld>>> Storing build metadata: 
[2020-09-16T18:51:57.181Z] runbld>>> Adding test report.
[2020-09-16T18:51:57.181Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21118/src/github.com/elastic/beats
[2020-09-16T18:51:58.131Z] runbld>>> Found 2 test output files
[2020-09-16T18:51:58.708Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 1392 Skipped: 0
[2020-09-16T18:51:58.971Z] runbld>>> Storing result
[2020-09-16T18:51:58.971Z] runbld>>> FAILURES: 0
[2020-09-16T18:51:58.971Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-16T18:51:58.971Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200916185154-B20E433F
[2020-09-16T18:51:59.234Z] runbld>>> Email notification disabled by environment variable.
[2020-09-16T18:51:59.234Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-16T18:52:04.764Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21118
[2020-09-16T18:52:04.947Z] [INFO] getVaultSecret: Getting secrets
[2020-09-16T18:52:05.046Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-16T18:52:06.227Z] + chmod 755 generate-build-data.sh
[2020-09-16T18:52:06.227Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21118/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21118/runs/1 FAILURE 7060625
[2020-09-16T18:52:06.227Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21118/runs/1/steps/?limit=10000 -o steps-info.json
[2020-09-16T18:52:06.778Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21118/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-09-16T18:52:06.778Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21118/runs/1/log/ -o pipeline-log.txt

@blakerouse blakerouse merged commit 949e123 into elastic:master Sep 16, 2020
@blakerouse blakerouse deleted the agent-fix-docker-provder branch September 16, 2020 19:58
v1v added a commit to v1v/beats that referenced this pull request Sep 18, 2020
…ne-2.0

* upstream/master: (44 commits)
  Update users.asciidoc (elastic#20802) (elastic#21108)
  Fix docker provider builder. (elastic#21118)
  [Elastic Agent] Add docker composable dynamic provider. (elastic#20842)
  Add new modules/filesets from rsa2elk for 7.10 (elastic#20820)
  Fix broken links to external websites (elastic#21061)
  [docs] typo in the command line (elastic#20799)
  [Filebeat] add panos type and sub_type (elastic#20912)
  Move the `compute_vm_scalset` to  a light metricset and map the cloud metadata (elastic#21038)
  [Filebeat] Add support for Cloudtrail digest files (elastic#21086)
  Add metrics collection from cost explorer into aws/billing metricset (elastic#20527)
  Add vendoring to Google Cloud Functions again (elastic#21070)
  [Elastic Agent] Add fleet.host.id for sending to endpoint. (elastic#21042)
  Do not need Google credentials before using it (elastic#21072)
  [Filebeat][New Module] Zoom webhook module (elastic#20414)
  Add support for GMT timezone offset in decode_cef (elastic#20993)
  Filebeat: Fix random error on harvester close (elastic#21048)
  Add ingress controller dashboards (elastic#21052)
  Fix loggers in composable module. (elastic#21047)
  [Ingest Manager] Increase kibana client timeout to 5 minutes (elastic#21037)
  Add changelog. (elastic#21041)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants