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

[Ingest Manager] Use new form of fleet API paths #21478

Merged
merged 9 commits into from
Oct 6, 2020

Conversation

michalpristas
Copy link
Contributor

@michalpristas michalpristas commented Oct 2, 2020

What does this PR do?

Aligning paths to be even with elastic/kibana#79193

Why is it important?

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.

@michalpristas michalpristas self-assigned this Oct 2, 2020
@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 Oct 2, 2020
Copy link
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the fleet agents setup to fix but otherwise 🚀

…-agent.tmpl

Co-authored-by: Nicolas Chaulet <n.chaulet@gmail.com>
@elasticmachine
Copy link
Collaborator

elasticmachine commented Oct 2, 2020

❕ Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Branch indexing]

  • Reason: Aborted from #7

  • Start Time: 2020-10-06T15:57:51.023+0000

  • Duration: 70 min 8 sec

  • Commit: 0ab6622

Test stats 🧪

Test Results
Failed 0
Passed 16232
Skipped 1336
Total 17568

Log output

Expand to view the last 100 lines of log output

[2020-10-06T17:06:59.749Z]  runc:
[2020-10-06T17:06:59.749Z]   Version:          1.0.0-rc10
[2020-10-06T17:06:59.749Z]   GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
[2020-10-06T17:06:59.749Z]  docker-init:
[2020-10-06T17:06:59.749Z]   Version:          0.18.0
[2020-10-06T17:06:59.749Z]   GitCommit:        fec3683
[2020-10-06T17:07:03.586Z] Failed in branch x-pack/metricbeat-build
[2020-10-06T17:07:07.803Z] [INFO] unstashV2: JOB_GCS_BUCKET is set. bucket param got precedency instead.
[2020-10-06T17:07:07.816Z] [INFO] unstashV2: JOB_GCS_CREDENTIALS is set. credentialsId param got precedency instead.
[2020-10-06T17:07:07.869Z] [Google Cloud Storage Plugin] Found 1 files to download from pattern: gs://beats-ci-temp/Beats/beats/PR-21478-6/source/source.tgz
[2020-10-06T17:07:07.887Z] [Google Cloud Storage Plugin] Downloading: Beats/beats/PR-21478-6/source/source.tgz to local path: /var/lib/jenkins/workspace/Beats_beats_PR-21478/source.tgz
[2020-10-06T17:07:21.232Z] + tar --version
[2020-10-06T17:07:21.543Z] + tar -xpf source.tgz
[2020-10-06T17:07:34.128Z] + rm source.tgz
[2020-10-06T17:07:34.197Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats
[2020-10-06T17:07:34.209Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/lint-1602001423732
[2020-10-06T17:07:34.263Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/libbeat-stress-tests-1602001647653
[2020-10-06T17:07:34.314Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/winlogbeat-crosscompile-1602001748146
[2020-10-06T17:07:34.357Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-elastic-agent-build-1602001752765
[2020-10-06T17:07:34.397Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/auditbeat-crosscompile-1602001771059
[2020-10-06T17:07:34.437Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/journalbeat-unitTest-1602001771662
[2020-10-06T17:07:34.480Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-dockerlogbeat-build-1602001788113
[2020-10-06T17:07:34.522Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-functionbeat-build-1602001864739
[2020-10-06T17:07:34.569Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/libbeat-crosscompile-1602001938179
[2020-10-06T17:07:34.615Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/packetbeat-build-1602001968235
[2020-10-06T17:07:34.664Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/metricbeat-unitTest-1602002010507
[2020-10-06T17:07:34.713Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-elastic-agent-windows-windows-2019-1602002030585
[2020-10-06T17:07:34.759Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/heartbeat-windows-windows-2019-1602002104340
[2020-10-06T17:07:34.797Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/auditbeat-windows-windows-2019-1602002121083
[2020-10-06T17:07:34.832Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/heartbeat-build-1602002123309
[2020-10-06T17:07:34.870Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/auditbeat-build-1602002124544
[2020-10-06T17:07:34.908Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/winlogbeat-windows-windows-2019-1602002198112
[2020-10-06T17:07:34.946Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-auditbeat-build-1602002202890
[2020-10-06T17:07:34.985Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-libbeat-build-1602002234481
[2020-10-06T17:07:35.024Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-auditbeat-windows-windows-2019-1602002243320
[2020-10-06T17:07:35.063Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/metricbeat-crosscompile-1602002266614
[2020-10-06T17:07:35.103Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-winlogbeat-build-windows-2019-1602002315268
[2020-10-06T17:07:35.149Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/filebeat-windows-windows-2019-1602002330640
[2020-10-06T17:07:35.189Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/packetbeat-windows-windows-2019-1602002335980
[2020-10-06T17:07:35.232Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/generator-beat-test-1602002395885
[2020-10-06T17:07:35.268Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/generator-metricbeat-test-1602002396779
[2020-10-06T17:07:35.305Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-functionbeat-windows-windows-2019-1602002413106
[2020-10-06T17:07:35.340Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-filebeat-windows-windows-2019-1602002456446
[2020-10-06T17:07:35.379Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/metricbeat-windows-windows-2019-1602002524114
[2020-10-06T17:07:35.425Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-metricbeat-windows-windows-2019-1602002594501
[2020-10-06T17:07:35.469Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/filebeat-build-1602002956151
[2020-10-06T17:07:35.518Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/libbeat-build-1602003351699
[2020-10-06T17:07:35.568Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/metricbeat-goIntegTest-1602003564122
[2020-10-06T17:07:35.614Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-filebeat-build-1602003665714
[2020-10-06T17:07:35.668Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/metricbeat-pythonIntegTest-1602003752315
[2020-10-06T17:07:35.708Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-metricbeat-build-1602003821151
[2020-10-06T17:07:36.055Z] + cat
[2020-10-06T17:07:36.055Z] + /usr/local/bin/runbld ./runbld-test-reports --job-name elastic+beats+pull-request
[2020-10-06T17:07:36.055Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-10-06T17:07:42.662Z] runbld>>> runbld started
[2020-10-06T17:07:42.663Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-10-06T17:07:45.220Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-10-06T17:07:45.220Z] runbld>>> Matches in the system config:
[2020-10-06T17:07:45.220Z] runbld>>> - Matched ^elastic\+beats
[2020-10-06T17:07:45.220Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-10-06T17:07:46.164Z] runbld>>> Debug logging enabled.
[2020-10-06T17:07:46.164Z] runbld>>> Storing result
[2020-10-06T17:07:46.425Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-10-06T17:07:46.425Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201006170745-56EA4F76
[2020-10-06T17:07:46.425Z] runbld>>> Adding system facts.
[2020-10-06T17:07:47.821Z] runbld>>> Adding vcs info for the latest commit:  0ab6622a45790a6b46f474218127676606fc2f5a
[2020-10-06T17:07:47.821Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-10-06T17:07:47.821Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-10-06T17:07:47.821Z] Processing JUnit reports with runbld...
[2020-10-06T17:07:47.821Z] + echo 'Processing JUnit reports with runbld...'
[2020-10-06T17:07:48.083Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-10-06T17:07:48.083Z] runbld>>> DURATION: 29ms
[2020-10-06T17:07:48.083Z] runbld>>> STDOUT: 40 bytes
[2020-10-06T17:07:48.083Z] runbld>>> STDERR: 49 bytes
[2020-10-06T17:07:48.083Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-10-06T17:07:48.083Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21478
[2020-10-06T17:07:49.028Z] runbld>>> Storing build metadata: 
[2020-10-06T17:07:49.028Z] runbld>>> Adding test report.
[2020-10-06T17:07:49.028Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats
[2020-10-06T17:07:49.973Z] runbld>>> Found 117 test output files
[2020-10-06T17:07:51.363Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-metricbeat-build-1602003821151/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-10-06T17:07:51.363Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-metricbeat-build-1602003821151/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-10-06T17:07:51.363Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-metricbeat-build-1602003821151/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-10-06T17:07:51.363Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/x-pack-metricbeat-build-1602003821151/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-10-06T17:07:52.307Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/metricbeat-goIntegTest-1602003564122/metricbeat/build/TEST-go-integration-graphite.xml
[2020-10-06T17:07:52.307Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21478/src/github.com/elastic/beats/metricbeat-goIntegTest-1602003564122/metricbeat/build/TEST-go-integration-windows.xml
[2020-10-06T17:07:52.568Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 17568 Skipped: 1075
[2020-10-06T17:07:52.829Z] runbld>>> Storing result
[2020-10-06T17:07:52.829Z] runbld>>> FAILURES: 0
[2020-10-06T17:07:52.829Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-10-06T17:07:52.829Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201006170745-56EA4F76
[2020-10-06T17:07:53.092Z] runbld>>> Email notification disabled by environment variable.
[2020-10-06T17:07:53.092Z] runbld>>> Slack notification disabled by environment variable.
[2020-10-06T17:07:58.630Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21478
[2020-10-06T17:07:58.667Z] [INFO] getVaultSecret: Getting secrets
[2020-10-06T17:07:58.746Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-10-06T17:07:59.350Z] + chmod 755 generate-build-data.sh
[2020-10-06T17:07:59.350Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21478/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21478/runs/6 ABORTED 4208067
[2020-10-06T17:07:59.350Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21478/runs/6/steps/?limit=10000 -o steps-info.json
[2020-10-06T17:08:01.836Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21478/runs/6/tests/?status=FAILED -o tests-errors.json

Copy link
Contributor

@ph ph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michalpristas michalpristas merged commit 0b9213c into elastic:master Oct 6, 2020
michalpristas added a commit to michalpristas/beats that referenced this pull request Oct 6, 2020
[Ingest Manager] Use new form of fleet API paths (elastic#21478)
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21478 updated]

  • Start Time: 2020-10-06T16:58:05.975+0000

  • Duration: 104 min 3 sec

Test stats 🧪

Test Results
Failed 0
Passed 16290
Skipped 1343
Total 17633

michalpristas added a commit that referenced this pull request Oct 6, 2020
[Ingest Manager] Use new form of fleet API paths (#21478)
v1v added a commit to v1v/beats that referenced this pull request Oct 8, 2020
…ci-build-label-support

* upstream/master: (60 commits)
  Skip publisher flaky tests (elastic#21657)
  backport: add 7.10 branch (elastic#21635)
  [CI: Packaging] fix: push ubi8 images too (elastic#21621)
  Docker build resiliance with a retry (elastic#21587)
  Fix flaky FSWatch/FSScanner tests (elastic#21625)
  chore: add versions 7.1x (elastic#21670)
  [Elastic Agent] Reload fleet.kibana.hosts from policy change (elastic#21599)
  Fix cyberark/corepas pipeline (elastic#21643)
  Add openstack ssl provider in add_cloud_metadata (elastic#21590)
  Add fips_enabled into all aws filesets (elastic#21626)
  [Filebeat S3] Change log.file.path to be nested object (elastic#21624)
  [CI] Change notification channel (elastic#21559)
  Add `add_observer_metadata` `geo.name` to Quickstart (elastic#21501)
  [E2E Tests] fix: set versions ony for PRs (elastic#21608)
  Fix badger build in 386 (elastic#21613)
  docs: Update timestamp.asciidoc (elastic#20395)
  Remove nil-zero metrics and linux-exclusive metrics from Metricbeat (elastic#21457)
  [Metricbeat] Use timestamp from CloudWatch for events (elastic#21498)
  [Filebeat][S3 Input] Add support for FIPS endpoints (elastic#21585)
  [Ingest Manager] Use new form of fleet API paths (elastic#21478)
  ...
v1v added a commit to v1v/beats that referenced this pull request Oct 8, 2020
…012-2.0

* upstream/master: (110 commits)
  Skip publisher flaky tests (elastic#21657)
  backport: add 7.10 branch (elastic#21635)
  [CI: Packaging] fix: push ubi8 images too (elastic#21621)
  Docker build resiliance with a retry (elastic#21587)
  Fix flaky FSWatch/FSScanner tests (elastic#21625)
  chore: add versions 7.1x (elastic#21670)
  [Elastic Agent] Reload fleet.kibana.hosts from policy change (elastic#21599)
  Fix cyberark/corepas pipeline (elastic#21643)
  Add openstack ssl provider in add_cloud_metadata (elastic#21590)
  Add fips_enabled into all aws filesets (elastic#21626)
  [Filebeat S3] Change log.file.path to be nested object (elastic#21624)
  [CI] Change notification channel (elastic#21559)
  Add `add_observer_metadata` `geo.name` to Quickstart (elastic#21501)
  [E2E Tests] fix: set versions ony for PRs (elastic#21608)
  Fix badger build in 386 (elastic#21613)
  docs: Update timestamp.asciidoc (elastic#20395)
  Remove nil-zero metrics and linux-exclusive metrics from Metricbeat (elastic#21457)
  [Metricbeat] Use timestamp from CloudWatch for events (elastic#21498)
  [Filebeat][S3 Input] Add support for FIPS endpoints (elastic#21585)
  [Ingest Manager] Use new form of fleet API paths (elastic#21478)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Ingest Management:beta2 Group issues for ingest management beta2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants